pspp
12 years agotests: Fix reference to old library libpspp.la. 20120422030503/pspp 20120423030509/pspp
Ben Pfaff [Sat, 21 Apr 2012 16:22:04 +0000 (09:22 -0700)]
tests: Fix reference to old library libpspp.la.

Reported by John Darrington.

12 years agoImprove Independent Samples T-test dialog
John Darrington [Sat, 21 Apr 2012 16:09:32 +0000 (18:09 +0200)]
Improve Independent Samples T-test dialog

12 years agoPsppireButtonBox: Remove Close from the default set of buttons
John Darrington [Sat, 21 Apr 2012 15:50:56 +0000 (17:50 +0200)]
PsppireButtonBox: Remove Close from the default set of buttons

12 years agohelper: Move escape_underscores() here.
Ben Pfaff [Fri, 13 Apr 2012 05:33:07 +0000 (22:33 -0700)]
helper: Move escape_underscores() here.

An upcoming commit will introduce a new user in a different file.

12 years agogui: New widget PsppireValueEntry for editing a "union value".
Ben Pfaff [Mon, 9 Apr 2012 03:30:14 +0000 (20:30 -0700)]
gui: New widget PsppireValueEntry for editing a "union value".

This is intended to be a convenenient way to allow the user to
view and edit a "union value" that includes the ability to see
and select values by value label.

12 years agogui: New boxed type for struct fmt_spec.
Ben Pfaff [Mon, 9 Apr 2012 03:19:30 +0000 (20:19 -0700)]
gui: New boxed type for struct fmt_spec.

This makes it possible to use a struct fmt_spec as the value of a
property on a GObject, which I plan to use in an upcoming widget
PsppireValueEntry.

12 years agogui: New type PsppireEmptyListStore.
Ben Pfaff [Thu, 7 Jul 2011 15:09:17 +0000 (08:09 -0700)]
gui: New type PsppireEmptyListStore.

PsppireEmptyListStore is an GtkTreeModel implementation that has a
client-specified number of rows and zero columns.  It is a useful model for
GtkTreeView or PsppSheetView when the client can easily synthesize cell
data using a callback set with gtk_tree_view_column_set_cell_data_func().
In that situation, GtkListStore can be wasteful (because it uses a lot of
memory to store what does not need to be stored) and situation-specific
custom models require additional boilerplate.

This commit also modified the text data import dialog code to use
PsppireEmptyListStore.  Future commits will add other users.

12 years agogui: Add undocumented --measure-startup option.
Ben Pfaff [Sat, 21 Apr 2012 05:01:25 +0000 (22:01 -0700)]
gui: Add undocumented --measure-startup option.

This is useful for testing the effects of code changes upon the
time required to start PSPPIRE.

12 years agoNew "range-tower" data structure. 20120421030503/pspp
Ben Pfaff [Fri, 26 Aug 2011 03:20:52 +0000 (20:20 -0700)]
New "range-tower" data structure.

A range tower is a bitmap, implemented as an augmented binary tree.

Beyond the usual features of a bitmap, a range tower can efficiently
implement a "splice" operation that shifts ranges of bits left or right.
This feature does cost memory and time, so use a range tower only if this
feature is actually needed.  Otherwise, use a range set (see range-set.h),
which can do everything that a range tower can do except the "splice"
operation.

Each operation has O(lg N) cost, where N is the number of contiguous
regions of 1-bits in the bitmap.  Also, a cache reduces the second and
subsequent containment tests within a single contiguous region to O(1).

12 years agorange-set: New macro RANGE_SET_FOR_EACH to make iteration easier.
Ben Pfaff [Sat, 3 Mar 2012 18:34:24 +0000 (10:34 -0800)]
range-set: New macro RANGE_SET_FOR_EACH to make iteration easier.

12 years agorange-set: Rename "insert" function "set1", "delete" to "set0".
Ben Pfaff [Tue, 20 Sep 2011 04:34:13 +0000 (21:34 -0700)]
range-set: Rename "insert" function "set1", "delete" to "set0".

An upcoming commit will introduce a new "range-tower" data
structure that can actually insert and delete ranges.  It
makes sense not to use different terminology for the two data
structures, so renaming these functions makes sense.

12 years agoabt: New function abt_is_empty().
Ben Pfaff [Sun, 6 Nov 2011 21:03:24 +0000 (13:03 -0800)]
abt: New function abt_is_empty().

