[system] / trunk / pg / macros / PG.pl Repository:
ViewVC logotype

Log of /trunk/pg/macros/PG.pl

Parent Directory Parent Directory


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

Revision 6248 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 14 01:17:21 2010 UTC (9 years, 6 months ago) by gage
File length: 30629 byte(s)
Diff to previous 6058
major update which adds objective methods to the basic code of PG.
HEAD should be considered more beta than usual for a few days until minor glitches
are shaken out.
new modules needed:

PGcore PGalias PGresource PGloadfiles PGanswergroup PGresponsegroup  Tie::IxHash

Revision 6058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 25 23:28:44 2009 UTC (10 years, 5 months ago) by gage
File length: 27538 byte(s)
Diff to previous 5789
syncing pg HEAD with pg2.4.7 on 6/25/2009

Revision 5789 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 25 20:06:48 2008 UTC (11 years, 5 months ago) by gage
File length: 27600 byte(s)
Diff to previous 5753
remove attempt to set formatting with $#
causes bad warnings in perl 5.10.x
forward port from rel-2-4-patches

Revision 5753 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 24 21:30:38 2008 UTC (11 years, 5 months ago) by gage
File length: 27576 byte(s)
Diff to previous 5663
formatting changes

Revision 5663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 8 00:37:31 2008 UTC (11 years, 7 months ago) by sh002i
File length: 27588 byte(s)
Diff to previous 5658
add "my" and "our" specifiers to ^variable definitions. (This breaks
compatibility with the current version of ww-symbol-map, but it is the
format that the upcoming version will use. I hope to commit that new
version soon but testing is taking longer than expected.)

Revision 5658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 3 17:43:29 2008 UTC (11 years, 7 months ago) by sh002i
File length: 27567 byte(s)
Diff to previous 5626
markup for ww-symbol-map

Revision 5626 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 26 02:43:07 2008 UTC (11 years, 8 months ago) by gage
File length: 25426 byte(s)
Diff to previous 5568
Fixed bug in base64Q subroutine

Revision 5568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 25 17:11:59 2007 UTC (12 years, 1 month ago) by sh002i
File length: 25301 byte(s)
Diff to previous 5442
new/improved documentation

Revision 5442 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 28 23:08:44 2007 UTC (12 years, 3 months ago) by gage
File length: 25285 byte(s)
Diff to previous 5269
Backporting changes from HEAD to rel-2-4-dev

Revision 5269 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 9 23:24:56 2007 UTC (12 years, 4 months ago) by jj
File length: 25287 byte(s)
Diff to previous 5179
Add function so that pg problems can include any other problem under the
templates directory.

Revision 5179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 13 22:43:22 2007 UTC (12 years, 4 months ago) by sh002i
File length: 24274 byte(s)
Diff to previous 4997
expanded POD docs

Revision 4997 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 11 18:16:40 2007 UTC (12 years, 5 months ago) by gage
File length: 20686 byte(s)
Diff to previous 4887
Fixing docementation so that it can be read from the web.

Revision 4887 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 15 22:08:55 2007 UTC (12 years, 8 months ago) by glarose
File length: 20685 byte(s)
Diff to previous 4386
Update quiz prefix for arrays.  This is not a complete fix, but it
gets incrementally closer to a fix.

Revision 4386 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 17 23:55:17 2006 UTC (13 years, 3 months ago) by dpvc
File length: 20629 byte(s)
Diff to previous 3765
Added LaTeXMathML mode.

Revision 3765 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 17 22:57:39 2005 UTC (14 years ago) by dpvc
File length: 20469 byte(s)
Diff to previous 3566
Handle the new global.conf setting for jsMath's processDoubleClicks option.

Revision 3566 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 25 00:35:18 2005 UTC (14 years, 3 months ago) by dpvc
File length: 20346 byte(s)
Diff to previous 3554
In order to overcome an MSIE bug that affects jsMath, the call is
changed from jsMath.ProcessBeforeShowing() to jsMath.wwProcess(),
which is added by the jsMath-ww.js file.  (This routine uses an onload
handler for MSIE to put off the processing until MSIE can handle it
properly, but allows all others to do it at the usual time.)

Revision 3554 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 23 23:10:02 2005 UTC (14 years, 3 months ago) by jj
File length: 20357 byte(s)
Diff to previous 3553
Deleted commented out line (which had been used for debugging).

Revision 3553 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 23 22:56:50 2005 UTC (14 years, 3 months ago) by jj
File length: 20444 byte(s)
Diff to previous 3539
This adds wiring to the pg side for special bits of html to be included before/after the body of a problem.  You also need to update global.conf (and probably want to update Tasks.pm).

A commented out example in global.conf.dist shows how to use this to produce boxed problems a la the Union College server.  In this approach, the added parts are not used for problems rendered in the Library Browser or Problem Set Detail.

This addresses bug 817.  This solution may not be suitable for inclusion of needed bits for modes such as asciimath or tth because the those bits of html are probably needed for display in the Library Browser.  It is hard to distinguish bits which are always wanted, and those which are only wanted for use by Problem.

Revision 3539 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 21 00:04:40 2005 UTC (14 years, 3 months ago) by dpvc
File length: 20279 byte(s)
Diff to previous 3520
Updated to handle jsMath version 2.

Revision 3520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 13 21:45:46 2005 UTC (14 years, 3 months ago) by jj
File length: 20266 byte(s)
Diff to previous 3387
Implimentation of COMMENT for comments to appear in the library browser.

Revision 3387 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 16 22:31:41 2005 UTC (14 years, 4 months ago) by gage
File length: 20138 byte(s)
Diff to previous 3385
Added documentation for macros used in constructing
sequential problems.

