pspp
15 years agoMake psppire_sheet_get_attributes a private function
John Darrington [Mon, 16 Mar 2009 22:01:15 +0000 (07:01 +0900)]
Make psppire_sheet_get_attributes a private function

15 years agoUse GtkHPaned in variable info dialog
John Darrington [Mon, 16 Mar 2009 21:37:11 +0000 (06:37 +0900)]
Use GtkHPaned in variable info dialog

Moved variable info dialog spec from psppire.glade into
its own file.  Added a "sliding" property to PsppireDialog
which causes Gtk[VH]Paned to be used instead of Gtk[VH]Box.
Set the sliding property for the variable info dialog.

15 years agoIndicate filtered cases in data sheet.
John Darrington [Mon, 16 Mar 2009 09:02:24 +0000 (18:02 +0900)]
Indicate filtered cases in data sheet.

Add feature to indicate filtered out cases
on data sheet.  Closes bug #20828

15 years agoPrevent wierd focusing issues when changing cell
John Darrington [Mon, 16 Mar 2009 00:31:21 +0000 (09:31 +0900)]
Prevent wierd focusing issues when changing cell

15 years agoEmit variable callback even if label is null.
John Darrington [Sun, 15 Mar 2009 22:50:58 +0000 (07:50 +0900)]
Emit variable callback even if label is null.

When a label was set to null, previously no callback
was emitted.  Fixes bug #25872

15 years agoFocus var/data sheet after switching tabs
John Darrington [Sun, 15 Mar 2009 22:15:00 +0000 (07:15 +0900)]
Focus var/data sheet after switching tabs

15 years agoConfig option to prefer variable labels vs. names
John Darrington [Sun, 15 Mar 2009 21:58:34 +0000 (06:58 +0900)]
Config option to prefer variable labels vs. names

Added user config option to select whether dictionary
treeviews in dialog boxes should prefer variable labels
over names.   Default is names.

15 years agoMerge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Sat, 14 Mar 2009 23:24:12 +0000 (08:24 +0900)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp

15 years agoSave windows' maximized status as well as their geometry.
John Darrington [Sat, 14 Mar 2009 22:59:49 +0000 (07:59 +0900)]
Save windows' maximized status as well as their geometry.

15 years agocovariance-matrix.c (is_origin): New function
Jason H Stover [Fri, 13 Mar 2009 21:28:37 +0000 (17:28 -0400)]
covariance-matrix.c (is_origin): New function

covariance-matrix.c (get_exact_subscript): New function

covariance-matrix.c (covariance_matrix_insert): Use get_exact_subscript.

covariance-matrix.c (is_covariance_contributor): New function.

covariance-matrix.c (covariance_accumulator_to_matrix): Iterate over
the rows and columns of the covariance matrix, and the hash table to
accumulate values for each entry of the matrix.

design-matrix.c (design_matrix_get_n_cols): New function

design-matrix.c (design_matrix_get_n_rows): New function

15 years agoFix critical when opening fonts dialog
John Darrington [Fri, 13 Mar 2009 03:52:51 +0000 (12:52 +0900)]
Fix critical when opening fonts dialog

15 years agoDon't proxy button-open to action_data_open.
John Darrington [Fri, 13 Mar 2009 00:35:48 +0000 (09:35 +0900)]
Don't proxy button-open to action_data_open.

Connect to the clicked signal instead, because we
don't want the icon, label etc. to assume that of
the action.  Closes bug #25817

15 years agoFixed problems getting accelerator keys to work in data editor
John Darrington [Thu, 12 Mar 2009 23:19:25 +0000 (08:19 +0900)]
Fixed problems getting accelerator keys to work in data editor

15 years agoSplit data-editor.glade into two files.
John Darrington [Thu, 12 Mar 2009 23:09:23 +0000 (08:09 +0900)]
Split data-editor.glade into two files.

Seperated the glade specification of the data editor
widgets from those of the popup dialogs in the
variable sheet.

15 years agoRe-arrange data-editor widgets.
John Darrington [Thu, 12 Mar 2009 22:17:26 +0000 (07:17 +0900)]
Re-arrange data-editor widgets.

