pspp-builds.git
16 years agoRemove flicker when redrawing row/column titles
John Darrington [Mon, 24 Nov 2008 04:10:41 +0000 (13:10 +0900)]
Remove flicker when redrawing row/column titles

16 years agoFix crash
John Darrington [Sat, 22 Nov 2008 07:16:28 +0000 (16:16 +0900)]
Fix crash

16 years agoRemove unused signal
John Darrington [Sat, 22 Nov 2008 07:09:20 +0000 (16:09 +0900)]
Remove unused signal

16 years agoChange traverse signal to take GtkSheetCell instead of gint,gint
John Darrington [Sat, 22 Nov 2008 07:07:16 +0000 (16:07 +0900)]
Change traverse signal to take GtkSheetCell instead of gint,gint

16 years agoRemove inline qualifiers
John Darrington [Sat, 22 Nov 2008 05:21:13 +0000 (14:21 +0900)]
Remove inline qualifiers

16 years agoRemoved function default_row_height
John Darrington [Sat, 22 Nov 2008 02:26:32 +0000 (11:26 +0900)]
Removed function default_row_height

16 years agoAvoid annoying double line at beginning of rows/columns
John Darrington [Fri, 21 Nov 2008 10:31:34 +0000 (19:31 +0900)]
Avoid annoying double line at beginning of rows/columns

16 years agoAvoid critical when renewing dataset
John Darrington [Fri, 21 Nov 2008 10:15:35 +0000 (19:15 +0900)]
Avoid critical when renewing dataset

16 years agoRemove gtk_sheet_move_query function
John Darrington [Fri, 21 Nov 2008 10:01:33 +0000 (19:01 +0900)]
Remove gtk_sheet_move_query function

16 years agoAvoid runtime warning
John Darrington [Fri, 21 Nov 2008 09:08:39 +0000 (18:08 +0900)]
Avoid runtime warning

16 years agoBlock entry change handler whilst traversing cells
John Darrington [Fri, 21 Nov 2008 06:10:40 +0000 (15:10 +0900)]
Block entry change handler whilst traversing cells

Prevent the "changed" signal from invoking a handler
whilst the cells are changing.  This sometimes resulted
in data erroneously getting entered into the new cell.

16 years agoPrevent double-click signal from being emitted when the row/column is insensitive
John Darrington [Fri, 21 Nov 2008 05:29:30 +0000 (14:29 +0900)]
Prevent double-click signal from being emitted when the row/column is insensitive

16 years agoPrevent traversing to cells for which there is no variable
John Darrington [Fri, 21 Nov 2008 05:20:49 +0000 (14:20 +0900)]
Prevent traversing to cells for which there is no variable

16 years agoPrevent sheet from stepping outside its valid cell range.
John Darrington [Thu, 20 Nov 2008 23:23:08 +0000 (08:23 +0900)]
Prevent sheet from stepping outside its valid cell range.

16 years agoFixed the scrolling of the sheet when the active cell changes.
John Darrington [Thu, 20 Nov 2008 11:42:07 +0000 (20:42 +0900)]
Fixed the scrolling of the sheet when the active cell changes.

16 years agoImproved behaviour of arrow keys
John Darrington [Thu, 20 Nov 2008 04:34:15 +0000 (13:34 +0900)]
Improved behaviour of arrow keys

16 years agoRename functions
John Darrington [Thu, 20 Nov 2008 03:01:40 +0000 (12:01 +0900)]
Rename functions

16 years agoRemoved unused return value from cell activation features
John Darrington [Thu, 20 Nov 2008 02:57:54 +0000 (11:57 +0900)]
Removed unused return value from cell activation features

16 years agoImprove the behaviour of the moveto function
John Darrington [Thu, 20 Nov 2008 01:49:23 +0000 (10:49 +0900)]
Improve the behaviour of the moveto function

16 years agoReduce flicker on scrolling
John Darrington [Thu, 20 Nov 2008 00:36:21 +0000 (09:36 +0900)]
Reduce flicker on scrolling

