pspp-builds.git
17 years agoUse strict and all warnings.
Ben Pfaff [Wed, 18 Jul 2007 03:20:25 +0000 (03:20 +0000)]
Use strict and all warnings.

17 years agoUse strict and all warnings. Fix warnings that this triggers.
Ben Pfaff [Wed, 18 Jul 2007 03:18:31 +0000 (03:18 +0000)]
Use strict and all warnings.  Fix warnings that this triggers.

17 years agoUse strict and all warnings. Simplify parsing. Add "@c End:" line to
Ben Pfaff [Wed, 18 Jul 2007 03:17:03 +0000 (03:17 +0000)]
Use strict and all warnings.  Simplify parsing.  Add "@c End:" line to
output to suppress Emacs warning.  From bug #19335.  Reviewed by John
Darrington.

17 years agoMake file names in change log consistently relative to tests
Ben Pfaff [Wed, 18 Jul 2007 02:45:57 +0000 (02:45 +0000)]
Make file names in change log consistently relative to tests
directory.

17 years agoDrop the tests that depend on parsing "-0" from a syntax file. Also
Ben Pfaff [Wed, 18 Jul 2007 02:44:29 +0000 (02:44 +0000)]
Drop the tests that depend on parsing "-0" from a syntax file.  Also
make float-format.sh error messages easier to read, by changing the
sed command so that error line numbers are easier to match to the test
input.

17 years agoImprove the description of the SPSS system file format. Patch #6103.
Ben Pfaff [Wed, 18 Jul 2007 02:20:45 +0000 (02:20 +0000)]
Improve the description of the SPSS system file format.  Patch #6103.
Thanks to John Darrington for review.

17 years agoAdded the ability to resize string variables from the GUI. Thanks to
John Darrington [Wed, 18 Jul 2007 00:50:58 +0000 (00:50 +0000)]
Added the ability to resize string variables from the GUI.  Thanks to
Ben for his comments.

17 years agoRemoved legacy code.
John Darrington [Mon, 16 Jul 2007 11:18:09 +0000 (11:18 +0000)]
Removed legacy code.

17 years agoFile Open dialog now remembers directory of last opened file.
John Darrington [Mon, 16 Jul 2007 05:07:02 +0000 (05:07 +0000)]
File Open dialog now remembers directory of last opened file.

17 years agoOnly generate NUMERIC or STRING command if the type-and-label dialog was
John Darrington [Sun, 15 Jul 2007 09:59:52 +0000 (09:59 +0000)]
Only generate NUMERIC or STRING command if the type-and-label dialog was
used.

17 years agoRemove "show-expanders" field (prevents warnings under gtk+-2.8)
John Darrington [Sun, 15 Jul 2007 09:22:46 +0000 (09:22 +0000)]
Remove "show-expanders" field (prevents warnings under gtk+-2.8)

17 years agoOnly taint casereader if case size is unknown.
John Darrington [Sat, 14 Jul 2007 06:25:23 +0000 (06:25 +0000)]
Only taint casereader if case size is unknown.

17 years agoRespect the case_cnt field from sys file header. Closes patch #6092
John Darrington [Sat, 14 Jul 2007 05:47:46 +0000 (05:47 +0000)]
Respect the case_cnt field from sys file header. Closes patch #6092

17 years agoFinally got the datasheet responding fast enough.
John Darrington [Fri, 13 Jul 2007 06:39:05 +0000 (06:39 +0000)]
Finally got the datasheet responding fast enough.

17 years agoRemoved some deprecated gtk_ calls.
John Darrington [Fri, 13 Jul 2007 02:50:00 +0000 (02:50 +0000)]
Removed some deprecated gtk_ calls.

17 years agoDeleted lib/gtksheet/gtkiconlist.[ch] which isn't used (was it ever?)
John Darrington [Fri, 13 Jul 2007 01:18:48 +0000 (01:18 +0000)]
Deleted lib/gtksheet/gtkiconlist.[ch] which isn't used (was it ever?)

