Annotation of capa/capa51/GUITools/Changes.quizzer.tcl, revision 1.1

1.1     ! albertel    1: --
        !             2: Changes from 2.10 to 3.1
        !             3: 
        !             4: fixed file saving so that blank lines are no longer inserted on to the end of files
        !             5: 
        !             6: fixed import so that the correct description of what is going to occur 
        !             7: (webonlyline or stdline) is present
        !             8: 
        !             9: --
        !            10: Changes from 2.9 to 2.10 (copied to ver5.0)
        !            11: 
        !            12: fixed closeDocument to not reset the gDir variable
        !            13: 
        !            14: --
        !            15: Changes from 2.8 to 2.9 (distributed to capa2 and capa3)
        !            16: 
        !            17: can now find and replace in reference files
        !            18: 
        !            19: fixed find previous so that it actually worked (it never really did)
        !            20: 
        !            21: --
        !            22: Changes from 2.7 to 2.8 (distributed to capa2)
        !            23: 
        !            24: fixed printMultiple sections so that it doesn't  throw up a "Sent print job"
        !            25: after each section
        !            26: 
        !            27: throws error on a failed qzparse
        !            28: 
        !            29: changed the pickSections listbox to use extended rather than multiple mode
        !            30: 
        !            31: fixed it so printing can actually create the LaTeX output frame.
        !            32: 
        !            33: parseCapaConfig can survive bad capa.config files and alert the user to poorly defined lines (unbalenced quotes etc. . )
        !            34: 
        !            35: catch Destruction of windows ( the x in Win95 ) and do proper closing 
        !            36: 
        !            37: --
        !            38: Changes from 2.6 to 2.7 (distributed to capa2)
        !            39: 
        !            40: modified info dialog to show gCompileDate var set in .c code
        !            41: 
        !            42: Created a common.tcl in which functions common between Grader and
        !            43: Quizzer exist
        !            44: 
        !            45: --
        !            46: Changes from 2.5 to 2.6
        !            47: 
        !            48: moved cut copy etc bindings to be in the creation of the main editing window
        !            49: 
        !            50: updated saveText to change gRefChanged($refNum) when a file is
        !            51: succesfully saved
        !            52: 
        !            53: --
        !            54: Changes from 2.4 to 2.5
        !            55: 
        !            56: select a defualt printing method in the print dialog
        !            57: 
        !            58: updated many toplevel window creations to have nice titles
        !            59: 
        !            60: can now cut, copy, paste, selectAll, save, save As, close reference
        !            61: files, reference Files are checked if they need to be save.
        !            62: 
        !            63: added goto control box from reference file editor to main editing window
        !            64: 
        !            65: moved the clock to replace the usesless label "Assignment Information"
        !            66: 
        !            67: changed the bindings from the main controlWindow to be to .main rather
        !            68: than all, also modified the Main Editing Window to be a child of .main
        !            69: 
        !            70: changed the Save and Print buttons on the preview and error windows to
        !            71: read Save Output and Print Output
        !            72: 
        !            73: new proc, closeRefFile handles the closing of a refernece file, it
        !            74: does not unset the variables associated with the window
        !            75: 
        !            76: textChange now takes an optional argument refNum, if specified it
        !            77: updates gRefChanged($refNum) to 1
        !            78: 
        !            79: quit asks if you wish stop editing first, then if you wish to save files
        !            80: 
        !            81: quit now checks if if any of the gRefChanged entries that are set to
        !            82: one still are mapped windows, and if they are it does askToSave on
        !            83: each
        !            84: 
        !            85: askToSave takes an optional argument refNum, if specified it will try
        !            86: saving a reference file with that number
        !            87: 
        !            88: cut, copy, paste and select All can take a refNum argument, in which
        !            89: case it operates on the referece file with that number rather than the
        !            90: main window
        !            91: 
        !            92: saveText now can take 1 2 or 3 arguments window saveAs(flag) refNum
        !            93: only window is required, if saveAs is specified (then refNum must be
        !            94: too) this controls whether or not it should query for filename, refNum
        !            95: is the number of the reference file, it will also update the window
        !            96: listing entry
        !            97: 
        !            98: Change the bindings on update{Ref}Location to be bound on Key Release
        !            99: rather than KeyPress.
        !           100: 
        !           101: --
        !           102: Changes from 2.3 to 2.4
        !           103: 
        !           104: new directory handling mechanism, rather than cding to the directory, 
        !           105: just use tk_getOpenFile -initialdir option
        !           106: 
        !           107: changed the getProbValue call to check its return code, and modify the 
        !           108: button to read "Import"
        !           109: 
        !           110: added more code to defeat to effects of the tk_getOpenFile bug, now set 
        !           111: the focus to the tewwindow and generates a buttonpress-1 on the first 
        !           112: character of the file.
        !           113: 
        !           114: --
        !           115: Changes from 2.2 to 2.3
        !           116: 
        !           117: fixed how dvi creation works, when runLatex returns a 2 it means
        !           118: gStopPrinting became a 1 at some point in time.
        !           119: 
        !           120: forgot to create gStopPrinting when starting up
        !           121: 
        !           122: tk_getOpenFile is buggy when creating a toplevel window after double
        !           123: clicking on a file, giving it the parent arg and generating a button
        !           124: press event for the parent makes it go away.
        !           125: 
        !           126: --
        !           127: Changes from 2.1 to 2.2
        !           128: 
        !           129: stopped using File_select and are now using the tk_get{Open,Save}File options
        !           130: 
        !           131: changed the -transient option to -type (tk8.0 incompatability)
        !           132: 
        !           133: now using tcl/tk 8.0
        !           134: 
        !           135: --
        !           136: Changes from 2.0 to 2.1
        !           137: 
        !           138: reads capa.config for the printer_option strings, if found it presents
        !           139: a listbox allowing the user to selected among te different defintions
        !           140: of the variable
        !           141: 
        !           142: changed the creation of Dvi text widget to wrap based on characters 
        !           143: rather than words
        !           144: 
        !           145: added command printWholeClass that now prints a class a section at a
        !           146: time using qzparse
        !           147: 
        !           148: checks if the directory is writable when opening a file and gives a
        !           149: warning if it isn't
        !           150: 
        !           151: gets the qzparse command from the setting in capa.config
        !           152: 
        !           153: new printing option, print multiple Sections
        !           154: 
        !           155: printSection now uses qzparse to print a section
        !           156: 
        !           157: all of the normal printing commands now use the new getLprOptions
        !           158: 
        !           159: Gets the value of gCapaConfig(standardQuizzerHeader) from the
        !           160: capa.config file, the listing in the capa.config file should be:
        !           161: BeginStandardQuizzerHeader
        !           162: headertext
        !           163: EndStandardQuizzerHeader
        !           164: 
        !           165: Changed the getting of lprOptions to instead give the capa.config
        !           166: possibilites as options.
        !           167: 
        !           168: Added proc parseCapaConfig, looks for the lprOneSided_command,
        !           169: lprTwoSided_command, latex_command, and dvips_command values and uses
        !           170: them in appropriate places
        !           171: 
        !           172: Save and Print buttons have been added to the Reference files
        !           173: 
        !           174: now detects when a user tries to open a directory rather than a file
        !           175: for both openDocument and openReferenceFile
        !           176: 
        !           177: forgot to declare the globals in closeDocument
        !           178: 
        !           179: When picking a file to saveAs, if it is a directory, emit warning and
        !           180: don't save
        !           181: 
        !           182: if gFile is "" when attempting to save, run the SaveAs code
        !           183: 
        !           184: getHeaderInfo is now checked if it returns an error and informs the
        !           185: user if the setX.db file doesn't exist
        !           186: 
        !           187: added save and print buttons to parse error windows
        !           188: 
        !           189: added save and print buttons to the preview window (proc printText and
        !           190: save Text )
        !           191: 
        !           192: --
        !           193: Changes from 1.8 to 2.0 (Given to Ed to use on capa2)
        !           194: 
        !           195: added extra bindings so things like Alt-s wouldn't look like a
        !           196: modification to the file
        !           197: 
        !           198: forgot to reset variables when a file got closed, like number of
        !           199: questions and set number
        !           200: 
        !           201: added the import features that were in the Quizzer 5.0 test version to 4.6
        !           202: 
        !           203: new global gQuizTemp, and procedure changeMenuStatus control whether
        !           204: or not quiztemp.* files can be created and therefore whther or not a
        !           205: user can print and create .dvi files
        !           206: 
        !           207: openDocument now checks for old quiztemp files that can't be modified
        !           208: (permissions) and warns user that create .dvi and printing won't work.
        !           209: 
        !           210: Actually deletes the quiztemp.* files it creates, should have been
        !           211: doing that from day one.
        !           212: 
        !           213: Changed few remaining oks to Dismiss
        !           214: 
        !           215: changed the DBHeader warning message to use displayError instead of 
        !           216: displayMessage
        !           217: 
        !           218: changed the error box to have a large "WARNING" in it. Maybe people
        !           219: will notice it now.
        !           220: 
        !           221: if unable to open quiztemp.tex it warns the user about the problem
        !           222: 
        !           223: would crash if there was no question text in a question
        !           224: 
        !           225: in printSpecific and printStudent, was using
        !           226: gStudentSelection(studentNumber) rather than
        !           227: $gStudentSelection(studentNumber)
        !           228: 
        !           229: createDvi now checks if there are a different number of questions like
        !           230: preview does.
        !           231: 
        !           232: now quizzer 4.6
        !           233: 
        !           234: --
        !           235: Changes from 1.7 to 1.8
        !           236: 
        !           237: stopped yelling at the user for not specifying a print queue when they
        !           238: attempted to cancel printing at the getLprOptions stage
        !           239: 
        !           240: added secret button to get value of auto_path variable, Shift-Alt-A
        !           241: 
        !           242: created global array gDir for remembering last directory that include,
        !           243: import, references were from
        !           244: 
        !           245: createEditingWindow now has a return 
        !           246: 
        !           247: When creating a new document, save works correctly
        !           248: 
        !           249: Cut, Copy, Paste when there is no selection does not cause an error
        !           250: 
        !           251: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>