Annotation of capa/capa51/pProj/Changes, revision 1.1.1.1

1.1       albertel    1: 
                      2: 
                      3: 
                      4: 
                      5: 
                      6: 
                      7: --
                      8: changes from 4.6.3 to 5.0.0
                      9: 
                     10: units 
                     11: 
                     12: Use stacks of data structure to implement 
                     13: /WHILE /ENDW loops
                     14: /IF /ELSE /ENDIF
                     15: 
                     16: use EoL token to replace '\n', '\r''\n', and '\r'. 
                     17: 
                     18: 
                     19: 
                     20: FILE FORMAT
                     21:  setX.db header will look like 
                     22:  9999999, 
                     23:  1222111111111111111111111
                     24:  1111111111111111111111
                     25:  abc,y,xy,x
                     26:  abcde,...
                     27: 
                     28: 
                     29: 
                     30: 
                     31: prints a percentage sign in the term summary.
                     32: 
                     33: Added a rule to the <S_VARIABLE> state in the lexer so \\{Space}*\n
                     34: can occur inside a /DIS command
                     35: 
                     36: Fixed the rule matching in the <S_STRING> state so that \\{Space}+\n 
                     37: will actually get matched, (Before the string text matching rule was
                     38: getting matched) (Performance detraction)
                     39: 
                     40: capalogin, and capaweb things ignore the generation of SIGFPE, this is
                     41: because capa_check_answer was generating strange Floating point
                     42: underflow errors
                     43: 
                     44: added possible option capaweb_cgibin_path, specify what directory the 
                     45: capasbin and capahtml are located in, if not specified defaults to
                     46: "capa-bin"
                     47: 
                     48: Fixed bug in inhibiting the display of the Summary Score in capalogin
                     49: (was instead displaying what the option's value was)
                     50: 
                     51: Now accepts numbers of the form .{Number}+[Ee]{+,-}*{Number}+
                     52: (things like .3e-2)
                     53: 
                     54: Changed message to read "Hand-graded Correct"
                     55: 
                     56: was not initializing all the values to the defaults in the first
                     57: problem in a set in capaCommon.c (capa_parse)
                     58: 
                     59: capa_set_entry was returning an error if setting the last entry in the
                     60: file
                     61: 
                     62: Now emits a WARNING in all cases of a numerical answer with zero
                     63: tolerance except when it is an integer answer and the tolerance of
                     64: zero is specified.
                     65: 
                     66: error messages now contain a WARNING or ERROR whether the error can be
                     67: ignored (WARNING) or shouldn't be (ERROR)
                     68: 
                     69: qzparse now correctly genereates answer strings when running with -Tb
                     70: and -Stu
                     71: 
                     72: --
                     73: changes from 4.6.2 to 4.6.3
                     74: 
                     75: Issac made vast changes, the WhatsNew document will give a good
                     76: indication of what is different.
                     77: 
                     78: --
                     79: changes from 4.6.1 to 4.6.2
                     80: 
                     81: capalogin gets a maximum inactivity time from capa.config file, option
                     82: is capalogin_inactivity_delay specified in minutes , default is 60 minutes
                     83: 
                     84: capalogin gets exam_path and quiz_path from capa.config file, option
                     85: is exam_path, quiz_path
                     86: 
                     87: capalogin now gets delay time from capa.config, option is
                     88: capalogin_goodbye_delay, defaults to five if the option is not
                     89: specified or capa.config can't be read.
                     90: 
                     91: allcapaid understands starting set option, specifiying calss directory
                     92: on command line, doesn't create files but prints info to screen with
                     93: -i option, and can have an output directory specified with the -d
                     94: option
                     95: 
                     96: allcapaid creates a capaID directory and sectionX.id files
                     97: 
                     98: allpin.c move to allcapaid.c
                     99: 
                    100: capaCgiUtils.c modified to have friendlier messages on problems that
                    101: have not yet been correctly answered, now says "Not correct yet", and
                    102: no longer says Incorrect on problems that are incorrect with no more
                    103: tries.
                    104: 
                    105: capa.config was modified, comments must be on their own lines and must
                    106: have a # in the first column
                    107: 
                    108: capa_get_header forgot to init nq before using it.
                    109: 
                    110: qzparse was incorrectly handling the TeXfooter with the new directory
                    111: specification code.
                    112: 
                    113: changed the exit button so that at least netscape 3.0 and 4.0 browsers 
                    114: actually close the window.
                    115: 
                    116: changed all 'method="link"' to 'method="get"'
                    117: 
                    118: commented out alot of error condition printfs in capaCommon.c where
                    119: the errcondition was signified already by a returned error
                    120: code. Cleans up some of the web output when silly things are entered.
                    121: 
                    122: if VSET is an empty string, set g_vset to 1. (sscanf would assign 0 by
                    123: default.)
                    124:  
                    125: Added Reload Button to top of the capa pages, it resends the same data
                    126: as the "Try current set" or View Previous set button did.
                    127: 
                    128: Explanations are now printed on the web when viewing previous sets.
                    129: 
                    130: --
                    131: changes from 4.6 to 4.6.1 (capasbin, capahtml distributed to colorado)
                    132: 
                    133: added result code of UNIT_NOTNEEDED for when student specifies a unit
                    134: but the answer to a question does not need units. Modified capalogin.c
                    135: and capaCgiUtils.c to make use of this new situation along with
                    136: changing capaCommon.c:capa_check_answer to return this result
                    137: 
                    138: fixed a problem where if a student put a space at the end of his answer  
                    139: that included units, the space would be thought of as a multiply sign.
                    140: 
                    141: capa_get_student forgot to copy the student number into the returned
                    142: student structure
                    143: 
                    144: changed the logging of submissions to now only log non blank answers
                    145: from students and to use a smaller date string, hopefully this will
                    146: minimize the amount of data created.
                    147: 
                    148: changed the login screen help link to look a button, and added a
                    149: similar button go right beside the Exit button on assignment pages.
                    150: 
                    151: gave qzparse the -d option to specify a different directory for the
                    152: output files.
                    153: 
                    154: changed the "Incorrect, no more tries" messages to correctly display
                    155: the last answer and imbedded the last answer back into the web page.
                    156: 
                    157: created w_log_submissions and modified w_get_input to log the
                    158: submissions received from the web page
                    159: 
                    160: in capaHTML.c error code is printed out when an error is returned from 
                    161: w_get_input.
                    162: 
                    163: modified print_quizz to check w_log_attempt's return value and emit an
                    164: error message if it was incabable of doing so.
                    165: 
                    166: changed w_log_attempt to no longer need a section number argument
                    167: 
                    168: added more info to the error message about not able to access class
                    169: directory.
                    170: 
                    171: modified capaCgiUtils.h to check the result from getenv for a NULL pointer
                    172: (In case the env variable is not set) in all uses of getenv
                    173: 
                    174: when printing out answers to questions when in VIEW_PREVIOUS_MODE the
                    175: format string was missing a %s to print the units out and a <br> to
                    176: keep the next problem from starting on the same line.
                    177: 
                    178: changed all occurances of &times to &#215 as per HTML 4.0 specs
                    179: (Macintoshes now correctly display multiplication sign.)
                    180: 
                    181: changed all occurances of /class.html to /CAPA/class.html
                    182: 
                    183: modified the qzparse.c and allpin.c to use the new versioning method
                    184: 
                    185: capasbin and capahtml now emit a comment that has the CAPA_VER and
                    186: COMPILE_DATE info
                    187: 
                    188: in capaCgiUtils.c I moved the hidden input fields to be listed infront
                    189: of the questions, this way early button mashers don't forget to send
                    190: this info back to the server
                    191: 
                    192: using the define CAPA_VER and COMIPLE_DATE for the version number and
                    193: date of compiling of the code, set in the Makefile
                    194: 
                    195: --
                    196: changes from 4.5 to 4.6
                    197: 
                    198: changed u_parse_unit to be a series of nested elseifs to handle
                    199: conditions where invalid characters appear in the unit spec
                    200: 
                    201: added global variable gUnitError to be set to one if an error occurs
                    202: while parsing a unit spec.
                    203: 
                    204: 
                    205: --
                    206: Old updates:
                    207: 
                    208: 
                    209: After July distribution:
                    210: 
                    211: FIXES: char *c_getpath() has the while loop that looked like:
                    212: 
                    213:  **** while (isalnum(c) || c == '{' || c == '}' || c == '-' || c == '\' ||
                    214:              c == '^'   || c == '_' || c == '/' || c == '.' || c == ':' ||
                    215:              c == '+'   || c == '*' || c == '#' || c == '!' || c == '=' || 
                    216:              c == ';'   || c == '$' || c == '(' || c == ')' || c == '[' ||
                    217:              c == ']'   || c == '?' || c == '>' || c == '<' || c == ',');
                    218: 
                    219: Update to manual:
                    220: 
                    221: 1. web_access.log permission should read:
                    222:    -rw-rw-r-- instead of -rw-r--r--
                    223: 
                    224: 2. weight = 0 

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