17 years agoUpdated INSTALL to be more specific to pspp.
John Darrington [Fri, 13 Jul 2007 00:57:02 +0000 (00:57 +0000)]
Updated INSTALL to be more specific to pspp.

17 years agoAdded prototype to avoid compile time warning.
John Darrington [Fri, 13 Jul 2007 00:46:41 +0000 (00:46 +0000)]
Added prototype to avoid compile time warning.

17 years agoMade the datasheet redraw itself when new data is loaded.
John Darrington [Thu, 12 Jul 2007 12:22:35 +0000 (12:22 +0000)]
Made the datasheet redraw itself when new data is loaded.

17 years agoUse non-deprecated function g_idle_add
John Darrington [Thu, 12 Jul 2007 06:33:51 +0000 (06:33 +0000)]
Use non-deprecated function g_idle_add

17 years agoRemove unused file. Fixes bug #18140.
Ben Pfaff [Thu, 12 Jul 2007 05:06:22 +0000 (05:06 +0000)]
Remove unused file.  Fixes bug #18140.

17 years ago(map_case): Create destination case instead of leaving it
Ben Pfaff [Thu, 12 Jul 2007 04:30:11 +0000 (04:30 +0000)]
(map_case): Create destination case instead of leaving it
undefined.  Fixes bug #20285.
Reviewed by John Darrington.

17 years agoMade type-and-label subdialog behave rationally when the target variable
John Darrington [Wed, 11 Jul 2007 03:59:57 +0000 (03:59 +0000)]
Made type-and-label subdialog behave rationally when the target variable
already exists.

17 years agoImprove N OF CASES documentation.
Ben Pfaff [Tue, 10 Jul 2007 13:17:59 +0000 (13:17 +0000)]
Improve N OF CASES documentation.

17 years agoEnabled deletion of cases from the datasheet.
John Darrington [Tue, 10 Jul 2007 07:40:02 +0000 (07:40 +0000)]
Enabled deletion of cases from the datasheet.

17 years agoRemoved restructure menuitem, since it's unlikely to be implemented in
John Darrington [Tue, 10 Jul 2007 06:38:09 +0000 (06:38 +0000)]
Removed restructure menuitem, since it's unlikely to be implemented in
the near future.

17 years agoinitial version of glm
Jason Stover [Tue, 10 Jul 2007 04:01:00 +0000 (04:01 +0000)]
initial version of glm

17 years agofixed export bug
Jason Stover [Tue, 10 Jul 2007 03:17:49 +0000 (03:17 +0000)]
fixed export bug

17 years agoPrevent crash when attempting to insert cases when dictionary is empty.
John Darrington [Mon, 9 Jul 2007 11:31:17 +0000 (11:31 +0000)]
Prevent crash when attempting to insert cases when dictionary is empty.

17 years agoImplemented the "Insert Case" button and menuitem.
John Darrington [Mon, 9 Jul 2007 05:21:12 +0000 (05:21 +0000)]
Implemented the "Insert Case" button and menuitem.

17 years agoRemoved visibility from recent file menuitems, if recent managers aren't
John Darrington [Sun, 8 Jul 2007 11:13:54 +0000 (11:13 +0000)]
Removed visibility from recent file menuitems, if recent managers aren't
available.

17 years agoUsed type casenumber in GUI code where appropriate. Also, generally
John Darrington [Sun, 8 Jul 2007 10:49:29 +0000 (10:49 +0000)]
Used type casenumber in GUI code where appropriate. Also, generally
stricter type allocations.

17 years agoSet type hints for older gtk versions
John Darrington [Sun, 8 Jul 2007 06:13:06 +0000 (06:13 +0000)]
Set type hints for older gtk versions

17 years agoImplemented the goto-case dialog
John Darrington [Sun, 8 Jul 2007 02:39:10 +0000 (02:39 +0000)]
Implemented the goto-case dialog

