Ben Pfaff [Sun, 3 Jun 2007 21:58:14 +0000 (21:58 +0000)]
(insert_range): New function.
(insert_element): New function.
Ben Pfaff [Sun, 3 Jun 2007 21:54:43 +0000 (21:54 +0000)]
Add #include <config.h> at tops of files.
Ben Pfaff [Sat, 2 Jun 2007 22:02:32 +0000 (22:02 +0000)]
Clean up after a forgotten part of patch #5829.
* casedeque.h: Remove unused file.
* automake.mk: Remove casedeque.h from sources.
John Darrington [Fri, 1 Jun 2007 02:32:13 +0000 (02:32 +0000)]
Changed return type from int to bool
Jason Stover [Thu, 31 May 2007 23:09:21 +0000 (23:09 +0000)]
Initial version of interaction
Jason Stover [Tue, 15 May 2007 20:39:42 +0000 (20:39 +0000)]
Issue an error if no valid data are found
Jason Stover [Thu, 10 May 2007 22:26:03 +0000 (22:26 +0000)]
removed redundant #include
Jason Stover [Thu, 10 May 2007 22:00:59 +0000 (22:00 +0000)]
removed "Written by" line
Jason Stover [Tue, 8 May 2007 14:55:57 +0000 (14:55 +0000)]
partial fix of bug 19819
John Darrington [Mon, 7 May 2007 00:47:45 +0000 (00:47 +0000)]
Oops! add this file
John Darrington [Mon, 7 May 2007 00:40:55 +0000 (00:40 +0000)]
Added "comments" dialog.
Ben Pfaff [Sun, 6 May 2007 22:05:21 +0000 (22:05 +0000)]
Abstract the documents within a dictionary a little better. Thanks to
John Darrington for suggestion, initial version, and review. Patch
#5917.
* command/file-label.sh: Update to match new DOCUMENT behavior.
* title.c (add_document_line): Removed.
(add_document_trailer): New function.
(cmd_document): Rewrite to yield SPSS-like output and to use the
updated document API.
(cmd_add_documents): Ditto.
* lexer.c (lex_entire_line): Add const to parameter.
(lex_entire_line_ds): Ditto.
(lex_rest_of_line): Drop end_dot parameter. Update all callers to
use lex_end_dot instead.
(lex_end_dot): New function.
* get.c (mtf_merge_dictionary): Simplify creating merged document.
* dictionary.c (struct dictionary): Change `documents' member from
char * to struct string.
(dict_clear): Destroy struct string.
(dict_get_documents): Convert struct string to char *.
(dict_set_documents): Set struct string. Pad to 80-character
multiple.
(dict_clear_documents): New function.
(dict_add_document_line): New function.
(dict_get_document_line_cnt): New function.
(dict_get_document_line): New function.
* dictionary.h (macro DOC_LINE_LENGTH): New macro.
* sys-file-reader.c (read_documents): Use new document functions.
John Darrington [Thu, 3 May 2007 10:15:26 +0000 (10:15 +0000)]
Implemented ADD DOCUMENT. Thanks to Ben Pfaff for review.
John Darrington [Mon, 30 Apr 2007 08:58:14 +0000 (08:58 +0000)]
Added the Variable Information dialog.
John Darrington [Sat, 28 Apr 2007 03:32:11 +0000 (03:32 +0000)]
Fix warnings.
John Darrington [Thu, 26 Apr 2007 09:57:51 +0000 (09:57 +0000)]
More eye candy.
Ben Pfaff [Wed, 25 Apr 2007 15:59:20 +0000 (15:59 +0000)]
Don't use type sighandler_t, which is a GNU extension. Reported by
"Daniel E WILLIAMS" <Daniel.E.Williams@state.or.us>.
John Darrington [Wed, 25 Apr 2007 00:09:35 +0000 (00:09 +0000)]
Fixed bug in internationalization.
Enhanced the dictionary view in dialog box GtkTreeView widgets.
Ben Pfaff [Mon, 23 Apr 2007 01:35:34 +0000 (01:35 +0000)]
Patch #5884.
(ll_for_each_reverse): New macro.
(ll_for_each_reverse_continue): New macro.
(ll_for_each_reverse_safe): New macro.
(ll_for_each_safe_reverse_continue): New macro.
(ll_for_each_reverse_preremove): New macro.
(ll_for_each_reverse_postremove): New macro.
(ll_remove__): Removed (dead code).
(ll_tail__): New macro.
(ll_prev__): New macro.
Ben Pfaff [Mon, 23 Apr 2007 01:32:29 +0000 (01:32 +0000)]
Patch #5885.
(dict_set_split_vars): dict_destroy expects that
dict_clear will free most data related to the dictionary.
dict_clear does a decent job, except that dict_set_split_vars on
some systems won't actually free the dict's "split" member.
Instead, it'll allocate a 1-byte region. Fix this.
Ben Pfaff [Mon, 23 Apr 2007 01:30:22 +0000 (01:30 +0000)]
Patch #5886.
(value_copy): New function.
(value_set_missing): Ditto.
Ben Pfaff [Mon, 23 Apr 2007 01:26:31 +0000 (01:26 +0000)]
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.
John Darrington [Sun, 22 Apr 2007 00:48:50 +0000 (00:48 +0000)]
Miscellaneous cleanup to categorical values, linreg and design matrix code.
John Darrington [Fri, 20 Apr 2007 11:04:55 +0000 (11:04 +0000)]
If sys files have no long_name table, implicitly add one, use the lower case
version of the variable names.
Ben Pfaff [Mon, 16 Apr 2007 14:52:56 +0000 (14:52 +0000)]
(parse_map_in): Improve error message when user
attempts to use THRU with string variables.
Suggested by seth@swoolley.homeip.net.
Ben Pfaff [Mon, 16 Apr 2007 14:52:28 +0000 (14:52 +0000)]
Mention that a measure of 0 is occasionally seen.
John Darrington [Mon, 16 Apr 2007 10:49:31 +0000 (10:49 +0000)]
Increase width of N and DEF cells in T-TEST.
Assume that string variables with 0 measure data ought to be NOMINAL.
Ben Pfaff [Mon, 16 Apr 2007 03:59:32 +0000 (03:59 +0000)]
Fully support lists of integer values. Add support for
lists of string values. Add some more needed declarations to
headers.
Patch #5868.
Ben Pfaff [Mon, 16 Apr 2007 03:06:50 +0000 (03:06 +0000)]
* compute-dialog.c (function_list_populate): Use new accessor
functions exported by language/expressions/public.h.
* 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.
Ben Pfaff [Mon, 16 Apr 2007 02:54:49 +0000 (02:54 +0000)]
(parse_mappings): Initial "out" member of mapping for CONVERT, fixing
an uninitialized data bug.
Ben Pfaff [Mon, 16 Apr 2007 00:19:41 +0000 (00:19 +0000)]
Make #include for parse.inc work with VPATH builds.
Ben Pfaff [Mon, 16 Apr 2007 00:14:08 +0000 (00:14 +0000)]
* recode.c (enlarge_dst_widths): Source isn't null-terminated, so
don't pretend it is.
(var_is_num_missing): MISSING should include system-missing values
too.
* automake.mk: Add recode.sh to tests.
* tests/xforms/recode.sh: New test.
John Darrington [Fri, 13 Apr 2007 11:24:01 +0000 (11:24 +0000)]
Added DATETIME20 format template.
Jason Stover [Thu, 12 Apr 2007 22:40:53 +0000 (22:40 +0000)]
fix bug 19581
John Darrington [Thu, 12 Apr 2007 09:48:34 +0000 (09:48 +0000)]
Fixed Bug #19424 (confidence interval from EXAMINE).
Ben Pfaff [Thu, 5 Apr 2007 14:12:25 +0000 (14:12 +0000)]
Update Gettext version to 0.16.1.
John Darrington [Wed, 4 Apr 2007 11:02:31 +0000 (11:02 +0000)]
Added the Compute dialog box.
Ben Pfaff [Wed, 4 Apr 2007 04:27:04 +0000 (04:27 +0000)]
(psppire_selector_set_subjects): Add an
assert that may or may not trap some Windows-related bugs.
Ben Pfaff [Wed, 4 Apr 2007 04:25:48 +0000 (04:25 +0000)]
* npar-binomial.sh: Be less picky about whitespace in PSPP output.
* npar-chisquare.sh: Ditto.
* very-long-strings.sh: Ditto.
Ben Pfaff [Wed, 4 Apr 2007 00:41:18 +0000 (00:41 +0000)]
Update version number to allow "make dist" to work.
Ben Pfaff [Wed, 4 Apr 2007 00:27:24 +0000 (00:27 +0000)]
Increment version to 0.4.3 due to snapshot posted
to alpha.gnu.org.
Suggested by John Darrington.
Ben Pfaff [Wed, 4 Apr 2007 00:07:57 +0000 (00:07 +0000)]
* Smake: Use fpieee module from Gnulib.
* configure.ac: Don't enable -mieee.
Ben Pfaff [Wed, 4 Apr 2007 00:06:27 +0000 (00:06 +0000)]
Note that gperf is now required.
Ben Pfaff [Tue, 3 Apr 2007 22:55:07 +0000 (22:55 +0000)]
Apply patches #5828, #5837, #5841, #5843.
In tests:
* automake.mk (tests_libpspp_bt_test_LDADD): Add range-map-test,
range-set-test, tower-test.
* libpspp/range-map-test.c: New test.
* libpspp/range-set-test.c: New test.
* libpspp/tower-test.c: New test.
In src/libpspp:
* abt.c (insert_relative): New function.
(abt_insert_after): New function.
(abt_insert_before): New function.
* range-map.c: New file.
* range-map.h: New file.
* range-set.c: New file.
* range-set.h: New file.
* tower.c: New file.
* tower.h: New file.
John Darrington [Tue, 3 Apr 2007 10:08:59 +0000 (10:08 +0000)]
Implemented the recently used files menus.
John Darrington [Mon, 2 Apr 2007 08:55:51 +0000 (08:55 +0000)]
Changed a lot of non-const pointers to const.
Patch #5825
Ben Pfaff [Sun, 1 Apr 2007 16:32:19 +0000 (16:32 +0000)]
Need #include <limits.h>. Thanks to "John McCabe-Dansted"
<gmatht@gmail.com> for pointing this out.
Ben Pfaff [Sat, 31 Mar 2007 17:24:02 +0000 (17:24 +0000)]
Add plain balanced tree structure. Patch #5827.
Thanks to John Darrington for review.
John Darrington [Sat, 31 Mar 2007 11:44:45 +0000 (11:44 +0000)]
Fixed the refresh button on the dialogs.
Added a "recent-dialogs" toolbar button.
John Darrington [Sat, 31 Mar 2007 08:15:20 +0000 (08:15 +0000)]
Updated version pre-requisites.
Added libtool to the list of requirements.
John Darrington [Fri, 30 Mar 2007 23:39:32 +0000 (23:39 +0000)]
Numerous GUI enhancements.
Jason Stover [Fri, 30 Mar 2007 16:52:41 +0000 (16:52 +0000)]
fixed sparse-array linker problem
Ben Pfaff [Fri, 30 Mar 2007 16:40:52 +0000 (16:40 +0000)]
Deuglify deque code. Patch #5829.
Jason Stover [Fri, 30 Mar 2007 02:16:41 +0000 (02:16 +0000)]
use moments.c to compute moments
Jason Stover [Thu, 29 Mar 2007 17:03:42 +0000 (17:03 +0000)]
listed m4 1.4.9 as a dependency
John Darrington [Tue, 27 Mar 2007 09:16:57 +0000 (09:16 +0000)]
Fix typo which cause the binary not to depend upon any libraries
John Darrington [Mon, 26 Mar 2007 10:11:01 +0000 (10:11 +0000)]
Made the code relocatable (using the relocate function from gnulib).
Ben Pfaff [Sun, 25 Mar 2007 22:13:06 +0000 (22:13 +0000)]
Add sparse array data structure.
Patch #5812.
Thanks to John Darrington for review.
Ben Pfaff [Mon, 19 Mar 2007 20:51:01 +0000 (20:51 +0000)]
* 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.
Ben Pfaff [Mon, 19 Mar 2007 04:24:56 +0000 (04:24 +0000)]
(close): Rename do_close to avoid naming conflict with POSIX
function of same name.
Ben Pfaff [Mon, 19 Mar 2007 04:18:47 +0000 (04:18 +0000)]
(static var write): Rename write_style to avoid
conflict with POSIX function of same name.
Ben Pfaff [Mon, 19 Mar 2007 01:21:41 +0000 (01:21 +0000)]
(close): Rename to do_close to avoid conflict with POSIX function of
the same name.
Ben Pfaff [Mon, 19 Mar 2007 00:33:15 +0000 (00:33 +0000)]
Don't try to distribute tests that are compiled
from C source. This fixes "make dist" when "make all" has not yet
been run.
Jason Stover [Sat, 17 Mar 2007 13:28:18 +0000 (13:28 +0000)]
removed duplicate minmax entry
John Darrington [Sat, 17 Mar 2007 12:29:39 +0000 (12:29 +0000)]
Delayed calling gtk_init until after arguments have been parsed, so that
--help and --version will work, even if no X server is available.
John Darrington [Sat, 17 Mar 2007 11:59:53 +0000 (11:59 +0000)]
Changed call to nl_langinfo with localecharset (from gnulib).
Fixed problem with test in non english locale.
Jason Stover [Sat, 17 Mar 2007 03:08:23 +0000 (03:08 +0000)]
Support moments
Jason Stover [Sat, 10 Mar 2007 22:56:39 +0000 (22:56 +0000)]
added minmax
John Darrington [Tue, 6 Mar 2007 10:36:46 +0000 (10:36 +0000)]
Fixed constness problem in iconv, using the ICONV_CONST preprocessor
macro provided by iconv.m4 (from gettext).
Ben Pfaff [Fri, 2 Mar 2007 01:11:37 +0000 (01:11 +0000)]
iconv is now required.
Ben Pfaff [Thu, 1 Mar 2007 21:26:28 +0000 (21:26 +0000)]
Fix "make distcheck" by distributing doc/ni.texi,
even though it's generated. Reviewed by John Darrington.
(doc_pspp_TEXINFOS): Add doc/ni.texi.
(nodist_doc_pspp_TEXINFOS): Remove.
(am__TEXINFO_TEX_DIR) Removed (was just a kluge anyhow).
($(INFO_DEPS)): Removed.
($(HTML_DEPS)): Removed.
(CLEANFILES): Removed.
Ben Pfaff [Mon, 26 Feb 2007 04:52:23 +0000 (04:52 +0000)]
Improve portability to NetBSD and Alpha.
Ben Pfaff [Sun, 25 Feb 2007 05:14:58 +0000 (05:14 +0000)]
New file to ignore, produced by new gnulib.
Ben Pfaff [Thu, 22 Feb 2007 23:34:17 +0000 (23:34 +0000)]
Don't include vsnprintf.h any more, because gnulib has now absorbed it
into string.h.
John Darrington [Thu, 22 Feb 2007 11:26:36 +0000 (11:26 +0000)]
Quoted strings in generated syntax.
John Darrington [Wed, 21 Feb 2007 08:27:16 +0000 (08:27 +0000)]
Fix warnings when compiling with mingw32
Ben Pfaff [Tue, 20 Feb 2007 15:04:47 +0000 (15:04 +0000)]
Don't need to include "getlogin_r.h" anymore, because gnulib merged it
into <unistd.h>.
Ben Pfaff [Mon, 19 Feb 2007 18:57:04 +0000 (18:57 +0000)]
Mingw compatibility fixes for file name code.
Ben Pfaff [Sun, 18 Feb 2007 21:29:20 +0000 (21:29 +0000)]
Adapt to most recent gnulib.
Ben Pfaff [Sun, 18 Feb 2007 19:22:23 +0000 (19:22 +0000)]
Remove useless parens in #if "defined" operator.
Ben Pfaff [Sun, 18 Feb 2007 19:20:55 +0000 (19:20 +0000)]
Add missing _() around messages.
Ben Pfaff [Sun, 18 Feb 2007 19:17:39 +0000 (19:17 +0000)]
"the the" => "the"
Ben Pfaff [Sun, 18 Feb 2007 01:37:47 +0000 (01:37 +0000)]
Add #include <config.h>.
Ben Pfaff [Sat, 17 Feb 2007 17:24:23 +0000 (17:24 +0000)]
Add tmpfile module, which fixes the use of the tmpfile function under
Windows.
Ben Pfaff [Sat, 17 Feb 2007 16:16:23 +0000 (16:16 +0000)]
Improve error message when temporary file cannot be created.
Ben Pfaff [Fri, 16 Feb 2007 19:24:25 +0000 (19:24 +0000)]
Better support cross-compiling. Patch #19003.
Ben Pfaff [Tue, 13 Feb 2007 00:39:49 +0000 (00:39 +0000)]
Note and enforce iconv requirement.
Ben Pfaff [Tue, 13 Feb 2007 00:28:52 +0000 (00:28 +0000)]
Make q2c link under mingw32, by eliminating the dependency on
localtime. Gnulib replaces localtime by a fixed version, but we don't
link q2c against gnulib. q2c only uses localtime to put the time of
processing into the output file, which I've never in practice found to
be useful, so the patch just drops this feature.
Patch #5740.
Ben Pfaff [Mon, 12 Feb 2007 14:30:23 +0000 (14:30 +0000)]
Include <config.h>.
Ben Pfaff [Mon, 12 Feb 2007 04:44:49 +0000 (04:44 +0000)]
Include "mkstemp.h", without which linking on mingw32 fails.
Ben Pfaff [Mon, 12 Feb 2007 03:44:36 +0000 (03:44 +0000)]
Apply UNUSED and include additional headers to avoid complaints from
GCC. Patch #5739.
Ben Pfaff [Mon, 12 Feb 2007 02:10:54 +0000 (02:10 +0000)]
Reduce platform dependence.
This helps with build on mingw32 (and probably other platforms).
Patch #5731.
Ben Pfaff [Fri, 9 Feb 2007 15:06:28 +0000 (15:06 +0000)]
Add #include <config.h>.
Ben Pfaff [Fri, 9 Feb 2007 05:28:21 +0000 (05:28 +0000)]
Improve VECTOR implementation.
Bug #18706.
Ben Pfaff [Fri, 9 Feb 2007 05:19:08 +0000 (05:19 +0000)]
Fix use of size_t in printf formats. Patch #5727.
Ben Pfaff [Thu, 8 Feb 2007 14:43:11 +0000 (14:43 +0000)]
Without HAVE_SYS_TYPES_H or HAVE_SYS_WAIT_H, in connect_debugger we
don't know how to connect to GDB, so just return.
Ben Pfaff [Thu, 8 Feb 2007 05:39:18 +0000 (05:39 +0000)]
Add #include <limits.h>. Thanks to John McCabe-Dansted
<gmatht@gmail.com> for pointing out the need.
Ben Pfaff [Thu, 8 Feb 2007 05:26:42 +0000 (05:26 +0000)]
Correct name of function fn_is_special. Thanks to John McCabe-Dansted
<gmatht@gmail.com> for pointing this out.
Ben Pfaff [Wed, 7 Feb 2007 04:01:59 +0000 (04:01 +0000)]
Define isinf macro only if it is not defined as a macro, even if
!HAVE_ISINF, because mingw seems to have the macro without the
function.
Ben Pfaff [Wed, 7 Feb 2007 04:00:09 +0000 (04:00 +0000)]
Use __printf__ instead of printf to avoid problem with "#define printf
libintl_printf" that libintl is fond of doing.