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

Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm

Parent Directory Parent Directory


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

Revision 1593 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 19 21:24:26 2003 UTC (9 years, 7 months ago) by gage
File length: 23676 byte(s)
Diff to previous 1542
Added note to title of scrolling lists which indicates  the initial
number of users or sets which have been selected.  This is useful
since the initial selections are often hidden on the list.

Updating this number would require javaScript, which we would prefer to
avoid.  This closes bug #257

--Mike

Revision 1542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 27 19:24:32 2003 UTC (9 years, 7 months ago) by gage
File length: 24815 byte(s)
Diff to previous 1409
Replaced table and check box display of sets and users with scrolling list
display of sets and users.

Used the new getObjects  commands whenever possible.
--Mike

Revision 1409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 21 22:08:04 2003 UTC (9 years, 10 months ago) by malsyned
File length: 23798 byte(s)
Diff to previous 1325
Refactored the code to take advantage to recent changes in
ContentGenerator with respect to REDIRECTs.

Revision 1325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 9 01:36:01 2003 UTC (9 years, 10 months ago) by gage
File length: 23677 byte(s)
Diff to previous 1321
Fixed error in finding the default set Header.pg file when the set
header was not defined.  This squashes bug #125.
--Mike

Revision 1321 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 7 15:12:57 2003 UTC (9 years, 10 months ago) by gage
File length: 23509 byte(s)
Diff to previous 1320
More modifications in format for Hardcopy errors.
--Mike

Revision 1320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 7 14:29:50 2003 UTC (9 years, 10 months ago) by gage
File length: 23532 byte(s)
Diff to previous 1309
Cleaning up the format of error reporting in hardcopy.
--Mike

Revision 1309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 1 14:29:02 2003 UTC (9 years, 10 months ago) by gage
File length: 22679 byte(s)
Diff to previous 1202
Small error recovery corrections added to Hardcopy
--Mike

Revision 1202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 18 19:58:18 2003 UTC (9 years, 11 months ago) by gage
File length: 23708 byte(s)
Diff to previous 1180
These files have timing code in them.  You have to change
the variable  $timer* from 0 to 1 in order to have the times
reported.
--Mike

Revision 1180 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 17 02:20:15 2003 UTC (9 years, 11 months ago) by gage
File length: 23522 byte(s)
Diff to previous 1176
Hardcopy now moves the pdf file to the tempDir/hardcopy
and sends the browser a redirect to pick it up.

Cleaned up the logic of latex2pdf and generateHardcopy to
some extent.  More remains to be done.  In particular
tempDir can be generated within latex2pdf.  Possibly
it could be passed a file name as well, rather than a tex
string.

this process is a good candidate for testing the timing
mechanisms once they are done.  How much faster is
redirect?  How much faster is passing a long tex string
rather than a pointer?   etc.

--Mike

Revision 1176 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 16 22:23:29 2003 UTC (9 years, 11 months ago) by gage
File length: 22749 byte(s)
Diff to previous 1175
permission level must be greater than 0 in order to
choose to download TeX.
--Mike

Revision 1175 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 16 21:51:59 2003 UTC (9 years, 11 months ago) by gage
File length: 22486 byte(s)
Diff to previous 1157
Added ability to get TeX output .

Still to do.
(1) Make tex output only available to instructors and TA's
(2) Streamline some code
(3) Store pdf code and redirect instead of outputting the pdf
code directly -- hopefully this will speed up the output?
--Mike

Revision 1157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 14:26:10 2003 UTC (9 years, 11 months ago) by gage
File length: 21436 byte(s)
Diff to previous 1156
Hardcopy now appends a copy of the tex output to error message.
Clean up of temp files is pretty good.
The output needs some cosmetic work.
It still seems a little slow to me.
This answers the bulk of bug #82.  Resubmit cosmetic details,
feature requests, etc. as new bug.
--Mike

Revision 1156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 13:53:19 2003 UTC (9 years, 11 months ago) by gage
File length: 20898 byte(s)
Diff to previous 1153
This is a fairly stable version of Hardcopy.  It reports
part of the TeX log errors along with whater pdf was
produced.  This partially satisfies the requests in
bug #82
--Mike

Revision 1153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 02:20:06 2003 UTC (9 years, 11 months ago) by gage
File length: 20435 byte(s)
Diff to previous 1146
Hardcopy now does a reasonable job of reading the TeX log file, cutting
off the initial errors.

If there are tex errors then these are reported and one can optionally
download a pdf file if this was created.

Have not yet added the TeX file output -- Need to see how this is
handled in 1.8 first.

Good stopping point.  Good night.

--Mike

Revision 1146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 19:33:28 2003 UTC (9 years, 11 months ago) by sh002i
File length: 17720 byte(s)
Diff to previous 1113
made some small improvements in error handling. changed calls to tempdir
to calls to makeTempDirectory
-sam

Revision 1113 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 02:04:13 2003 UTC (9 years, 11 months ago) by gage
File length: 16681 byte(s)
Diff to previous 973
(1) Moved order in which snippets are assembled.  Only one preamble and one postamble are used
for a single download (also a single run of TeX). The postamble ends the document and nothing
else in the file will be read by TeX.
(2) Modified the getSetTeX and getProblemTeX subroutines to include a username (for sets)
and a user object (for problems) so that problems and sets can be made for different students.
The new identifier is the first arguement.
$self->getSetTeX($effectiveUserName, $setName);

