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)
	  helper.c psppire.c syntax-editor.glade window-manager.c 
	  window-manager.h : Added a basic output viewer window.

2007-08-13  John Darrington <john@darrington.wattle.id.au>

	* clipboard.c (clip_to_html clip_to_text): Fixed bug --- use the
	variable count instead of the value count for the columns limit. 

2007-08-12  John Darrington <john@darrington.wattle.id.au>
	    Ben Pfaff  <blp@gnu.org>

	Implement Edit|Cut operation for datasheet.  Patch #6117.

	* automake.mk: Add clipboard.c, clipboard.h.

	* clipboard.c: New file.

	* clipboard.h: New file.

	* data-editor.c (new_data_editor): Connect Edit|Copy to
	on_edit_copy function.
	(data_var_select): Enable or disable Edit|Copy as appropriate.
	(on_edit_copy): New function.

	* data-editor.glade: Connect menu items to new operations.

2007-08-12  Ben Pfaff  <blp@gnu.org>

	* psppire-dict.c (psppire_dict_dump): Don't use
	dict_get_compacted_dict_index_to_case_index, as that function has
	been deleted.

2007-08-13  John Darrington <john@darrington.wattle.id.au>

        * psppire-case-file.c (psppire_case_file_append_case):
	Deleted unused function.

2007-08-07  John Darrington <john@darrington.wattle.id.au>

	* helper.c (execute_syntax): Set the active file data to NULL at the
	end of the procedure.  Thanks to Ben for suggesting this.

	* psppire-case-file.c: Added assertions to the remaining functions
	on inaccessible objects.

	* psppire-data-store.c psppire-data-store.h: Disconnect or block
	signals on dictionary and case_file, when make_reader has been called.
	Reconnect or unblock them when a new datasheet has been set for the
	data_store.

2007-08-06  John Darrington <john@darrington.wattle.id.au>

	* syntax-editor.glade: Changed some properties to be less annoying.

2007-07-29  John Darrington <john@darrington.wattle.id.au>

	* helper.c psppire.c: Enabled the output system so that the results
	of analysis can be seen.

2007-07-26  John Darrington <john@darrington.wattle.id.au>

	* helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
	of commands.

	* data-editor.c data-editor.glade: Added "Run Pending Transformations"
	menuitem.

2007-07-25  John Darrington <john@darrington.wattle.id.au>

	* customentry.c: Redraw button in insensitive state, if the widget's
	 "editable" style is FALSE.  Don't emit the "clicked" signal if
	 "editable" is FALSE.

	* var-sheet.c: If variables are long-string variables, then set the
	"editable" properties of the entry widgets for the values and missing
	cells to FALSE,

2007-07-18  John Darrington <john@darrington.wattle.id.au>

	* psppire-case-file.c psppire-case-file.h psppire-data-store.c
	psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
	ability to resize string variables.  Fixed associated problems
	inserting/deleting variables.

	* helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
	function.

2007-07-16  John Darrington <john@darrington.wattle.id.au>

	* data-editor.c: File Open dialog remembers directory.  Thanks to
	Ben Pfaff for this suggestion.

2007-07-15  John Darrington <john@darrington.wattle.id.au>

	* compute-dialog.c: Only generate NUMERIC/STRING command if the
	type-and-label dialog was used.

2007-07-12  John Darrington <john@darrington.wattle.id.au>

	* psppire-data-store.c: Added call to g_sheet_model_range_changed to
	ensure that datasheet displays the current store.

	* psppire-data-store.h: Formatting tidy up.

2007-07-11  John Darrington <john@darrington.wattle.id.au>

	* compute-dialog.c : Set type-and-label dialog to sensible state, 		and made syntax generation depend upon existence of target variable.

2007-07-08  John Darrington <john@darrington.wattle.id.au>

	* data-editor.c data-editor.glade data-editor.h: Implemented
	the "Insert Case" button/dialog.

2007-07-08  John Darrington <john@darrington.wattle.id.au>

	* goto-case-dialog.c goto-case-dialog.h (new files)
	* automake.mk data-editor.c data-editor.glade data-editor.h
	psppire-case-file.c psppire-case-file.h psppire-data-store.c
	psppire-data-store.h psppire.glade :  Implemented the goto-case dialog