16 years agoCombine cell_draw_bg and cell_draw_label into a single function
John Darrington [Thu, 20 Nov 2008 00:15:09 +0000 (09:15 +0900)]
Combine cell_draw_bg and cell_draw_label into a single function

16 years agoFix entry widget size allocation.
John Darrington [Thu, 20 Nov 2008 00:03:46 +0000 (09:03 +0900)]
Fix entry widget size allocation.

16 years agoDeleted lib/gtksheet/gtkextrafeatures.h
John Darrington [Wed, 19 Nov 2008 23:34:37 +0000 (08:34 +0900)]
Deleted lib/gtksheet/gtkextrafeatures.h

16 years agoDeleted gtkitementry
John Darrington [Wed, 19 Nov 2008 23:29:55 +0000 (08:29 +0900)]
Deleted gtkitementry

Removed the (custom) widget gtkitementry and use a standard
GtkEntry widget instead.

16 years agoMerge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite...
John Darrington [Wed, 19 Nov 2008 08:21:33 +0000 (17:21 +0900)]
Merge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite-sheet

Conflicts:

lib/gtksheet/gtksheet.c

16 years agoFixed problems with justification
John Darrington [Wed, 19 Nov 2008 00:29:36 +0000 (09:29 +0900)]
Fixed problems with justification

16 years agoMade everything except gtkitementry.c multi-head safe
John Darrington [Tue, 18 Nov 2008 23:57:59 +0000 (08:57 +0900)]
Made everything except gtkitementry.c multi-head safe

16 years agoAdded event handler for the Delete key
John Darrington [Tue, 18 Nov 2008 10:04:22 +0000 (19:04 +0900)]
Added event handler for the Delete key

16 years agoMade attributes justification default to GTK_JUSTIFY_LEFT
John Darrington [Tue, 18 Nov 2008 07:11:37 +0000 (16:11 +0900)]
Made attributes justification default to GTK_JUSTIFY_LEFT

16 years agoFix vertical alignment of text.
John Darrington [Tue, 18 Nov 2008 07:03:33 +0000 (16:03 +0900)]
Fix vertical alignment of text.

16 years agoFixed horizontal alignment of text within cells.
John Darrington [Tue, 18 Nov 2008 06:46:22 +0000 (15:46 +0900)]
Fixed horizontal alignment of text within cells.

16 years agoUse rectangle_from_cell where appropriate.
John Darrington [Tue, 18 Nov 2008 05:26:29 +0000 (14:26 +0900)]
Use rectangle_from_cell where appropriate.

16 years agoNew function rectangle_from_range.
John Darrington [Tue, 18 Nov 2008 04:41:45 +0000 (13:41 +0900)]
New function rectangle_from_range.

Generalised rectangle_from_cell into a new function
rectangle_from_range, and implemented the former in terms of the latter.

16 years agoNew function rectangle_from_cell
John Darrington [Tue, 18 Nov 2008 04:13:32 +0000 (13:13 +0900)]
New function rectangle_from_cell

Factored out a bit of common code by adding this new function.

16 years agoFixed problem where the old active cell wasn't hidden.
John Darrington [Tue, 18 Nov 2008 02:55:22 +0000 (11:55 +0900)]
Fixed problem where the old active cell wasn't hidden.

16 years agoRemoved the visibility predicate from the row/column models.
John Darrington [Tue, 18 Nov 2008 00:32:39 +0000 (09:32 +0900)]
Removed the visibility predicate from the row/column models.

These predicates have never been used, and just complicate things.

16 years agoCorrect scrollbar adjustments for row/column titles width.
John Darrington [Tue, 18 Nov 2008 00:09:57 +0000 (09:09 +0900)]
Correct scrollbar adjustments for row/column titles width.

16 years agoWhitespace changes
John Darrington [Mon, 17 Nov 2008 23:04:24 +0000 (08:04 +0900)]
Whitespace changes

