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.
Jason Stover [Tue, 10 Jul 2007 04:01:00 +0000 (04:01 +0000)]
initial version of glm
Jason Stover [Tue, 10 Jul 2007 03:17:49 +0000 (03:17 +0000)]
fixed export bug
John Darrington [Mon, 9 Jul 2007 11:31:17 +0000 (11:31 +0000)]
Prevent crash when attempting to insert cases when dictionary is empty.
John Darrington [Mon, 9 Jul 2007 05:21:12 +0000 (05:21 +0000)]
Implemented the "Insert Case" button and menuitem.
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.
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.
John Darrington [Sun, 8 Jul 2007 06:13:06 +0000 (06:13 +0000)]
Set type hints for older gtk versions
John Darrington [Sun, 8 Jul 2007 02:39:10 +0000 (02:39 +0000)]
Implemented the goto-case dialog
John Darrington [Sat, 7 Jul 2007 12:42:02 +0000 (12:42 +0000)]
Added appropriate window_type_hint to the splash window.
John Darrington [Sat, 7 Jul 2007 09:23:52 +0000 (09:23 +0000)]
Implemented "type & label" subdialog on compute.
John Darrington [Sat, 7 Jul 2007 07:34:19 +0000 (07:34 +0000)]
Made cell reference label take proper offset.
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.
Ben Pfaff [Sat, 7 Jul 2007 06:14:04 +0000 (06:14 +0000)]
Change license from GPLv2+ to GPLv3+.
John Darrington [Sat, 7 Jul 2007 02:12:41 +0000 (02:12 +0000)]
Made the datasheet number cases from 1 instead of zero.
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.
John Darrington [Thu, 5 Jul 2007 04:00:12 +0000 (04:00 +0000)]
Get rid of unused function.
John Darrington [Wed, 4 Jul 2007 10:37:49 +0000 (10:37 +0000)]
Make sure that width entry widget shows.
John Darrington [Wed, 4 Jul 2007 05:22:51 +0000 (05:22 +0000)]
Fixed bug updating cell ref and datum entry widgets
John Darrington [Wed, 4 Jul 2007 03:21:29 +0000 (03:21 +0000)]
Enabled the insert-variable button
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.
Ben Pfaff [Sun, 1 Jul 2007 15:26:46 +0000 (15:26 +0000)]
Fix speling error.
John Darrington [Sun, 1 Jul 2007 03:17:05 +0000 (03:17 +0000)]
Changed trns_chain_execute signature (Patch #6057)
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.
Ben Pfaff [Sat, 30 Jun 2007 15:45:39 +0000 (15:45 +0000)]
Ignore quilt-related files and another libtool file.
John Darrington [Fri, 29 Jun 2007 05:14:32 +0000 (05:14 +0000)]
(Re)enabled cell reference entry and datum entry widgets.
John Darrington [Fri, 29 Jun 2007 00:52:03 +0000 (00:52 +0000)]
Re-enabled updates in the cell reference entry box.
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!
John Darrington [Thu, 28 Jun 2007 04:42:25 +0000 (04:42 +0000)]
More whitespace changes. Thanks to Ben for pointing out prior errors.
John Darrington [Thu, 28 Jun 2007 02:38:32 +0000 (02:38 +0000)]
Changes to whitespace, formatting and removed some commented out code.
Ben Pfaff [Thu, 21 Jun 2007 15:47:43 +0000 (15:47 +0000)]
Improve comment.
John Darrington [Fri, 15 Jun 2007 01:24:28 +0000 (01:24 +0000)]
Fixed procedure execution in GUI.
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.
John Darrington [Tue, 12 Jun 2007 01:59:00 +0000 (01:59 +0000)]
Improved the encapsulation of PsppireCaseFile
Ben Pfaff [Mon, 11 Jun 2007 04:15:48 +0000 (04:15 +0000)]
Oops, forgot a file.
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.
John Darrington [Fri, 8 Jun 2007 04:53:44 +0000 (04:53 +0000)]
Delete trailing whitespace at end of lines.
John Darrington [Fri, 8 Jun 2007 02:08:04 +0000 (02:08 +0000)]
Remove src/data/fastfile*
Fix make distcheck
John Darrington [Fri, 8 Jun 2007 01:30:27 +0000 (01:30 +0000)]
Fixed constness issues.
John Darrington [Fri, 8 Jun 2007 00:15:57 +0000 (00:15 +0000)]
Added missing #include
Ben Pfaff [Thu, 7 Jun 2007 06:45:15 +0000 (06:45 +0000)]
Essentially rewrite MATCH FILES to support FIRST and LAST subcommands.
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.
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.
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.
Ben Pfaff [Thu, 7 Jun 2007 05:47:39 +0000 (05:47 +0000)]
Make aux_data file scope variable static.
Ben Pfaff [Thu, 7 Jun 2007 05:46:37 +0000 (05:46 +0000)]
(binary_search): Fix assertion.
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.
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.
Ben Pfaff [Thu, 7 Jun 2007 05:38:56 +0000 (05:38 +0000)]
Add interface to lexicographical ordering of cases.
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.
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.
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.
Ben Pfaff [Thu, 7 Jun 2007 05:22:09 +0000 (05:22 +0000)]
Add a low-level on-disk case array data structure.
Ben Pfaff [Thu, 7 Jun 2007 05:19:10 +0000 (05:19 +0000)]
Add error propagation layer. Patch #5916, slightly revised.
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.
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.
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.)
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.
Ben Pfaff [Mon, 4 Jun 2007 01:36:06 +0000 (01:36 +0000)]
Add ability for reverse iteration to tower code, and corresponding
tests.
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.
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.
Ben Pfaff [Mon, 4 Jun 2007 01:19:03 +0000 (01:19 +0000)]
(move_range): New function.
Ben Pfaff [Sun, 3 Jun 2007 22:07:48 +0000 (22:07 +0000)]
Implement missing functions for subcommand integer lists.
Ben Pfaff [Sun, 3 Jun 2007 22:03:38 +0000 (22:03 +0000)]
(psppire_var_store_item_editable): Use var_is_alpha.
Ben Pfaff [Sun, 3 Jun 2007 22:01:18 +0000 (22:01 +0000)]
Remove author information.
Fix compile-command.
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.
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