Made the data editor somewhat more HIG
compliant.

15 years agoFix generation of email address
John Darrington [Wed, 11 Mar 2009 23:44:16 +0000 (08:44 +0900)]
Fix generation of email address

15 years agoRemove repeated '@setfilename' lines from Texinfo source.
John Darrington [Wed, 11 Mar 2009 21:57:42 +0000 (06:57 +0900)]
Remove repeated '@setfilename' lines from Texinfo source.

Remove lines '@setfilename ignored' from .texi files.
The Texinfo manual doesn't mention that more than
one @setfilename argument is allowed, and having
more than one seems to produce confusing docbook
output.

15 years agoA simpler way to avoid one makeinfo bug
John Darrington [Wed, 11 Mar 2009 13:47:24 +0000 (22:47 +0900)]
A simpler way to avoid one makeinfo bug

15 years agoConvert manual to docbook and load that in yelp.
John Darrington [Wed, 11 Mar 2009 10:29:31 +0000 (19:29 +0900)]
Convert manual to docbook and load that in yelp.

Instead of yelp loading info files, have it load
docbook xml files instead.

15 years agoInclude gtk-builder-convert to process .glade files
John Darrington [Tue, 10 Mar 2009 22:27:44 +0000 (07:27 +0900)]
Include gtk-builder-convert to process .glade files

The gtk-builder-convert shipped with some older versions
of gtk+ has proved problematic.  This change includes a
"known good" version, and builds using it.

15 years agoUse double precision floats throughout psppire-axis-*
John Darrington [Tue, 10 Mar 2009 07:22:46 +0000 (16:22 +0900)]
Use double precision floats throughout psppire-axis-*

Change some instances of float to double, to avoid
loss of precision when calculating pixel positions.
Closes bug #25099

15 years agoAllow make clean to work without perl-module/Makefile
John Darrington [Sun, 8 Mar 2009 06:52:54 +0000 (15:52 +0900)]
Allow make clean to work without perl-module/Makefile

15 years agoDefault response to be same as Cancel
John Darrington [Sat, 7 Mar 2009 11:54:21 +0000 (20:54 +0900)]
Default response to be same as Cancel

15 years agoMade the save-before-quit dialog more HIG compliant.
John Darrington [Sat, 7 Mar 2009 11:24:21 +0000 (20:24 +0900)]
Made the save-before-quit dialog more HIG compliant.

Thanks to jeff<kiddo> for the suggestion.  Closes patch #6749

15 years agoRename identifier and add timestamp for unsaved flag.
John Darrington [Sat, 7 Mar 2009 09:08:49 +0000 (18:08 +0900)]
Rename identifier and add timestamp for unsaved flag.

15 years agoBetter abstraction of the unsaved window status.
John Darrington [Sat, 7 Mar 2009 08:54:16 +0000 (17:54 +0900)]
Better abstraction of the unsaved window status.

Implementations can now only set unsaved to true.
Only the abstract base class can set it to false,
which it does when the window is saved.

15 years agoAdd libpspp-core as a dependency of the perl module
John Darrington [Sat, 7 Mar 2009 03:23:07 +0000 (12:23 +0900)]
Add libpspp-core as a dependency of the perl module

15 years agoRemove some unnecessary casts
John Darrington [Fri, 6 Mar 2009 12:37:49 +0000 (21:37 +0900)]
Remove some unnecessary casts

15 years agoRemove some unused variables
John Darrington [Fri, 6 Mar 2009 12:27:24 +0000 (21:27 +0900)]
Remove some unused variables

15 years agoTab key now moves to next row, upon end of line.
John Darrington [Fri, 6 Mar 2009 02:35:47 +0000 (11:35 +0900)]
Tab key now moves to next row, upon end of line.

This change alters the behaviour of the tab key
in the variable and data sheet.  When using the
tab key, if the last cell in a row is encountered,
it will now cause the active cell to move to the
first cell in the next row.  Fixes bug #25168