12 years agoabt: Drop child parameters from 'reaugment' function.
Ben Pfaff [Tue, 23 Aug 2011 05:00:12 +0000 (22:00 -0700)]
abt: Drop child parameters from 'reaugment' function.

The function can simply inspect the 'down' members.

12 years agovalue-labels: New function val_labs_find_value().
Ben Pfaff [Sat, 3 Mar 2012 18:46:37 +0000 (10:46 -0800)]
value-labels: New function val_labs_find_value().

The new data sheet implementation (in an upcoming commit) will use
this.

12 years agohelper: New function value_to_text__().
Ben Pfaff [Sat, 31 Mar 2012 22:46:43 +0000 (15:46 -0700)]
helper: New function value_to_text__().

One potential caller of value_to_text() doesn't have a "struct
variable" but does have the other needed information.

12 years agoformat: Fix typo in comment.
Ben Pfaff [Sat, 31 Mar 2012 22:41:39 +0000 (15:41 -0700)]
format: Fix typo in comment.

struct fmt_spec's 'd' member is not normally a number of "implied"
decimal places.  It is normally the number of decimal places that
will be presented in formatted values.  Thus, update the comment.

12 years agoformat: Introduce a new type "enum fmt_use".
Ben Pfaff [Tue, 5 Jul 2011 01:17:17 +0000 (18:17 -0700)]
format: Introduce a new type "enum fmt_use".

This seems slightly nicer than using a "bool" to distinguish
input and output formats.

12 years agoformat: New functions fmt_change_width(), fmt_change_decimals().
Ben Pfaff [Mon, 4 Jul 2011 21:48:57 +0000 (14:48 -0700)]
format: New functions fmt_change_width(), fmt_change_decimals().

These will be used in an upcoming commit for GUI-based format
adjustments, where we want to implement the user's request for
width or decimal places to the extent that we can, while
adjusting decimal places or width, respectively, as necessary.

12 years agogui: Use canonical names for signals.
Ben Pfaff [Thu, 12 Jan 2012 04:23:04 +0000 (20:23 -0800)]
gui: Use canonical names for signals.

Hyphens are canonical in parameter names, at least, and they seem
to be used consistently in signal names within GNOME, so use them
here too.

12 years agoDO IF test: Correct expected outcome 20120420030504/pspp
John Darrington [Thu, 19 Apr 2012 19:14:54 +0000 (21:14 +0200)]
DO IF test:  Correct expected outcome

Commit 27bd188495ec1a6085354b10545daba47771b517 added a test for an
error condition in DO IF, but appears to contain some cut and paste
errors.  This change corrects them.

12 years agoSHOW: New subcommand N
John Darrington [Thu, 19 Apr 2012 19:11:36 +0000 (21:11 +0200)]
SHOW: New subcommand N

This subcommand reports the number of cases in the active dataset.

12 years agoRevert "psppire-dict: g_return_if_fail for idx in psppire_dict_get_variable()." 20120419030507/pspp
Ben Pfaff [Thu, 19 Apr 2012 05:20:35 +0000 (22:20 -0700)]
Revert "psppire-dict: g_return_if_fail for idx in psppire_dict_get_variable()."

This reverts commit edf4f6b1f7e2b9c17cc86f1c63ff9b4b7e24af26.
John pointed out that it causes the GUI to crash at startup.

12 years agoDO IF: Fix crash when END IF appears without DO IF. 20120418030503/pspp
Ben Pfaff [Wed, 18 Apr 2012 04:26:21 +0000 (21:26 -0700)]
DO IF: Fix crash when END IF appears without DO IF.

Reported by Jill Covert.
Bug #36231.

12 years agopsppire-dict: g_return_if_fail for idx in psppire_dict_get_variable().
Ben Pfaff [Wed, 18 Apr 2012 03:09:34 +0000 (20:09 -0700)]
psppire-dict: g_return_if_fail for idx in psppire_dict_get_variable().

Also, as long as we're checking for too-big we might as well check
for too-small too.

12 years agoCorrect bugs in PsppireSelector which cause the Examine Dialog to crash
John Darrington [Tue, 17 Apr 2012 19:51:29 +0000 (21:51 +0200)]
Correct bugs in PsppireSelector which cause the Examine Dialog to crash

