Log of /trunk/webwork-modperl/lib/WeBWorK/ContentGenerator
Directory Listing
Revision
441 -
Directory Listing
Modified
Thu Jul 25 21:58:22 2002 UTC (10 years, 9 months ago) by
malsyned
Added use strict and use warnings, then cleaned up much of the mess that
revealed.
--Dennis
Revision
439 -
Directory Listing
Modified
Thu Jul 25 21:21:13 2002 UTC (10 years, 9 months ago) by
sh002i
rewrote in a newer style.
switched to use CGI qw() / CGI->function() syntax.
-sam
Revision
435 -
Directory Listing
Modified
Fri Jul 19 17:30:32 2002 UTC (10 years, 10 months ago) by
sh002i
turned off debugging in Problem.pm
-sam
Revision
434 -
Directory Listing
Modified
Fri Jul 19 06:19:34 2002 UTC (10 years, 10 months ago) by
sh002i
added refreshMath2img to the problem environment (PG.pm) and modified
Problem.pm to set it when showHints or showSolutions is on. THIS IS NOT
THE BEST THING TO DO -- we only need to refresh when the value of
showHints or showSolutions CHANGES. Also, we should be refreshing if the
problem seed changes. So, we need somewhere to store those three values
between invocations of the script. HHHHHMMMMMMMM......... &math2img in
dangerousMacros.pl has been modified to respect refreshMath2img and also
refresh if the image file is older than the PG source file.
-sam
Revision
431 -
Directory Listing
Modified
Thu Jul 18 20:12:02 2002 UTC (10 years, 10 months ago) by
sh002i
finished initial version of PG.pm and Problem.pm
-sam
Revision
429 -
Directory Listing
Modified
Fri Jul 12 22:28:26 2002 UTC (10 years, 10 months ago) by
sh002i
sticky answers work. ha HA!
-sam
Revision
425 -
Directory Listing
Modified
Thu Jul 11 23:27:10 2002 UTC (10 years, 10 months ago) by
sh002i
continued to work on Problem.pm. see diffs.
-sam
Revision
424 -
Directory Listing
Modified
Thu Jul 11 19:09:08 2002 UTC (10 years, 10 months ago) by
sh002i
Problem.pm/PG.pm/Translator.pm now compile and work (to some degree)
changed the format of pg/modules in global.conf
diddled with the format of system.template (i believe i moved an <HR>)
added ref2string function to Utils.pm, removed hash2string/array2string
fixed a package name in IO.pm
Revision
423 -
Directory Listing
Modified
Wed Jul 3 23:24:26 2002 UTC (10 years, 10 months ago) by
malsyned
Fixed the hash2string call to use the new WeBWorK::Utils interface
Revision
415 -
Directory Listing
Modified
Wed Jun 26 13:33:59 2002 UTC (10 years, 10 months ago) by
sh002i
stuff i've been working on.
-sam
Revision
403 -
Directory Listing
Modified
Mon Jun 24 16:34:30 2002 UTC (10 years, 10 months ago) by
malsyned
Removed the CARP code (for now?), and made sure that an actual problem was
reachable (even though PG evaluation is commented out in the dispatcher
right now)
Revision
399 -
Directory Listing
Modified
Thu Jun 20 21:26:16 2002 UTC (10 years, 11 months ago) by
gage
Copied in a version of safety_filter subroutine from
PGtranslator5.pm in order to quite an "undefined" message.
-- Mike
Revision
398 -
Directory Listing
Modified
Thu Jun 20 21:22:31 2002 UTC (10 years, 11 months ago) by
gage
*** empty log message ***
Revision
396 -
Directory Listing
Modified
Thu Jun 20 20:43:39 2002 UTC (10 years, 11 months ago) by
malsyned
Some edits to make it work on my system, and some code cleanups. You'll
probably have to edit it on the top (right now) to get it to work on your
system. /this will change/ in the future. But it's nice to have a working
demo.
--Dennis
Revision
392 -
Directory Listing
Modified
Thu Jun 20 13:46:05 2002 UTC (10 years, 11 months ago) by
gage
Problem.pm now works (kindof) to serve PG problems. There are configuration
variables at the top that have to be customized to an individuals directory.
(They could be placed in a config file to avoid having to update them constantly,
but soon these values should be set by information from the course and
problem environments.)
The code is still rather delicate. It seems to work with some problems and not
with others. I suspect that the macro files are not being properly read in
and that perhaps the warning mechanisms are not yet working properly.
Also beware the line ending problem. Some of these files were created on a
mac (using unix). I've had completely mysterious errors that were fixed
by checking the line endings.
There is also a lot of code, particulary the error reporting code which should be put
in its own module.
Revision
390 -
Directory Listing
Modified
Wed Jun 19 22:45:47 2002 UTC (10 years, 11 months ago) by
malsyned
This commit brings several packages up to date and working. I wish I could
be more specific, but it's been a while since I've committed. You'll have
to check the CVS diffs for more info.
--Dennis
Revision
388 -
Directory Listing
Modified
Wed Jun 19 20:03:53 2002 UTC (10 years, 11 months ago) by
gage
I've added code for defining the problemEnvironment, at least for now.
Many of the values which will be pulled from the database have simply
been hardcoded into the subroutine.
There is also code to pretty print these values to aid in debugging.
Revision
353 -
Directory Listing
Added
Fri Jun 7 23:35:59 2002 UTC (10 years, 11 months ago) by
malsyned
All of the content generators now work with the template system
Moved the content generators into the WeBWorK::ContentGenerator namespace
Added the default template and a few global.conf entries