2007-07-07  John Darrington <john@darrington.wattle.id.au>

	* psppire-data-store.c psppire-data-store.h: Made cases number from
	1 instead of 0.

	* psppire-data-store.c: Added a tooltip like feature to display
	the label of variables.

2007-07-03  John Darrington <john@darrington.wattle.id.au>

	* data-editor.c data-sheet.c: Turned off autoscrolling, and
	manually move to cell on column click instead.

2007-06-29  John Darrington <john@darrington.wattle.id.au>

	* data-editor.c data-editor.glade psppire-data-store.c
	psppire-data-store.h: Enabled cell reference entry and datum
	entry widgets.

2007-06-29  John Darrington <john@darrington.wattle.id.au>

	* data-editor.c data-sheet.c: Moved update_cell_ref_entry from
	data-sheet.c to data-editor.c and made it work again.

2007-06-06  Ben Pfaff  <blp@gnu.org>

	Adapt case sources, sinks, and clients of procedure code to the
	new infrastructure.

	* automake.mk: Removed files.

	* flexifile-factory.c: Removed, dead code.
	* flexifile-factory.h: Ditto.

	* helper.c: Adapt to new procedure and datasheet code.
	* missing-val-dialog.c: Ditto.
	* psppire-case-file.c: Ditto.
	* psppire-data-store.c: Ditto.
	* psppire.c: Ditto.

2007-06-03  Ben Pfaff  <blp@gnu.org>

	* psppire-var-store.c (psppire_var_store_item_editable): Use
	var_is_alpha.

2007-05-07 John Darrington <john@darrington.wattle.id.au>

	* psppire-dialog.c psppire-dialog.h: Added "orientation" property,
        to allow dialogs to be either vertical or horizontal.

	* comments-dialog.c comments-dialog.h: New files, invoking
	ADD DOCUMENT cmd.

2007-04-30 John Darrington <john@darrington.wattle.id.au>

	* var-display.c var-display.h variable-info-dialog.c
	variable-info-dialog.h : New files.

	* data-editor.c :

	* psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
	property, and optional 	GOTO and CONTINUE buttons.

	* psppire-dialog.h: Added response codes for the new buttons.

	* psppire-var-store.c : Moved some code to var-display.[ch]

2007-04-25 John Darrington <john@darrington.wattle.id.au>

	* icons/scalable/splash.c icons/splash.png : More eye candy.

	* main.c psppire.h : new files.

	* psppire.c : Seperated the command line parsing and other
	environment startup from the core psppire code.

2007-04-25 John Darrington <john@darrington.wattle.id.au>

	* icons/scalable icons/16x16: new directories.
	* psppire.c : Add new icons to factory.

	* dict-display.c: Refactor code get model from modelfilter.
	Added cellrenderer to display icon indicating variables' types.
        Displayed the label of variables, if there is one.


2007-04-15  Ben Pfaff  <blp@gnu.org>

	* compute-dialog.c (function_list_populate): Use new accessor
	functions exported by language/expressions/public.h.

2007-04-15  Ben Pfaff  <blp@gnu.org>

	* compute-dialog.c: Make #include for parse.inc work with VPATH
	builds.

2007-04-13   John Darrington <john@darrington.wattle.id.au>

	* var-type-dialog.c: Added a FMT_DATETIME20 template.

2007-04-04   John Darrington <john@darrington.wattle.id.au>

	* compute-dialog.c compute-dialog.h: New files

	* data-editor.c data-editor.h data-editor.glade : Added Transform
	menu, and support for Compute dialog

	* glade-register.c psppire-buttonbox.c psppire-buttonbox.h
	  psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c
	  psppire-vbuttonbox.h : Made buttonbox an abstract base class
         and separated it into vbuttonbox and hbuttonbox.

	* psppire-selector.c : Allowed GtkTextView to be the destination
	widget.

	* psppire-keypad.c: Added an "erase" signal.  Fixed other
        minor problems.