15 years agoAdd new dependency to gui-tools
John Darrington [Fri, 6 Mar 2009 01:33:59 +0000 (10:33 +0900)]
Add new dependency to gui-tools

15 years agoFix problem focusing variable sheet
John Darrington [Thu, 5 Mar 2009 09:14:45 +0000 (18:14 +0900)]
Fix problem focusing variable sheet

15 years agoRefactor Data and Syntax Loading
John Darrington [Thu, 5 Mar 2009 05:35:25 +0000 (14:35 +0900)]
Refactor Data and Syntax Loading

15 years agoImprove behaviour of recent file lists.
John Darrington [Wed, 4 Mar 2009 13:19:47 +0000 (22:19 +0900)]
Improve behaviour of recent file lists.

The code now deletes an item from the recent list, after
an unsuccessfull attempt to open it.
They are now sorted in most recently used order.

15 years agoAdded some spacing between widgets
John Darrington [Wed, 4 Mar 2009 05:03:08 +0000 (14:03 +0900)]
Added some spacing between widgets

15 years agoConvert variable name to utf8 before displaying in tooltips
John Darrington [Wed, 4 Mar 2009 01:15:18 +0000 (10:15 +0900)]
Convert variable name to utf8 before displaying in tooltips

15 years agoSave and recall window geometry for dialog boxes
John Darrington [Wed, 4 Mar 2009 00:54:58 +0000 (09:54 +0900)]
Save and recall window geometry for dialog boxes

15 years agoConvenience functions for setting/retrieving window geometry.
John Darrington [Wed, 4 Mar 2009 00:22:46 +0000 (09:22 +0900)]
Convenience functions for setting/retrieving window geometry.

Created a pair of convenience functions in psppire-conf.c to
perform saving and loading of window geometry.  Updated
psppire-window.c to use them.

15 years agoAdded a simple singleton object for user preference storage.
John Darrington [Tue, 3 Mar 2009 11:47:40 +0000 (20:47 +0900)]
Added a simple singleton object for user preference storage.

15 years agoAdded stock icon to About menuitem
John Darrington [Mon, 2 Mar 2009 22:40:30 +0000 (07:40 +0900)]
Added stock icon to About menuitem

15 years agoMerge branch 'master'; commit 'origin/stable'
John Darrington [Mon, 2 Mar 2009 22:12:26 +0000 (07:12 +0900)]
Merge branch 'master'; commit 'origin/stable'

Conflicts:

src/math/linreg.h
src/ui/gui/psppire-data-editor.c

15 years agoSet icon for text import assistant window
John Darrington [Mon, 2 Mar 2009 11:56:30 +0000 (20:56 +0900)]
Set icon for text import assistant window

15 years agoRemove reference to 'struct data_editor' which is a type which no longer exists
John Darrington [Mon, 2 Mar 2009 11:51:04 +0000 (20:51 +0900)]
Remove reference to 'struct data_editor' which is a type which no longer exists

15 years agoRemove preprocessor condition which could no longer be satistified
John Darrington [Mon, 2 Mar 2009 11:47:59 +0000 (20:47 +0900)]
Remove preprocessor condition which could no longer be satistified

15 years agoAdded a .desktop file.
John Darrington [Mon, 2 Mar 2009 11:17:18 +0000 (20:17 +0900)]
Added a .desktop file.

Added a desktop file for the benefit of operating systems which use them.
Thanks to James R. Van Zandt for providing this.

15 years agoRewrote the recent file manager stuff
John Darrington [Mon, 2 Mar 2009 10:47:07 +0000 (19:47 +0900)]
Rewrote the recent file manager stuff

15 years agoRename get_object_assert to get_action_assert
John Darrington [Mon, 2 Mar 2009 07:58:01 +0000 (16:58 +0900)]
Rename get_object_assert to get_action_assert

15 years agoSave window contents on closing.
John Darrington [Mon, 2 Mar 2009 06:51:53 +0000 (15:51 +0900)]
Save window contents on closing.

15 years agoRemove references to libglade from config and documentation
John Darrington [Thu, 26 Feb 2009 12:00:41 +0000 (21:00 +0900)]
Remove references to libglade from config and documentation