12 years agopsppire-dict: Return new var from psppire_dict_insert_variable(). 20120417030503/pspp
Ben Pfaff [Wed, 21 Mar 2012 04:29:54 +0000 (21:29 -0700)]
psppire-dict: Return new var from psppire_dict_insert_variable().

An upcoming commit will introduce a user for the return value.

12 years agopsppire-dict: Make auto_generate_var_name() public, and rename.
Ben Pfaff [Wed, 21 Mar 2012 04:28:44 +0000 (21:28 -0700)]
psppire-dict: Make auto_generate_var_name() public, and rename.

This function will acquire a few users in upcoming commits.

This commit renames it to have the same prefix as other public
functions in this file.

12 years agopsppire-dict: Get rid of static var in auto_generate_var_name().
Ben Pfaff [Wed, 21 Mar 2012 04:18:32 +0000 (21:18 -0700)]
psppire-dict: Get rid of static var in auto_generate_var_name().

This isn't a big deal at the moment but I intend to add new users
of this function in future commits, so then it becomes more
important.

12 years agoAllow dictionary 'var_deleted' callback to examine the deleted var.
Ben Pfaff [Tue, 20 Mar 2012 06:00:05 +0000 (23:00 -0700)]
Allow dictionary 'var_deleted' callback to examine the deleted var.

The dictionary 'var_deleted' callback is the last chance to look at
a variable as it is getting deleted from a dictionary.  For some of
the information in the variable, it legitimately doesn't make any
sense to get it from the variable itself at this point, e.g. the
index into the dictionary or the case, since it no longer is in
a dictionary.  But for most of it, it's reasonable to get it from
the variable itself, but the callback doesn't provide any way to
do that, because it doesn't pass in the variable, just a dictionary
index that is no longer correct.

This commit changes the 'var_deleted' interface to pass in the
variable plus the information that can no longer be obtained from
the variable itself.  An upcoming change to the GUI will make use
of this.

This commit also adapts all the existing users to the new interface.

12 years agofind-dialog: Change "Cancel" button to "Close" button.
Ben Pfaff [Sat, 10 Mar 2012 18:59:17 +0000 (10:59 -0800)]
find-dialog: Change "Cancel" button to "Close" button.

This button doesn't cancel anything, it just closes the dialog box,
so "Close" seems like a better label.

12 years agogtkxpaned: Remove write-only variables.
Ben Pfaff [Mon, 30 Jan 2012 00:31:28 +0000 (16:31 -0800)]
gtkxpaned: Remove write-only variables.

12 years agopsppire-buttonbox: Fix style in header file.
Ben Pfaff [Sat, 10 Mar 2012 18:39:19 +0000 (10:39 -0800)]
psppire-buttonbox: Fix style in header file.

It's totally bizarre and unnecessary to define a macro in the
middle of a function prototype, so this commit moves it.

12 years agopsppire-data-store: Use NULL for a null pointer.
Ben Pfaff [Wed, 28 Mar 2012 03:52:11 +0000 (20:52 -0700)]
psppire-data-store: Use NULL for a null pointer.

12 years agopsppire-data-store: Use PSPPIRE namespace instead of GTK+'s.
Ben Pfaff [Wed, 28 Mar 2012 01:25:01 +0000 (18:25 -0700)]
psppire-data-store: Use PSPPIRE namespace instead of GTK+'s.

12 years agopsppire-data-editor: Drop psppire_data_editor_set_font() redundancy.
Ben Pfaff [Tue, 10 Apr 2012 05:33:35 +0000 (22:33 -0700)]
psppire-data-editor: Drop psppire_data_editor_set_font() redundancy.

set_font() recurses to a GtkContainer's children so
psppire_data_editor_set_font() does not need to also do so.

12 years agoRevert "Fix DSO linking issue"
Ben Pfaff [Mon, 16 Apr 2012 14:39:43 +0000 (07:39 -0700)]
Revert "Fix DSO linking issue"

This reverts commit 34abd8c7de0cac8efeead7fb3848427fb944b5bd.
The author blindly posted the patch without actually testing
whether it was necessary.  It was not, because the libraries
in question were already linked against.  Thanks to John
Darrington for pointing that out.

12 years agoFix DSO linking issue 20120416030503/pspp
Peter Lemenkov [Sun, 15 Apr 2012 16:09:59 +0000 (20:09 +0400)]
Fix DSO linking issue

We must explicitly list every required library in case then linker is built
with default behaviour which prevents implicit DSO linking.

