Estimate parameters. Moved some code to re-usable functions.
[pspp-builds.git] / src / ui / gui / ChangeLog
index 3aec8fc0598241702d5e288026a545769fd3f7a5..88a42f1ffa5e6a192938dae1154a3811d3ba7080 100644 (file)
@@ -1,3 +1,459 @@
+2008-05-20  John Darrington <john@darrington.wattle.id.au>
+
+       * automake.mk: Added the -no-undefined flag so that dlls can be built
+       on w32 platforms.  Abstracted the dependencies of glade-register.c
+       into a new shared library libpsppwidgets.so, which can be either
+       linked directly by psppire or by libpsppire.so
+
+       * psppire-keypad.c: Changed snprintf to g_snprintf so as not to use
+       gnulib.
+
+2008-05-15  Ben Pfaff  <blp@gnu.org>
+
+       * automake.mk: Rename install-data-hook to yelp-check and mark it
+       phony.  This avoids an automake warning for duplicate
+       install-data-hook commands in doc/automake.mk and this file
+       (automake does not understand double-colon rules, since they are
+       not in POSIX).
+
+2008-05-09  John Darrington <john@darrington.wattle.id.au>
+
+       * automake.mk: On make install, warn about the non-existance of yelp.
+
+2008-05-08  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6505.  Reviewed by John Darrington.
+
+       * text-data-import-dialog.c: Don't make the user wiggle the mouse
+       to be able to click on the Forward button twice in quick
+       succession.
+       (add_page_to_assistant): Mark pages in the assistant complete
+       immediately.
+       (on_prepare): No longer mark pages complete upon first visit.
+
+2008-05-08  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6505.  Reviewed by John Darrington.
+
+       * text-data-import-dialog.c: (struct assistant) New member
+       `watch_cursor'.
+       (revise_fields_preview): Change the mouse pointer to a watch to
+       indicate that a long operation is ongoing.
+       (prepare_formats_page): Ditto.
+       (on_variable_change): Ditto.
+       (push_watch_cursor): New function.
+       (pop_watch_cursor): New function.
+
+2008-05-08  John Darrington <john@darrington.wattle.id.au>
+
+       * data-editor.c: In popup menus, connect the Insert Variable and
+       Insert Case callbacks manually, instead of relying on
+       gtk_action_connect_proxy, as the latter connects a label with a
+       mnemonic which is inappropriate.
+
+2008-05-06  Ben Pfaff  <blp@gnu.org>
+
+       Bug #23127.  Reviewed by John Darrington.  Tested by Jason Stover,
+       in an earlier form.
+
+       * text-data-import-dialog.c (get_tooltip_location): Prevent crash
+       when a tooltip is being prepared when the assistant is closed.
+
+2008-05-06  Ben Pfaff  <blp@gnu.org>
+
+       * text-data-import-dialog.c (text_data_import_assistant): Allocate
+       the struct import_assistant on the heap instead of the stack, to
+       make it easier for memory debuggers such as Valgrind to point out
+       use of its members after this function returns.
+
+2008-03-25  John Darrington <john@darrington.wattle.id.au>
+
+       * data-editor.glade: Removed unused menuitems.
+
+       * data-editor.c data-editor.glade: Added Mnemonics to all menuitems.
+
+2008-03-16  Ben Pfaff  <blp@gnu.org>
+
+       Patch #5368.  Reviewed by John Darrington.  Tested by Jason
+       Stover.
+
+       * automake.mk: Add new files.
+
+       * data-editor.glade: Add "import delimited text data" menu item.
+
+       * data-editor.c: Connect "import delimited text data" menu item.
+
+       * text-data-import-dialog.c: New file.
+
+       * text-data-import-dialog.h: New file.
+
+       * text-data-import.glade: New file.
+
+2008-03-07  Ben Pfaff  <blp@gnu.org>
+
+       * psppire-var-sheet.c: Initialize "may-create-vars" to TRUE by
+       default.
+
+2008-03-06  Ben Pfaff  <blp@gnu.org>
+
+       * psppire-var-sheet.c psppire-var-sheet.h: Add "may-create-vars"
+       property to var sheet that controls whether the user can create
+       new variables in the dictionary.  Needed by upcoming patch #6358.
+       Reviewed by John Darrington.
+
+2008-03-04  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6427.  Reviewed by John Darrington.
+
+       * comments-dialog.c: Adapt to new syntax generating code in
+       ui/syntax-gen.[ch].
+
+       * data-editor.c: Ditto.
+
+       * recode-dialog.c: Ditto.
+
+       * t-test-independent-samples-dialog.c: Ditto.
+
+2008-02-29  John Darrington <john@darrington.wattle.id.au>
+
+       * psppire-data-editor.c psppire-data-editor.h: New files.  Contains functionality
+       previously scattered thoughout data-editor.c and elsewhere.
+
+       * data-editor.c data-editor.h: Abstracted the variable sheet, the data sheet and
+       their containing GtkNotebook into a new Object.
+
+       * data-sheet.c data-sheet.h: Deleted.
+
+       * var-sheet.c var-sheet.h: Deleted.  Moved to psppire-var-sheet.[ch]
+
+       * psppire-var-sheet.c psppire-var-sheet.h: New files.
+       
+       * clipboard.c clipboard.h: Deleted.  Moved to psppire-data-editor.c
+
+       * psppire-var-store.c psppire-var-store.h: Updated symbols to avoid name clashes.
+       
+       * comments-dialog.c compute-dialog.c crosstabs-dialog.c descriptives-dialog.c
+       examine-dialog.c find-dialog.c frequencies-dialog.c goto-case-dialog.c
+       oneway-anova-dialog.c rank-dialog.c recode-dialog.c select-cases-dialog.c
+       sort-cases-dialog.c split-file-dialog.c t-test-independent-samples-dialog.c
+       transpose-dialog.c variable-info-dialog.c weight-cases-dialog.c t-test-one-sample.c
+       t-test-paired-samples.c: Updated dialogs to match above changes.
+
+2008-02-27  Jason Stover  <jhs@math.gcsu.edu>
+
+       * regression-dialog.c: New file.
+
+       * regression-dialog.h: New file.
+
+       * regression.glade: New file.
+
+2008-02-19  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6426.  Reviewed by John Darrington.
+       
+       * psppire-var-store.c: Add "trailing-rows", "format-type"
+       properties to PsppireVarStore.
+
+2008-02-19  Ben Pfaff  <blp@gnu.org>
+
+       * message-dialog.c (popup_messages): Always destroy `msg' and
+       `lead' strings, avoiding a memory leak.  Thanks to John Darrington
+       for reporting the problem.
+
+2008-02-19  John Darrington <john@darrington.wattle.id.au>
+
+       * dict-display.c: Display names of variables in dialog box
+       dictionary treeviews, when the mouse hovers over the variable.
+
+2008-02-13  John Darrington <john@darrington.wattle.id.au>
+
+       * variable-info-dialog.c: Fix crash when clicking "Jump" when no 
+       variable selected.  Add a valid predicate so that this can't 
+       happen anyway.
+
+       * compute-dialog.c: Fix crash when trying to set label on non
+       existant variable.
+
+2008-02-09  Ben Pfaff  <blp@gnu.org>
+
+       Consolidate multiple messages into single message dialog.  Patch
+       #6405.  Thanks to John Darrington for review.
+
+       * automake.mk (dist_src_ui_gui_psppire_DATA): Add
+       message-dialog.glade.
+
+       * helper.c (give_help): Use GtkMessageDialog directly instead of
+       trying to reuse message-dialog code.
+
+       * message-dialog.c: Rewritten.
+
+       * message-dialog.glade: New file.
+
+2008-02-08  Jason Stover  <jhs@math.gcsu.edu>
+
+       * crosstabs-dialog.c: New file.
+
+       * crosstabs-dialog.h: New file.
+
+       * crosstabs.glade: New file.
+
+2008-02-08  John Darrington <john@darrington.wattle.id.au>
+
+       * psppire-data-store.c: Remove feature which automatically inserts
+       cases at end of data.
+
+       * datasheet.c: Make rows after the last + 1, not editable.
+
+2008-02-08  John Darrington <john@darrington.wattle.id.au>
+
+       * sort-cases-dialog.c transpose-dialog.c: Added dialog_valid
+       predicates.
+
+2008-02-04  John Darrington <john@darrington.wattle.id.au>
+
+       * checkbox-treeview.c: In toggle callback, use the treeview's 
+       current model, instead of relying on the one set at creation.
+       Use attributes instead of cell_renderer functions.
+
+2008-02-03  John Darrington <john@darrington.wattle.id.au>
+
+        * psppire-case-file.c psppire-case-file.h: Dont clone the casereader
+       before creating datasheet.  Add properties instead of direct code 
+        in _new function.
+
+        * psppire-data-store.c:  Implement proper dispose function.
+
+2008-01-29  John Darrington <john@darrington.wattle.id.au>
+
+       * psppire-var-ptr.c psppire-var-ptr.h: New files
+
+       * t-test-paired-samples.c t-test-paired-samples.h: New files
+
+        * dialog-common.c dialog-common.h (append_variable_names): Add extra 
+       argument to specify the column number containing the variables.
+
+       * psppire-selector.c psppire-selector.h:  Add auxilliary data variable
+       to SelectItemsFunc.  (is_item_in_dest) transform model value to G_TYPE_INT
+       before using.  Hence the model need not be of integer type.
+
+2008-01-22  John Darrington <john@darrington.wattle.id.au>
+
+       * psppire-dict.c (psppire_dict_rename_var): Fixed bug where
+       an assertion failure occured when renaming variables to an
+       existing name. Thanks to Ben for reporting this.
+
+2007-12-13  John Darrington <john@darrington.wattle.id.au>
+
+       * dialog-common.c dialog-common.h (numeric_only): New function.
+
+       * t-test-independent-samples-dialog.c:  Added the ability to specify 
+       groups by a threshold ("Cut Point").  Keep OK/Paste buttons insensitive,
+       until groups are properly defined.  Prevented variables treeview from
+       accepting string variables.
+
+2007-12-08  John Darrington <john@darrington.wattle.id.au>
+
+       * data-editor.h data-editor.c: Added hooks for one sample t-test
+
+       * t-test-one-sample.c t-test-one-sample.h (new files): Implemented
+       a dialog box for the One Sample T Test.
+
+       * t-test-independent-samples-dialog.c: Factored out the options sub
+       dialog (see following).
+
+       * t-test-options.c t-test-options.h (new files):  New module
+        implementing the options sub-dialog for T tests.
+
+2007-12-07  John Darrington <john@darrington.wattle.id.au>
+
+       * frequencies-dialog.c: Made the options subdialog transient
+       on the parent.
+
+2007-12-01  John Darrington <john@darrington.wattle.id.au>
+
+       * descriptives-dialog.c: Moved the code dealing with checkboxes 
+       inside treeview widgets into their own files.
+
+       * checkbox-treeview.c checkbox-treeview.h: New file (see above).
+
+       * frequencies-dialog.c frequencies-dialog.h frequencies.glade: New 
+       files. Implemented FREQUENCIES dialog box.
+
+       * data-editor.c data-editor.h data-editor.glade :  Added callback
+       for frequencies dialog.
+
+
+2007-11-23  John Darrington <john@darrington.wattle.id.au>
+
+       * psppire-acr.c psppire-acr.h: Generalised the external widget
+       somewhat. It can now be anything, not necessarily a GTK_ENTRY.
+
+       * helper.c helper.h (clone_list_store): New function.
+
+       * oneway-anova-dialog.c : Used the clone_list_store function
+       instead of writing it ourselves.
+       
+       * psppire-dialog.c psppire-dialog.h: Added a tabular orientation
+       in addition to the horizontal/vertical options.
+       
+       * recode-dialog.c recode-dialog.h recode.glade (new files).
+
+       * psppire-selector.c psppire-selector.h: Added a function to
+       allow the prohibition of items based on a predicate.
+
+       * dialog-common.h dialog-common.c (homogeneous_types): New function.
+
+       * data-editor.c data-editor.glade data-editor.h: Enabled the
+       recode dialog options.
+
+
+2007-11-23  John Darrington <john@darrington.wattle.id.au>
+
+       * compute-dialog.c (generate_syntax): Append "EXECUTE." to the 
+       generated syntax.
+
+2007-10-19  John Darrington <john@darrington.wattle.id.au>
+
+        * psppire-acr.c psppire-acr.h (new files): Added this new
+       composite widget.
+
+       * data-editor.c data-editor.h: Added entries for ONEWAY command
+       dialog box.
+
+       * oneway-anova-dialog.c oneway-anova-dialog.h oneway.glade (new files)
+       
+2007-10-06  John Darrington <john@darrington.wattle.id.au>
+       
+       * psppire-dialog.c psppire-dialog.h: Added a predicate function
+       member to indicate when a dialog's state is (not) valid. Added a
+       signal "validity-changed" which gets emitted whenever this
+       predicate changes. 
+
+       * psppire-buttonbox.c: Connect to the toplevel window's
+       "validity-changed" signal (assuming it happens to be a
+       PsppireDialog) and set the OK, PASTE, GOTO and CONTINUE buttons
+       according.y. 
+
+       * descriptives-dialog.c compute-dialog.c: Add a validity predicate.
+
+2007-10-05  Ben Pfaff  <blp@gnu.org>
+
+       Add DESCRIPTIVES dialog.
+       
+       * automake.mk (dist_src_ui_gui_psppire_DATA): Add
+       descriptives-dialog.data.
+       (src_ui_gui_psppire_SOURCES): Add descriptives-dialog.c,
+       descriptives-dialog.h.
+
+       * data-editor.c (new_data_editor): Connect descriptive dialog to
+       action.
+
+       * data-editor.glade: Change menu item to invoke DESCRIPTIVES.
+
+       * descriptives-dialog.c: New file.
+       
+       * descriptives-dialog.h: New file.
+       
+       * descriptives-dialog.glade: New file.
+
+2007-10-04  John Darrington <john@darrington.wattle.id.au>
+
+       * compute-dialog.c goto-case-dialog.c main.c psppire-keypad.c: Added 
+       #include <config.h>
+
+       * psppire.glade about.c: Read GPL text from src/libpspp/copyleft.c 
+       instead of makeing another copy in psppire.glade.
+
+       * psppirebuttonbox.c psppire.c: Create a new stock item for 
+       RESET buttons.
+       
+2007-09-26  John Darrington <john@darrington.wattle.id.au>     
+       
+       * output-viewer.c output-viewer.h psppire.c: (closes patch #6210) 
+       Changed width and length parameters of output driver to
+       "auto". Changed default width and length  to be something
+       acceptable to the ascii driver.  (reload_viewer) Dynamically
+       allocate the line buffer so that it matches the width of the output.
+       
+2007-09-24  Ben Pfaff  <blp@gnu.org>
+
+       * message-dialog.c (popup_message): Refer to files that contain
+       commands as "syntax" files, not "script" files, for better user
+       familiarity.
+       Patch #6210.  Reviewed by John Darrington.
+
+2007-09-19  John Darrington <john@darrington.wattle.id.au>
+       
+       * message-dialog.c: Changed the ouput message title to be 
+       appropriate for the severity of the message.
+
+       * output-viewer.c output-viewer.h : Added a callback for the resize 
+       signal of the output viewer, and set the viewport length and
+       width accordingly.
+
+       * psppire.c: Update to new init_settings interface.
+
+2007-09-27  John Darrington <john@darrington.wattle.id.au>
+
+       Addressing bug #20821:
+       
+       * psppire-dict.c: Added a BACKEND_CHANGED signal to indicate when 
+       a PsppireDict's struct dictionary has been replaced.
+
+       * psppire-var-store.c: Added the appropriate method for 
+       get_column_count. Added a signal handler for dict:BACKEND_CHANGED, 
+       which calls the g_sheet_model_range_changed for the entire sheet.
+       
+2007-09-18  Ben Pfaff  <blp@gnu.org>
+
+       * helper.c (create_casereader_from_data_store): New function.
+       (execute_syntax): Only replace the active file data by a new
+       casereader if syntax caused the active file to be read, to avoid
+       exponential slowdown as an increasing number of snippets that do
+       not read from the active file are consecutively executed.  Bug
+       #20910.  Reviewed by and heavily influenced by John Darrington.
+
+       * psppire-data-store.c (psppire_data_store_get_value_count): New
+       function.
+
+       * psppire-dict.c (psppire_dict_get_value_cnt): New function.
+
+2007-09-13  John Darrington <john@darrington.wattle.id.au>
+
+       * find-dialog.c find-dialog.h: New files.
+
+       * data-editor.c data-editor.h data-editor.glade: Added action for
+       the find dialog.
+
+       * psppire-selector.c: Emit the (de)selected signal when the 
+       destination entry widget's text changes.
+
+2007-09-10  Ben Pfaff  <blp@gnu.org>
+
+       * var-sheet.c (psppire_variable_sheet_create): Use xstrdup to save
+       string returned by bind_textdomain_codeset.  Otherwise it can get
+       freed by a subsequent call.  Patch #6193.  Reviewed by John
+       Darrington.
+
+2007-09-06  John Darrington <john@darrington.wattle.id.au>
+       
+       * helper.c helper.h (execute_syntax): changed return type to 
+       gboolean to indicated if all the syntax executed successfully or not.
+
+       * data-editor.c syntax-editor.c: Fixed update of recent file list
+       and window title,  on data_file_open.  They now only change, if
+       the file_open was  successfull. 
+
+
+2007-08-25  John Darrington <john@darrington.wattle.id.au>
+
+       * psppire.c : Enable journal.
+
+2007-08-18  John Darrington <john@darrington.wattle.id.au>
+
+       * clipboard.c clipboard.h data-editor.c: Added the ability to paste from 
+       the clipboard into the data sheet.
+
 2007-08-16  John Darrington <john@darrington.wattle.id.au>
 
         * output-viewer.c output-viewer.h output-viewer.glade (new files)