2007-04-03  Ben Pfaff  <blp@gnu.org>
	    John McCabe-Dansted <gmatht@gmail.com>

	* psppire-selector.c (psppire_selector_set_subjects): Add an
	assert that may or may not trap some Windows-related bugs.

2007-04-03   John Darrington <john@darrington.wattle.id.au>

	* data-editor.c data-editor.glade helper.h syntax-editor.c
	syntax-editor.h : Implemented the File->Recently_Used_ menus.


2007-03-31   John Darrington <john@darrington.wattle.id.au>

	* data-editor.c data-editor.glade data-editor.h dialog-common.c
	psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
	psppire-selector.c psppire-selector.h psppire.c psppire.glade
	sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
	transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
	button on all the dialogs.

2007-03-31   John Darrington <john@darrington.wattle.id.au>

	* data-editor.c: Added hooks for the split-file-dialog

	* psppire.glade: Added the split file dialog box.

	* split-file-dialog.c split-file-dialog.h: New files.

	* dialog-common.c dialog-common.h: New files containing functions
	which seem to be used a lot in dialog box implementations.

	* psppire-keypad.c psppire-keypad.h: New files.  Implements keypad
	thingumy widget.

	* psppire-selector.c: Made the orientation of the arrow a property
	of the widget, so that it can be selected from glade.

2007-03-18  Ben Pfaff  <blp@gnu.org>

	* syntax-editor-source.c (close): Rename do_close to avoid naming
	conflict with POSIX function of same name.

Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
	* psppire.c:  Changed gtk_init to gtk_parse_args, followed by a delayed 	call to gdk_init, so that psppire --version will succeed, even if it
	cannot connect to a display .

Wed Mar  7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>

	* var-sheet.c: Replaced call to nl_langinfo with locale_charset
	from gnulib.

Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>

	* data-editor.c : called new gen_quoted_string function to properly
          quote filenames in generated syntax.

	* window-manager.c : Converted name from filename encoding to UTF8
          before displaying in title bar.

Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>

	* psppire-dict.c: Call all the callbacks when a new dictionary becomes current.

	* data-editor.c: Clear existing file name on FILE NEW.

Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>

	* var-type-dialog.c: Fixed bugs closing window, apparent when compiled
	against gtk.2.10

Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>

	* psppire-var-select.c psppire-var-select.h : Deleted.

	* psppire-selector.c psppire-selector.h : New files.

	* transpose-dialog.c transpose-dialog.h : New files.

	* psppire-dict.c psppire-dict.h : Added missing GtkTreeModel
	interface functions.

	* weight-cases-dialog.c weight-cases-dialog.h : Re-implemented,
	using new PsppireSelector widget.

	* dict-display.c dict-display.h : New files.

	* psppire-object.c psppire-object.h : Deleted.  Seemed like a good idea at the time.

Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>

	* helper.c helper.h: New function execute_syntax.

	* syntax-editor.c syntax-editor.glade: Disabled data open/save menu
	items.

	* data-editor.c data-editor.glade data-editor.h: Enabled data
	open/save/save_as  menu-items.

	* window-manager.h window-manager.c (default_window_name) : New
	function.

Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>

	* psppire-case-file.c psppire-data-store.c psppire-dialog.c
	psppire-dict.c psppire-var-select.c : Replaced identifier 'signal'
	with 'signals' to avoid conflict with sysv based systems which use
	this identifer for something else.
	Thanks to Daniel E WILLIAMS for reporting this problem.

Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>

	* psppire-case-file.c : Make sure there is always a valid flexifile

	* psppire-data-store.c : assertions.

	* psppire.c: Ignore replace source callbacks if the new source is
	  not of storiage_source_class

	* syntax-editor.c: Close/Abort source after parsing is complete.

Sun Jan  7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>

	* psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals
	corresponding to the callbacks in src/data/dictionary.c

	* data-editor.c : Connect functions to the FILTER_CHANGED and
	SPLIT_CHANGED signals to update the status bar accordingly.