17 years agoAdded appropriate window_type_hint to the splash window.
John Darrington [Sat, 7 Jul 2007 12:42:02 +0000 (12:42 +0000)]
Added appropriate window_type_hint to the splash window.

17 years agoImplemented "type & label" subdialog on compute.
John Darrington [Sat, 7 Jul 2007 09:23:52 +0000 (09:23 +0000)]
Implemented "type & label" subdialog on compute.

17 years agoMade cell reference label take proper offset.
John Darrington [Sat, 7 Jul 2007 07:34:19 +0000 (07:34 +0000)]
Made cell reference label take proper offset.

17 years ago(legal): Update startup notice to use format recommended by latest GNU
Ben Pfaff [Sat, 7 Jul 2007 06:30:03 +0000 (06:30 +0000)]
(legal): Update startup notice to use format recommended by latest GNU
coding standards.

17 years agoChange license from GPLv2+ to GPLv3+.
Ben Pfaff [Sat, 7 Jul 2007 06:14:04 +0000 (06:14 +0000)]
Change license from GPLv2+ to GPLv3+.

17 years agoMade the datasheet number cases from 1 instead of zero.
John Darrington [Sat, 7 Jul 2007 02:12:41 +0000 (02:12 +0000)]
Made the datasheet number cases from 1 instead of zero.

17 years agoAdded a tooltip like feature to display variables' labels when the mouse hovers
John Darrington [Sat, 7 Jul 2007 01:52:44 +0000 (01:52 +0000)]
Added a tooltip like feature to display variables' labels when the mouse hovers
over a column title in the datasheet.

17 years agoGet rid of unused function.
John Darrington [Thu, 5 Jul 2007 04:00:12 +0000 (04:00 +0000)]
Get rid of unused function.

17 years agoMake sure that width entry widget shows.
John Darrington [Wed, 4 Jul 2007 10:37:49 +0000 (10:37 +0000)]
Make sure that width entry widget shows.

17 years agoFixed bug updating cell ref and datum entry widgets
John Darrington [Wed, 4 Jul 2007 05:22:51 +0000 (05:22 +0000)]
Fixed bug updating cell ref and datum entry widgets

17 years agoEnabled the insert-variable button
John Darrington [Wed, 4 Jul 2007 03:21:29 +0000 (03:21 +0000)]
Enabled the insert-variable button

17 years agoRemoved some gtksheet features that were causing problems for us when
John Darrington [Tue, 3 Jul 2007 05:49:53 +0000 (05:49 +0000)]
Removed some gtksheet features that were causing problems for us when
autoscrolling the datasheet.

17 years agoFix speling error.
Ben Pfaff [Sun, 1 Jul 2007 15:26:46 +0000 (15:26 +0000)]
Fix speling error.

