pspp-builds.git
16 years ago(text_data_import_assistant): Allocate the struct import_assistant on
Ben Pfaff [Wed, 7 May 2008 00:10:45 +0000 (00:10 +0000)]
(text_data_import_assistant): Allocate the struct import_assistant on
the heap instead of the stack, to make it easier for memory debuggers
such as Valgrind to point out use of its members after this function
returns.

16 years ago(gtk_sheet_dispose): Set the sheet's entry_container and button
Ben Pfaff [Wed, 7 May 2008 00:09:00 +0000 (00:09 +0000)]
(gtk_sheet_dispose): Set the sheet's entry_container and button
members to NULL after unref'ing them, so that a later call to
gtk_sheet_for_all will not try to dereference a dangling pointer.

16 years agoDon't append cell contents when there is none.
John Darrington [Sat, 3 May 2008 01:22:19 +0000 (01:22 +0000)]
Don't append cell contents when there is none.

16 years agoAdd --without-libpq and --without-libncurses options
John Darrington [Mon, 28 Apr 2008 02:06:01 +0000 (02:06 +0000)]
Add --without-libpq and --without-libncurses options

16 years agoUpdate po files.
John Darrington [Tue, 22 Apr 2008 08:40:32 +0000 (08:40 +0000)]
Update po files.

16 years agoUpdate some copyright notices which still referred to GPLv2
John Darrington [Mon, 21 Apr 2008 12:30:14 +0000 (12:30 +0000)]
Update some copyright notices which still referred to GPLv2

16 years agoProtected some tests which don't work when cross-compiling.
John Darrington [Mon, 21 Apr 2008 02:35:31 +0000 (02:35 +0000)]
Protected some tests which don't work when cross-compiling.

16 years agoFix mingw cross compile problem.
John Darrington [Sun, 20 Apr 2008 09:34:18 +0000 (09:34 +0000)]
Fix mingw cross compile problem.

16 years agoDon't include langinfo.h if LC_PAPER is not available.
John Darrington [Sun, 20 Apr 2008 08:40:19 +0000 (08:40 +0000)]
Don't include langinfo.h if LC_PAPER is not available.

16 years agoFixed some recent problems with the mingw cross compile.
John Darrington [Sun, 20 Apr 2008 07:51:09 +0000 (07:51 +0000)]
Fixed some recent problems with the mingw cross compile.

16 years agoClose patch #6492
John Darrington [Fri, 18 Apr 2008 23:44:42 +0000 (23:44 +0000)]
Close patch #6492

16 years agoProperly report required version of libglade.
Ben Pfaff [Tue, 15 Apr 2008 17:18:30 +0000 (17:18 +0000)]
Properly report required version of libglade.
Thanks to unknown-1 <pspp@sjpaes.nl> for reporting this bug.

16 years agoFixed problem with postgres 8.0.x
John Darrington [Tue, 15 Apr 2008 09:42:54 +0000 (09:42 +0000)]
Fixed problem with postgres 8.0.x

16 years agoReplace AC_CHECK_LIB with AC_SEARCH_LIBS
John Darrington [Tue, 15 Apr 2008 06:12:52 +0000 (06:12 +0000)]
Replace AC_CHECK_LIB with AC_SEARCH_LIBS

16 years agoNew test for QR decomposition
Jason Stover [Mon, 14 Apr 2008 17:34:36 +0000 (17:34 +0000)]
New test for QR decomposition

16 years agoRemove visibility from unused widgets and menus
John Darrington [Wed, 9 Apr 2008 09:41:06 +0000 (09:41 +0000)]
Remove visibility from unused widgets and menus

16 years agoFix display of degrees of freedom.
John Darrington [Wed, 9 Apr 2008 09:12:40 +0000 (09:12 +0000)]
Fix display of degrees of freedom.

16 years agofixed check for equality of explanatory and predictor variables
Jason Stover [Wed, 9 Apr 2008 03:31:41 +0000 (03:31 +0000)]
fixed check for equality of explanatory and predictor variables

