Ben Pfaff [Mon, 2 May 2005 06:21:18 +0000 (06:21 +0000)]
New implementation of long variable names. Each variable has a
"normal" name, which may be up to 64 bytes long and which is used
for all normal operations. Variables may have a "short" name,
which is limited to 8 bytes and used only for system and portable
file input and output.
Make tokid case-preserving. Update most uses of tokid to treat it
case-insensitively.
Update many commands to deal with long variable names.
John Darrington [Sun, 1 May 2005 07:24:24 +0000 (07:24 +0000)]
Updated pspp-mode.el.
Removed manpage(n) style references at RMS's request.
Added a string to request_bug_report_and_abort which reports the compiler
version.
Ben Pfaff [Tue, 26 Apr 2005 06:32:02 +0000 (06:32 +0000)]
Finish fixing MATCH FILES (PR 11677).
Kluge to make some variable renaming sort of work.
Needs real fix.
Add functions for comparing sets of variables between cases.
Ben Pfaff [Sun, 20 Mar 2005 07:08:32 +0000 (07:08 +0000)]
* aggregate.c: (parse_aggregate_functions) Fix N_NO_VARS format.
(accumulate_aggregate_info) Set int1 to 1 for SUM.
(dump_aggregate_info) Only make SUM non-missing if there was at least
one variate.
Ben Pfaff [Fri, 4 Mar 2005 08:32:54 +0000 (08:32 +0000)]
Renamed PSPP_expressions.pm back to generate.pl but fixed the real
problem that was preventing the build from a separate directory. I
liked it my way better ;-)
Ben Pfaff [Fri, 4 Mar 2005 07:57:30 +0000 (07:57 +0000)]
Renamed PSPP_expressions.pm back to generate.pl but fixed the real
problem that was preventing the build from a separate directory. I
liked it my way better ;-)
Ben Pfaff [Fri, 11 Feb 2005 08:22:05 +0000 (08:22 +0000)]
Fri Feb 11 00:08:36 2005 Ben Pfaff <blp@gnu.org>
Fix Bug #11916, which was confusing a variable's `index' member
with the variable's position in a var_set. Although these are
usually the same, they are not for array `var_set's.
Took advantage of this bug as an opportunity to clean up and
rewrite parse_var_set_vars().
* vars-prs.c: (parse_vs_variable_idx) New function.
(parse_vs_variable) Reimplement in terms of
parse_vs_variable_idx().
(parse_var_idx_class) New function.
(add_variable) New function.
(add_variables) New function.
(parse_var_set_vars) Rewritten.
(struct var_set) Change `lookup_var' member that returns a
variable into `lookup_var_idx' member that returns an int.
Updated the var set implementations in obvious corresponding ways.
Used compare_var_ptr_names(), hash_var_ptr_name() just added.
Fri Feb 11 00:06:03 2005 Ben Pfaff <blp@gnu.org>
Use our global variable compare & hash functions and give them
better names. Add similar functions for dealing with double
pointers to variables.
* vars-atr.c: (compare_variables) Renamed compare_var_names().
(hash_variable) Renamed hash_var_name().
(compare_var_ptr_names) New function.
(hash_var_ptr_name) New function.
* t-test.q: (cmd_t_test) Use global compare_var_names(),
hash_var_name().
(compare_var_name) Removed.
(hash_var_name) Removed.
Fri Feb 11 00:04:39 2005 Ben Pfaff <blp@gnu.org>
Fix dictionary bug.
* dictionary.c: (compare_variable_dblptrs) Rename
compare_var_ptrs() and fix it to properly dereference the double
pointers.
John Darrington [Mon, 10 Jan 2005 06:50:45 +0000 (06:50 +0000)]
Added a signal handler to delete temp casefiles on SIGINT and SIGQUIT.
Inhibited the PERMISSIONS command when SAFER is on.
command.def: Added a lot more unimplemented commands.
Moved --version information to copyleft.c
Ben Pfaff [Sun, 9 Jan 2005 07:59:48 +0000 (07:59 +0000)]
Sat Jan 8 23:58:34 2005 Ben Pfaff <blp@gnu.org>
* sort.c: (compare_initial_runs) Needed additional level of
dereferencing.
(merge_once) Fix plenty of stupid mistakes.
Sat Jan 8 23:55:27 2005 Ben Pfaff <blp@gnu.org>
* casefile.c: (casefile_sleep) Need to flush_buffer() after
calling casefile_to_disk() or we will lose the last block in the
file if the casefile started out as disk-based.
(casefile_get_reader) Initialize reader->destructive to 0.
(cmd_debug_casefile) Add new test pattern.
(test_casefile) Define new test pattern to make sure
casefile_sleep() works properly.
John Darrington [Thu, 6 Jan 2005 12:55:44 +0000 (12:55 +0000)]
Added a signal handler for SIGFPE
(Re)Fixed an assertion in sort.c
Added a test for sorting with ENORMOUS input files.
Added a test to ensure that fatal errors are reported properly.
Tidied up a few other tests.