X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flibpspp%2FChangeLog;h=88955ac42ca3797e2f3e8197f9921cc02c59f754;hb=7102dc8607b7e6e25bdb9806f508dce71fe76ce4;hp=e78ba849c650b4481223928aa684ded67bda8175;hpb=cf4da7ffcb1c9f1016c4fa013deb8ce40c431e19;p=pspp diff --git a/src/libpspp/ChangeLog b/src/libpspp/ChangeLog index e78ba849c6..88955ac42c 100644 --- a/src/libpspp/ChangeLog +++ b/src/libpspp/ChangeLog @@ -1,3 +1,112 @@ +Sun Apr 16 20:43:35 2006 Ben Pfaff + + Continue reforming error message support. In this phase, we + divide the classification of messages along "category" and + "severity" axes. + + * message.h: (enum msg_class) Named this set of enumerations. + (enum msg_category) New enum: MSG_GENERAL, MSG_SYNTAX, MSG_DATA. + (enum msg_severity) New enum: MSG_ERROR, MSG_WARNING, MSG_NOTE. + (msg_class_to_category) New inline function. + (msg_class_to_severity) New inline function. + (msg_class_from_category_and_severity) New inline function. + (struct error) Removed `class' member, added `category', + `severity'. Updated all users of this struct to use the new + members. + +Sun Apr 16 20:33:19 2006 Ben Pfaff + + * str.c (ds_vprintf): Don't try to write into the string if it is + null. + +Sun Apr 16 18:52:41 2006 Ben Pfaff + + GNU standards require "file name" instead of "filename" in + documentation. It's nice for our code to follow the convention + too. + + * message.h: (struct file_locator) Rename filename member to + file_name. Updated all references. + +Sun Apr 16 16:05:43 2006 Ben Pfaff + + Continue reforming error message support. In this phase, we get + rid of VM() and the other msg() support for "verbosity", replacing + it by a new function verbose_msg(). + + * message.h: (enum ERR_CLASS_COUNT) Renamed ERR_CLASS_CNT. + (enum ERR_CLASS_MASK) Removed. + (enum ERR_VERBOSITY_SHIFT) Removed. + (enum ERR_VERBOSITY_MASK) Removed. + (macro VM) Removed. + +Sun Apr 16 11:48:07 2006 Ben Pfaff + + Start reforming error message support. In this phase, we get rid + of "installation errors" and change all uses of msg() in the + output drivers to uses of error() or error_at_line(). + + * message.h: Remove IE, IS enums. + +Mon Apr 3 11:10:21 2006 Ben Pfaff + + * str.c: (ds_separate) Change interface for cleanliness and + consistency with ds_tokenize(), and rewrite to shorten and + simplify. Updated all callers. + (ds_tokenize) New function. + +Fri Mar 31 10:38:46 2006 Ben Pfaff + + Add freaderror() analogous to fwriteerror() in gnulib. + + * freaderror.c: New file. + + * freaderror.h: New file. + +Thu Mar 30 16:15:37 2006 Ben Pfaff + + * str.c: (ds_create) Adjust capacity selection. + (ds_init) Use MAX macro for clarity. + (ds_create_substr) Rewrote. + (ds_replace) Renamed ds_assign_c_str(), reimplemented. Changed + all callers to use a ds_assign_*() function. + (ds_init_substring) New function. + (ds_assign_string) New function. + (ds_assign_substring) New function. + (ds_assign_buffer) New function. + (ds_assign_c_str) New function. + (ds_truncate) Rewrote for clarity. + (ds_rpad) Reimplement in terms of ds_putc_multiple(). + (ds_ltrim_spaces) Reimplement. + (ds_trim_spaces) New function. + (ds_separate) New function. + (ds_c_str) Make tolerant of null pointer, allowing static + initialization of strings. + (ds_find) Rename ds_span(), change interface. + (ds_n_find) Rename ds_cspan(), change interface. + (ds_at) New function. + (ds_first) Reimplement in terms of ds_at(). + (remove_comment) New function. + (ds_get_config_line) Reimplement in terms of other functions. + Change type of LINE_NUMBER parameter. Updated all callers. + (ds_vprintf) Modify for clarity. + (ds_putc) Better to be safe than sorry. + (ds_putc_multiple) New function. + + * str.h: (struct string) Reorder members. + (macro DS_INITIALIZER) New macro that can be used to initialize a + string (as empty). + (ds_c_str) Remove inline version. + +Tue Mar 28 13:49:11 WST 2006 John Darrington + + * str.[ch]: New functions ds_create_substr, ds_find, ds_n_find, + ds_ltrim_spaces + +Sat Mar 4 12:59:01 2006 Ben Pfaff + + * compiler.h: New file. + Sat Mar 4 11:55:16 2006 Ben Pfaff * str.h: Now assume that sprintf() returns the correct value.