cd1ef1239faf31ad04d6186636c4727173ad27e3
[pspp-builds.git] / src / language / expressions / ChangeLog
1 Sun Dec 10 16:49:33 2006  Ben Pfaff  <blp@gnu.org>
2
3         * operations.def: Implement VALUELABEL function.  Add DATEDIFF,
4         DATESUM unimplemented stubs.
5
6         * parse.c (type_coercion_core): Add support for OP_var type, which
7         is a name for a numeric or string variable.
8         (is_compatible) New function.
9         (check_operator) Only require values to be compatible with their
10         expected types, not identical.
11         (is_valid_node) Ditto.
12         (compare_names) Always return mismatch if the command name can't
13         be abbreviated.
14         (lookup_function_helper) Pass the new OPF_NO_ABBREV flag to the
15         comparison function.
16
17         * generate.pl (init_all_types): Add support for a type just called
18         "var" that may be a numeric or string variable name.  Also, add a
19         no_abbrev option that prevents a function name from being
20         abbreviated (in case of naming conflict otherwise).
21         
22         * parse.inc.pl: Output OPF_NO_ABBREV flag.
23
24         * private.h: Add OPF_NO_ABBREV flag.
25
26 Wed Jul 12 21:03:17 2006  Ben Pfaff  <blp@gnu.org>
27
28         * evaluate.c (cmd_debug_evaluate): Don't try to resize a null
29         case.
30
31 Fri Jun  9 13:59:15 2006  Ben Pfaff  <blp@gnu.org>
32
33         Reform string library.
34         
35         * generate.pl (init_all_types): `struct fixed_string' is now
36         `struct substring'.
37
38 Sun May  7 10:05:42 WST 2006 John Darrington <john@darrington.wattle.id.au>
39
40         * evaluate.c: Removed call to copy_mangle, and replaced with the
41         original buf_copy_rpad.
42
43 Mon May  1 15:11:48 2006  Ben Pfaff  <blp@gnu.org>
44
45         Prohibit LAG following TEMPORARY.  This both matches SPSS behavior
46         and fixes a bug: we saved the cases for LAG before TEMPORARY but
47         allowed access to variables created afterward anyhow (which could
48         cause a segfault).
49
50         * generate.pl: Parse "perm_only" flag on operations.
51
52         * operations.def: Add "perm_only" flag to LAG operations.
53
54         * parse.c: Disallow OPF_PERM_ONLY operations after TEMPORARY.
55
56         * parse.inc.pl: Output OPF_PERM_ONLY flag for "perm_only"
57         operations.
58
59         * private.h: Add OPF_PERM_ONLY flag.
60
61 Sun Apr 23 22:06:45 2006  Ben Pfaff  <blp@gnu.org>
62
63         Continue reforming error message support.  In this phase, get rid
64         of message "titles" and put the message text in `struct error'.
65         Now `struct error' encapsulates a message more properly.
66         
67         * helpers.c: (expr_error) Use err_msg() instead of err_vmsg().
68         Format message ourselves.
69
70 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
71         
72         * Moved files from src directory