16 years agoFixed the tooltips/hover feature
John Darrington [Mon, 17 Nov 2008 00:05:29 +0000 (09:05 +0900)]
Fixed the tooltips/hover feature

16 years agoFixed some other little bugs which kept in.
John Darrington [Sat, 15 Nov 2008 15:12:36 +0000 (00:12 +0900)]
Fixed some other little bugs which kept in.

16 years agoRemove "backing pixmap".
John Darrington [Sat, 15 Nov 2008 14:25:13 +0000 (23:25 +0900)]
Remove "backing pixmap".

Removed the backing pixmap, which didn't serve any useful
purpose, and draw directly onto the widget's GdkWindow
instead.

16 years agoAdded .libs to .gitignore
John Darrington [Fri, 14 Nov 2008 23:49:01 +0000 (08:49 +0900)]
Added .libs to .gitignore

16 years agoWhitespace changes, and function refactoring.
John Darrington [Fri, 14 Nov 2008 23:47:20 +0000 (08:47 +0900)]
Whitespace changes, and function refactoring.

16 years agoMore unused code deleted.
John Darrington [Fri, 14 Nov 2008 11:21:39 +0000 (20:21 +0900)]
More unused code deleted.

16 years agoRemoved some unused code.
John Darrington [Fri, 14 Nov 2008 10:49:18 +0000 (19:49 +0900)]
Removed some unused code.

16 years agoAdd useful test/example file.
John Darrington [Fri, 14 Nov 2008 09:56:56 +0000 (18:56 +0900)]
Add useful test/example file.

16 years agoRemoved some unused gtksheet features.
John Darrington [Fri, 14 Nov 2008 05:47:03 +0000 (14:47 +0900)]
Removed some unused gtksheet features.

16 years agoDelete gtkextra.c
John Darrington [Fri, 14 Nov 2008 05:41:17 +0000 (14:41 +0900)]
Delete gtkextra.c

Use the standard g_signal_emit instead of the one from gtkextra.
Sort out confusion over the "veto" variable.

16 years agoMake the arrow keys behave more like what popular spreadsheets do.
John Darrington [Thu, 13 Nov 2008 07:40:12 +0000 (16:40 +0900)]
Make the arrow keys behave more like what popular spreadsheets do.

16 years agoSimplified the scrolling behaviour
John Darrington [Thu, 13 Nov 2008 06:02:58 +0000 (15:02 +0900)]
Simplified the scrolling behaviour

Made all the scrolling take place via the horizontal or vertical GtkAdjustments
instead of directly.  Some key events have been removed.
We'll add them back again as and when necessary.

16 years agoReplaced macros with static inline functions
John Darrington [Thu, 13 Nov 2008 01:06:34 +0000 (10:06 +0900)]
Replaced macros with static inline functions

16 years agoAdd prototype for gtk_xpaned_compute_position
John Darrington [Wed, 12 Nov 2008 11:25:50 +0000 (20:25 +0900)]
Add prototype for gtk_xpaned_compute_position

16 years agoRemove calls to gdk_pointer_ungrab
John Darrington [Wed, 12 Nov 2008 11:00:39 +0000 (20:00 +0900)]
Remove calls to gdk_pointer_ungrab

Replace gdk_pointer_ungrab with gdk_display_pointer_ungrab

16 years agoRemove calls to gdk_cursor_new
John Darrington [Wed, 12 Nov 2008 10:46:20 +0000 (19:46 +0900)]
Remove calls to gdk_cursor_new

Replace gdk_cursor_new with gdk_cursor_new_for_display.

16 years agoRemove unsafe colormap operations.
John Darrington [Wed, 12 Nov 2008 10:29:10 +0000 (19:29 +0900)]
Remove unsafe colormap operations.

16 years agoChange bg_color and grid_color to an array of two colors
John Darrington [Wed, 12 Nov 2008 10:20:50 +0000 (19:20 +0900)]
Change bg_color and grid_color to an array of two colors