See this for the details on DSO Linking issues:

http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
12 years agoPsppireDictView: Call gtk_widget_destroy instead of g_object_unref
John Darrington [Sat, 14 Apr 2012 11:15:14 +0000 (13:15 +0200)]
PsppireDictView: Call gtk_widget_destroy instead of g_object_unref

GtkMenu is a toplevel window.  Therefore, gtk_widget_destroy is appropriate.

12 years agoPsppireDialog: Added assignment for parent_class which it seems was forgotten
John Darrington [Sat, 14 Apr 2012 11:13:20 +0000 (13:13 +0200)]
PsppireDialog: Added assignment for parent_class which it seems was forgotten

12 years agoReplace regression.q with regression.c 20120414030503/pspp 20120415030503/pspp
John Darrington [Fri, 13 Apr 2012 16:55:36 +0000 (18:55 +0200)]
Replace regression.q with regression.c

Reviewed-by: Jason Stover
12 years agoPspppireSelector: Prevent selection of disallowed entries. 20120412030503/pspp 20120413030504/pspp
John Darrington [Tue, 10 Apr 2012 20:12:19 +0000 (22:12 +0200)]
PspppireSelector: Prevent selection of disallowed entries.

We had been relying on the deselected state of the widget to prevent
selection with the "allow" predicate was false.   But clicking the
widget itself isn't the only way items can be selected (double clicking
the item for example).   This change adds a test at a lower level to
prevent selection of disallowed items.

12 years agoi18n: Factor out encoding categories from GUI into common code. 20120411030502/pspp
Ben Pfaff [Wed, 11 Apr 2012 06:18:40 +0000 (23:18 -0700)]
i18n: Factor out encoding categories from GUI into common code.

It would make sense to use these encodings and categories elsewhere.

12 years agosys-file-reader: Remove obsolete comment.
Ben Pfaff [Wed, 11 Apr 2012 06:17:14 +0000 (23:17 -0700)]
sys-file-reader: Remove obsolete comment.

The open_text_record() function does the recoding, so there's no
need for parse_long_var_name_map() to do any recoding of its own.

12 years agoExamine dialog: Allow only numeric variables to be selected as the dependent variable
John Darrington [Mon, 9 Apr 2012 19:50:20 +0000 (21:50 +0200)]
Examine dialog: Allow only numeric variables to be selected as the dependent variable

12 years agoExamine gui: remove var-is-numeric predicate from dict-view 20120410030503/pspp
John Darrington [Mon, 9 Apr 2012 13:45:11 +0000 (15:45 +0200)]
Examine gui: remove var-is-numeric predicate from dict-view

Since the factor variable can be string, this predicate is not appropriate.

12 years agoEXAMINE: Implement MISSING=REPORT option
John Darrington [Mon, 9 Apr 2012 10:51:05 +0000 (12:51 +0200)]
EXAMINE: Implement MISSING=REPORT option

12 years agocategoricals.c: Distinguish between missing values on the dependent and categorical...
John Darrington [Mon, 9 Apr 2012 09:53:24 +0000 (11:53 +0200)]
categoricals.c: Distinguish between missing values on the dependent and categorical variables.

Needed for upcomming change to the EXAMINE command.

12 years agoRemove KMO and Bartlett statistics from bug check test. 20120409030503/pspp
John Darrington [Sun, 8 Apr 2012 15:59:10 +0000 (17:59 +0200)]
Remove KMO and Bartlett statistics from bug check test.

Commit 6b351b28f47c1dfb1ce697eb50cd218b50122fd0 added a test for a bug
fix.  This test however included a display of a the KMO and Bartlett
test statistics, which in this case are unstable since the determinant
of the correlation matrix is close to zero.   These statistic are not
relevant to the bug being tested.  So this change removes them.

12 years agoDocumentation: Yet more markup 20120406030503/pspp 20120407030503/pspp 20120408030503/pspp
John Darrington [Wed, 4 Apr 2012 23:06:29 +0000 (01:06 +0200)]
Documentation: Yet more markup

12 years agoFACTOR: Fix crash with /ROTATION=NOROTATE. 20120404030503/pspp 20120405030503/pspp
Ben Pfaff [Wed, 4 Apr 2012 04:57:18 +0000 (21:57 -0700)]
FACTOR: Fix crash with /ROTATION=NOROTATE.

