[system] / trunk / webwork2 / lib / WeBWorK / PG / Local.pm Repository:
ViewVC logotype

Log of /trunk/webwork2/lib/WeBWorK/PG/Local.pm

Parent Directory Parent Directory


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

Revision 4089 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 21 00:50:04 2006 UTC (7 years ago) by gage
File length: 14154 byte(s)
Diff to previous 3973
$formFields is needed by at least one grader (sequentialGrader) in order to function.

Is there a better way?

Revision 3973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 23:13:56 2006 UTC (7 years, 3 months ago) by sh002i
File length: 14060 byte(s)
Diff to previous 3311
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006.
this is probably overkill, since there are some files that were created
after 2000 and some files that were last modified before 2006.)

Revision 3311 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 23 02:33:03 2005 UTC (7 years, 10 months ago) by gage
File length: 14067 byte(s)
Diff to previous 3224
The TIMEOUT constant which is now defined in WeBWorK::Cosntants  and is
(and was) used in WeBWorK::PG::Local  gives the time in seconds
that is allowed for rendering one PG problem.  The old value was 5 minutes
which was probably way too long. The default in WeBWorK::Constants has been
set to 60 seconds.  If no value is set then 10 seconds is used.

-- Mike

Revision 3224 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 14 01:32:19 2005 UTC (8 years ago) by dpvc
File length: 13951 byte(s)
Diff to previous 3073
Changes needed to make loadMacros() look through a path of directories
rather than just course/templates/macros and pg/macros.  You can
specify the path in the global.conf file.

You also need to make the update to pg/macros/dangerousMacros.pl

Revision 3073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 1 22:35:10 2005 UTC (8 years, 4 months ago) by gage
File length: 14011 byte(s)
Diff to previous 2929
Changes made to simplify the implementation of XMLRPC access to
the functionality of WeBWorK.

There is still a problem with making sure that the proper warning
mechanism is passed into the problem rendering compartment.
The proper permissions for creating directories also does not
get transmitted properly.

I would like to change the way that the defineEnvirVars subroutine is
passed into the Local.pm object.  I'd like to either pass the
environment as a hash or explicitly pass a reference to define
EnvirVars rather than inherit it from PG.  In particular I'd like
to be able to define environment variables directly in RenderProblem.pm
instead of faking it by defining fake problem objects.

Revision 2929 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 15 20:33:04 2004 UTC (8 years, 7 months ago) by gage
File length: 13160 byte(s)
Diff to previous 2418
Removed writing to Timing log from this module.

Revision 2418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 26 20:44:54 2004 UTC (8 years, 10 months ago) by jj
File length: 13150 byte(s)
Diff to previous 2268
Minor additions so that ImageGenerator can get image alignment right.

Revision 2268 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 7 02:13:27 2004 UTC (8 years, 11 months ago) by sh002i
File length: 13082 byte(s)
Diff to previous 1703
Added timeout alarm (currently set to 5 munites). Fixes bug #511.

Revision 1703 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 5 01:02:41 2004 UTC (9 years, 4 months ago) by sh002i
File length: 12689 byte(s)
Diff to previous 1663
removed lingering references to "webwork-modperl", since we're calling
this product "webwork2" now. soon we should change the name of the CVS
module to "webwork2" as well.

Revision 1663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 9 01:12:32 2003 UTC (9 years, 5 months ago) by sh002i
File length: 12616 byte(s)
Diff to previous 1563
Normalized headers. All files now contain the text below as a header.
This is important since all files now (a) use the full name of the
package, (b) assign copyright to "The WeBWorK Project", (c) give the
full path of the file (relative to CVSROOT) instead of simply the file
name, and (d) include license and warranty information.

Here is the new header:

################################################################################
# WeBWorK Online Homework Delivery System
# Copyright © 2000-2003 The WeBWorK Projcct, http://openwebwork.sf.net/
# $CVSHeader$
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See either the GNU General Public License or the
# Artistic License for more details.
################################################################################

Revision 1563 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 5 22:45:38 2003 UTC (9 years, 7 months ago) by gage
File length: 11959 byte(s)
Diff to previous 1558
Fixed a reference to the nullSafety filter
--Mike

Revision 1558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 1 02:57:55 2003 UTC (9 years, 7 months ago) by sh002i
File length: 11946 byte(s)
Diff to previous 1537
1. moved common functions from PG::Local and PG::Remote to PG and made
them methods so that inheritence would work.
2. made some changes to PG::Remote to make it work with renderd

Revision 1537 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 26 21:31:59 2003 UTC (9 years, 7 months ago) by sh002i
File length: 19354 byte(s)
Diff to previous 1530
now install nullSafetyFilter, which does nothing (hence the name).

Revision 1530 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 25 02:03:43 2003 UTC (9 years, 7 months ago) by sh002i
File length: 19255 byte(s)
Diff to previous 1515
removed unneeded arguments from calls to ImageGenerator

Revision 1515 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 23 21:09:58 2003 UTC (9 years, 7 months ago) by sh002i
File length: 19340 byte(s)
Diff to previous 1306
Modified ImageGenerator to use new EquationImage module.
Added arguments to ImageGenerator call to support global image cache.

Revision 1306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 1 00:49:34 2003 UTC (9 years, 10 months ago) by gage
File length: 19167 byte(s)
Diff to previous 1268
added warning message to preload macros call
--Mike

Revision 1268 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 24 15:31:05 2003 UTC (9 years, 10 months ago) by gage
File length: 19097 byte(s)
Diff to previous 1262
Uncommented the caching code
--Mike

Revision 1262 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 24 14:51:42 2003 UTC (9 years, 10 months ago) by gage
File length: 19101 byte(s)
Diff to previous 1249
Changes made to insure that WeBWorK2.0 will run when it is
not optimized for time.  I'm planning to commit a "stable" version,
not feature complete, from which optimization branches can be derived.
--Mike

Revision 1249 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 23 14:24:13 2003 UTC (9 years, 10 months ago) by gage
File length: 19078 byte(s)
Diff to previous 1247
Added caching code for reading PGbascimacros and PGanswermacros as well
as PG.pl, dangerousMacros and IO.pl into a cached safe compartment and
sharing the subroutines with the current safe compartment
It speeds up each problem significantly (about .2 seconds on webwork3).

Changes are required in PGbasicmacros and PGanswermacros to fix
assumptions that are not met when a file is compiled and run in
different name spaces.

The caching code is turned off by default.  It must be turned on by
by changing commenting in lines 133 to 147 in WeBWorK::PG:Local.pm
--Mike

Revision 1247 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sat Jun 21 02:32:33 2003 UTC (9 years, 11 months ago) by gage
File length: 16733 byte(s)
Added PG:Local and PG:Remote  (from Sam's directory)
Complete updated system now works.
--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