17 years agoChanged trns_chain_execute signature (Patch #6057)
John Darrington [Sun, 1 Jul 2007 03:17:05 +0000 (03:17 +0000)]
Changed trns_chain_execute signature (Patch #6057)

17 years agoRemoved visibility from those toolbar buttons whose actions are
John Darrington [Sun, 1 Jul 2007 00:16:53 +0000 (00:16 +0000)]
Removed visibility from those toolbar buttons whose actions are
unimplemented and aren't likely to be in the near future.

17 years agoIgnore quilt-related files and another libtool file.
Ben Pfaff [Sat, 30 Jun 2007 15:45:39 +0000 (15:45 +0000)]
Ignore quilt-related files and another libtool file.

17 years ago(Re)enabled cell reference entry and datum entry widgets.
John Darrington [Fri, 29 Jun 2007 05:14:32 +0000 (05:14 +0000)]
(Re)enabled cell reference entry and datum entry widgets.

17 years agoRe-enabled updates in the cell reference entry box.
John Darrington [Fri, 29 Jun 2007 00:52:03 +0000 (00:52 +0000)]
Re-enabled updates in the cell reference entry box.

17 years agoRemoved some gtksheet features that psppire is never likely to use.
John Darrington [Thu, 28 Jun 2007 05:02:38 +0000 (05:02 +0000)]
Removed some gtksheet features that psppire is never likely to use.
Results in much faster rendering!

17 years agoMore whitespace changes. Thanks to Ben for pointing out prior errors.
John Darrington [Thu, 28 Jun 2007 04:42:25 +0000 (04:42 +0000)]
More whitespace changes.  Thanks to Ben for pointing out prior errors.

17 years agoChanges to whitespace, formatting and removed some commented out code.
John Darrington [Thu, 28 Jun 2007 02:38:32 +0000 (02:38 +0000)]
Changes to whitespace, formatting and removed some commented out code.

17 years agoImprove comment.
Ben Pfaff [Thu, 21 Jun 2007 15:47:43 +0000 (15:47 +0000)]
Improve comment.

17 years agoFixed procedure execution in GUI.
John Darrington [Fri, 15 Jun 2007 01:24:28 +0000 (01:24 +0000)]
Fixed procedure execution in GUI.

17 years agoUse xmalloca instead of xallocsa due to module renaming.
Ben Pfaff [Thu, 14 Jun 2007 14:21:23 +0000 (14:21 +0000)]
Use xmalloca instead of xallocsa due to module renaming.
Update all uses.

17 years agoImproved the encapsulation of PsppireCaseFile
John Darrington [Tue, 12 Jun 2007 01:59:00 +0000 (01:59 +0000)]
Improved the encapsulation of PsppireCaseFile

17 years agoOops, forgot a file.
Ben Pfaff [Mon, 11 Jun 2007 04:15:48 +0000 (04:15 +0000)]
Oops, forgot a file.

17 years agoAdd lots of comments. Some minor substantive changes too:
Ben Pfaff [Mon, 11 Jun 2007 04:03:19 +0000 (04:03 +0000)]
Add lots of comments.  Some minor substantive changes too:

* casereader-filter.c (casereader_filter_destroy): Make sure to
write all the remaining excluded cases to the casewriter, if any.

* caseinit.c (init_list_destroy): Rewrite.
(init_list_clear): Ditto.

* casegrouper.c (casegrouper_get_next_group): Always set *reader
to null when returning false.

17 years agoDelete trailing whitespace at end of lines.
John Darrington [Fri, 8 Jun 2007 04:53:44 +0000 (04:53 +0000)]
Delete trailing whitespace at end of lines.

17 years agoRemove src/data/fastfile*
John Darrington [Fri, 8 Jun 2007 02:08:04 +0000 (02:08 +0000)]
Remove src/data/fastfile*
Fix make distcheck

17 years agoFixed constness issues.
John Darrington [Fri, 8 Jun 2007 01:30:27 +0000 (01:30 +0000)]
Fixed constness issues.

17 years agoAdded missing #include
John Darrington [Fri, 8 Jun 2007 00:15:57 +0000 (00:15 +0000)]
Added missing #include

17 years agoEssentially rewrite MATCH FILES to support FIRST and LAST subcommands.
Ben Pfaff [Thu, 7 Jun 2007 06:45:15 +0000 (06:45 +0000)]
Essentially rewrite MATCH FILES to support FIRST and LAST subcommands.

17 years agoActually implement the new procedure code and adapt all of its clients
Ben Pfaff [Thu, 7 Jun 2007 06:41:58 +0000 (06:41 +0000)]
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.

17 years agoAdd datasheet.
Ben Pfaff [Thu, 7 Jun 2007 05:59:27 +0000 (05:59 +0000)]
Add datasheet.

After this commit everything compiles, but linking fails because
casereader_clone and some other casereader symbols are duplicates.
The next commit will remove casefile.c from the build and fix the
problem.

17 years agoUntil now, the procedure code has provided a case to the case_source,
Ben Pfaff [Thu, 7 Jun 2007 05:53:54 +0000 (05:53 +0000)]
Until now, the procedure code has provided a case to the case_source,
which has filled in the data values that come from the active file.
"Left" data values that don't come from the active file naturally stay
the same from case to case, because the procedure code keeps using
that same case.

One of the compromises that comes with the new procedure code is that
the active file allocates and provides its own case, which the
procedure code then has to resize to provide room for any other
variables that should go in the case and then fill in the values of
"left" variables.  Then, when we're done with that case, we have to
save the values of "left" variables to copy into the next case read
from the active file.

The caseinit code helps with this.

17 years agoMake aux_data file scope variable static.
Ben Pfaff [Thu, 7 Jun 2007 05:47:39 +0000 (05:47 +0000)]
Make aux_data file scope variable static.

17 years ago(binary_search): Fix assertion.
Ben Pfaff [Thu, 7 Jun 2007 05:46:37 +0000 (05:46 +0000)]
(binary_search): Fix assertion.

17 years ago* value.h (value_cnt_from_width): New function.
Ben Pfaff [Thu, 7 Jun 2007 05:45:30 +0000 (05:45 +0000)]
* value.h (value_cnt_from_width): New function.

* variable.c (var_get_value_cnt): Use new function.

17 years agoAdd casegrouper, to allow cases read from a given casereader to be
Ben Pfaff [Thu, 7 Jun 2007 05:42:00 +0000 (05:42 +0000)]
Add casegrouper, to allow cases read from a given casereader to be
broken into groups, each of which has its own casereader.  Generally
cases are grouped based on having equal values for some set of
variables.

17 years agoAdd interface to lexicographical ordering of cases.
Ben Pfaff [Thu, 7 Jun 2007 05:38:56 +0000 (05:38 +0000)]
Add interface to lexicographical ordering of cases.

17 years agoAdd casereaders and casewriters, the basis of the new data processing
Ben Pfaff [Thu, 7 Jun 2007 05:36:24 +0000 (05:36 +0000)]
Add casereaders and casewriters, the basis of the new data processing
implementation.  A casereader is a uniform interface to reading cases
from a data source; a casewriter is a uniform interface to writing
cases to a data sink.

17 years ago"casewindow" data structure that extends the deque (from libpspp) of
Ben Pfaff [Thu, 7 Jun 2007 05:31:01 +0000 (05:31 +0000)]
"casewindow" data structure that extends the deque (from libpspp) of
cases with the ability to dump cases to disk if we get too many of
them in memory.

17 years agosparse_cases data structure that augments a sparse_array of cases with
Ben Pfaff [Thu, 7 Jun 2007 05:27:32 +0000 (05:27 +0000)]
sparse_cases data structure that augments a sparse_array of cases with
the ability to dump cases to disk if we get too many cases in memory.

17 years agoAdd a low-level on-disk case array data structure.
Ben Pfaff [Thu, 7 Jun 2007 05:22:09 +0000 (05:22 +0000)]
Add a low-level on-disk case array data structure.

17 years agoAdd error propagation layer. Patch #5916, slightly revised.
Ben Pfaff [Thu, 7 Jun 2007 05:19:10 +0000 (05:19 +0000)]
Add error propagation layer.  Patch #5916, slightly revised.

17 years agoIn a couple of places we calculate the maximum number of cases to keep
Ben Pfaff [Thu, 7 Jun 2007 05:15:58 +0000 (05:15 +0000)]
In a couple of places we calculate the maximum number of cases to keep
in memory based on the user-defined workspace.  Enable centralizing
the calculation through a new function.

17 years agocasenumber is defined in transformations.h, but case.h is a more
Ben Pfaff [Thu, 7 Jun 2007 05:11:50 +0000 (05:11 +0000)]
casenumber is defined in transformations.h, but case.h is a more
sensible place.  Move it.

17 years agoRemoved next, prev, up node names from @node lines, to make structural
Ben Pfaff [Wed, 6 Jun 2007 05:17:47 +0000 (05:17 +0000)]
Removed next, prev, up node names from @node lines, to make structural
changes to the manual easier.  (These node names are not needed by
makeinfo.)

17 years agoSlightly generalize case_to_values and case_from_values functions, and
Ben Pfaff [Mon, 4 Jun 2007 01:43:27 +0000 (01:43 +0000)]
Slightly generalize case_to_values and case_from_values functions, and
update callers.

17 years agoAdd ability for reverse iteration to tower code, and corresponding
Ben Pfaff [Mon, 4 Jun 2007 01:36:06 +0000 (01:36 +0000)]
Add ability for reverse iteration to tower code, and corresponding
tests.

17 years ago* tower.c: Cache repeated lookups of a single tower element. This
Ben Pfaff [Mon, 4 Jun 2007 01:29:08 +0000 (01:29 +0000)]
* tower.c: Cache repeated lookups of a single tower element.  This
turns such lookups into O(1) operations without harming the big-O
of other operations.

* tower.h (struct tower): Add members for caching.

17 years ago* range-set.c (range_set_clone): New function.
Ben Pfaff [Mon, 4 Jun 2007 01:22:47 +0000 (01:22 +0000)]
* range-set.c (range_set_clone): New function.

* tests/range-set-test.c: Also test the range_set_clone function.

17 years ago(move_range): New function.
Ben Pfaff [Mon, 4 Jun 2007 01:19:03 +0000 (01:19 +0000)]
(move_range): New function.

17 years agoImplement missing functions for subcommand integer lists.
Ben Pfaff [Sun, 3 Jun 2007 22:07:48 +0000 (22:07 +0000)]
Implement missing functions for subcommand integer lists.

17 years ago(psppire_var_store_item_editable): Use var_is_alpha.
Ben Pfaff [Sun, 3 Jun 2007 22:03:38 +0000 (22:03 +0000)]
(psppire_var_store_item_editable): Use var_is_alpha.

17 years agoRemove author information.
Ben Pfaff [Sun, 3 Jun 2007 22:01:18 +0000 (22:01 +0000)]
Remove author information.
Fix compile-command.

17 years agoAdd _ndebug, _profile directories that I use for -DNDEBUG and
Ben Pfaff [Sun, 3 Jun 2007 21:59:55 +0000 (21:59 +0000)]
Add _ndebug, _profile directories that I use for -DNDEBUG and
profiling builds.

17 years ago(insert_range): New function.
Ben Pfaff [Sun, 3 Jun 2007 21:58:14 +0000 (21:58 +0000)]
(insert_range): New function.
(insert_element): New function.

17 years agoAdd #include <config.h> at tops of files.
Ben Pfaff [Sun, 3 Jun 2007 21:54:43 +0000 (21:54 +0000)]
Add #include <config.h> at tops of files.

17 years agoClean up after a forgotten part of patch #5829.
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.

17 years agoChanged return type from int to bool
John Darrington [Fri, 1 Jun 2007 02:32:13 +0000 (02:32 +0000)]
Changed return type from int to bool

17 years agoInitial version of interaction
Jason Stover [Thu, 31 May 2007 23:09:21 +0000 (23:09 +0000)]
Initial version of interaction

17 years agoIssue an error if no valid data are found
Jason Stover [Tue, 15 May 2007 20:39:42 +0000 (20:39 +0000)]
Issue an error if no valid data are found

17 years agoremoved redundant #include
Jason Stover [Thu, 10 May 2007 22:26:03 +0000 (22:26 +0000)]
removed redundant #include

17 years agoremoved "Written by" line
Jason Stover [Thu, 10 May 2007 22:00:59 +0000 (22:00 +0000)]
removed "Written by" line

17 years agopartial fix of bug 19819
Jason Stover [Tue, 8 May 2007 14:55:57 +0000 (14:55 +0000)]
partial fix of bug 19819