X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flanguage%2Fexpressions%2FChangeLog;h=a5895b66a9da8d4f2e46678e312856145c6f430b;hb=a0a06d76c05d0c76c9a88461d4ccf0a96eb67390;hp=824216727ee68722e2f5657a2bfea1fc48935b27;hpb=b74d09af5e07f954c18e7cdb8aca3af47fa10208;p=pspp-builds.git diff --git a/src/language/expressions/ChangeLog b/src/language/expressions/ChangeLog index 82421672..a5895b66 100644 --- a/src/language/expressions/ChangeLog +++ b/src/language/expressions/ChangeLog @@ -1,3 +1,91 @@ +2007-07-17 Ben Pfaff + + Patch #19335. Reviewed by John Darrington. + + * evaluate.h.pl: Use strict and all warnings. Fix warnings that + this triggers. + + * evaluate.inc.pl: Ditto. + + * generate.pl: Ditto. + + * operations.h.pl: Ditto. + + * optimize.inc.pl: Ditto. + + * parse.inc.pl: Ditto. + +2007-04-15 Ben Pfaff + + * parse.c (expr_get_function): New function. + (expr_get_function_cnt): New function. + (expr_operation_get_name): New function. + (expr_operation_get_prototype): New function. + (expr_operation_get_arg_cnt): New function. + +Thu Feb 1 06:59:27 2007 Ben Pfaff + + * parse.c (parse_function): Accept TO in any case for use with + n-ary functions. Fixes bug #18923. Thanks to John Darrington for + reporting this bug. + +Sat Dec 16 12:20:14 2006 Ben Pfaff + + * operations.def: Reverse order of arguments to DATEDIFF, for + compatibility. Thanks to Daniel Williams + for reporting this bug. + +Wed Dec 13 19:30:26 2006 Ben Pfaff + + Implement support for DATESUM, DATEDIFF expression functions. See + patch #5637. + + * helpers.c (enum date_unit): New enum. + [!HAVE_TRUNC] (trunc): New function. + (recognize_unit): New function. + (year_diff): New function. + (month_diff): New function. + (quarter_diff): New function. + (date_unit_duration): New function. + (expr_date_difference): New function. + (enum date_sum_method): New function. + (recognize_method): New function. + (add_months): New function. + (expr_date_sum): New function. + + * operations.def: Implement DATESUM, DATEDIFF functions. Mark + VALUELABEL no_abbrev. + +Sun Dec 10 16:49:33 2006 Ben Pfaff + + * operations.def: Implement VALUELABEL function. Add DATEDIFF, + DATESUM unimplemented stubs. + + * parse.c (type_coercion_core): Add support for OP_var type, which + is a name for a numeric or string variable. + (is_compatible) New function. + (check_operator) Only require values to be compatible with their + expected types, not identical. + (is_valid_node) Ditto. + (compare_names) Always return mismatch if the command name can't + be abbreviated. + (lookup_function_helper) Pass the new OPF_NO_ABBREV flag to the + comparison function. + + * generate.pl (init_all_types): Add support for a type just called + "var" that may be a numeric or string variable name. Also, add a + no_abbrev option that prevents a function name from being + abbreviated (in case of naming conflict otherwise). + + * parse.inc.pl: Output OPF_NO_ABBREV flag. + + * private.h: Add OPF_NO_ABBREV flag. + +Wed Jul 12 21:03:17 2006 Ben Pfaff + + * evaluate.c (cmd_debug_evaluate): Don't try to resize a null + case. + Fri Jun 9 13:59:15 2006 Ben Pfaff Reform string library.