16 years agooops
Jason Stover [Sun, 6 Apr 2008 22:03:01 +0000 (22:03 +0000)]
oops

16 years agostore intercept in proper place when using QR method
Jason Stover [Sun, 6 Apr 2008 21:59:13 +0000 (21:59 +0000)]
store intercept in proper place when using QR method

16 years agoRemoved generated files from tarball
John Darrington [Sat, 5 Apr 2008 01:48:29 +0000 (01:48 +0000)]
Removed generated files from tarball

16 years agoAdded menomics to all menuitems.
John Darrington [Tue, 25 Mar 2008 09:35:03 +0000 (09:35 +0000)]
Added menomics to all menuitems.
Removed unused menuitems.

16 years agoRemove inline qualifiers to keep gcc 4.2 happy
John Darrington [Tue, 25 Mar 2008 09:19:28 +0000 (09:19 +0000)]
Remove inline qualifiers to keep gcc 4.2 happy

16 years agoNeed SIZE_MAX to be defined when there's no libreadline
John Darrington [Tue, 25 Mar 2008 09:13:51 +0000 (09:13 +0000)]
Need SIZE_MAX to be defined when there's no libreadline

16 years agoMake sure that psql functionality works when ssl is not present.
John Darrington [Mon, 24 Mar 2008 09:39:52 +0000 (09:39 +0000)]
Make sure that psql functionality works when ssl is not present.

16 years agoUpdate text about Gnulib to reflect that it has moved from CVS to Git.
Ben Pfaff [Thu, 20 Mar 2008 05:28:31 +0000 (05:28 +0000)]
Update text about Gnulib to reflect that it has moved from CVS to Git.

Thanks to John Darrington for pointing out that this needed to be
done.

16 years agoDocument new requirement for gettext version 0.17.
Ben Pfaff [Tue, 18 Mar 2008 22:13:19 +0000 (22:13 +0000)]
Document new requirement for gettext version 0.17.

16 years agoUpdated Smake to fit recent gnulib checkout
John Darrington [Tue, 18 Mar 2008 09:02:19 +0000 (09:02 +0000)]
Updated Smake to fit recent gnulib checkout

16 years agoFixed bug #21801
John Darrington [Tue, 18 Mar 2008 08:08:12 +0000 (08:08 +0000)]
Fixed bug #21801

16 years agoFix bug #22037.
Ben Pfaff [Mon, 17 Mar 2008 03:59:06 +0000 (03:59 +0000)]
Fix bug #22037.

* crosstabs.q (calc_general): Only the short string prefix of long
string variables are tabulated, so we must not copy or zero out
more data than that.

16 years agoPatch #6452. Reviewed by John Darrington.
Ben Pfaff [Sun, 16 Mar 2008 22:38:17 +0000 (22:38 +0000)]
Patch #6452.  Reviewed by John Darrington.

* variable-display.c (cmd_variable_width): Fix parsing bug.  Also,
limit variable display widths to within range 1 thru 2 *
MAX_STRING.

* automake.mk: Add new test.

* command/variable-display.sh: New test.

16 years agoPatch #5368. Reviewed by John Darrington. Tested by Jason Stover.
Ben Pfaff [Sun, 16 Mar 2008 20:06:29 +0000 (20:06 +0000)]
Patch #5368.  Reviewed by John Darrington.  Tested by Jason Stover.

* automake.mk: Add new files.

* data-editor.glade: Add "import delimited text data" menu item.

* data-editor.c: Connect "import delimited text data" menu item.

* text-data-import-dialog.c: New file.

* text-data-import-dialog.h: New file.

* text-data-import.glade: New file.

16 years agoRemove unncessary dependencies on format.h
John Darrington [Fri, 14 Mar 2008 11:10:15 +0000 (11:10 +0000)]
Remove unncessary dependencies on format.h