Revision 3385 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 16 21:59:35 2005 UTC (14 years, 4 months ago) by gage
File length: 19806 byte(s)
Diff to previous 2984
Added support for sequentialProblems.

Revision 2984 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 3 22:00:56 2004 UTC (15 years, 1 month ago) by dpvc
File length: 18553 byte(s)
Diff to previous 2698
Modifications needed for the control of jsMath's "missing font"
message.

Revision 2698 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 28 13:52:33 2004 UTC (15 years, 3 months ago) by dpvc
File length: 18164 byte(s)
Diff to previous 2400
Add better error reporting in PG translator.  In particular, these
changes add two new features:

	1)  produce a full stack trace when a .pg file dies, and
	2)  convert (eval nnn) references to filenames, when
	    possible, in warn and die messages while processing a
	    .pg file.

There is also a change in the webwork tree that is needed to make this
all work, so be sure to apply updates in both trees.

Revision 2400 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 25 12:32:14 2004 UTC (15 years, 5 months ago) by dpvc
File length: 17991 byte(s)
Diff to previous 2267
Fixed error in ANS_NUM_TO_NAME.

Revision 2267 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 7 01:34:34 2004 UTC (15 years, 6 months ago) by dpvc
File length: 17990 byte(s)
Diff to previous 2201
Added jsMath support to these files.

Basically, HTML_jsMath should do whatever HTML_dpng mode does.  I simply included
it HTML_jsMath every time HTML_dpng appeared.

Revision 2201 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 24 02:32:45 2004 UTC (15 years, 6 months ago) by dpvc
File length: 17717 byte(s)
Diff to previous 2199
update to asciimath for MSIE.

Revision 2199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 24 01:59:53 2004 UTC (15 years, 6 months ago) by dpvc
File length: 17455 byte(s)
Diff to previous 2166
Support for asciimath.

Added preliminary support for asciimath rendering.  You must use a
MathML-enabled browser.

Revision 2166 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 22 22:16:20 2004 UTC (15 years, 6 months ago) by dpvc
File length: 17111 byte(s)
Diff to previous 1896
Files needed for jsMath display mode.

Revision 1896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 17 00:45:28 2004 UTC (15 years, 8 months ago) by gage
File length: 16827 byte(s)
Diff to previous 1791
Changed the naming of arrays from ArRaY[0,0,0] to ArRaY__0:0:0:__

This involved changes in PG.pl and PGmorematrixmacros (ans_array_filter)

Made other cosmetic fixes to code.  Added names to many filters to help with
debugging.  It seems to work for now.

Revision 1791 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 12 14:23:36 2004 UTC (15 years, 9 months ago) by gage
File length: 16453 byte(s)
Diff to previous 1525
Added RECORD_FORM_DATA for making sticky form data which
is not specifically related to answers.

Revision 1525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 25 00:29:59 2003 UTC (16 years, 2 months ago) by sh002i
File length: 15976 byte(s)
Diff to previous 1365
removed unneeded #! lines

Revision 1365 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 20:18:57 2003 UTC (16 years, 5 months ago) by lr003k
File length: 15999 byte(s)
Diff to previous 1304
In order to make ans_array entries "sticky" I've had to change some stuff.
The answer labels for these entries are now put into $main::PG_FLAGS{ANSWER_ENTRY_ORDER} as an array reference in PG.pl.
In processProblem8.pl the labels are caught again in the subroutines logCourseData and encode_submitted_answers. It is important that
they're caught there rather than earlier because then the translator would think that every entry was it's own answer.
Professor Gage says that processProblem8.pl is no longer used in webwork2, and he says he'll fix this there.

Revision 1304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 30 23:24:29 2003 UTC (16 years, 5 months ago) by gage
File length: 15755 byte(s)
Diff to previous 1280
removed unnecessary "no strict, use strict" pair
--Mike

Revision 1280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 26 17:42:18 2003 UTC (16 years, 5 months ago) by malsyned
File length: 15660 byte(s)
Diff to previous 1266
Merged the changes needed to work with the new WW2 translator
optimizations into the main pg branch.

Revision 1266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 24 15:24:09 2003 UTC (16 years, 5 months ago) by gage
File length: 15548 byte(s)
Diff to previous 1253
Changes that allow these files to work with optimized
version of WeBWorK2.0 which uses caching of macro files.
--Mike

Revision 1253 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 23 18:34:44 2003 UTC (16 years, 5 months ago) by gage
File length: 14904 byte(s)
Diff to previous 1140
More changes to make these files compatible
with WeBWorK2.0 and cached compartments
-- Mike

Revision 1140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 19:14:38 2003 UTC (16 years, 5 months ago) by gage
File length: 13881 byte(s)
Diff to previous 1122
Answer labels are now prefixed by a Quiz prefix which allows more
than one problem to appear on the same page.
-- Mike

Revision 1122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 14:54:27 2003 UTC (16 years, 6 months ago) by lr003k
File length: 13744 byte(s)
Diff to previous 1080
Added two methods for naming the blanks in ans_array. The names now have the format ArRaY3[1,0,2] (this would be the name of
the 3rd answer (it's taken from main::answer_count which is then incremented so the answer before it is AnSwEr2 and the
answer after it is AnSwEr4) and it would be the second matrix or vector in the answer ( I need to take multiple vectors for
things like basis cmp, so ans_array_extension puts the vectors in different locations) and the 0 and 2 are row and column in
that matrix or vector.

Revision 1080 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 17:49:36 2003 UTC (16 years, 6 months ago) by apizer
File length: 12979 byte(s)
Diff to previous 1050
remove unneccsary shebang lines

Arnie

Revision 1050 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jun 6 21:39:42 2003 UTC (16 years, 6 months ago) by sh002i
File length: 13008 byte(s)
moved PG modules and macro files from webwork-modperl to pg
-sam

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