[system] / trunk / webwork2 / lib / WeBWorK / ContentGenerator / Problem.pm Repository:
ViewVC logotype

Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 18:31:20 2002 UTC (10 years, 9 months ago) by sh002i
File length: 15539 byte(s)
Diff to previous 492
updated copyright header.
-sam

Revision 492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 15:34:35 2002 UTC (10 years, 9 months ago) by sh002i
File length: 15561 byte(s)
Diff to previous 476
made progress towards working hardcopy generation. next, i have to fix
the call to pdflatex. screw pip. it's not working right, and it doesn't
give me any speed gain, since latex has to goofily write the WHOLE DAMN
FILE in whatever order it pleases before letting me have it.
-sam

Revision 476 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 20 01:07:18 2002 UTC (10 years, 9 months ago) by sh002i
File length: 15440 byte(s)
Diff to previous 455
fixed problem with deciding when to generate images in math2img mode
finished adding template escapes to ProblemSets, ProblemSet, and Problem

fixed a problem where modules were removed from the courseEnv while
being loaded (whups.)
-sam

Revision 455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 5 21:34:18 2002 UTC (10 years, 9 months ago) by sh002i
File length: 13658 byte(s)
Diff to previous 449
"normalized" files:
- (c) header on all files
- standard order of preamble lines:
	1. (c) header
	2. package PACKAGENAME;
	3. short summary of the package (pod's NAME section)
	4. use - pragmatic modules
	5. use - standard perl modules
	6. use - CPAN modules
	7. use - webwork modules
- ALWAYS use strict and use warnings
- use "use base" rather than "our @ISA"
so now we can be happy.
-sam

Revision 449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 1 20:23:22 2002 UTC (10 years, 9 months ago) by sh002i
File length: 13561 byte(s)
Diff to previous 435
more CGI fixes, started playing around with ProblemSets.
-sam

Revision 435 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 19 17:30:32 2002 UTC (10 years, 10 months ago) by sh002i
File length: 12484 byte(s)
Diff to previous 434
turned off debugging in Problem.pm
-sam

Revision 434 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 19 06:19:34 2002 UTC (10 years, 10 months ago) by sh002i
File length: 12471 byte(s)
Diff to previous 431
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 18 20:12:02 2002 UTC (10 years, 10 months ago) by sh002i
File length: 12468 byte(s)
Diff to previous 429
finished initial version of PG.pm and Problem.pm
-sam

Revision 429 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 12 22:28:26 2002 UTC (10 years, 10 months ago) by sh002i
File length: 10267 byte(s)
Diff to previous 425
sticky answers work. ha HA!
-sam

Revision 425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 11 23:27:10 2002 UTC (10 years, 10 months ago) by sh002i
File length: 6868 byte(s)
Diff to previous 424
continued to work on Problem.pm. see diffs.
-sam

Revision 424 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 11 19:09:08 2002 UTC (10 years, 10 months ago) by sh002i
File length: 4132 byte(s)
Diff to previous 415
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 415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 26 13:33:59 2002 UTC (10 years, 10 months ago) by sh002i
File length: 11510 byte(s)
Diff to previous 399
stuff i've been working on.
-sam

Revision 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 21:26:16 2002 UTC (10 years, 11 months ago) by gage
File length: 25981 byte(s)
Diff to previous 398
Copied in a version of safety_filter subroutine from
PGtranslator5.pm in order to quite an "undefined" message.

-- Mike

Revision 398 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 21:22:31 2002 UTC (10 years, 11 months ago) by gage
File length: 25121 byte(s)
Diff to previous 396
*** empty log message ***

Revision 396 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 20:43:39 2002 UTC (10 years, 11 months ago) by malsyned
File length: 25083 byte(s)
Diff to previous 392
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 13:46:05 2002 UTC (10 years, 11 months ago) by gage
File length: 24881 byte(s)
Diff to previous 388
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 388 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 19 20:03:53 2002 UTC (10 years, 11 months ago) by gage
File length: 6707 byte(s)
Diff to previous 353
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 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jun 7 23:35:59 2002 UTC (10 years, 11 months ago) by malsyned
File length: 531 byte(s)
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

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