15 years agoFix crash which occurred under mingw.
John Darrington [Wed, 25 Feb 2009 07:52:31 +0000 (16:52 +0900)]
Fix crash which occurred under mingw.

Thanks to Michel Boaventu for reporting and diagnosing this problem.

15 years agoFix display of window icon
John Darrington [Wed, 25 Feb 2009 07:45:06 +0000 (16:45 +0900)]
Fix display of window icon

15 years agoChange argument type of pspp_window_register_foreach
John Darrington [Wed, 25 Feb 2009 01:20:14 +0000 (10:20 +0900)]
Change argument type of pspp_window_register_foreach

15 years agoPrompt for save on closing data window
John Darrington [Wed, 25 Feb 2009 00:54:45 +0000 (09:54 +0900)]
Prompt for save on closing data window

15 years agoQuit the application after closing the last window
John Darrington [Tue, 24 Feb 2009 22:26:03 +0000 (07:26 +0900)]
Quit the application after closing the last window

15 years agoMade button-box an abstract type
John Darrington [Tue, 24 Feb 2009 12:29:24 +0000 (21:29 +0900)]
Made button-box an abstract type

15 years agoMade psppire-window an abstract type
John Darrington [Tue, 24 Feb 2009 12:02:39 +0000 (21:02 +0900)]
Made psppire-window an abstract type

15 years agopreregister custom widgets so that GtkBuilder can find them
John Darrington [Tue, 24 Feb 2009 05:08:11 +0000 (14:08 +0900)]
preregister custom widgets so that GtkBuilder can find them

15 years agoInitialise the quote_combobox list manually.
John Darrington [Tue, 24 Feb 2009 02:48:18 +0000 (11:48 +0900)]
Initialise the quote_combobox list manually.

GtkBuilder seems incapable of setting a GtkListStore
containing single quote characters.  So do this in C.

15 years agoRemove last vestiges of libglade dependencies
John Darrington [Tue, 24 Feb 2009 02:15:55 +0000 (11:15 +0900)]
Remove last vestiges of libglade dependencies

15 years agoRemove glade version of connect_help
John Darrington [Tue, 24 Feb 2009 01:07:02 +0000 (10:07 +0900)]
Remove glade version of connect_help

15 years agoRemove used #include
John Darrington [Tue, 24 Feb 2009 01:02:27 +0000 (10:02 +0900)]
Remove used #include

15 years agoConvert descriptives dialog to GtkBuilder
John Darrington [Tue, 24 Feb 2009 01:00:30 +0000 (10:00 +0900)]
Convert descriptives dialog to GtkBuilder

15 years agoMerge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Mon, 23 Feb 2009 22:46:25 +0000 (07:46 +0900)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp

15 years agocovariance-matrix.c: (covariance_accumulator_hash) For categorical
Jason H Stover [Mon, 23 Feb 2009 22:27:07 +0000 (17:27 -0500)]
covariance-matrix.c: (covariance_accumulator_hash) For categorical
variables, eliminate temporary string by using hsh_hash_bytes and XOR.

15 years agoremove .glade files from installed file list
John Darrington [Mon, 23 Feb 2009 22:25:59 +0000 (07:25 +0900)]
remove .glade files from installed file list

15 years agofix warnings
John Darrington [Mon, 23 Feb 2009 22:07:32 +0000 (07:07 +0900)]
fix warnings

15 years agoMerge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Mon, 23 Feb 2009 21:57:42 +0000 (06:57 +0900)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp

15 years agoRemove remaining GladeXML references from psppire-data-window.c
John Darrington [Mon, 23 Feb 2009 21:55:53 +0000 (06:55 +0900)]
Remove remaining GladeXML references from psppire-data-window.c

15 years agoOops
Jason H Stover [Mon, 23 Feb 2009 16:48:34 +0000 (11:48 -0500)]
Oops

15 years agolinreg.c: (pspp_linreg_mse) New accessor function
Jason H Stover [Mon, 23 Feb 2009 16:23:30 +0000 (11:23 -0500)]
linreg.c: (pspp_linreg_mse) New accessor function

