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

Log of /trunk/webwork2/lib/WeBWorK/CourseEnvironment.pm

Parent Directory Parent Directory


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

Revision 1695 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 3 19:58:15 2004 UTC (9 years, 4 months ago) by sh002i
File length: 6387 byte(s)
Diff to previous 1663 , to selected 412
cleaned up error reporting in the include() function. sadly, it still
doesn't work as expected (see FIXME in the source)

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: 5744 byte(s)
Diff to previous 1125 , to selected 412
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 1125 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 17:48:16 2003 UTC (9 years, 11 months ago) by sh002i
File length: 5087 byte(s)
Diff to previous 1119 , to selected 412
took out old code.
-sam

Revision 1119 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 14:11:41 2003 UTC (9 years, 11 months ago) by gage
File length: 5640 byte(s)
Diff to previous 1093 , to selected 412
Fixed error in match pattern in include
routine (the ..  should be \.\.)

Added some error messages (sent only to the
log unfortunately) if the config file can't
be evaluated.

One problem with do is that it does not
return error messages. eval does.  I don't
know if it takes more time.
--Mike

Revision 1093 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 22:08:57 2003 UTC (9 years, 11 months ago) by malsyned
File length: 4988 byte(s)
Diff to previous 1092 , to selected 412
&include code now prettier.
-Dennis

Revision 1092 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 22:05:01 2003 UTC (9 years, 11 months ago) by malsyned
File length: 4995 byte(s)
Diff to previous 1085 , to selected 412
&include now works like it's supposed to in the course environment
config files.  Sam will be happy.
-Dennis

Revision 1085 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 18:28:46 2003 UTC (9 years, 11 months ago) by malsyned
File length: 5011 byte(s)
Diff to previous 1051 , to selected 412
I made an &include subroutine available to the global.conf and
course.conf evaluation environments.  It allows the inclusion of files
within the webworkRoot.
-Dennis

Revision 1051 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 21:47:51 2003 UTC (9 years, 11 months ago) by sh002i
File length: 4398 byte(s)
Diff to previous 798 , to selected 412
moved PG modules and macro files from webwork-modperl to pg
-sam

Revision 798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 21 23:30:16 2003 UTC (10 years, 2 months ago) by sh002i
File length: 4219 byte(s)
Diff to previous 700 , to selected 412
initial support for WWDBv2:
        - DB.pm finished (except for getGlobalUser{Set,Problem} methods)
        - schema modules for password, permission, key, and user with
          WWDBv1 hash-bashed backends
        - GDBM driver
        - wwdb command-line frontend
-sam

Revision 700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 10 17:28:21 2003 UTC (10 years, 4 months ago) by sh002i
File length: 4160 byte(s)
Diff to previous 695 , to selected 412
"Home" (i.e. no course specified) now redirects to %webworkURLs{home}
-sam

Revision 695 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 8 16:23:52 2003 UTC (10 years, 4 months ago) by sh002i
File length: 4154 byte(s)
Diff to previous 494 , to selected 412
$webworkURLRoot is now taken from Apache::WeBWorK instead of being
specified in global.conf.
-sam

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: 4070 byte(s)
Diff to previous 455 , to selected 412
updated copyright header.
-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: 4092 byte(s)
Diff to previous 440 , to selected 412
"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 440 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 25 21:45:29 2002 UTC (10 years, 9 months ago) by sh002i
File length: 4085 byte(s)
Diff to previous 422 , to selected 412
cleanup?
-sam

Revision 422 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 3 23:22:29 2002 UTC (10 years, 10 months ago) by sh002i
File length: 2363 byte(s)
Diff to previous 412
moved hash2string and array2string from CourseEnvironment to Utils.
-sam

Revision 412 - (view) (download) (as text) (annotate) - [selected]
Modified Tue Jun 25 20:29:22 2002 UTC (10 years, 10 months ago) by sh002i
File length: 3210 byte(s)
Diff to previous 401
global: added some new hashes. learn how to use diff.
CourseEnv: new uses WeBWorK::Utils
WW: commented out a silly debugging function
IO: fixed package name
Translator: changed behavior of evaluate_modules and
load_extra_packages: they now update the instance variable directly to
avoid sharing modules that weren't asked for "this time".
-sam

Revision 401 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 24 15:46:36 2002 UTC (10 years, 11 months ago) by sh002i
File length: 3410 byte(s)
Diff to previous 395 , to selected 412
for now, readFile returns false on failure to open file. this is to get
around the $SIG{__DIE__} interception problem.
-sam

Revision 395 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 16:41:17 2002 UTC (10 years, 11 months ago) by sh002i
File length: 3403 byte(s)
Diff to previous 394 , to selected 412
removed the "die" in readFile()
-sam

Revision 394 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 16:37:59 2002 UTC (10 years, 11 months ago) by sh002i
File length: 3411 byte(s)
Diff to previous 324 , to selected 412
fixing eval thingies.
-sam

Revision 324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 30 20:35:13 2002 UTC (10 years, 11 months ago) by sh002i
File length: 3401 byte(s)
Diff to previous 319 , to selected 412
added hash2string and array2string for debugging!
-sam

Revision 319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 30 19:17:02 2002 UTC (10 years, 11 months ago) by sh002i
File length: 2554 byte(s)
Diff to previous 311 , to selected 412
takes symbols defined in config files (which are now perl code) as
course environment. ha HA!
-sam

Revision 311 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 25 00:40:54 2002 UTC (11 years ago) by sh002i
File length: 1604 byte(s)
Diff to previous 304 , to selected 412
comments to global.conf, fixed new() in courseenv.
-0sam

Revision 304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 23 18:35:16 2002 UTC (11 years ago) by malsyned
File length: 1568 byte(s)
Diff to previous 283 , to selected 412
Added courseName to the $self hash.  That value is obtained from the parameter
passed to new().

Revision 283 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed May 22 18:44:14 2002 UTC (11 years ago) by malsyned
File length: 1469 byte(s)
Diff to selected 412


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