Reported by abderrahim arif <arifabderrahim5@gmail.com>
at http://lists.gnu.org/archive/html/bug-gnu-pspp/2012-04/msg00001.html

12 years agospreadlevel-plot: Fix missing #include <stdlib.h>
Ben Pfaff [Wed, 4 Apr 2012 04:14:03 +0000 (21:14 -0700)]
spreadlevel-plot: Fix missing #include <stdlib.h>

Reported by GCC:

spreadlevel-plot.c: In function ‘spreadlevel_plot_chart_destroy’:
spreadlevel-plot.c:84: error: implicit declaration of function
‘free’
preadlevel-plot.c:84: error: incompatible implicit declaration of
built-in function ‘free’

12 years agoText Importer: Added filter to the file chooser. 20120401030502/pspp 20120402030503/pspp 20120403030503/pspp
John Darrington [Sun, 1 Apr 2012 08:34:28 +0000 (10:34 +0200)]
Text Importer: Added filter to the file chooser.

Added a FileChooserFilter to the file chooser for importing text files.
Closes bug #36054

12 years agoCorrected bug in chart rendering which caused the ordinate label to never get displayed
John Darrington [Sun, 1 Apr 2012 07:15:26 +0000 (09:15 +0200)]
Corrected bug in chart rendering which caused the ordinate label to never get displayed

12 years agoCorrect typo in examine.ui
John Darrington [Sat, 31 Mar 2012 20:14:11 +0000 (22:14 +0200)]
Correct typo in examine.ui

12 years agoExamine: Added the /PLOT=SPREADLEVEL option
John Darrington [Sat, 31 Mar 2012 15:06:52 +0000 (17:06 +0200)]
Examine: Added the /PLOT=SPREADLEVEL option

12 years agoexamine.c: Fix a seg fault which caused a crash when recovering from bad syntax 20120331030503/pspp
John Darrington [Sat, 31 Mar 2012 08:21:02 +0000 (10:21 +0200)]
examine.c: Fix a seg fault which caused a crash when recovering from bad syntax

12 years agoExplore Dialog: Replace add hoc functions with the new DialogAction class
John Darrington [Sat, 31 Mar 2012 06:41:27 +0000 (08:41 +0200)]
Explore Dialog: Replace add hoc functions with the new DialogAction class

12 years agoDocumentation: More markup 20120330030503/pspp
John Darrington [Thu, 29 Mar 2012 20:12:46 +0000 (22:12 +0200)]
Documentation: More markup

12 years agoDocumentation: New markup for subcommands 20120329030502/pspp
John Darrington [Wed, 28 Mar 2012 20:36:55 +0000 (22:36 +0200)]
Documentation: New markup for subcommands

12 years agoDocumentation: Add a @pspp macro
John Darrington [Wed, 28 Mar 2012 19:18:18 +0000 (21:18 +0200)]
Documentation: Add a @pspp macro

12 years agoHistograms: Fix the alignment case where little slack exists on either side of the...
John Darrington [Tue, 27 Mar 2012 19:28:27 +0000 (21:28 +0200)]
Histograms: Fix the alignment case where little slack exists on either side of the data

12 years agoCorrect errors in histogram geometry calcs and add test 20120328030508/pspp
John Darrington [Tue, 27 Mar 2012 01:46:08 +0000 (03:46 +0200)]
Correct errors in histogram geometry calcs and add test

12 years agoFix crash on datasets with single values (again) 20120327030501/pspp
John Darrington [Mon, 26 Mar 2012 19:47:41 +0000 (21:47 +0200)]
Fix crash on datasets with single values (again)

12 years agoReadjust histogram parameters if on the first attempt, the number of bins is too...
John Darrington [Mon, 26 Mar 2012 02:56:38 +0000 (04:56 +0200)]
Readjust histogram parameters if on the first attempt, the number of bins is too large

12 years agoHistograms: Improve the code calculating the bin ranges and comment
John Darrington [Mon, 26 Mar 2012 01:18:40 +0000 (03:18 +0200)]
Histograms: Improve the code calculating the bin ranges and comment

12 years agoSimplify algebra
John Darrington [Sun, 25 Mar 2012 23:30:56 +0000 (01:30 +0200)]
Simplify algebra

12 years agoxrchart_write_scale: Use integer arithmetic
John Darrington [Sun, 25 Mar 2012 22:37:07 +0000 (00:37 +0200)]
xrchart_write_scale: Use integer arithmetic