regression.q: (reg_stats_r) Report root MSE instead of std. error of
R-squared. Fixes bug 25677.

15 years agoFix bug 25677
Jason Stover [Mon, 23 Feb 2009 16:14:45 +0000 (11:14 -0500)]
Fix bug 25677

15 years agoRemoved most uses of GladeXML from data window
John Darrington [Mon, 23 Feb 2009 12:08:29 +0000 (21:08 +0900)]
Removed most uses of GladeXML from data window

15 years agoSet the filename on loading a new file
John Darrington [Mon, 23 Feb 2009 04:29:17 +0000 (13:29 +0900)]
Set the filename on loading a new file

15 years agoRefactor code from psppire.c
John Darrington [Mon, 23 Feb 2009 03:09:13 +0000 (12:09 +0900)]
Refactor code from psppire.c

Instead of using custom code for loading files given
on the command line, instead use code from psppire-data-window.c

15 years agoUnsaved indicator for data files.
John Darrington [Mon, 23 Feb 2009 02:35:32 +0000 (11:35 +0900)]
Unsaved indicator for data files.

Add callback to dictionary and dataset.  Use these callbacks
to set  a flag for the gui to indicate when a data file is
saved or not saved.

15 years agoAdd a set_unsaved method.
John Darrington [Sun, 22 Feb 2009 23:43:23 +0000 (08:43 +0900)]
Add a set_unsaved method.

Added a psppire_window_set_unsaved method, which can be
used to indicate that the contents of a window has been
modified since it was last saved.
Use this method for the syntax window.

15 years agoReorder sources list
John Darrington [Sun, 22 Feb 2009 22:27:48 +0000 (07:27 +0900)]
Reorder sources list

Try to keep them alphabetical.

15 years agoPrevent data sheet from traversing into an invalid column.
John Darrington [Sun, 22 Feb 2009 07:36:40 +0000 (16:36 +0900)]
Prevent data sheet from traversing into an invalid column.

Thanks to James R. Van Zandt for reporting this problem.

15 years agoMerge commit 'window-manager/master'
John Darrington [Sun, 22 Feb 2009 05:32:33 +0000 (14:32 +0900)]
Merge commit 'window-manager/master'

15 years agoFix problems with make distcheck
John Darrington [Sun, 22 Feb 2009 05:30:11 +0000 (14:30 +0900)]
Fix problems with make distcheck

15 years agoFix signature of connect_help
John Darrington [Sun, 22 Feb 2009 02:38:12 +0000 (11:38 +0900)]
Fix signature of connect_help

15 years agoReplace "usage" property with a "description" property
John Darrington [Sun, 22 Feb 2009 02:28:16 +0000 (11:28 +0900)]
Replace "usage" property with a "description" property

15 years agoRe enable the connect_help function
John Darrington [Sat, 21 Feb 2009 04:04:05 +0000 (13:04 +0900)]
Re enable the connect_help function

15 years agoconvert labels and missing values dialogs to GtkBuilder
John Darrington [Sat, 21 Feb 2009 02:24:58 +0000 (11:24 +0900)]
convert labels and missing values dialogs to GtkBuilder

15 years agoSet more appropriate default names for Syntax and Output windows.
John Darrington [Sat, 21 Feb 2009 01:54:51 +0000 (10:54 +0900)]
Set more appropriate default names for Syntax and Output windows.

Syntax windows now default to "Syntax" and output windows to "Output".

15 years agoConverted output-viewer.glade to GtkBuilder
John Darrington [Sat, 21 Feb 2009 00:32:24 +0000 (09:32 +0900)]
Converted output-viewer.glade to GtkBuilder

15 years agocovariance-matrix.c (covariance_matrix_init): pass pointer to
Jason H Stover [Fri, 20 Feb 2009 21:20:24 +0000 (16:20 -0500)]
covariance-matrix.c (covariance_matrix_init): pass pointer to
result->n_variables instead of stack variable n_variables.

covariance-matrix.c (covariance_hsh_create): Accept pointer to number
of variables instead of size_t.

