[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-2032-g1e4c
From: |
Ben Pfaff |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-2032-g1e4c36d |
Date: |
Wed, 04 May 2011 03:23:28 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".
The branch, master has been updated
via 1e4c36d1b7cc62f4f2108fbfb0c412e2cafe91ef (commit)
via 770a9763c4059adc0fde5f7b169814181ac14158 (commit)
via e195fccfab97205acb29f90fd1168488d49f1573 (commit)
via aafb6add9344c71c4fed343e52e9a67aa6efdf91 (commit)
via 6bb9fb8db1002ec00f58cae414a06769fe1a7e68 (commit)
via d4ae4bc98332969940737c4a5e8f4347f8b9be8c (commit)
via df8e125c0969d3b6e043b7069d52f069c9e7ee78 (commit)
via 119d57cbddc317d9bde6831787026c84a6e7415f (commit)
via eea449691e75dfc2af4fd5d6670ab155b813a13e (commit)
via d6028c82867eb92ccd1a3a7f1473316cbe462271 (commit)
via 60145a4854479fcffe0149083b55b8b5102ac479 (commit)
via 2b998cd1a6d72214726d05cc050b816d131399e6 (commit)
via 2045aac63f991ebd4d4e271306314aeceb0b59ae (commit)
via bb41d678dd7dc31cb94e1848baae6d93dd8d2218 (commit)
via 1a24920c65ada574fceed15768f4b30553c77336 (commit)
via fd01afaa6575389277892cc45a1895571743184d (commit)
via a9470b672abaceaaf5b7d7408c83610a9643a75e (commit)
via 32897a3d95b7772d44ddd14e2ac8bc154cfe4542 (commit)
via 09db24c18659c90feb9ca99366cf10d0c7b047c5 (commit)
from 0c3a21fe83ddd36ab003b6e77de53ca4816e8b45 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1e4c36d1b7cc62f4f2108fbfb0c412e2cafe91ef
Author: Ben Pfaff <address@hidden>
Date: Sat Apr 30 22:30:28 2011 -0700
gui: Change View|Data and View|Variables to radio button menu items.
I didn't know what View|Variables did until I tried it, at which
point I was surprised that it changed into View|Data. I think that
a pair of radio button menu items better communicates the intent.
Also, this situation seems to fit well what the GNOME Human Interface
Guidelines say about radio button menu items:
Radio button menu items show which of two or more
mutually-exclusive settings are currently selected, and allow
the user to choose a different setting by selecting its menu
item.
* If you need to offer a choice of two mutually-exclusive
settings to the user, use a group of two radio button items
instead of a single check box menu item if the settings are
not clearly opposites. For example, represent View as Icons
and View as List as two radio button items.
commit 770a9763c4059adc0fde5f7b169814181ac14158
Author: Ben Pfaff <address@hidden>
Date: Sat Apr 30 22:00:33 2011 -0700
gui: Add ellipsis to menu items that require further input.
The GNOME Human Interface Guidelines say:
Label the menu item with a trailing ellipsis ("...") only if
the command requires further input from the user before it
can be performed. Do not add an ellipsis to items that only
present a confirmation dialog (such as Delete), or that do
not require further input (such as Properties, Preferences or
About).
Most PSPPIRE menu items fit this description, so they should have
trailing ellipses, which this commit adds.
Some GTK+ programs use the Unicode HORIZONTAL ELLIPSIS (U+2026)
character instead of three periods in menu items. In a quick check
on my own machine, however, three periods were over twice as common.
In an informal survey on pspp-dev, the best argument presented in
favor of one or the other was that three periods may be more familiar
for translators and thus cause less confusion in translation.
commit e195fccfab97205acb29f90fd1168488d49f1573
Author: Ben Pfaff <address@hidden>
Date: Fri Apr 29 21:45:15 2011 -0700
Implement DATASET commands.
commit aafb6add9344c71c4fed343e52e9a67aa6efdf91
Author: Ben Pfaff <address@hidden>
Date: Sat Apr 30 21:08:01 2011 -0700
gui: New "entry-dialog" module for prompting for a text string.
This will be used in an upcoming commit to implement File|Rename
Dataset. It is made general-purpose, rather than specifically
for that purpose, because it is not any harder to do so and might
be useful somewhere else in the future.
commit 6bb9fb8db1002ec00f58cae414a06769fe1a7e68
Author: Ben Pfaff <address@hidden>
Date: Tue May 3 06:47:24 2011 -0700
psppire-buttonbox: Add "default" property.
This property allows the default button to be controlled from a
GtkBuilder description, instead of forcing the default to Continue.
Only a single bit should be set in the "default" mask.
commit d4ae4bc98332969940737c4a5e8f4347f8b9be8c
Author: Ben Pfaff <address@hidden>
Date: Sun Apr 3 22:02:47 2011 -0700
gui: Fix g_object_get() memory leaks for PsppireWindow's filename.
g_object_get() makes a copy of strings that it returns, so every call
for "filename" was returning a copied string that the caller did not
free.
commit df8e125c0969d3b6e043b7069d52f069c9e7ee78
Author: Ben Pfaff <address@hidden>
Date: Thu Apr 28 21:12:27 2011 -0700
gui: Fix File|Open in syntax editor.
It didn't do anything.
commit 119d57cbddc317d9bde6831787026c84a6e7415f
Author: Ben Pfaff <address@hidden>
Date: Fri Apr 29 06:59:55 2011 -0700
gui: Eliminate dataset-related global variables.
This should make it easier to introduce support for multiple datasets
later.
commit eea449691e75dfc2af4fd5d6670ab155b813a13e
Author: Ben Pfaff <address@hidden>
Date: Tue Mar 29 21:29:13 2011 -0700
gui: Make syntax execution functions take a PsppireDataWindow argument.
The argument specifies which dataset the syntax is meant to apply to.
For now, this is obvious, because there is only one dataset, but in
the future there will be more than one.
commit d6028c82867eb92ccd1a3a7f1473316cbe462271
Author: Ben Pfaff <address@hidden>
Date: Tue Sep 7 21:51:03 2010 -0700
gui: Prefer NULL to 0 for initializing pointers.
Using NULL instead of 0 is better modern C style.
commit 60145a4854479fcffe0149083b55b8b5102ac479
Author: Ben Pfaff <address@hidden>
Date: Tue Sep 7 21:44:46 2010 -0700
gui: Remove obviously unnecessary #include directives.
These simple header files #include <gtk/gtk.h> but do not reference
anything from GTK+, so they do not to #include its header.
commit 2b998cd1a6d72214726d05cc050b816d131399e6
Author: Ben Pfaff <address@hidden>
Date: Tue Sep 7 21:40:40 2010 -0700
gui: Include only <gtk/gtk.h> to use GTK+.
The GTK+ manual says: "The recommended way of using GTK+ has always been
to only include the toplevel headers gtk.h, gdk.h, gdk-pixbuf.h." We
might as well follow this practice, since it only makes life easier.
commit 2045aac63f991ebd4d4e271306314aeceb0b59ae
Author: Ben Pfaff <address@hidden>
Date: Sun Apr 3 17:24:26 2011 -0700
psppire-window: Use g_string_append_unichar() instead of global var.
Seems slightly cleaner.
commit bb41d678dd7dc31cb94e1848baae6d93dd8d2218
Author: Ben Pfaff <address@hidden>
Date: Fri Apr 1 21:14:49 2011 -0700
gui: Use dispose instead of finalize method in PsppireDataWindow.
According to the GObject reference manual, "When dispose ends, the
object should not hold any reference to any other member object."
That is, references should be dropped in dispose, not in finalize.
commit 1a24920c65ada574fceed15768f4b30553c77336
Author: Ben Pfaff <address@hidden>
Date: Tue Mar 29 21:51:42 2011 -0700
gui: Drop null base_finalize function from PsppireDataWindow.
According to the GObject manual, base_finalize is "Never used in
practice. Unlikely you will need it." so I don't see a reason to keep
a stub here.
commit fd01afaa6575389277892cc45a1895571743184d
Author: Ben Pfaff <address@hidden>
Date: Fri Apr 1 21:12:54 2011 -0700
gui: Fix const-ness warning in create_lines_tree_view().
This fixes this warning from GCC:
src/ui/gui/text-data-import-dialog.c: In function
âcreate_lines_tree_viewâ:
src/ui/gui/text-data-import-dialog.c:875: warning: initialization
discards qualifiers from pointer target type
commit a9470b672abaceaaf5b7d7408c83610a9643a75e
Author: Ben Pfaff <address@hidden>
Date: Fri Apr 1 21:11:47 2011 -0700
gui: Fix const-ness warning for measure_to_string() return type.
This fixes the following GCC warning:
src/ui/gui/var-display.c: In function âmeasure_to_stringâ:
rc/ui/gui/var-display.c:25: warning: return discards qualifiers from
pointer target type
commit 32897a3d95b7772d44ddd14e2ac8bc154cfe4542
Author: Ben Pfaff <address@hidden>
Date: Tue Apr 5 21:30:34 2011 -0700
gui: Put a separator line before list of windows in Windows menus.
I found it a bit confusing before, that the list of windows in the
Windows menu was not separated from the list of actions of windows.
This fixes the problem.
Simply adding a separator item to the .ui files doesn't work, because
GtkUIManager removes it. The same thing happens if we add a separator
without adding a real menu item at the same time.
Thanks to John Darrington for suggesting the root of the problem.
commit 09db24c18659c90feb9ca99366cf10d0c7b047c5
Author: Ben Pfaff <address@hidden>
Date: Wed Mar 30 21:39:01 2011 -0700
gui: Always convert file names to UTF-8 for use in syntax.
Syntax as understood by the lexer is always in UTF-8, so file names
have to be in UTF-8 too. (The PSPP code that opens files based on
strings from syntax is already using utf8_to_filename() to convert
them properly before opening.)
Before commit 9ade26c8349 "lexer: Reimplement for better
testability and internationalization", the encoding of syntax
files was not well-defined. It was reasonable, then, to put file
names in generated syntax in the file name encoding.
Commit 9ade26c8349 changed the encoding of syntax so that it was
always in UTF-8. This meant that file names in syntax had to be
converted back into the file name encoding before trying to open
the files, and I made that change (you can see, for example, the
call to utf8_to_filename in do_insert() in
src/language/utilities/include.c). But I forgot that the GUI
needs to convert its file names into UTF-8 when it is generating
syntax, so this commit fixes that up.
-----------------------------------------------------------------------
Summary of changes:
NEWS | 5 +
doc/combining.texi | 10 +-
doc/data-io.texi | 96 +++-
doc/files.texi | 32 +-
doc/language.texi | 62 +--
doc/transformation.texi | 7 +-
src/data/any-reader.c | 6 +-
src/data/any-writer.c | 8 +-
src/data/automake.mk | 12 +-
src/data/caseinit.c | 31 ++-
src/data/caseinit.h | 3 +-
src/data/{scratch-reader.c => dataset-reader.c} | 33 +-
src/data/{scratch-reader.h => dataset-reader.h} | 10 +-
src/data/{scratch-writer.c => dataset-writer.c} | 60 +--
src/data/{scratch-writer.h => dataset-writer.h} | 10 +-
src/data/dataset.c | 155 ++++++-
src/data/dataset.h | 29 +-
src/data/dictionary.c | 4 +-
src/data/file-handle-def.c | 59 +--
src/data/file-handle-def.h | 13 +-
src/data/scratch-handle.c | 36 --
src/data/scratch-handle.h | 32 --
src/data/session.c | 180 +++++++
src/data/session.h | 47 ++
src/language/command.c | 3 +
src/language/command.def | 12 +-
src/language/data-io/automake.mk | 1 +
src/language/data-io/combine-files.c | 2 +-
src/language/data-io/data-list.c | 2 +-
src/language/data-io/dataset.c | 279 +++++++++++
src/language/data-io/file-handle.h | 17 +-
src/language/data-io/file-handle.q | 154 ++++---
src/language/data-io/get-data.c | 2 +-
src/language/data-io/get.c | 2 +-
src/language/data-io/inpt-pgm.c | 2 +-
src/language/data-io/print-space.c | 2 +-
src/language/data-io/print.c | 2 +-
src/language/data-io/save-translate.c | 2 +-
src/language/data-io/save.c | 2 +-
src/language/dictionary/apply-dictionary.c | 2 +-
src/language/dictionary/sys-file-info.c | 2 +-
src/language/expressions/evaluate.c | 2 +-
src/language/stats/aggregate.c | 2 +-
src/language/utilities/include.c | 4 +-
src/ui/gui/aggregate-dialog.c | 4 +-
src/ui/gui/aggregate-dialog.h | 2 -
src/ui/gui/automake.mk | 3 +
src/ui/gui/binomial-dialog.c | 4 +-
src/ui/gui/binomial-dialog.h | 1 -
src/ui/gui/chi-square-dialog.c | 4 +-
src/ui/gui/chi-square-dialog.h | 1 -
src/ui/gui/comments-dialog.c | 2 +-
src/ui/gui/compute-dialog.c | 4 +-
src/ui/gui/compute-dialog.h | 4 +-
src/ui/gui/correlation-dialog.c | 4 +-
src/ui/gui/correlation-dialog.h | 3 +-
src/ui/gui/crosstabs-dialog.c | 4 +-
src/ui/gui/crosstabs-dialog.h | 4 +-
src/ui/gui/customentry.c | 5 +-
src/ui/gui/data-editor.ui | 74 ++--
src/ui/gui/descriptives-dialog.c | 4 +-
src/ui/gui/descriptives-dialog.h | 5 +-
src/ui/gui/entry-dialog.c | 62 +++
src/ui/gui/{aggregate-dialog.h => entry-dialog.h} | 15 +-
src/ui/gui/entry-dialog.ui | 47 ++
src/ui/gui/examine-dialog.c | 4 +-
src/ui/gui/examine-dialog.h | 4 +-
src/ui/gui/executor.c | 142 ++++--
src/ui/gui/executor.h | 9 +-
src/ui/gui/factor-dialog.c | 4 +-
src/ui/gui/factor-dialog.h | 4 +-
src/ui/gui/find-dialog.h | 3 +-
src/ui/gui/frequencies-dialog.c | 4 +-
src/ui/gui/frequencies-dialog.h | 4 +-
src/ui/gui/goto-case-dialog.h | 4 +-
src/ui/gui/helper.c | 4 +-
src/ui/gui/k-related-dialog.c | 4 +-
src/ui/gui/oneway-anova-dialog.c | 4 +-
src/ui/gui/output-viewer.ui | 3 +-
src/ui/gui/psppire-acr.h | 6 +-
src/ui/gui/psppire-buttonbox.c | 104 +++--
src/ui/gui/psppire-buttonbox.h | 5 +-
src/ui/gui/psppire-conf.h | 2 +-
src/ui/gui/psppire-data-editor.c | 44 ++-
src/ui/gui/psppire-data-editor.h | 7 +-
src/ui/gui/psppire-data-window.c | 523 ++++++++++++---------
src/ui/gui/psppire-data-window.h | 30 +-
src/ui/gui/psppire-dialog.c | 2 -
src/ui/gui/psppire-dialog.h | 4 +-
src/ui/gui/psppire-dictview.c | 4 +-
src/ui/gui/psppire-dictview.h | 4 +-
src/ui/gui/psppire-hbuttonbox.c | 5 +-
src/ui/gui/psppire-keypad.c | 7 +-
src/ui/gui/psppire-keypad.h | 5 +-
src/ui/gui/psppire-output-window.h | 6 +-
src/ui/gui/psppire-select-dest.c | 4 +-
src/ui/gui/psppire-selector.c | 11 +-
src/ui/gui/psppire-selector.h | 8 +-
src/ui/gui/psppire-syntax-window.c | 77 ++--
src/ui/gui/psppire-syntax-window.h | 4 +-
src/ui/gui/psppire-var-view.c | 5 +-
src/ui/gui/psppire-var-view.h | 4 +-
src/ui/gui/psppire-vbuttonbox.c | 5 +-
src/ui/gui/psppire-window.c | 407 ++++++++++++----
src/ui/gui/psppire-window.h | 19 +-
src/ui/gui/psppire.c | 47 +--
src/ui/gui/psppire.h | 2 +-
src/ui/gui/rank-dialog.c | 4 +-
src/ui/gui/recode-dialog.c | 4 +-
src/ui/gui/regression-dialog.c | 4 +-
src/ui/gui/reliability-dialog.c | 4 +-
src/ui/gui/roc-dialog.c | 4 +-
src/ui/gui/select-cases-dialog.c | 4 +-
src/ui/gui/sort-cases-dialog.c | 4 +-
src/ui/gui/split-file-dialog.c | 4 +-
src/ui/gui/syntax-editor.ui | 23 +-
src/ui/gui/t-test-independent-samples-dialog.c | 4 +-
src/ui/gui/t-test-one-sample.c | 4 +-
src/ui/gui/t-test-paired-samples.c | 4 +-
src/ui/gui/text-data-import-dialog.c | 7 +-
src/ui/gui/text-data-import-dialog.h | 7 +-
src/ui/gui/transpose-dialog.c | 4 +-
src/ui/gui/val-labs-dialog.c | 8 +-
src/ui/gui/var-display.c | 4 +-
src/ui/gui/var-display.h | 4 +-
src/ui/gui/variable-info-dialog.c | 5 +-
src/ui/gui/weight-cases-dialog.c | 4 +-
src/ui/terminal/main.c | 13 +-
tests/automake.mk | 1 +
tests/language/data-io/dataset.at | 302 ++++++++++++
tests/language/stats/aggregate.at | 16 +-
131 files changed, 2556 insertions(+), 1126 deletions(-)
rename src/data/{scratch-reader.c => dataset-reader.c} (61%)
rename src/data/{scratch-reader.h => dataset-reader.h} (79%)
rename src/data/{scratch-writer.c => dataset-writer.c} (65%)
rename src/data/{scratch-writer.h => dataset-writer.h} (79%)
delete mode 100644 src/data/scratch-handle.c
delete mode 100644 src/data/scratch-handle.h
create mode 100644 src/data/session.c
create mode 100644 src/data/session.h
create mode 100644 src/language/data-io/dataset.c
create mode 100644 src/ui/gui/entry-dialog.c
copy src/ui/gui/{aggregate-dialog.h => entry-dialog.h} (69%)
create mode 100644 src/ui/gui/entry-dialog.ui
create mode 100644 tests/language/data-io/dataset.at
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-2032-g1e4c36d,
Ben Pfaff <=