[system] / trunk / webwork / system / courseScripts / PGbasicmacros.pl Repository:
ViewVC logotype

Log of /trunk/webwork/system/courseScripts/PGbasicmacros.pl

Parent Directory Parent Directory


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

Revision 463 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 14 23:06:00 2002 UTC (10 years, 10 months ago) by jj
File length: 51999 byte(s)
Diff to previous 458 , to selected 264
Added new randomization function, list_random, which takes a list of values
and picks one from the list.

Revision 458 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 14 16:59:35 2002 UTC (10 years, 10 months ago) by jj
File length: 51785 byte(s)
Diff to previous 333 , to selected 264
Changed CARET so it would display better in TeX and Latex2HTML modes.

Revision 333 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 31 18:21:35 2002 UTC (11 years ago) by apizer
File length: 51773 byte(s)
Diff to previous 265 , to selected 264
Fixed bug reported by Danny Glin by removing all $ and @ from student answers before using them as sticky
answers.

Revision 265 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 21 15:57:58 2001 UTC (11 years, 6 months ago) by apizer
File length: 51486 byte(s)
Diff to previous 264
`CVS:' are removed automatically CVS:  CVS: Modified Files: CVS:  PGbasicmacros.pl CVS:
----------------------------------------------------------------------
Fixed infinite loop in NAMED_ANS_RADIO_OPTION

Revision 264 - (view) (download) (as text) (annotate) - [selected]
Modified Fri Dec 21 04:14:11 2001 UTC (11 years, 6 months ago) by gage
File length: 51483 byte(s)
Diff to previous 211
Modified documentation.  Also added labeled_ans_rule(name, width) which is a synonym
for NAMED_ANS_RULE(name, width) except that width is given a default of 20 if it is omitted.

Revision 211 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 20 00:24:13 2001 UTC (11 years, 9 months ago) by apizer
File length: 51106 byte(s)
Diff to previous 208 , to selected 264
changed BCENTER and ECENTER as per Mike's suggestion.

Revision 208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 20:32:53 2001 UTC (11 years, 9 months ago) by apizer
File length: 51074 byte(s)
Diff to previous 188 , to selected 264
added italic and center macros

Revision 188 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 4 16:40:58 2001 UTC (11 years, 9 months ago) by gage
File length: 50267 byte(s)
Diff to previous 37 , to selected 264
Modifications in these two files make questions whose answer blanks hve
the same names behave properly.

The new versions of CGI seem to return such answers as a reference to an array.
Earlier versions returned the answrs as a string with \0 separators.

With the new changes the AnswerEvaluator get_student_answer subroutine and
the NAMED_ANS_RULE in PGbasicmacros.pl will handle either a null separated
string or an answer array when dealing with vector answers.

This should correct some difficulties experienced in the linear algebra
questions.  More testing needs to be done.

Revision 37 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 21 01:03:14 2001 UTC (12 years ago) by apizer
File length: 50003 byte(s)
Diff to previous 36 , to selected 264
Hints and Solutions now use basically the same mechanism.  Fixed hugs in hints
and minor bugs in solutions.

Revision 36 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 20 20:01:26 2001 UTC (12 years ago) by gage
File length: 50486 byte(s)
Diff to previous 30 , to selected 264
Simplified some of the scripts.  Using forking there is no need
to evaluate $main:: everytime, since it remains the same for both
the parent (where the script is compiled) and in the child where
the script is executed.

There were other minor fixes to work around bugs in 5.6.0 which were
fixed in 5.6.1

Revision 30 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 19 22:29:01 2001 UTC (12 years ago) by gage
File length: 52195 byte(s)
Diff to previous 28 , to selected 264
More refinement of the initialization routines in PGbasicmacros.pl and the
way it is called from dangerousMacros.pl

Revision 28 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 19 20:56:08 2001 UTC (12 years ago) by gage
File length: 52393 byte(s)
Diff to previous 27 , to selected 264
Fixed problem in dangerousMacros.pl defining i so that it can be used
as a complex number.

Fixed htmlLink so that it gives a friendly error message about broken links
when fed an undefined url.

Revision 27 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 19 20:31:39 2001 UTC (12 years ago) by gage
File length: 52308 byte(s)
Diff to previous 11 , to selected 264
Many modifications to courseScript scripts which will insure that the
routines are re-entrant (i.e. they can be called via mod_perl and don't
need to be re-compiled for every execution run.)

Minor modifications to processProblem8.pl and to PGtranslator.pm

Revision 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 18 15:21:51 2001 UTC (12 years ago) by sam
File length: 49614 byte(s)
Diff to previous 10 , to selected 264
another setup script test (changed #! lines)

Revision 10 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 15 21:06:18 2001 UTC (12 years ago) by sam
File length: 49606 byte(s)
Diff to previous 8 , to selected 264
nothing should change

Revision 8 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 15 16:24:03 2001 UTC (12 years ago) by gage
File length: 49614 byte(s)
Diff to previous 5 , to selected 264
modified use lib lines in cgi-scripts, scripts, courseScripts
removed Global.pm updating and use lib line code from system_webwork_setup
modified Global.pm to use webworkConfig (which is not in the repository!)

Revision 5 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 14 23:45:41 2001 UTC (12 years ago) by gage
File length: 49606 byte(s)
Diff to previous 2 , to selected 264
dev-1-7-01

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Jun 14 17:08:51 2001 UTC (12 years ago) by sam
File length: 48431 byte(s)
Diff to selected 264
initial import

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