16 years agoMerge branch 'master' into rewrite-sheet
John Darrington [Tue, 11 Nov 2008 12:25:10 +0000 (21:25 +0900)]
Merge branch 'master' into rewrite-sheet

16 years agoMade some gui functions multi-head safe.
John Darrington [Tue, 11 Nov 2008 12:00:58 +0000 (21:00 +0900)]
Made some gui functions multi-head safe.

16 years agoMerge branch 'master' into rewrite-sheet
John Darrington [Tue, 11 Nov 2008 04:39:40 +0000 (13:39 +0900)]
Merge branch 'master' into rewrite-sheet

Conflicts:

lib/gtksheet/automake.mk
po/en_GB.po

16 years agoFail more gracefully when the file specified on the command line is
John Darrington [Sat, 8 Nov 2008 23:35:12 +0000 (08:35 +0900)]
Fail more gracefully when the file specified on the command line is
neither system nor portable file.

16 years agoFixed problems when configured with --without-libplot
John Darrington [Sat, 8 Nov 2008 23:26:40 +0000 (08:26 +0900)]
Fixed problems when configured with --without-libplot

16 years agoDon't canonicalise pathnames of included files.
John Darrington [Sat, 8 Nov 2008 09:22:12 +0000 (18:22 +0900)]
Don't canonicalise pathnames of included files.

Fixes bug #24553

16 years agoCorrected problem with mismatched linefeed characters.
John Darrington [Sat, 8 Nov 2008 04:25:31 +0000 (13:25 +0900)]
Corrected problem with mismatched linefeed characters.

16 years agoMerge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Sat, 8 Nov 2008 03:50:39 +0000 (12:50 +0900)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp

16 years agoUpdated British translations.
John Darrington [Sat, 8 Nov 2008 03:49:58 +0000 (12:49 +0900)]
Updated British translations.

16 years agoRewrote the command line parser using argp.
John Darrington [Sat, 8 Nov 2008 03:44:56 +0000 (12:44 +0900)]
Rewrote the command line parser using argp.

Reimplemented the command line parser using argp.
Removed some unimplemented options and added the ability
for the gui to open system or portable files whose names
are specified on the command line.

16 years agocovariance-matrix.c: Added one-pass algorithm to compute covariance
Jason H Stover [Thu, 6 Nov 2008 15:45:40 +0000 (10:45 -0500)]
covariance-matrix.c: Added one-pass algorithm to compute covariance
matrices.  New structure covariance_matrix contains the covariance
matrix, related data and member functions. Added different routines to
handle pairwise or listwise deletion of missing values.  Added many
new functions.

glm.q: Changed run_glm to use the new interface to the covariance
matrix. Removed unused function data_pass_one().

16 years agoMerge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Sat, 1 Nov 2008 05:18:26 +0000 (14:18 +0900)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp

16 years agoRemove reference to sa_restorer, because it's not part of POSIX.
John Darrington [Sat, 1 Nov 2008 05:17:19 +0000 (14:17 +0900)]
Remove reference to sa_restorer, because it's not part of POSIX.

Prevented compilation on Cygwin.  Reported by unknown-1

16 years agoNew .gitignore file
John Darrington [Thu, 16 Oct 2008 11:43:43 +0000 (19:43 +0800)]
New .gitignore file

16 years agoFixed return type of design_matrix_get_case_count.
John Darrington [Thu, 16 Oct 2008 02:10:50 +0000 (10:10 +0800)]
Fixed return type of design_matrix_get_case_count.

design_matrix_get_case_count was declared as returning a void
but it tried to return a value.  Changed it to returning size_t

16 years agoglm.q: Removed code to us QR decomposition, which requires the entire data
Jason H Stover [Wed, 15 Oct 2008 16:12:35 +0000 (12:12 -0400)]
glm.q: Removed code to us QR decomposition, which requires the entire data
set to be stored in a matrix.