and

$self->getProblemTeX($effectiveUser,$setName, 0, $setHeader);

It seems to work pretty well, but perhaps a bit slow still.

--Mike

Revision 973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 2 20:17:19 2003 UTC (9 years, 11 months ago) by sh002i
File length: 15835 byte(s)
Diff to previous 924
removed annoying debug output.
-sam

Revision 924 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 01:38:55 2003 UTC (9 years, 11 months ago) by malsyned
File length: 15883 byte(s)
Diff to previous 919
Added a helpful comment to Authz
Fixed bug #15 in hardcopy
Gave ProblemSetList the proper db calls, now that SQL databases are
working.
-Dennis

Revision 919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 00:24:27 2003 UTC (9 years, 11 months ago) by sh002i
File length: 15887 byte(s)
Diff to previous 818
changed ->id to ->whatever_id
-sam

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

Revision 809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 17 21:30:57 2003 UTC (10 years, 1 month ago) by sh002i
File length: 16008 byte(s)
Diff to previous 739
changed the name of the "courseEnvironment" field in the
ContentGenerator object to "ce", to match the style and conciesness of
the existing "r" and new "db" fields.
-sam

Revision 739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 21 20:49:49 2003 UTC (10 years, 2 months ago) by sh002i
File length: 16128 byte(s)
Diff to previous 738
1. fixed some formatting in Problem
2. hardcopy allows correct answers, hints, solutions to be shown
3. privileged users are allowed to view/download "not yet open" sets
-sam

Revision 738 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 21 19:09:28 2003 UTC (10 years, 2 months ago) by sh002i
File length: 18070 byte(s)
Diff to previous 737
ProblemSet and Problem no longer allow problem sets that are "not yet
open" to be viewed. oopsies.
-sam

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

Revision 722 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 31 22:29:19 2003 UTC (10 years, 3 months ago) by malsyned
File length: 9916 byte(s)
Diff to previous 716
effectiveUser audit complete on Hardcopy.pm.  That means all the
ContentGenerators are all checked and clear.
-Dennis

Revision 716 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 24 22:38:52 2003 UTC (10 years, 3 months ago) by sh002i
File length: 9765 byte(s)
Diff to previous 669
hardcopy new respects effectiveUser
-sam

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 6 17:42:02 2002 UTC (10 years, 5 months ago) by sh002i
File length: 9747 byte(s)
Diff to previous 641
added feedback links to a bunch of modules.
-sam

Revision 641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 20 21:47:25 2002 UTC (10 years, 5 months ago) by sh002i
File length: 9007 byte(s)
Diff to previous 616
fixed hardcopy generation for sets named "0" (a false, but defined value)
added error and warning reporting.
-sam

Revision 616 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 30 20:16:56 2002 UTC (10 years, 6 months ago) by sh002i
File length: 7190 byte(s)
Diff to previous 614
finished some stuff up. hardcopy deletes its temp files.
-sam

Revision 614 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 28 21:26:35 2002 UTC (10 years, 6 months ago) by sh002i
File length: 7191 byte(s)
Diff to previous 607
small changes to support hardcopy work.
-sam

Revision 607 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 25 20:56:49 2002 UTC (10 years, 6 months ago) by sh002i
File length: 7215 byte(s)
Diff to previous 562
re-formatted &alias (in dangerousMacros) so that it's more readable.
mostly just made sure indentations where correct and tabs and spaces
were used where apprropriate.
-sam

Revision 562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 27 23:53:42 2002 UTC (10 years, 7 months ago) by sh002i
File length: 7054 byte(s)
Diff to previous 547
- 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 547 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 13 20:54:59 2002 UTC (10 years, 8 months ago) by sh002i
File length: 6956 byte(s)
Diff to previous 502
fixed hardcopy generation (errors in EV3_math_general and the
hardcopySetHeader.
-sam

Revision 502 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 22 21:11:53 2002 UTC (10 years, 8 months ago) by sh002i
File length: 6973 byte(s)
Diff to previous 494
continuing work on hardcopy generation. changed interface to PG.pm to
take user, problem, and set objects instead of names.
-sam

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

Revision 492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 15:34:35 2002 UTC (10 years, 8 months ago) by sh002i
File length: 3982 byte(s)
Diff to previous 478
made progress towards working hardcopy generation. next, i have to fix
the call to pdflatex. screw pip. it's not working right, and it doesn't
give me any speed gain, since latex has to goofily write the WHOLE DAMN
FILE in whatever order it pleases before letting me have it.
-sam

Revision 478 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Aug 20 01:10:31 2002 UTC (10 years, 9 months ago) by sh002i
File length: 2447 byte(s)
added Hardcopy.
TODO:
	&getMultiSetTeX
	figure out what to do about making several sets into 1 TeX \doc
	make PDF generation code (minimize temp file use!)
		(to this end, module-ize pip? haha.)
-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