15 years agoConverted syntax-editor definition from libglade to gtkbuilder
John Darrington [Fri, 20 Feb 2009 05:28:16 +0000 (14:28 +0900)]
Converted syntax-editor definition from libglade to gtkbuilder

15 years agoMerge branch 'master' of /home/john/Development/pspp-window-manager
John Darrington [Fri, 20 Feb 2009 01:26:17 +0000 (10:26 +0900)]
Merge branch 'master' of /home/john/Development/pspp-window-manager

Conflicts:

src/ui/gui/crosstabs-dialog.c
src/ui/gui/helper.c

15 years agoMerge commit 'HEAD'; commit 'savannah/master'
John Darrington [Fri, 20 Feb 2009 01:22:49 +0000 (10:22 +0900)]
Merge commit 'HEAD'; commit 'savannah/master'

Conflicts:

src/ui/gui/crosstabs-dialog.c
src/ui/gui/goto-case-dialog.c
src/ui/gui/helper.c
src/ui/gui/output-viewer.c
src/ui/gui/output-viewer.h
src/ui/gui/psppire.c
src/ui/gui/regression-dialog.c

15 years agoUse the sum of weights of only those cases which are valid to
John Darrington [Tue, 10 Feb 2009 00:55:58 +0000 (09:55 +0900)]
Use the sum of weights of only those cases which are valid to
calculate percentiles.

Fixes bug #25522

15 years agoSkip the SAVE subcommand if no valid data are present, instead of crashing.
Jason H Stover [Mon, 9 Feb 2009 16:27:00 +0000 (11:27 -0500)]
Skip the SAVE subcommand if no valid data are present, instead of crashing.
Fix for bug 25523

15 years agoUse c-ctype functions in lexer.
John Darrington [Sun, 8 Feb 2009 10:22:05 +0000 (19:22 +0900)]
Use c-ctype functions in lexer.

Lexical analysis should not depend upon the locale,
so change is* functions from ctype.h to the c_is*
counterparts from gnulib.  This should avoid potential
i18n issues.

15 years agoPrevent test failure when non-English language selected
John Darrington [Sun, 8 Feb 2009 08:50:25 +0000 (17:50 +0900)]
Prevent test failure when non-English language selected

15 years agoAdded a brief description of the --enable-relocatable flag to INSTALL
John Darrington [Sun, 8 Feb 2009 06:33:48 +0000 (15:33 +0900)]
Added a brief description of the --enable-relocatable flag to INSTALL

15 years agoRelocate path names when searching for files.
John Darrington [Sat, 7 Feb 2009 22:51:13 +0000 (07:51 +0900)]
Relocate path names when searching for files.

When searching for configuration files etc. in a
search path, relocate the filenames before testing
for their existence.  Closes bug #25508

15 years agoAdded LIB_CLOSE to link flags for test programs.
John Darrington [Sat, 7 Feb 2009 07:41:08 +0000 (16:41 +0900)]
Added LIB_CLOSE to link flags for test programs.

This allows all binaries needed by "make check" to be built.

15 years agoAdd LIB_CLOSE to link command for dissect-sysfile program.
John Darrington [Sat, 7 Feb 2009 07:32:03 +0000 (16:32 +0900)]
Add LIB_CLOSE to link command for dissect-sysfile program.

15 years agoLink against -lws2_32 on Windows.
Ben Pfaff [Sat, 7 Feb 2009 05:49:44 +0000 (21:49 -0800)]
Link against -lws2_32 on Windows.

Gnulib commit df1da811, "Fix link errors on Windows when close
module is used", adds a Makefile variable $(LIB_CLOSE) that expands
to -lws2_32.  This commit adds that variable to the linker command
line.

It might not be necessary to add this to both pspp and psppire,
but it shouldn't hurt.

15 years agoFix minor build issues.
John Darrington [Fri, 6 Feb 2009 09:55:54 +0000 (18:55 +0900)]
Fix minor build issues.

Remove dependence on lib/misc which no longer exists.
Add new file src/math/wilcoxon-sig.[ch] to makefile.