16 years agoinclude format.h only where necessary.
John Darrington [Fri, 14 Mar 2008 10:42:53 +0000 (10:42 +0000)]
include format.h only where necessary.

16 years agoFix compiler warning.
John Darrington [Wed, 12 Mar 2008 09:24:44 +0000 (09:24 +0000)]
Fix compiler warning.

16 years agoFixed use of @dots in @math command.
Jason Stover [Wed, 12 Mar 2008 02:48:44 +0000 (02:48 +0000)]
Fixed use of @dots in @math command.

16 years agoUse math mode more consistently. Mention 0 mean of the error terms.
Jason Stover [Tue, 11 Mar 2008 21:14:29 +0000 (21:14 +0000)]
Use math mode more consistently. Mention 0 mean of the error terms.

16 years agoFixed problem finding createdb and psql binaries.
John Darrington [Tue, 11 Mar 2008 08:37:39 +0000 (08:37 +0000)]
Fixed problem finding createdb and psql binaries.

16 years agoRemoved header file for obsolete EXPORT subcommand
Jason Stover [Tue, 11 Mar 2008 04:02:54 +0000 (04:02 +0000)]
Removed header file for obsolete EXPORT subcommand

16 years agoRemoved reference to regression-export.h
Jason Stover [Tue, 11 Mar 2008 04:00:16 +0000 (04:00 +0000)]
Removed reference to regression-export.h

16 years agoFixed ellipses
Jason Stover [Tue, 11 Mar 2008 03:39:59 +0000 (03:39 +0000)]
Fixed ellipses

16 years agoadded test for SAVE subcommand
Jason Stover [Tue, 11 Mar 2008 03:33:07 +0000 (03:33 +0000)]
added test for SAVE subcommand

16 years agoRemoved use of coefficient 0 as intercept; removed subcommand EXPORT.
Jason Stover [Tue, 11 Mar 2008 03:28:48 +0000 (03:28 +0000)]
Removed use of coefficient 0 as intercept; removed subcommand EXPORT.

16 years agoRemoved reference to EXPORT subcommand
Jason Stover [Mon, 10 Mar 2008 03:02:38 +0000 (03:02 +0000)]
Removed reference to EXPORT subcommand

16 years agoFix bug 22419
Jason Stover [Sat, 8 Mar 2008 18:58:58 +0000 (18:58 +0000)]
Fix bug 22419

16 years agoInitialize "may-create-vars" to TRUE by default.
Ben Pfaff [Sat, 8 Mar 2008 07:40:31 +0000 (07:40 +0000)]
Initialize "may-create-vars" to TRUE by default.

16 years agoRemove unused macros
John Darrington [Sat, 8 Mar 2008 01:23:48 +0000 (01:23 +0000)]
Remove unused macros

16 years agoFinish moving sheet model to new interface.
John Darrington [Sat, 8 Mar 2008 00:55:44 +0000 (00:55 +0000)]
Finish moving sheet model to new interface.

16 years agoAdd "may-create-vars" property to var sheet that controls whether the
Ben Pfaff [Fri, 7 Mar 2008 06:20:00 +0000 (06:20 +0000)]
Add "may-create-vars" property to var sheet that controls whether the
user can create new variables in the dictionary.  Needed by upcoming
patch #6358.  Reviewed by John Darrington.

16 years ago(var_name_is_insertable): New function.
Ben Pfaff [Fri, 7 Mar 2008 06:03:51 +0000 (06:03 +0000)]
(var_name_is_insertable): New function.
(make_hinted_name): Don't accept variable names that match PSPP
keywords.  Thanks to Jason Stover for reporting the problem.

16 years agoRequire month names to be spelled out as English words, so that single
Ben Pfaff [Fri, 7 Mar 2008 05:28:29 +0000 (05:28 +0000)]
Require month names to be spelled out as English words, so that single
characters that happen to be Roman numerals don't get detected as
months.  Thanks to John Darrington for reporting this bug.

