Savannah CVS Surfing
- Log of /pspp/pspp/ChangeLog
Parent Directory
Revision
1.102 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri May 16 05:27:49 2008 UTC (3 months, 1 week ago) by
blp
Branch:
MAIN
Changes since
1.101: +8 -0 lines
Diff to
previous 1.101
* Smake (GNULIB_MODULES): Don't depend on memmem module, because
PSPP does not use memmem any longer. Use
unilbrk/ulc-width-linebreaks module instead of the linebreak
module, because the latter was split up into multiple modules and
that's the one we actually need.
* automake.mk: Make install-data-hook depend on yelp-check if the
GUI is configured.
* automake.mk: Rename install-data-hook to yelp-check and mark it
phony. This avoids an automake warning for duplicate
install-data-hook commands in doc/automake.mk and this file
(automake does not understand double-colon rules, since they are
not in POSIX).
Revision
1.96 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Dec 11 11:46:04 2007 UTC (8 months, 2 weeks ago) by
jmd
Branch:
MAIN
Changes since
1.95: +5 -0 lines
Diff to
previous 1.95
Added the proper quotation marks in the syntax generator when the groups
variable is a string variable.
Revision
1.95 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Dec 5 06:04:59 2007 UTC (8 months, 3 weeks ago) by
blp
Branch:
MAIN
Changes since
1.94: +4 -0 lines
Diff to
previous 1.94
* src/language/data-io/data-reader.c (struct dfm_reader): New
`file_size' member to support dfm_get_percent_read.
(dfm_open_reader): Initialize file_size.
(dfm_get_percent_read): New function.
* Smake (GNULIB_MODULES): Add ftello module.
Revision
1.94 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Nov 6 05:49:04 2007 UTC (9 months, 3 weeks ago) by
blp
Branch:
MAIN
Changes since
1.93: +8 -0 lines
Diff to
previous 1.93
No need for check for off_t or for the size of float or long double
any longer, as we don't use the results anymore. Also, no need to put
#include <locale.h> into config.h any longer, as this was only needed
for --with-included-gettext, which we have not supported for some
time.
Revision
1.93 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Nov 3 22:00:03 2007 UTC (9 months, 3 weeks ago) by
blp
Branch:
MAIN
Changes since
1.92: +6 -0 lines
Diff to
previous 1.92
Allow output files to overwrite input files (bug #21280). Thanks to
John Darrington for review.
Revision
1.91 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Oct 13 04:57:48 2007 UTC (10 months, 2 weeks ago) by
blp
Branch:
MAIN
Changes since
1.90: +9 -0 lines
Diff to
previous 1.90
Use trunc module from gnulib instead of our home-grown solution.
Patch #6224.
* helpers.c: Don't need our own trunc function implementation
anymore, since we now use the one from gnulib.
* Smake: Add trunc to module list.
* configure.ac: Don't need to check for trunc function any longer.
Revision
1.90 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Oct 13 04:40:06 2007 UTC (10 months, 2 weeks ago) by
blp
Branch:
MAIN
Changes since
1.89: +9 -0 lines
Diff to
previous 1.89
Use fseeko module from gnulib instead of our home-grown solution.
Patch #6228.
* flip.c (flip_file): No need to conditionally substitute for
"fseeko" and "off_t" manually anymore, as gnulib takes care of it
for us.
* acinclude.m4: Delete PSPP_OFF_T macro.
* configure.ac: Don't call AC_FUNC_FSEEKO or PSPP_OFF_T.
Revision
1.89 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Oct 13 04:35:25 2007 UTC (10 months, 2 weeks ago) by
blp
Branch:
MAIN
Changes since
1.88: +9 -0 lines
Diff to
previous 1.88
posix-xprintf-functions.patch from patch #6230.
Add fprintf-posix, printf-posix, printf-safe,
snprintf-posix, sprintf-posix, vasprintf-posxi, vfprintf-posix,
vprintf-posix, vsnprintf-posix, and vsprintf-posix modules, which
allow us to use C99 format specifiers (e.g. 'z') in *printf.
Also, changed many formerly casted arguments in *printf calls to
use one of these format specifiers and drop the cast.
Revision
1.88 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Oct 12 04:54:46 2007 UTC (10 months, 2 weeks ago) by
blp
Branch:
MAIN
Changes since
1.87: +5 -0 lines
Diff to
previous 1.87
malloca-instead-of-local_alloc.patch from patch #6230.
* alloc.h (local_alloc): Removed. Changed all users to use
xmalloca instead.
(local_free): Removed. Changed all users to use freea instead.
* Smake: Drop alloca, alloca-opt modules as we don't use them
anymore.
Revision
1.87 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Oct 11 04:59:34 2007 UTC (10 months, 2 weeks ago) by
blp
Branch:
MAIN
Changes since
1.86: +11 -0 lines
Diff to
previous 1.86
cleanup-misc.patch from patch #6230.
* acinclude.m4: Improve formatting.
* configure.ac: Ditto. Don't check for headers whose presence is
never tested. Don't use AC_C_CONST (we can assume that "const" is
implemented these days). Don't pass default sizes to
AC_CHECK_SIZEOF, since modern Autoconf doesn't need them. Don't
define FPREP_IEEE754, since it was not tested for. Don't use
AC_FUNC_VPRINTF, since we never tested for it.
* float-format.h (enum float_format): Don't check for
FPREP_IEEE754 macro any longer.
* magic.h: Ditto.
* src/ui/debugger.c: Use debugger if HAVE_FORK is defined, not
HAVE_SYS_TYPES_H. The latter is almost universal, but the former
is only available where it can be implemented.
Revision
1.83 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Sep 23 05:59:01 2007 UTC (11 months ago) by
blp
Branch:
MAIN
Changes since
1.82: +8 -0 lines
Diff to
previous 1.82
Bug #21128. Reviewed by John Darrington.
* output/paper-size.sh: New test.
* main.c (i18_init): Set up LC_PAPER locale, if available. Don't
bother with LC_MONETARY locale, since we don't use it anywhere.
* output.c (TWO_CHARS macro): Removed.
(outp_evaluate_dimension): Changed interface, rewritten. Updated
all callers.
(internal_get_paper_size): Removed.
(parse_unit): New function.
(parse_paper_size): New function.
(outp_get_paper_size): Tweaked interface, rewritten.
(get_standard_paper_size): New function.
(read_paper_conf): New function.
(get_default_paper_size): New function.
* postscript.c (ps_open_driver): Use system default paper size as
default paper, instead of hard-coding US letter.
(handle_option): Allow outp_evaluate_dimension to supply error
message instead of generating it here.
* automake.mk: Add new file.
* paper-size.c: New file.
* command.def: Add DEBUG PAPER SIZE command.
* papersize: Removed.
* automake.mk (dist_pkgsysconf_DATA): Remove papersize.
* acinclude.m4 (PSPP_LC_PAPER): New macro.
* configure.ac: Use PSPP_LC_PAPER.
Revision
1.80 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 27 21:38:12 2007 UTC (13 months ago) by
blp
Branch:
MAIN
Changes since
1.79: +5 -0 lines
Diff to
previous 1.79
Bug #19069.
* INSTALL: Improve installation instructions.
* README: Move prerequisites to INSTALL.
Reviewed by Jason Stover.
Revision
1.79 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 27 21:33:35 2007 UTC (13 months ago) by
blp
Branch:
MAIN
Changes since
1.78: +7 -0 lines
Diff to
previous 1.78
Make PKG_CHECK_MODULES tests more user-friendly,
by having them give their errors at the end of the configuration
process instead of stopping it in the middle. Patch #6116.
Reviewed by Jason Stover.
Revision
1.77 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jun 7 06:41:58 2007 UTC (14 months, 3 weeks ago) by
blp
Branch:
MAIN
Changes since
1.76: +4 -0 lines
Diff to
previous 1.76
Actually implement the new procedure code and adapt all of its clients
to match. Also adapt all of the other case sources and sinks in the
tree and their clients to use the casereader/casewriter
infrastructure.
Revision
1.76 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Apr 23 01:26:31 2007 UTC (16 months, 1 week ago) by
blp
Branch:
MAIN
Changes since
1.75: +9 -0 lines
Diff to
previous 1.75
Implement model checker for testing purposes.
Patch #5873.
* automake.mk (src_libpspp_libpspp_a_SOURCES): Add
model-checker.[ch]. Alphabetize.
* model-checker.c: New file.
* model-checker.h: New file.
* automake.mk: Add check-model.[ch].
* check-model.h: New file.
* check-model.q: New file.
* Smake (GNULIB_MODULES): Add crypto/md4, fwriteerror,
gettimeofday.
Revision
1.75 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Apr 4 00:27:24 2007 UTC (16 months, 3 weeks ago) by
blp
Branch:
MAIN
Changes since
1.74: +6 -0 lines
Diff to
previous 1.74
Increment version to 0.4.3 due to snapshot posted
to alpha.gnu.org.
Suggested by John Darrington.
Revision
1.73 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Mar 19 20:51:01 2007 UTC (17 months, 1 week ago) by
blp
Branch:
MAIN
Changes since
1.72: +24 -0 lines
Diff to
previous 1.72
* Makefile.am (AUTOMAKE_OPTIONS): Require Automake 1.10 (or
later), which works better with systems that have a non-empty
$(EXEEXT).
(SUBDIRS): Drop intl.
(DISTCLEANFILES): Drop intl/plural.c.
* Throughout Makefile.am and the automake.mk files: Change
mkinstalldirs to $(MKDIR_P), to support the corresponding Automake
change.
* Smake (GNULIB_MODULES): Use gettext-h instead of gettext module.
(all): Don't create intl directory.
(gettextize): Don't use --intl flag.
* configure.ac: Require Autoconf 2.60 or later. Use external
gettext. Drop intl/Makefile from config files.
Revision
1.67 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Feb 12 02:10:55 2007 UTC (18 months, 2 weeks ago) by
blp
Branch:
MAIN
Changes since
1.66: +19 -0 lines
Diff to
previous 1.66
Reduce platform dependence.
This helps with build on mingw32 (and probably other platforms).
Patch #5731.
Revision
1.66 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 5 05:20:52 2006 UTC (21 months, 3 weeks ago) by
blp
Branch:
MAIN
Changes since
1.65: +4 -0 lines
Diff to
previous 1.65
Rewrite and improve formatted output routines.
Add lots of regression tests.
Revise documentation.
Thanks to John Darrington for review--see patch #5522.
Revision
1.65 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Nov 3 04:53:51 2006 UTC (21 months, 3 weeks ago) by
blp
Branch:
MAIN
Changes since
1.64: +4 -0 lines
Diff to
previous 1.64
Completely rewrite src/data/format.[ch], to achieve better
abstraction. Rewrite all references to formats in other files.
See patch #5511.
Revision
1.64 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Nov 1 03:33:01 2006 UTC (21 months, 4 weeks ago) by
blp
Branch:
MAIN
Changes since
1.63: +6 -0 lines
Diff to
previous 1.63
Tue Oct 31 19:29:05 2006 Ben Pfaff <blp@gnu.org>
* configure.ac: Drop tests for strchr, strrchr because now we
assume a C89 compliant library. (Gnulib makes this assumption so
we might as well too.)
Revision
1.63 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Oct 29 22:09:41 2006 UTC (22 months ago) by
blp
Branch:
MAIN
Changes since
1.62: +5 -0 lines
Diff to
previous 1.62
Sun Oct 29 14:08:53 2006 Ben Pfaff <blp@gnu.org>
* Smake (GNULIB_MODULES): Remove `restrict' from modules, because
recent gnulib doesn't have such a module.
Revision
1.62 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jul 18 01:24:15 2006 UTC (2 years, 1 month ago) by
blp
Branch:
MAIN
Changes since
1.61: +9 -0 lines
Diff to
previous 1.61
* Smake: Add --doc-base=gl/doc to gnulib-tool invocation, which is
required by recent gnulib.
Revision
1.60 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Jul 1 22:34:26 2006 UTC (2 years, 1 month ago) by
blp
Branch:
MAIN
Changes since
1.59: +4 -0 lines
Diff to
previous 1.59
Add linked list library to PSPP.
Reviewed by John Darrington, tested by Jason Stover.
Revision
1.53 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Apr 16 04:46:41 2006 UTC (2 years, 4 months ago) by
blp
Branch:
MAIN
Changes since
1.52: +5 -0 lines
Diff to
previous 1.52
Get rid of src/libpspp/debug-print.h and all its users. (There were
few real users, but many inclusions of its header file.)
Revision
1.51 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Apr 16 02:15:06 2006 UTC (2 years, 4 months ago) by
blp
Branch:
MAIN
Changes since
1.50: +7 -0 lines
Diff to
previous 1.50
Complain about missing prerequisites in a group at the end of
configuration, not piecemeal. This should make building PSPP less
frustrating. Thanks to John Darrington for the suggestion.
Revision
1.46 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 4 21:26:39 2006 UTC (2 years, 5 months ago) by
blp
Branch:
MAIN
Changes since
1.45: +10 -0 lines
Diff to
previous 1.45
Got rid of pref.h.orig (and pref.h) entirely, moving its contents into
other files.
Revision
1.45 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 4 21:00:38 2006 UTC (2 years, 5 months ago) by
blp
Branch:
MAIN
Changes since
1.44: +5 -0 lines
Diff to
previous 1.44
Move GCC attribute declarations from pref.h.orig to new file
src/libpspp/compiler.h.
In many source files, #include "compiler.h" to get GCC attribute
definitions.
Revision
1.44 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 4 20:38:51 2006 UTC (2 years, 5 months ago) by
blp
Branch:
MAIN
Changes since
1.43: +9 -0 lines
Diff to
previous 1.43
Remove BLP_INT_DIGITS. Now we use the intprops.h header file instead.
In many source files, replace INT_DIGITS by INT_STRLEN_BOUND(int) and
include intprops.h.
Revision
1.43 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 4 20:15:32 2006 UTC (2 years, 5 months ago) by
blp
Branch:
MAIN
Changes since
1.42: +10 -0 lines
Diff to
previous 1.42
Remove BLP_RANDOM. Its results were unused. Remove
BLP_IS_SPRINTF_GOOD. We now assume that the system's sprintf()
returns the correct value.
Revision
1.35 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Sep 19 17:25:19 2005 UTC (2 years, 11 months ago) by
blp
Branch:
MAIN
Changes since
1.34: +6 -0 lines
Diff to
previous 1.34
Smake: Add `check' target for convenience. Add --tests-base=tests to
gnulib-tool invocation to compensate for bug.
Revision
1.31 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 25 03:45:08 2005 UTC (3 years, 1 month ago) by
blp
Branch:
MAIN
Changes since
1.30: +7 -0 lines
Diff to
previous 1.30
Get rid of dependency on libgmp by writing our own routine for
floating-point base conversion.
Revision
1.29 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed May 4 00:56:07 2005 UTC (3 years, 3 months ago) by
jmd
Branch:
MAIN
Changes since
1.28: +5 -0 lines
Diff to
previous 1.28
Added CONFIGUREFLAGS option to Smake.
Removed #include valgrind from casefile.c
Updated INSTALL and README.CVS
Revision
1.27 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun May 1 07:24:24 2005 UTC (3 years, 3 months ago) by
jmd
Branch:
MAIN
Changes since
1.26: +5 -0 lines
Diff to
previous 1.26
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.
Revision
1.26 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Apr 29 01:02:11 2005 UTC (3 years, 4 months ago) by
jmd
Branch:
MAIN
Changes since
1.25: +4 -0 lines
Diff to
previous 1.25
Changed all the licence notices in all the files.
COPYING and doc/fdl.texi are unchanged, pending updates from FSF.
Revision
1.24 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Apr 13 10:09:59 2005 UTC (3 years, 4 months ago) by
jmd
Branch:
MAIN
Changes since
1.23: +4 -0 lines
Diff to
previous 1.23
Implemented long variable names a la spss V12.
We can now read and write SPSS v12 system files.
Revision
1.21 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Feb 21 07:13:35 2005 UTC (3 years, 6 months ago) by
jmd
Branch:
MAIN
Changes since
1.20: +5 -0 lines
Diff to
previous 1.20
Added a --without-valgrind option to configure
to cope with broken valgrind implementations
Revision
1.18 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jun 1 04:57:11 2004 UTC (4 years, 2 months ago) by
blp
Branch:
MAIN
Changes since
1.17: +7 -1 lines
Diff to
previous 1.17
Fix memory leaks.
Generalize casefiles to the extent that we can use them for sorting
and other kinds of data transformations. Change cases to be
copy-on-write to improve memory efficiency in common cases. Every
access to a member of a `struct ccase' was changed to be a call to a
case_*() function, especially case_data(), case_num(), case_str(), or
case_data_rw(). Many instances of a local variable named "case_num"
were changed to "case_idx" as a consequence. Many `struct ccase *'
were changed to actual `struct ccase' because of copying semantics of
cases. In several places there was a choice between updating debug
code to work with the new ADTs or just deleting it because it was
useless; I chose to delete it.
The workspace idea didn't work out.
Revision
1.17 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon May 31 05:50:10 2004 UTC (4 years, 2 months ago) by
blp
Branch:
MAIN
Changes since
1.16: +4 -0 lines
Diff to
previous 1.16
Fully implement arbitrary delimiters on DATA LIST, extending the half
implementation that was already there.
Update our string ADTs, struct string and struct len_string. Get rid
of pool support, which was largely unused. Rename lots of functions
to have more obvious or consistent names.
Fix a few miscellaneous bugs.
Revision
1.15 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Mar 23 06:27:36 2004 UTC (4 years, 5 months ago) by
jmd
Branch:
MAIN
Changes since
1.14: +5 -0 lines
Diff to
previous 1.14
Removed libdcdflib and replaced it with a dependency on the GNU Scientific Library
Revision
1.9 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Dec 30 04:42:15 2003 UTC (4 years, 8 months ago) by
ben
Branch:
MAIN
Changes since
1.8: +6 -0 lines
Diff to
previous 1.8
Sat Dec 27 16:16:49 2003 Ben Pfaff <blp@gnu.org>
* configure.ac: Add -Wmissing-prototypes flag to gcc.
* TODO: Updated.
Sat Dec 27 22:17:52 2003 Ben Pfaff <blp@gnu.org>
Dictionary classes: each variable is "ordinary", "system", or
"scratch".
* var.h: (enum dict_class) New enum.
* vars-prs.c: (dict_class_from_id) New function.
(dict_class_to_name) New function.
Sat Dec 27 22:16:06 2003 Ben Pfaff <blp@gnu.org>
* var.h: (struct freq_tab_set) Removed (not used).
Sat Dec 27 22:15:21 2003 Ben Pfaff <blp@gnu.org>
* value-labels.c: (val_labs_destroy) vls needs to be freed too.
Sat Dec 27 22:10:49 2003 Ben Pfaff <blp@gnu.org>
* stats.c: (hypercube) Rename pow4(). All references updated.
Sat Dec 27 22:05:49 2003 Ben Pfaff <blp@gnu.org>
* rename-vars.c: (cmd_rename_variables) Rewritten.
(compare_name) Removed.
Sat Dec 27 22:03:51 2003 Ben Pfaff <blp@gnu.org>
var_set feature, and code taking advantage of it.
* crosstabs.q: (static var var_dict) Removed.
(static var variables) New variable.
(static var variables_cnt) New variable.
(cmd_crosstabs) Free variables instead of var_dict.
(internal_cmd_crosstabs) Initialize and use variables,
variables_cnt instead of var_dict.
(free_var_dict) Removed.
(crs_custom_tables) Use var_set instead of a copied dictionary.
(crs_custom_variables) Set up variables, variables_cnt instead of
var_dict.
[DEBUGGING] (debug_print) Ditto.
* means.q: (mns_custom_tables) Use var_set instead of a copied
dictionary.
* vars-prs.c: (parse_vs_variable) New function.
(parse_dict_variable) Rewritten.
(parse_variable) Rewritten.
(parse_variables) Renamed parse_var_set_vars(), rewritten.
(parse_variables) New function in terms of parse_var_set_vars().
Now requires its first argument to be non-null. All references
that passed a null pointer updated to pass default_dict instead.
(macro id_dict) Removed.
(parse_DATA_LIST_vars) Add assertions.
(parse_mixed_vars) Ditto.
(struct var_set) New structure.
(var_set_get_cnt) New function.
(var_set_get_var) New function.
(var_set_lookup_var) New function.
(var_set_destroy) New function.
(dict_var_set_get_cnt) New function.
(dict_var_set_get_var) New function.
(dict_var_set_lookup_var) New function.
(dict_var_set_destroy) New function.
(var_set_create_from_dict) New function.
(struct array_var_set) New structure.
(array_var_set_get_cnt) New function.
(array_var_set_get_var) New function.
(array_var_set_lookup_var) New function.
(array_var_set_destroy) New function.
(var_set_create_from_array) New function.
* q2c.c: (dump_parser) Use parse_variables(default_dict, ...)
instead of parse_variables(NULL, ...) in output code.
Sat Dec 27 21:38:53 2003 Ben Pfaff <blp@gnu.org>
Change inp_init from a 2-bit vector to an ordinary array.
Initialize it all in cmd_end_input_program() instead of in
create_variable().
* inpt-pgm.c: (enum value_init_type) New enum.
(global var inp_init) Change to `enum value_init_type *', make
static.
(inp_init_size) Removed.
(inp_nval) Change to `size_t', make static.
(cmd_input_program) Don't initialize inp_init or inp_init_size.
(cmd_end_input_program) Initialize inp_init, inp_nval.
(init_case) Rewrite.
(clear_case) Rewrite.
* inpt-pgm.h: Removed.
Sat Dec 27 21:36:38 2003 Ben Pfaff <blp@gnu.org>
* hash.c: (hsh_hash_bytes) Use Fowler-Noll-Vo hash instead of
Colin Plumb hash. It is simpler and should better resist
collisions.
(hsh_hash_string) Ditto.
Sat Dec 27 21:34:57 2003 Ben Pfaff <blp@gnu.org>
* get.c: (export_write_case_func) Remove debug printing code.
Sat Dec 27 21:11:09 2003 Ben Pfaff <blp@gnu.org>
* get.c: (cmd_save_internal) Rename parameter. Use &t->h instead
of cast.
(save_write_case_func) Use &trns->h instead of cast.
(cmd_export) Use &t->h instead of cast.
Sat Dec 27 20:57:42 2003 Ben Pfaff <blp@gnu.org>
Moved vectors into the dictionary.
* var.h: (struct vector) Moved here from vector.h. `index' member
renamed `idx', `v' renamed `var', `nv' renamed `cnt'. All
references updated.
* vector.h: Removed.
* vector.c: (global var vec) Removed.
(global var nvec) Removed.
(cmd_vector) Rewritten.
(find_vector) Removed.
* dictionary.c: (dict_create_vector) New function.
(dict_get_vector) New function, replaces reading global vec[]
array.
(dict_get_vector_cnt) New function, replaces reading global nvec
variable.
(dict_lookup_vector) New function, replaces find_vector().
(dict_clear_vectors) New function.
Sat Dec 27 20:54:01 2003 Ben Pfaff <blp@gnu.org>
Start to move away from `struct variable' p `union' member to void
* aux member.
* var.h: (struct variable) Add `aux' member.
Sat Dec 27 20:36:25 2003 Ben Pfaff <blp@gnu.org>
Get rid of struct variable `foo' member.
* frequencies.q: (internal_cmd_frequencies) Use p.frq.used instead
of foo.
(frq_custom_variables) Ditto.
(frq_custom_grouped) Ditto.
* get.c: (struct save_trns) Change `var' member from `int *' to
`struct variable **'.
(cmd_save_internal) Use aux instead of foo.
(save_trns_proc) Use revised `var' member.
(static var mtf_seq_no) Renamed mtf_seq_num.
(static var mtf_seq_nums) New static var.
(cmd_match_files) Initialize mtf_seq_nums.
(mtf_free) Free mtf_seq_nums.
(mtf_processing) Use mtf_seq_nums instead of foo.
(mtf_merge_dictionary) No need to initialize mv->foo.
(cmd_export) Use aux instead of foo. Use revised `var' member.
(mns_custom_tables) Don't use foo to check for duplicates, that's
what PV_NO_DUPLICATE is for.
* var.h: (struct variable) Remove `foo' member.
(struct frequencies_proc) New member.
Sat Dec 27 19:46:13 2003 Ben Pfaff <blp@gnu.org>
Clean up COMPUTE and IF.
* compute.c: More or less rewrite the darn thing.
(struct compute_trns) Rename and reorder and add and delete
members.
(cmd_compute) Rewrite.
(compute_num) Make conditional on test expression. Now used for
both COMPUTE and IF.
(compute_num_vec) Ditto.
(compute_str) Ditto.
(compute_str_vec) Ditto.
(cmd_if) Rewrite.
(if_num) Removed.
(if_num_vec) Removed.
(if_str) Removed.
(if_str_vec) Removed.
(parse_target_expression) Renamed parse_rvalue_expression(),
rewritten.
(new_trns) Renamed compute_trns_create(), rewritten.
(delete_trns) Removed.
(free_trns) Renamed compute_trns_free(), rewritten.
(struct lvalue) New structure.
(parse_var_or_vec) Renamed lvalue_parse(), rewritten.
(lvalue_get_type) New function.
(lvalue_is_vector) New function.
(lvalue_finalize) New function.
(lvalue_destroy) New function.
Sat Dec 27 19:44:14 2003 Ben Pfaff <blp@gnu.org>
* command.def: Disallow MODIFY VARS in input mode, so that
variables can't get dropped and confuse cmd_end_input_program()'s
attempt to fill inp_init[].
* modify-vars.c: (static var forward_positional_ordering) New
variable.
(struct var_modification) Entirely changed.
(rearrange_dict) Interface changed, rewritten.
(cmd_modify_vars) Deal with modified struct var_modification, much
rewritten.
(struct var_renaming) New structure.
(compare_var_renaming_by_new_name) New function.
(validate_var_modification) New function.
* var.h: (struct modify_vars_proc) Removed.
(struct variable) Removed member p.mfv.
Sat Dec 27 19:40:26 2003 Ben Pfaff <blp@gnu.org>
Make EVALUATE a valid command whether we're debugging or not, so
that `make check' can succeed regardless of whether debugging is
turned on.
* command.def: [GLOBAL_DEBUGGING] Drop the #if.
* compute.c: [GLOBAL_DEBUGGING] (cmd_evaluate) Drop the #if.
Sat Dec 27 19:34:40 2003 Ben Pfaff <blp@gnu.org>
* apply-dict.c: (cmd_apply_dictionary) Replace a ghastly switch
statement by a simple if test.
* dfm.c: (dfm_get_record) Add assertion.
Sat Dec 27 17:51:26 2003 Ben Pfaff <blp@gnu.org>
For each file x.c, move #include "x.h" to the very top of the
include list, to catch x.h failing to include the proper headers.
Sat Dec 27 17:50:19 2003 Ben Pfaff <blp@gnu.org>
* algorithm.c: (find) New function.
(remove_equal) New function.
(set_difference) New function.
(adjacent_find_equal) New function.
[TEST_UNIQUE] Removed test case.
(copy_if) Find end test.
Sat Dec 27 17:42:45 2003 Ben Pfaff <blp@gnu.org>
* dictionary.c: (dict_get_case_weight) New convenience function.
* aggregate.c: (accumulate_aggregate_info) Use
dict_get_case_weight().
* frequencies.q: (calc_general) Ditto.
(calc_integer) Ditto.
(calc) Ditto.
* t-test.q: (groups_calc) Ditto.
(z_calc) Ditto.
Sat Dec 27 17:29:45 2003 Ben Pfaff <blp@gnu.org>
* glob.c: (global var default_dict) Change from `struct
dictionary' to `struct dictionary *'. All references changed.
(init_glob) Initialize default_dict with dict_create().
Sat Dec 27 17:06:06 2003 Ben Pfaff <blp@gnu.org>
struct dictionary now made opaque. All related functions:
* get.c: (rename_variables) Removed.
(dict_delete_run) Removed.
* temporary.c: (copy_variable) Removed.
(new_dictionary) Removed.
(save_dictionary) Removed.
(restore_dictionary) Removed.
(free_dictionary) Removed.
* vars-atr.c: (clear_default_dict) Removed.
(find_variable) Removed.
(find_dict_variable) Removed.
(create_variable) Removed.
(delete_variable) Removed.
(common_init_stuff) Removed.
(init_variable) Removed. Updating of inp_init moved into
cmd_end_input_program().
(replace_variable) Removed.
(rename_variable) Removed.
(clear_variable) Removed.
(dup_variable) Removed.
* vars-prs.c: (is_varname) Removed.
(is_dict_varname) Removed.
(fill_all_vars) Removed.
* vector.c: (find_vector) Removed.
* weight.c: (stop_weighting) Removed.
* dictionary.c: New file.
(dict_create) New, replaces new_dictionary().
(dict_clone) New, replaces save_dictionary() and
restore_dictionary().
(dict_clear) New, replaces clear_default_dict().
(dict_destroy) New, replaces free_dictionary().
(dict_get_var_cnt) New function, replaces references to
dict->nvar.
(dict_get_var) New function, replaces references to dict->var[i].
(dict_get_vars) New function, replaces fill_all_vars().
(dict_create_var) New, replaces create_variable(). Interface
drops `type' parameter, using a zero `width' to designate numeric.
(dict_clone_var) New, replaces dup_variable().
(dict_rename_var) New, replaces rename_variable().
(dict_lookup_var) New, replaces find_variable(),
find_dict_variable(), is_varname().
(dict_contains_var) New function.
(compare_variable_dblptrs) New function.
(dict_delete_var) New function, replaces clear_variable().
(dict_delete_vars) New function, replaces dict_delete_run().
(dict_reorder_vars) New function.
(dict_rename_vars) New function, replaces rename_variables().
(dict_get_weight) New function, replaces reading dict->weight_var.
(dict_set_weight) New function, replaces writing dict->weight_var
or calling stop_weight(dict).
(dict_get_filter) New function, replaces reading dict->filter_var.
(dict_set_filter) New function, replaces writing dict->filter_var.
(dict_get_case_limit) New function, replaces reading dict->N.
(dict_set_case_limit) New function, replaces writing dict->N.
(dict_get_value_cnt) New function, replaces reading dict->nval.
(dict_compact_values) New function, replaces a loop that was
replicated in several places.
(dict_get_split_vars) New function, replaces reading dict->splits.
(dict_get_split_cnt) New function, replaces reading
dict->n_splits.
(dict_set_split_vars) New function, replaces writing dict->splits.
(dict_get_label) New function, replaces reading dict->label.
(dict_set_label) New function, replaces writing dict->label.
(dict_get_documents) New function, replaces reading
dict->documents.
(dict_set_documents) New function, replaces writing
dict->documents.
All references to above functions updated.
* aggregate.c: (cmd_aggregate) Copy file label and documents from
old dictionary to new by hand, because dict_create() can't do it
itself. Use dict_set_documents(), dict_set_split_vars().
* temporary.c: (cancel_temporary) Also set temp_dict to NULL after
calling dict_destroy().
* data-list.c: (dls_var_spec) Remove `type' member, replace by
`width'.
(fixed_parse_compatible) Some slightly nontrivial changes for
dict_create_var().
(dump_fmt_list) Ditto.
(parse_free) Ditto.
* file-type.c: (create_col_var) Ditto.
* get.c: (cmd_get) Use dict_compact_values() instead of a loop.
(trim_dictionary) Use dict_delete_vars(), dict_reorder_vars().
(rename_variables) Use dict_rename_vars().
(mtf_merge_dictionary) Use dict_get_documents(),
dict_set_documents(), dict_compact_values().
* pfm-read.c: (read_variables) Deal with changes to weighting.
* q2c.c: (dump_parser) Use dict_lookup_var() instead of
is_varname() in output code.
* sfm-read.c: (read_header) Use dict_create(), dict_set_label(),
other dictionary functions.
* title.c: (add_document_line) Use dict_get_documents(),
dict_set_documents().
* vars-atr.c: (discard_variables) Use dict_clear(default_dict),
reset default_handle by hand. dict_clear() will clear vectors so
there's no need for that by hand.
* vfm.c: (close_active_file) Move call to finish_compaction()
earlier, so that we can do the compaction as a single step using
dict_compact_values(). Use dict_clear_vectors().
(finish_compaction) Use dict_delete_var(), dict_compact_values().
Some functions don't have replacements:
* vars-atr.c: (force_create_variable) Removed. All references
updated to dict_create_var() followed by an assertion.
(force_dup_variable) Removed. All references updated to
dict_clone_var() followed by an assertion.
* weight.c: (update_weighting) Removed. No longer necessary, so
all references removed.
Sat Dec 27 16:43:01 2003 Ben Pfaff <blp@gnu.org>
Clean up AGGREGATE.
* aggregate.c: Eliminate separation of weighted and unweighted
case. It made the code too obscure and I doubt it was actually
faster. Instead, all code uses the "weighted" code, because
that's a generalization of the "unweighted" code.
(FWEIGHT) Removed.
(FOPTIONS) Ditto.
(parse_aggregate_functions) No need to set FWEIGHT.
(accumulate_aggregate_info) Get rid of FWEIGHT cases.
(dump_aggregate_info) Ditto.
(initialize_aggregate_info) No need for special plain_function
that gets rid of FWEIGHT option.
* aggregate.c: Get rid of approximations.
(accumulate_aggregate_info) Don't use approx_gt(), approx_lt(),
approx_in_range().
(aggregate_single_case) Don't use approx_ne().
Sat Dec 27 16:19:36 2003 Ben Pfaff <blp@gnu.org>
* ascii.c (ascii_line_width): Dead code, removed.
* postscript.c (ps_line_width): Ditto.
* q2c.c (xrealloc): Ditto.
* count.c (internal_cmd_count): Ditto.
* means.q (validate_dependent_endpoint): Ditto.
* set.q: (cmd_gset) Ditto.
* weight.c: [0] (weight_trns_proc) Ditto.
Sat Dec 27 16:18:16 2003 Ben Pfaff <blp@gnu.org>
Make the code -Wmissing-prototypes clean.
* Makefile.am (version.c): Add #include "version.h".
* ascii.c: (ascii_open_global) Make static.
(ascii_close_page) Ditto.
(ascii_font_sizes) Ditto.
(ascii_postopen_driver) Ditto.
(ascii_close_driver) Ditto.
(ascii_option) Ditto.
(ascii_open_page) Ditto.
(ascii_line_horz) Ditto.
(ascii_line_vert) Ditto.
(ascii_line_intersection) Ditto.
(ascii_box) Ditto.
(ascii_polyline_begin) Ditto.
(ascii_polyline_point) Ditto.
(ascii_polyline_end) Ditto.
(ascii_text_set_font_by_name) Ditto.
(ascii_text_set_font_by_position) Ditto.
(ascii_text_set_font_by_family) Ditto.
(ascii_text_get_font_name) Ditto.
(ascii_text_get_font_family) Ditto.
(ascii_text_set_size) Ditto.
(ascii_text_get_size) Ditto.
(ascii_text_metrics) Ditto.
(ascii_text_draw) Ditto.
(ascii_close_page) Ditto.
* cmdline.h: New header for parse_command_line(). Used where
needed.
* command.c: Move prototypes for cmd_*() functions to command.h.
* command.h: Prototypes for cmd_*() functions moved here from
command.c.
* crosstabs.q: (gamma_int) Ditto.
* file-handle.h: Add fh_init_files() prototype.
* getline.c: (welcome) Ditto.
* glob.h: New header for init_glob(). Used where appropriate.
* hash.c: (comparison_helper) Ditto.
* html.c: (html_open_global) Ditto.
(html_close_global) Ditto.
(html_preopen_driver) Ditto.
(html_postopen_driver) Ditto.
(html_close_driver) Ditto.
(html_option) Ditto.
(html_open_page) Ditto.
(html_close_page) Ditto.
(html_submit) Ditto.
* inpt-pgm.c: (input_program_source_read) Ditto.
* output.c: (find_defn_value) Ditto.
(destroy_list) Ditto.
* pfm-read.c: (read_int) Ditto.
* postscript.c: (ps_open_global) Ditto.
(ps_close_global) Ditto.
(ps_font_sizes) Ditto.
(ps_preopen_driver) Ditto.
(ps_postopen_driver) Ditto.
(ps_close_driver) Ditto.
(ps_option) Ditto.
(ps_open_page) Ditto.
(ps_close_page) Ditto.
(ps_line_horz) Ditto.
(ps_line_vert) Ditto.
(ps_line_intersection) Ditto.
(ps_box) Ditto.
(ps_polyline_begin) Ditto.
(ps_polyline_point) Ditto.
(ps_polyline_end) Ditto.
(ps_text_set_font_by_name) Ditto.
(ps_text_set_font_by_position) Ditto.
(ps_text_set_font_family) Ditto.
(ps_text_get_font_name) Ditto.
(ps_text_get_font_family) Ditto.
(ps_text_set_size) Ditto.
(ps_text_get_size) Ditto.
(ps_text_metrics) Ditto.
(ps_text_draw) Ditto.
* q2c.c: (finish_up) Ditto.
(xmalloc) Ditto.
(xstrdup) Ditto.
(get_buffer) Ditto.
(st_lower) Ditto.
(st_upper) Ditto.
(skip_ws) Ditto.
(get_line) Ditto.
(add_symbol) Ditto.
(find_symbol) Ditto.
(lex_get) Ditto.
(force_id) Ditto.
(force_string) Ditto.
(match_id) Ditto.
(match_token) Ditto.
(skip_token) Ditto.
(parse) Ditto.
(parse_setting) Ditto.
(parse_specifier) Ditto.
(parse_specifiers) Ditto.
(parse_subcommand) Ditto.
(dump_specifier_vars) Ditto.
(is_keyword) Ditto.
(make_identifier) Ditto.
(dump_declarations) Ditto.
(dump_specifier_init) Ditto.
(dump_vars_init) Ditto.
(make_match) Ditto.
(dump_specifier_parse) Ditto.
(dump_subcommand) Ditto.
(dump_parser) Ditto.
(dump_header) Ditto.
(dump_free) Ditto.
(recognize_directive) Ditto.
* recode.c: (string_to_long) Ditto.
* repeat.c: (find_DO_REPEAT_substitution) Ditto.
* repeat.h: New header for perform_DO_REPEAT_substitutions, used
where appropriate.
* sort.c: (sort_stream_read) Ditto.
(sort_stream_mode) Ditto.
Revision
1.8 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Dec 17 04:58:49 2003 UTC (4 years, 8 months ago) by
john
Branch:
MAIN
Changes since
1.7: +4 -0 lines
Diff to
previous 1.7
Added a --enable-debug option to configure and
moved (un)def of DEBUGGING from src files to config.h
Revision
1.7 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Dec 13 11:18:31 2003 UTC (4 years, 8 months ago) by
john
Branch:
MAIN
Changes since
1.6: +5 -0 lines
Diff to
previous 1.6
Fixed intl/ and some tests, so that the project can be built and tested
from outside of the source tree (or at least it will when some bugs are
squashed)
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.