12 years agoExamine: Print extreme values using the print format of the variable
John Darrington [Sun, 25 Mar 2012 21:30:26 +0000 (23:30 +0200)]
Examine: Print extreme values using the print format of the variable

12 years agoHistogram calculations: Use integer arithmetic
John Darrington [Mon, 26 Mar 2012 00:52:18 +0000 (01:52 +0100)]
Histogram calculations: Use integer arithmetic

There is no advantage in using floating point numbers in this code.

12 years agoBoxplot: Remove function boxplot_draw_yscale
John Darrington [Sun, 25 Mar 2012 23:55:39 +0000 (00:55 +0100)]
Boxplot: Remove function boxplot_draw_yscale

An identical function exists in a lower level, so use that instead.

12 years agoHistogram plotting: (hist_draw_bar) Added label argument. 20120326030502/pspp
John Darrington [Sun, 25 Mar 2012 10:10:53 +0000 (12:10 +0200)]
Histogram plotting: (hist_draw_bar) Added label argument.

Added a boolean argument to indicate whether or not a histogram bar
should be labelled.  Labelling every bar leads to overprinted and
hence illegible labels.

12 years agoHistograms: Put hard limit on the number of histogram bins
John Darrington [Sun, 25 Mar 2012 08:47:27 +0000 (10:47 +0200)]
Histograms: Put hard limit on the number of histogram bins

Histograms with less than one bin are not useful (and tend to cause crashes!)
Histograms with very large numbers of bins are also of little use, and cause
other implementation headaches.

12 years agoCairo charts: Move check for near zero values to inside of draw_tick 20120325030503/pspp
John Darrington [Sun, 25 Mar 2012 07:45:57 +0000 (09:45 +0200)]
Cairo charts: Move check for near zero values to inside of draw_tick

12 years agoWhitespace changes only
John Darrington [Sun, 25 Mar 2012 07:18:54 +0000 (09:18 +0200)]
Whitespace changes only

12 years agoFix a crashes where histograms of a single datum were trying to be created.
John Darrington [Sun, 25 Mar 2012 07:14:39 +0000 (09:14 +0200)]
Fix a crashes where histograms of a single datum were trying to be created.

Reported-by: Ben Pfaff.
12 years agoFixed yet another problem caused by use of abs where fabs is appropriate
John Darrington [Sat, 24 Mar 2012 14:51:40 +0000 (15:51 +0100)]
Fixed yet another problem caused by use of abs where fabs is appropriate

12 years agoMark histogram legend strings for translation
John Darrington [Sat, 24 Mar 2012 12:55:08 +0000 (13:55 +0100)]
Mark histogram legend strings for translation

12 years agoAvoid floating point precision problems in chart scale 20120324030503/pspp
John Darrington [Sat, 24 Mar 2012 09:10:19 +0000 (10:10 +0100)]
Avoid floating point precision problems in chart scale

Some charts were being drawn with a tick mark at positions
close to but not exactly zero Eg: 2.187433298e-27
This change avoids this problem.

12 years agocairo-chart.c: new struct xrchart_axis
John Darrington [Sat, 24 Mar 2012 08:53:49 +0000 (09:53 +0100)]
cairo-chart.c: new struct xrchart_axis

This allows a bit of refactoring.

12 years agoHistograms: Ensure that the bins are aligned to an odd number of half bin widths
John Darrington [Sat, 24 Mar 2012 06:42:51 +0000 (07:42 +0100)]
Histograms:  Ensure that the bins are aligned to an odd number of half bin widths

This has the benefit that the centres of the bins are aligned to integer multiples
of bin widths, and thus the labels are shorter.  For example, instead of labels
-1.5 -0.5 0.5 1.5 2.5 we get -2 -1 0 1 2 which is more aesthetically pleasing.

12 years agoCorrected previous commit
John Darrington [Fri, 23 Mar 2012 21:28:37 +0000 (22:28 +0100)]
Corrected previous commit

12 years agochart_rounded_tick: Avoid arithmetic problems with inputs close to zero
John Darrington [Fri, 23 Mar 2012 10:15:11 +0000 (11:15 +0100)]
chart_rounded_tick: Avoid arithmetic problems with inputs close to zero

12 years agoUpdate the BUGS chapter in the manual
John Darrington [Fri, 23 Mar 2012 07:48:33 +0000 (08:48 +0100)]
Update the BUGS chapter in the manual