16 years agoRemove unnecessary gpointer variable from gsheet-row-iface
John Darrington [Thu, 6 Mar 2008 09:47:13 +0000 (09:47 +0000)]
Remove unnecessary gpointer variable from gsheet-row-iface

16 years agoPatch #6427. Reviewed by John Darrington.
Ben Pfaff [Wed, 5 Mar 2008 06:30:31 +0000 (06:30 +0000)]
Patch #6427.  Reviewed by John Darrington.

* comments-dialog.c: Adapt to new syntax generating code in
ui/syntax-gen.[ch].

* data-editor.c: Ditto.

* recode-dialog.c: Ditto.

* t-test-independent-samples-dialog.c: Ditto.

* automake.mk: Add new files.

* syntax-gen.c: New file.  Based on former
src/libpspp/syntax-gen.c but rewritten.

* syntax-gen.h: New file.  Based on former
src/libpspp/syntax-gen.h but rewritten.

* automake.mk: Remove moved files.

* syntax-gen.c: Moved to src/ui (and rewritten).

* syntax-gen.h: Ditto.

16 years agoPatch #6441. Reviewed by John Darrington.
Ben Pfaff [Wed, 5 Mar 2008 06:09:54 +0000 (06:09 +0000)]
Patch #6441.  Reviewed by John Darrington.

Add code for guessing data formats from example data and related tests.

16 years agoPatch #6441. Reviewed by John Darrington.
Ben Pfaff [Wed, 5 Mar 2008 05:56:51 +0000 (05:56 +0000)]
Patch #6441.  Reviewed by John Darrington.

(ss_match_char_in): New function.

16 years agoPatch #6441. Reviewed by John Darrington.
Ben Pfaff [Wed, 5 Mar 2008 05:55:02 +0000 (05:55 +0000)]
Patch #6441.  Reviewed by John Darrington.

Correct minimum width for DATETIME format.  It was 7, should have been
17.

16 years agoPatch #6441. Reviewed by John Darrington.
Ben Pfaff [Wed, 5 Mar 2008 05:53:46 +0000 (05:53 +0000)]
Patch #6441.  Reviewed by John Darrington.

(fmt_fix): New function.
(fmt_fix_input): New function.
(fmt_fix_output): New function.

16 years agoUpdated some deprecated functions with modern ones.
John Darrington [Sun, 2 Mar 2008 12:12:38 +0000 (12:12 +0000)]
Updated some deprecated functions with modern ones.

16 years agoGtkSheet now properly owns its model(s)
John Darrington [Sun, 2 Mar 2008 04:39:51 +0000 (04:39 +0000)]
GtkSheet now properly owns its model(s)

16 years agoRemove unnecessary dependencies on gtksheet.h
John Darrington [Sun, 2 Mar 2008 04:34:57 +0000 (04:34 +0000)]
Remove unnecessary dependencies on gtksheet.h

16 years agoadded checks for pointers to coefficient
Jason Stover [Sat, 1 Mar 2008 20:53:00 +0000 (20:53 +0000)]
added checks for pointers to coefficient

16 years agoAdjusted packing parameters
John Darrington [Sat, 1 Mar 2008 03:44:02 +0000 (03:44 +0000)]
Adjusted packing parameters

16 years agoOops
John Darrington [Sat, 1 Mar 2008 03:03:00 +0000 (03:03 +0000)]
Oops

16 years agoPrevent crash under certain pathological results.
John Darrington [Sat, 1 Mar 2008 02:08:29 +0000 (02:08 +0000)]
Prevent crash under certain pathological results.

16 years agoFixed regression dialog to use new data editor arrangement.
John Darrington [Fri, 29 Feb 2008 09:28:34 +0000 (09:28 +0000)]
Fixed regression dialog to use new data editor arrangement.

16 years agoApplied patch #6428
John Darrington [Fri, 29 Feb 2008 09:13:50 +0000 (09:13 +0000)]
Applied patch #6428