glm.q: fit_model: New function.

design-matrix.[ch]: Added array of size_t's to store the number of
data for each variable in struct design_matrix. Added accessor
functions design_matrix_increment_case_count,
design_matrix_set_case_count and design_matrix_get_case_count.

16 years agocovariance_accumulate: New function for one-pass computation of the
Jason H Stover [Wed, 15 Oct 2008 14:06:50 +0000 (10:06 -0400)]
covariance_accumulate: New function for one-pass computation of the
covariance matrix.

Added hash table to temporarily store the elements that will be in the
covariance matrix. The hash consists of the new data structure
covariance_accumulator. New functions hash_numeric_alpha,
covariance_accumulator_compare, match_nodes,
covariance_accumulator_free, covariance_hsh_create,
covariance_accumulator_hash, to assist with the hashing.

update_product: New function.

covariance_accumulator_to_matrix: New function to put hash elements
into the covariance matrix.

get_center: New function to center a value prior to adding it to
the covariance matrix.

covariance_matrix_insert: New function to add a value to the
covariance matrix.

16 years agoSet the DECIMAL point character from the LC_NUMERIC
John Darrington [Wed, 15 Oct 2008 03:02:01 +0000 (11:02 +0800)]
Set the DECIMAL point character from the LC_NUMERIC
component of the current locale.

16 years agoAllow value labels for non integer values.
John Darrington [Wed, 15 Oct 2008 02:49:58 +0000 (10:49 +0800)]
Allow value labels for non integer values.

16 years agoMark variables as unused
John Darrington [Tue, 14 Oct 2008 12:42:51 +0000 (20:42 +0800)]
Mark variables as unused

16 years agoMake pspp_linreg_with_cov() void, since it doesn't actually return a value.
Ben Pfaff [Sun, 12 Oct 2008 03:44:29 +0000 (20:44 -0700)]
Make pspp_linreg_with_cov() void, since it doesn't actually return a value.

16 years agoUse const consistently in linreg routines, to avert warnings.
Ben Pfaff [Sun, 12 Oct 2008 03:44:07 +0000 (20:44 -0700)]
Use const consistently in linreg routines, to avert warnings.

16 years agoFix GCC 4.3 warning about uninitialized structure member.
Ben Pfaff [Sun, 12 Oct 2008 03:42:44 +0000 (20:42 -0700)]
Fix GCC 4.3 warning about uninitialized structure member.

16 years agoFix warning due to unmunge() returning a const string that needs to be freed.
Ben Pfaff [Sat, 11 Oct 2008 23:51:44 +0000 (16:51 -0700)]
Fix warning due to unmunge() returning a const string that needs to be freed.

16 years agoAdvise not to build in a directory whose name contains a space or apostrophe.
Ben Pfaff [Sun, 12 Oct 2008 03:59:17 +0000 (20:59 -0700)]
Advise not to build in a directory whose name contains a space or apostrophe.

Thanks to Richard Brittain <Richard.Brittain@dartmouth.edu> for pointing
out the problem.

16 years agoAdd prototype for design_matrix_clone() to design-matrix.h.
Ben Pfaff [Sun, 5 Oct 2008 21:57:10 +0000 (14:57 -0700)]
Add prototype for design_matrix_clone() to design-matrix.h.

16 years agoEliminate unused variable.
Ben Pfaff [Sun, 5 Oct 2008 21:56:57 +0000 (14:56 -0700)]
Eliminate unused variable.

16 years agoFix typo in comment.
Ben Pfaff [Sun, 5 Oct 2008 21:56:38 +0000 (14:56 -0700)]
Fix typo in comment.

16 years agoParenthesize more defensively in macro definition.
Ben Pfaff [Sun, 5 Oct 2008 21:56:22 +0000 (14:56 -0700)]
Parenthesize more defensively in macro definition.

