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

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

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