[system] / trunk / webwork-modperl / lib / WeBWorK / Utils.pm Repository:
ViewVC logotype

Log of /trunk/webwork-modperl/lib/WeBWorK/Utils.pm

Parent Directory Parent Directory


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

Revision 1145 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 19:32:51 2003 UTC (11 years, 2 months ago) by sh002i
File length: 8051 byte(s)
Diff to previous 1137
added makeTempDirectory function.
-sam

Revision 1137 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 18:13:04 2003 UTC (11 years, 2 months ago) by gage
File length: 7441 byte(s)
Diff to previous 1111
Added pretty_print_rh utility function for printing warnings lines from
a hash.
-- Mike

Revision 1111 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 10 23:05:57 2003 UTC (11 years, 2 months ago) by sh002i
File length: 7320 byte(s)
Diff to previous 1095
Added sortByName($field, @items) to WeBWorK::Utils. It uses the method
named $field to sort the objects in @items. Modified ProblemSets to call
it.
-sam

Revision 1095 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 23:24:37 2003 UTC (11 years, 2 months ago) by sh002i
File length: 6801 byte(s)
Diff to previous 1045
fixed encodeAnswer to never allow the last character to be a backslash.
closes bug #67.
-sam

Revision 1045 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 19:13:51 2003 UTC (11 years, 2 months ago) by malsyned
File length: 6378 byte(s)
Diff to previous 984
Took out the redundant "confirm email address" from user options.
Also, added a Util function "backtrace", which can be passed one of
"die", "warn", "print", or "return".  I'm just showing off, but it might
prove useful in debugging.
-Dennis

Revision 984 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 18:18:38 2003 UTC (11 years, 2 months ago) by sh002i
File length: 5986 byte(s)
Diff to previous 979
improved the implementation of refBaseType.
-sam

Revision 979 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 2 22:28:08 2003 UTC (11 years, 2 months ago) by malsyned
File length: 6099 byte(s)
Diff to previous 974
Fix max in Util.pm
did some UI refactoring.
-Dennis

Revision 974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 2 20:22:23 2003 UTC (11 years, 2 months ago) by malsyned
File length: 6078 byte(s)
Diff to previous 970
added readDirectory
-Dennis

Revision 970 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 2 20:01:59 2003 UTC (11 years, 2 months ago) by malsyned
File length: 5857 byte(s)
Diff to previous 818
Added two functions, list2hash and max.
-Dennis

Revision 818 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 25 04:51:37 2003 UTC (11 years, 3 months ago) by sh002i
File length: 5645 byte(s)
Diff to previous 737
modev more content generators over to the new WWDBv2 API. fixed some
bugs.
-sam

Revision 737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 18 07:04:13 2003 UTC (11 years, 6 months ago) by sh002i
File length: 5645 byte(s)
Diff to previous 692
merged changes from rel-2-0-pr1-hardcopy-changes
-sam

Revision 692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 7 21:19:38 2003 UTC (11 years, 7 months ago) by sh002i
File length: 5644 byte(s)
Diff to previous 667
DONE	effectiveUser for at least Problem.pm
DONE	write a template escape for printing $user, $effectiveUser, &c. nicely

also added additional timing log points: timing is now logged:

	1. when WeBWorK::PG::new starts
	2. after all the initialization-type stuff happens
	3. when WeBWorK::PG::new ends

Getting it to log the entire request time might be a little harder.
-sam

Revision 667 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 4 19:07:12 2002 UTC (11 years, 8 months ago) by sh002i
File length: 5534 byte(s)
Diff to previous 646
added a bunch of "***" comments.
implemented Feedback module.
-sam

Revision 646 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 23 00:25:40 2002 UTC (11 years, 9 months ago) by sh002i
File length: 5935 byte(s)
Diff to previous 631
added REAL logout support. keys now get invalidated at logout.
also, fixed a bug in classlist (see the diff).
also, added a sub to Utils (see the diff).
-sam

Revision 631 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 15 20:51:06 2002 UTC (11 years, 9 months ago) by sh002i
File length: 5511 byte(s)
Diff to previous 562
added some docs to Utils
-sam

Revision 562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 27 23:53:42 2002 UTC (11 years, 10 months ago) by sh002i
File length: 5258 byte(s)
Diff to previous 558
- created macros/IO.pl, which is loaded with no opmask by PG.pm. It is a copy
  of WeBWorK::PG::IO.pm, with some changes to make it work as a macro package.
  The translator no longer shares IO.pm's functions with the safe compartment.
  This is a BAD THING, and should be reconsidered when the Translator is
  revised.
- Changed many (but not all) checks for HTML or HTML_tth modes to match /^HTML/
  in the macros.
- changed &header to &head in Problem.pm
- Added problem environment variables for gif2eps and png2eps and modified
  &dangerousMacros::alias to use them
- fixed MOST of the harmless warnings in the system. there's still the "Use
  of uninitialized value in null operation" warning in template(), tho.

Still to come:

- make images in PDFs work
- fix TTH mode character encodings on mac (maybe)
- have logout button invalidate key
- Pretty die messages (from outside of the translator)
- Feedback - need nice modular way of sending email
- Options - email address and password

Revision 558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 20 22:47:22 2002 UTC (11 years, 11 months ago) by sh002i
File length: 4867 byte(s)
Diff to previous 494
* fixed multiple-calls-to-&handler problem
* fixed if-else-endif code in &template
* added code to catch warnings in PG evaluation
* added "pink screen" and warning reporting
* started work on logging code (see Utils.pm, commented out)
-sam & dennis

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

Revision 455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 5 21:34:18 2002 UTC (12 years ago) by sh002i
File length: 4489 byte(s)
Diff to previous 445
"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 445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 31 19:33:46 2002 UTC (12 years ago) by sh002i
File length: 6417 byte(s)
Diff to previous 440
fixed "odd number of elements in hash" problem when decoding form
fields.
-sam

Revision 440 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 25 21:45:29 2002 UTC (12 years ago) by sh002i
File length: 6387 byte(s)
Diff to previous 429
cleanup?
-sam

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

Revision 427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 12 19:01:28 2002 UTC (12 years, 1 month ago) by sh002i
File length: 5126 byte(s)
Diff to previous 425
moved &encode and &decode from WW.pm and Classlist.pm. Renamed to
&dbEncode and &dbDecode.
-sam

Revision 425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 11 23:27:10 2002 UTC (12 years, 1 month ago) by sh002i
File length: 4576 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 (12 years, 1 month ago) by sh002i
File length: 4607 byte(s)
Diff to previous 422
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 422 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 3 23:22:29 2002 UTC (12 years, 1 month ago) by sh002i
File length: 2998 byte(s)
Diff to previous 412
moved hash2string and array2string from CourseEnvironment to Utils.
-sam

Revision 412 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 25 20:29:22 2002 UTC (12 years, 1 month ago) by sh002i
File length: 926 byte(s)
Diff to previous 410
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 410 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jun 25 16:49:11 2002 UTC (12 years, 1 month ago) by sh002i
File length: 406 byte(s)
Utils.pm now contains &runtime_use (from RuntimeUse.pm) and &readFile
(from CourseEnvironment.pm).
-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