Mon Jan  1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>

	* psppire-case-file.c psppire-case-file.h: Changed the backend
	semantics. An object is now created without any backend.  A new function        ( psppire_case_file_replace_flexifile ) sets the backend to use.

	* psppire-data-store.c : Updated callers accordingly.

	* psppire-dict.c psppire-dict.h : New function
	(psppire_dict_replace_dictionary) .

	* psppire.c : Updated to use new dataset replace_{source, dictionary}
	callbacks.

	* syntax-editor.c : parses in state CMD_STATE_DATA unless there are
	no variables in the dictionary.

Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* data-editor.c data-editor.glade: Enabled deleting of variables from
	the variable sheet.

Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
	These are not required, now that src/data/dictionary.c has callbacks

Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
	labels dialog box.

Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* syntax-editor-source.c syntax-editor-source.h syntax-editor.h:
	New files.

	* message-dialog.c :  Now reports the filename and line number in
	error messages.

	* psppire.c psppire.glade syntax-editor.c: Added the ability to run
	syntax from the syntax editor.


Sat Dec 16 14:13:07 2006  Ben Pfaff  <blp@gnu.org>

	* psppire-data-store.c (geometry_get_justification): Don't assume
	that ALIGN_* and GTK_JUSTIFY_* values coincide.

Sat Dec 16 14:10:43 2006  Ben Pfaff  <blp@gnu.org>

	* psppire-var-store.c (text_for_column): Adjust to account for new
	values of the MEASURE_* enums.

	* var-sheet.c (change_measure): Ditto.

Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* psppire-variable.c psppire-variable.h: Deleted.

	* psppire-dict.c psppire-dict.h: Removed the caching of the variable
	    data, which is now unecessary because src/data/vardict.h maintains
	    an association between variables and their dictionary.

	* data-sheet.c menu-actions.c missing-val-dialog.c
	  missing-val-dialog.h psppire-data-store.c
	  psppire-var-store.c psppire-var-store.h
	  sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h
	  var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the
	    consequences of deleting psppire-variable.[ch].


Sat Dec  9 20:03:04 2006  Ben Pfaff  <blp@gnu.org>

	* var-type-dialog.c (var_type_dialog_create): Use
	fmt_dollar_template from data/format.c.
	(dollar_format_template) Removed.

Sat Dec  9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* syntax-editor.c : New file.

Tue Oct 31 19:25:31 2006  Ben Pfaff  <blp@gnu.org>

	* var-type-dialog.c: Add missing "#include <config.h>".

	* psppire.c: Ditto.

Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>

    * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
    psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
    psppire.c psppire.glade: Adjusted code to use the new flexifile object.

Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>

   * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where
   	there's no suitable gtk stock icon.

Tue Jul  4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>

   * psppire.c: Fixed --help and --version options.

Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>

   * menu-actions.c: Added goto case and sort cases dialogs.

   * psppire-case-file.c psppire-case-file.h: Added sort function.

   * psppire-data-store.c psppire-variable.c psppire-variable.h:
     Renamed  psppire_variable_get_index to psppire_variable_get_fv and
     dealt with the consequences.  Added a psppire_variable_get_index
     function which actually does what the name suggests.

   * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
     which allows a dictionary to be displayed in a GtkTreeView.

   * psppire.glade: Added dialog boxes for Goto Case and Sort Case.

   * sort-cases-dialog.c sort-cases-dialog.h (new files).

Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>

   * psppire-case-file.c psppire-case-file.h (new files)

   * automake.mk data-sheet.c data-sheet.h menu-actions.c
   psppire-data-store.c psppire-data-store.h psppire-dict.c
   psppire-dict.h psppire-var-store.c psppire.c

     Replaced psppire-case-array.c  with psppire-case-file.c, so as to
     allow an arbitrary number of cases to be represented.