16 years agoOops
John Darrington [Fri, 29 Feb 2008 09:12:23 +0000 (09:12 +0000)]
Oops

16 years agoRemove this file.
John Darrington [Fri, 29 Feb 2008 09:11:11 +0000 (09:11 +0000)]
Remove this file.

16 years agoDelete these files.
John Darrington [Fri, 29 Feb 2008 09:09:00 +0000 (09:09 +0000)]
Delete these files.

16 years agoFix bug 22419
Jason Stover [Fri, 29 Feb 2008 02:22:48 +0000 (02:22 +0000)]
Fix bug 22419

16 years agoFixed some deallocation problems.
John Darrington [Wed, 27 Feb 2008 10:10:28 +0000 (10:10 +0000)]
Fixed some deallocation problems.

16 years agoRegression dialog
Jason Stover [Wed, 27 Feb 2008 04:16:44 +0000 (04:16 +0000)]
Regression dialog

16 years agoAdded egression dialog
Jason Stover [Wed, 27 Feb 2008 04:04:16 +0000 (04:04 +0000)]
Added egression dialog

16 years agoFixed bug #21073
John Darrington [Wed, 27 Feb 2008 02:38:19 +0000 (02:38 +0000)]
Fixed bug #21073

16 years agoThis file's very out of date, and it duplicates the bug tracker.
John Darrington [Sat, 23 Feb 2008 06:04:47 +0000 (06:04 +0000)]
This file's very out of date, and it duplicates the bug tracker.
Removing it.

16 years agoThis file no longer serves any useful purpose.
John Darrington [Sat, 23 Feb 2008 04:40:25 +0000 (04:40 +0000)]
This file no longer serves any useful purpose.

16 years agoRemove obsolete properties from glade files. Fixed bug #20897
John Darrington [Sat, 23 Feb 2008 01:53:00 +0000 (01:53 +0000)]
Remove obsolete properties from glade files.  Fixed bug #20897

16 years agoRemove erroneous cast.
John Darrington [Wed, 20 Feb 2008 23:26:19 +0000 (23:26 +0000)]
Remove erroneous cast.

16 years agoRemove erroneous casts.
John Darrington [Wed, 20 Feb 2008 23:20:00 +0000 (23:20 +0000)]
Remove erroneous casts.

16 years agoWhitespace changes and remove unnecessary casts.
John Darrington [Wed, 20 Feb 2008 23:14:10 +0000 (23:14 +0000)]
Whitespace changes and remove unnecessary casts.

16 years agoCleanup gtksheet and add features to var-sheet.[ch]
John Darrington [Wed, 20 Feb 2008 10:04:11 +0000 (10:04 +0000)]
Cleanup gtksheet and add features to var-sheet.[ch]

16 years agoPatch #6426. Reviewed by John Darrington.
Ben Pfaff [Wed, 20 Feb 2008 05:06:48 +0000 (05:06 +0000)]
Patch #6426.  Reviewed by John Darrington.

Add "trailing-rows", "format-type" properties to PsppireVarStore.

16 years agoFixed some problems reported by autoconf -Wall
John Darrington [Wed, 20 Feb 2008 04:43:37 +0000 (04:43 +0000)]
Fixed some problems reported by autoconf -Wall
Plugged some memory leaks.

16 years ago(popup_messages): Always destroy `msg' and `lead' strings, avoiding a
Ben Pfaff [Wed, 20 Feb 2008 04:24:29 +0000 (04:24 +0000)]
(popup_messages): Always destroy `msg' and `lead' strings, avoiding a
memory leak.  Thanks to John Darrington for reporting the problem.

16 years agoAdded const qualifier to return value of gtk_check_version, as
John Darrington [Wed, 20 Feb 2008 00:26:20 +0000 (00:26 +0000)]
Added const qualifier to return value of gtk_check_version, as
required by GTK 2.12