12 years agoUpdated the documentation for EXAMINE
John Darrington [Fri, 23 Mar 2012 07:26:31 +0000 (08:26 +0100)]
Updated the documentation for EXAMINE

12 years agoImprove the way in which histogram bin ranges are chosen 20120323030502/pspp
John Darrington [Thu, 22 Mar 2012 21:00:01 +0000 (22:00 +0100)]
Improve the way in which histogram bin ranges are chosen

12 years agoEXAMINE: Allow the /ID subcommand to take a non-numeric variable
John Darrington [Thu, 22 Mar 2012 09:56:01 +0000 (10:56 +0100)]
EXAMINE: Allow the /ID subcommand to take a non-numeric variable

12 years agoCorrect geometrical error plotting histograms
John Darrington [Tue, 20 Mar 2012 18:49:05 +0000 (19:49 +0100)]
Correct geometrical error plotting histograms

12 years agohistogram.c: histogram_create now takes bin width instead of the number of bins
John Darrington [Tue, 20 Mar 2012 18:03:09 +0000 (19:03 +0100)]
histogram.c: histogram_create now takes bin width instead of the number of bins

12 years agoNEWS: Mention changes to EXAMINE
John Darrington [Tue, 20 Mar 2012 17:33:13 +0000 (18:33 +0100)]
NEWS: Mention changes to EXAMINE

12 years agosort: Allocate space for sort buffers on demand, not in advance. 20120319030503/pspp 20120320030503/pspp 20120321030502/pspp 20120322030503/pspp
Ben Pfaff [Mon, 19 Mar 2012 04:40:49 +0000 (21:40 -0700)]
sort: Allocate space for sort buffers on demand, not in advance.

Each call to sort_create_writer() was allocating possibly a very
large amount of memory when in many cases only a small fraction of
that memory would actually be used.  This commit switches to
allocating a small amount of memory and gradually increasing the
allocation on demand.

Reported by John Darrington.
Bug #35887.

12 years agoRelax NPAR SIGN test
John Darrington [Sun, 18 Mar 2012 21:20:11 +0000 (22:20 +0100)]
Relax NPAR SIGN test

12 years agoImprove translator comments.
John Darrington [Sun, 18 Mar 2012 21:03:33 +0000 (22:03 +0100)]
Improve translator comments.

Apparently some of the TRANSLATOR comments were not clear enough. This
change makes it less easy for translators to become confused.

12 years agoFix compiler warnings 20120318030502/pspp
John Darrington [Sun, 18 Mar 2012 07:56:10 +0000 (08:56 +0100)]
Fix compiler warnings

12 years agoWhitespace changes only
John Darrington [Sun, 18 Mar 2012 07:32:58 +0000 (08:32 +0100)]
Whitespace changes only

12 years agoexamine.c: Rename xxx0 and xxx1 to something more sensible
John Darrington [Sun, 18 Mar 2012 07:28:57 +0000 (08:28 +0100)]
examine.c: Rename xxx0 and xxx1 to something more sensible

12 years agoods-reader: Fix memory leak.
Ben Pfaff [Sat, 17 Mar 2012 19:07:53 +0000 (12:07 -0700)]
ods-reader: Fix memory leak.

Found by valgrind.

12 years agoFix memory leaks in the new EXAMINE implementation.
John Darrington [Sat, 17 Mar 2012 12:09:50 +0000 (13:09 +0100)]
Fix memory leaks in the new EXAMINE implementation.

12 years agoEXAMINE: Complete re-implementation 20120317030502/pspp
John Darrington [Fri, 16 Mar 2012 19:37:21 +0000 (20:37 +0100)]
EXAMINE: Complete re-implementation

This change is a complete re-implementation of the EXAMINE command.
It includes a few minor changes to the tests, to accommodate slight
changes in semantics (to bring it in line with other software).
Closes bug #30732

12 years agoorder_stats: New function order_state_accumulate_idx
John Darrington [Fri, 16 Mar 2012 18:00:22 +0000 (19:00 +0100)]
order_stats: New function order_state_accumulate_idx

12 years agoCategoricals: Dont crash when getting non-existant user data
John Darrington [Fri, 16 Mar 2012 13:43:06 +0000 (14:43 +0100)]
Categoricals: Dont crash when getting non-existant user data