[system] / trunk / webwork-modperl / lib / WeBWorK / PG / ImageGenerator.pm Repository:
ViewVC logotype

Log of /trunk/webwork-modperl/lib/WeBWorK/PG/ImageGenerator.pm

Parent Directory Parent Directory


Sticky Revision:
(Current path doesn't exist after revision 1529)

Revision 1235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 16:38:52 2003 UTC (9 years, 11 months ago) by sh002i
File length: 9942 byte(s)
Diff to previous 1169
fixed logic error for setting refresh flag

Revision 1169 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 14 06:03:15 2003 UTC (9 years, 11 months ago) by sh002i
File length: 9944 byte(s)
Diff to previous 1163
fixed Bug #92 and problem with equations with \n in them.
-sam

Revision 1163 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 18:07:54 2003 UTC (9 years, 11 months ago) by sh002i
File length: 9857 byte(s)
Diff to previous 1159
changed some documentation.
-sam

Revision 1159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 17:26:40 2003 UTC (9 years, 11 months ago) by sh002i
File length: 9796 byte(s)
Diff to previous 1154
removed unneeded code from WeBWorK::PG, WeBWorK::PG::ImageGenerator::add
now supports both add($in_delim) and add($in, $mode).
-sam

Revision 1154 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 02:30:45 2003 UTC (9 years, 11 months ago) by sh002i
File length: 9407 byte(s)
Diff to previous 1131
Rewrote ImageGenerator to work with WeBWorK2. Its arguments are now
passed in via an options hash instead of getting a whole %envir. Also,
the options are passed to the constructor and there is no initialize()
method. add() has the same interface, and render() has been changed
slightly. (This closes Bug #80!)

To make this work with 1.8, take a look at how I'm creating
ImageGenerator in &WeBWorK::PG::defineProblemEnvironment and make the
necessary modifications to processProblem8.pl.

I made changes to WeBWorK::PG to have "images" mode trigger HTML_dpng
rather than HTML_img, and also to create an ImageGenerator before
initializing and call render() after translation.

Also in PG, I shortened the names of the equation image files. They're
now "equation-$PSVN-$probnum-$seed.png". This has the added benefit of
forcing image regeneration if the problem seed changes, closing Bug
#70.

Equation files are now dumped directly into the $courseDirs{HTML_temp}
directory. This means that no one has to worry about whether "m2i"
exists any more.

global.conf.dist was changed to not include the switches to dvipng on
the command line (they're currently hardcoded into ImageGenerator).

I still have to get this to work with dvipng 0.3. I should also take
advantages of 0.3's new features, like pipelining (using the -follow
switch) and specifying the output file name (to avoid the "move" of
resulting images).

This is MUCH FASTER than the way I was calling dvipng, and I think it's
safe to say that it's a better method. Thanks JJ!
-sam

Revision 1131 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 20:40:11 2003 UTC (9 years, 11 months ago) by sh002i
File length: 5769 byte(s)
Diff to previous 1022
Made many changes:

- turned off PG warning catching in conf/global.conf.dist
- added warning reporting to conf/templates/ur.template (but not to
  other templates!)
- modified a couple of error messages in WeBWorK.pm
- made failure to create course environment and failure to find course
  directory fatal errors in WeBWorK.pm
- added warning queueing and call stack storing to Apache::WeBWorK
- added "warnings" and "if_warnings" template escapes to
  WeBWorK::ContentGenerator
- removed warning handling from WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::PG::ImageGenerator

-sam

Revision 1022 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Jun 5 14:06:10 2003 UTC (9 years, 11 months ago) by gage
File length: 6017 byte(s)
Added ImageGenerator to CVS to help with compatibility
with WeBWorK1.8
-- Mike

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9