Sun Jun  4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>

   * psppire-var-store.c, psppire.c, var-sheet.c :  Unlimited the number of
   variables that can be displayed. Minor i18n issues.

Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>

   * menu-actions.c menu-actions.h psppire.c: Fixed up load/new
   interactions with startup.

   * psppire-data-store.c: Fixed bad i18n call.

   * pspppire-var-store.c, psppire-var-store.h: constness.

   * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.


Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>

   * customentry.c data-sheet.c menu-actions.c message-dialog.c
     missing-val-dialog.c psppire-data-store.c psppire-var-store.c
     psppire.c psppire.glade var-sheet.c: Fixed internationalisation.

Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>

   * psppire-var-store.c: Converted strings to utf8 and returned them on the
   heap.

Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>

   * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
   active cell is never on a deleted variable.

   * psppire-data-store.c psppire-data-store.h:  Added get_var_count and
   get_case_count functions.

   * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.

   * psppire.c: Allowed user to specify *.sav file on command line.

Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* menu-actions.c psppire-case-array.c psppire-case-array.h
	  psppire-data-store.c  psppire-dict.c psppire-dict.h
	  psppire-variable.c:

	  Initialised new cases to SYSMIS/blank when inserting in data sheet.

Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* data-sheet.c, helper.c, helper.h, psppire-data-store.c,
          psppire-var-store.c:

	  Set free_strings flag so that the gtksheet frees the string data
	  when it's done with them.

Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c
	psppire.c: Converted strings to utf8 before passing to gtksheet.

	* psppire-dict.c: Changed buffer to more reasonable length

	* var-sheet.c: Changed maximum string length to use macro from
	data/values.h


Sun May  7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* psppire-data-store.c: Fixed buglet initialising string members.

Thu May  4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>

	* message-dialog.c message-dialog.h: Added simple queuing to messages
	reported, and ensure that dialog boxes dont appear when pointer grab
	is active.

	* psppire-data-store.c: Fix overflow on very long string variables.

	* automake.mk: Fix broken dependency.


Tue Apr 25 11:08:04 2006  Ben Pfaff  <blp@gnu.org>

	Finish reforming error message support.  In this phase, move
	message.c into libpspp.

	* automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.

Tue Apr 25 10:56:53 2006  Ben Pfaff  <blp@gnu.org>

	Continue reforming error message support.  In this phase, drop
	actual message printing from core code, substituting a callback,
	and add the callback to each UI.  Also, move verbose_msg() into
	its own module.

	* automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.

	* message-dialog.c: (message_dialog_init) New function.
	(vmsg) Rename handle_msg(), rewrite as callback function.
	(msg) Removed.
	(msg_emit) Removed.
	(msg_assert_fail) Removed.
	(verbose_msg) Removed.

	* psppire.c: (main) Call message_dialog_init().

Sun Apr 23 22:07:49 2006  Ben Pfaff  <blp@gnu.org>

	Continue reforming error message support.  In this phase, get rid
	of message "titles" and put the message text in `struct error'.
	Now `struct error' encapsulates a message more properly.

	* message-dialog.c: (err_vmsg) Rename err_msg().  Updated
	interface.

Sun Apr 16 20:45:35 2006  Ben Pfaff  <blp@gnu.org>

	Continue reforming error message support.  In this phase, we
	divide the classification of messages along "category" and
	"severity" axes.

	* message-dialog.c: (vmsg) Use severity and category in
	straightforward fashion instead of the less obvious "class".
	(err_vmsg) Construct class before passing along to vmsg().

Sun Apr 16 16:06:54 2006  Ben Pfaff  <blp@gnu.org>

	Continue reforming error message support.  In this phase, we get
	rid of VM() and the other msg() support for "verbosity", replacing
	it by a new function verbose_msg().

	* message-dialog.c: (verbose_msg) New function.
	(err_cond_fail) Removed (dead code).
	(err_failure) Removed (dead code).

Sun Apr 16 11:53:25 2006  Ben Pfaff  <blp@gnu.org>

	Start reforming error message support.  In this phase, we get rid
	of "installation errors" and change all uses of msg() in the
	output drivers to uses of error() or error_at_line().

	* message-dialog.c: (vmsg) Removed IE, IS support.

Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>

    * psppire.c: Supported (sort of) the --help and --version options.

    * Rename error-dialog.[ch] -> message-dialog.[ch]

    * Moved code from the psppire module.

Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>

    * Separated the data out of the GtkSheet.

Tue Nov  2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>

    * Very first incarnation.