16 years agoEliminate unused code in glm.q, regression.q.
Ben Pfaff [Sun, 5 Oct 2008 21:56:01 +0000 (14:56 -0700)]
Eliminate unused code in glm.q, regression.q.

16 years agoFix GCC 4.3 warnings about parameters of incomplete type.
Ben Pfaff [Sun, 5 Oct 2008 21:53:00 +0000 (14:53 -0700)]
Fix GCC 4.3 warnings about parameters of incomplete type.

16 years agoImplement variable and data file attributes.
Ben Pfaff [Sat, 11 Oct 2008 22:35:42 +0000 (15:35 -0700)]
Implement variable and data file attributes.

16 years agoMake str_copy_rpad() behave properly with a DST_SIZE of 0.
Ben Pfaff [Thu, 9 Oct 2008 14:37:43 +0000 (07:37 -0700)]
Make str_copy_rpad() behave properly with a DST_SIZE of 0.

16 years agoMake [ and ] valid tokens in the lexer.
Ben Pfaff [Thu, 9 Oct 2008 05:25:36 +0000 (22:25 -0700)]
Make [ and ] valid tokens in the lexer.

The VARIABLE ATTRIBUTE and DATAFILE ATTRIBUTE commands use [ and ]
to designate array elements.  This is the first use for these tokens
in the language implemented by PSPP, so until now these characters
were rejected with an error whenever they appeared in a syntax file
outside a comment or a quoted string.

16 years agoFix build when build and source directories are separate.
Ben Pfaff [Sat, 11 Oct 2008 16:40:41 +0000 (09:40 -0700)]
Fix build when build and source directories are separate.

16 years agoMerge commit 'origin/stable'
Ben Pfaff [Fri, 10 Oct 2008 05:49:13 +0000 (22:49 -0700)]
Merge commit 'origin/stable'

Conflicts:

tests/automake.mk

16 years agoUpdate NEWS for 0.6.1. v0.6.1
Ben Pfaff [Fri, 10 Oct 2008 04:32:35 +0000 (21:32 -0700)]
Update NEWS for 0.6.1.

16 years agoFixed problems when building with --enable-relocatable
John Darrington [Tue, 7 Oct 2008 11:40:56 +0000 (19:40 +0800)]
Fixed problems when building with --enable-relocatable

Added the INSTALLDIR macro to tests/dissect-sysfile.
Relocated the pathname of the splash screen graphic.

16 years agoAllow hyphens in {sub}command names.
John Darrington [Mon, 6 Oct 2008 03:02:49 +0000 (11:02 +0800)]
Allow hyphens in {sub}command names.

Extend the lexer so as to allow hypens to appear
in the identifiers which of subcommands.

16 years agoAdd generated c files to .gitignore
John Darrington [Mon, 6 Oct 2008 02:47:03 +0000 (10:47 +0800)]
Add generated c files to .gitignore

16 years agoUse Gnulib module "regex", to fix linking on Mingw.
Ben Pfaff [Sun, 5 Oct 2008 18:17:10 +0000 (11:17 -0700)]
Use Gnulib module "regex", to fix linking on Mingw.

The GUI code uses POSIX regular expressions, which Mingw has in a separate
library (-lregex).  We could just search for that library, but by including
our own implementation (via Gnulib) we also work around known bugs in
system regular expression implementations.

16 years agoMerge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Sun, 5 Oct 2008 09:46:25 +0000 (17:46 +0800)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp

16 years agoMoved the datasheet testing code out of src/{libspp,data}
John Darrington [Sun, 5 Oct 2008 03:50:40 +0000 (11:50 +0800)]
Moved the datasheet testing code out of src/{libspp,data}

Avoids high level things (such as moments) from appearing
in libpspp-core, which prevented it from being used standalone.

16 years agoUpdate NEWS for 0.6.1-rc2.
Ben Pfaff [Sat, 4 Oct 2008 04:21:28 +0000 (21:21 -0700)]
Update NEWS for 0.6.1-rc2.