16 years ago(ds_read_line): Add argument to limit the length of the line to be
Ben Pfaff [Tue, 19 Feb 2008 06:45:11 +0000 (06:45 +0000)]
(ds_read_line): Add argument to limit the length of the line to be
read.  Update all callers.

16 years ago(var_create): Use the new functions for default variable attributes below.
Ben Pfaff [Tue, 19 Feb 2008 06:41:25 +0000 (06:41 +0000)]
(var_create): Use the new functions for default variable attributes below.
(var_default_formats): New function.
(var_default_measure): New function.
(var_default_alignment): New function.

16 years ago(macro FMT_MAX_NUMERIC_WIDTH): New macro.
Ben Pfaff [Tue, 19 Feb 2008 06:37:57 +0000 (06:37 +0000)]
(macro FMT_MAX_NUMERIC_WIDTH): New macro.

16 years agoPatch #6426. Reviewed by John Darrington.
Ben Pfaff [Tue, 19 Feb 2008 06:32:18 +0000 (06:32 +0000)]
Patch #6426.  Reviewed by John Darrington.

(min_width): Renamed fmt_min_width and made public.
Updated all references.
(max_width): Renamed fmt_max_width and made public.  Updated all
references.
(max_decimals): Renamed fmt_max_decimals and made public.  Updated
all references.

16 years agoApplied patch #6420
John Darrington [Tue, 19 Feb 2008 00:35:19 +0000 (00:35 +0000)]
Applied patch #6420

16 years agoImplemented the Examine dialog
John Darrington [Mon, 18 Feb 2008 08:35:27 +0000 (08:35 +0000)]
Implemented the Examine dialog

16 years agoRemove superfluous casts and fix whitespace sillyness.
John Darrington [Sun, 17 Feb 2008 05:37:49 +0000 (05:37 +0000)]
Remove superfluous casts and fix whitespace sillyness.

16 years agoFixed bug #22306
John Darrington [Thu, 14 Feb 2008 12:08:39 +0000 (12:08 +0000)]
Fixed bug #22306

16 years agoFixed crash when trying to get the label of a non-existant variable.
John Darrington [Wed, 13 Feb 2008 03:22:02 +0000 (03:22 +0000)]
Fixed crash when trying to get the label of a non-existant variable.

16 years agoFix bug which crashed the gui when selected an empty line in the
John Darrington [Wed, 13 Feb 2008 02:59:30 +0000 (02:59 +0000)]
Fix bug which crashed the gui when selected an empty line in the
variable info dialog.

16 years agoAdd a couple of extensions to GET DATA TYPE=TXT. Patch #6412. Thanks
Ben Pfaff [Sun, 10 Feb 2008 08:17:49 +0000 (08:17 +0000)]
Add a couple of extensions to GET DATA TYPE=TXT.  Patch #6412.  Thanks
to John Darrington for review.

16 years agoConsolidate multiple messages into single message dialog. Patch
Ben Pfaff [Sun, 10 Feb 2008 07:08:45 +0000 (07:08 +0000)]
Consolidate multiple messages into single message dialog.  Patch
#6405.  Thanks to John Darrington for review.

* automake.mk (dist_src_ui_gui_psppire_DATA): Add
message-dialog.glade.

* helper.c (give_help): Use GtkMessageDialog directly instead of
trying to reuse message-dialog code.

* message-dialog.c: Rewritten.

* message-dialog.glade: New file.

16 years agoRemoved the "feature" where rows are automatically appended
John Darrington [Fri, 8 Feb 2008 23:30:12 +0000 (23:30 +0000)]
Removed the "feature" where rows are automatically appended
to the datasheet on focusing below the last row.

16 years agoundid accidental checkin of text import patch
Jason Stover [Fri, 8 Feb 2008 17:50:52 +0000 (17:50 +0000)]
undid accidental checkin of text import patch

16 years agooops
Jason Stover [Fri, 8 Feb 2008 17:22:27 +0000 (17:22 +0000)]
oops