1 2008-05-20 John Darrington <john@darrington.wattle.id.au>
3 * automake.mk: Added the -no-undefined flag so that dlls can be built
4 on w32 platforms. Abstracted the dependencies of glade-register.c
5 into a new shared library libpsppwidgets.so, which can be either
6 linked directly by psppire or by libpsppire.so
8 * psppire-keypad.c: Changed snprintf to g_snprintf so as not to use
11 2008-05-15 Ben Pfaff <blp@gnu.org>
13 * automake.mk: Rename install-data-hook to yelp-check and mark it
14 phony. This avoids an automake warning for duplicate
15 install-data-hook commands in doc/automake.mk and this file
16 (automake does not understand double-colon rules, since they are
19 2008-05-09 John Darrington <john@darrington.wattle.id.au>
21 * automake.mk: On make install, warn about the non-existance of yelp.
23 2008-05-08 Ben Pfaff <blp@gnu.org>
25 Patch #6505. Reviewed by John Darrington.
27 * text-data-import-dialog.c: Don't make the user wiggle the mouse
28 to be able to click on the Forward button twice in quick
30 (add_page_to_assistant): Mark pages in the assistant complete
32 (on_prepare): No longer mark pages complete upon first visit.
34 2008-05-08 Ben Pfaff <blp@gnu.org>
36 Patch #6505. Reviewed by John Darrington.
38 * text-data-import-dialog.c: (struct assistant) New member
40 (revise_fields_preview): Change the mouse pointer to a watch to
41 indicate that a long operation is ongoing.
42 (prepare_formats_page): Ditto.
43 (on_variable_change): Ditto.
44 (push_watch_cursor): New function.
45 (pop_watch_cursor): New function.
47 2008-05-08 John Darrington <john@darrington.wattle.id.au>
49 * data-editor.c: In popup menus, connect the Insert Variable and
50 Insert Case callbacks manually, instead of relying on
51 gtk_action_connect_proxy, as the latter connects a label with a
52 mnemonic which is inappropriate.
54 2008-05-06 Ben Pfaff <blp@gnu.org>
56 Bug #23127. Reviewed by John Darrington. Tested by Jason Stover,
59 * text-data-import-dialog.c (get_tooltip_location): Prevent crash
60 when a tooltip is being prepared when the assistant is closed.
62 2008-05-06 Ben Pfaff <blp@gnu.org>
64 * text-data-import-dialog.c (text_data_import_assistant): Allocate
65 the struct import_assistant on the heap instead of the stack, to
66 make it easier for memory debuggers such as Valgrind to point out
67 use of its members after this function returns.
69 2008-03-25 John Darrington <john@darrington.wattle.id.au>
71 * data-editor.glade: Removed unused menuitems.
73 * data-editor.c data-editor.glade: Added Mnemonics to all menuitems.
75 2008-03-16 Ben Pfaff <blp@gnu.org>
77 Patch #5368. Reviewed by John Darrington. Tested by Jason
80 * automake.mk: Add new files.
82 * data-editor.glade: Add "import delimited text data" menu item.
84 * data-editor.c: Connect "import delimited text data" menu item.
86 * text-data-import-dialog.c: New file.
88 * text-data-import-dialog.h: New file.
90 * text-data-import.glade: New file.
92 2008-03-07 Ben Pfaff <blp@gnu.org>
94 * psppire-var-sheet.c: Initialize "may-create-vars" to TRUE by
97 2008-03-06 Ben Pfaff <blp@gnu.org>
99 * psppire-var-sheet.c psppire-var-sheet.h: Add "may-create-vars"
100 property to var sheet that controls whether the user can create
101 new variables in the dictionary. Needed by upcoming patch #6358.
102 Reviewed by John Darrington.
104 2008-03-04 Ben Pfaff <blp@gnu.org>
106 Patch #6427. Reviewed by John Darrington.
108 * comments-dialog.c: Adapt to new syntax generating code in
111 * data-editor.c: Ditto.
113 * recode-dialog.c: Ditto.
115 * t-test-independent-samples-dialog.c: Ditto.
117 2008-02-29 John Darrington <john@darrington.wattle.id.au>
119 * psppire-data-editor.c psppire-data-editor.h: New files. Contains functionality
120 previously scattered thoughout data-editor.c and elsewhere.
122 * data-editor.c data-editor.h: Abstracted the variable sheet, the data sheet and
123 their containing GtkNotebook into a new Object.
125 * data-sheet.c data-sheet.h: Deleted.
127 * var-sheet.c var-sheet.h: Deleted. Moved to psppire-var-sheet.[ch]
129 * psppire-var-sheet.c psppire-var-sheet.h: New files.
131 * clipboard.c clipboard.h: Deleted. Moved to psppire-data-editor.c
133 * psppire-var-store.c psppire-var-store.h: Updated symbols to avoid name clashes.
135 * comments-dialog.c compute-dialog.c crosstabs-dialog.c descriptives-dialog.c
136 examine-dialog.c find-dialog.c frequencies-dialog.c goto-case-dialog.c
137 oneway-anova-dialog.c rank-dialog.c recode-dialog.c select-cases-dialog.c
138 sort-cases-dialog.c split-file-dialog.c t-test-independent-samples-dialog.c
139 transpose-dialog.c variable-info-dialog.c weight-cases-dialog.c t-test-one-sample.c
140 t-test-paired-samples.c: Updated dialogs to match above changes.
142 2008-02-27 Jason Stover <jhs@math.gcsu.edu>
144 * regression-dialog.c: New file.
146 * regression-dialog.h: New file.
148 * regression.glade: New file.
150 2008-02-19 Ben Pfaff <blp@gnu.org>
152 Patch #6426. Reviewed by John Darrington.
154 * psppire-var-store.c: Add "trailing-rows", "format-type"
155 properties to PsppireVarStore.
157 2008-02-19 Ben Pfaff <blp@gnu.org>
159 * message-dialog.c (popup_messages): Always destroy `msg' and
160 `lead' strings, avoiding a memory leak. Thanks to John Darrington
161 for reporting the problem.
163 2008-02-19 John Darrington <john@darrington.wattle.id.au>
165 * dict-display.c: Display names of variables in dialog box
166 dictionary treeviews, when the mouse hovers over the variable.
168 2008-02-13 John Darrington <john@darrington.wattle.id.au>
170 * variable-info-dialog.c: Fix crash when clicking "Jump" when no
171 variable selected. Add a valid predicate so that this can't
174 * compute-dialog.c: Fix crash when trying to set label on non
177 2008-02-09 Ben Pfaff <blp@gnu.org>
179 Consolidate multiple messages into single message dialog. Patch
180 #6405. Thanks to John Darrington for review.
182 * automake.mk (dist_src_ui_gui_psppire_DATA): Add
183 message-dialog.glade.
185 * helper.c (give_help): Use GtkMessageDialog directly instead of
186 trying to reuse message-dialog code.
188 * message-dialog.c: Rewritten.
190 * message-dialog.glade: New file.
192 2008-02-08 Jason Stover <jhs@math.gcsu.edu>
194 * crosstabs-dialog.c: New file.
196 * crosstabs-dialog.h: New file.
198 * crosstabs.glade: New file.
200 2008-02-08 John Darrington <john@darrington.wattle.id.au>
202 * psppire-data-store.c: Remove feature which automatically inserts
203 cases at end of data.
205 * datasheet.c: Make rows after the last + 1, not editable.
207 2008-02-08 John Darrington <john@darrington.wattle.id.au>
209 * sort-cases-dialog.c transpose-dialog.c: Added dialog_valid
212 2008-02-04 John Darrington <john@darrington.wattle.id.au>
214 * checkbox-treeview.c: In toggle callback, use the treeview's
215 current model, instead of relying on the one set at creation.
216 Use attributes instead of cell_renderer functions.
218 2008-02-03 John Darrington <john@darrington.wattle.id.au>
220 * psppire-case-file.c psppire-case-file.h: Dont clone the casereader
221 before creating datasheet. Add properties instead of direct code
224 * psppire-data-store.c: Implement proper dispose function.
226 2008-01-29 John Darrington <john@darrington.wattle.id.au>
228 * psppire-var-ptr.c psppire-var-ptr.h: New files
230 * t-test-paired-samples.c t-test-paired-samples.h: New files
232 * dialog-common.c dialog-common.h (append_variable_names): Add extra
233 argument to specify the column number containing the variables.
235 * psppire-selector.c psppire-selector.h: Add auxilliary data variable
236 to SelectItemsFunc. (is_item_in_dest) transform model value to G_TYPE_INT
237 before using. Hence the model need not be of integer type.
239 2008-01-22 John Darrington <john@darrington.wattle.id.au>
241 * psppire-dict.c (psppire_dict_rename_var): Fixed bug where
242 an assertion failure occured when renaming variables to an
243 existing name. Thanks to Ben for reporting this.
245 2007-12-13 John Darrington <john@darrington.wattle.id.au>
247 * dialog-common.c dialog-common.h (numeric_only): New function.
249 * t-test-independent-samples-dialog.c: Added the ability to specify
250 groups by a threshold ("Cut Point"). Keep OK/Paste buttons insensitive,
251 until groups are properly defined. Prevented variables treeview from
252 accepting string variables.
254 2007-12-08 John Darrington <john@darrington.wattle.id.au>
256 * data-editor.h data-editor.c: Added hooks for one sample t-test
258 * t-test-one-sample.c t-test-one-sample.h (new files): Implemented
259 a dialog box for the One Sample T Test.
261 * t-test-independent-samples-dialog.c: Factored out the options sub
262 dialog (see following).
264 * t-test-options.c t-test-options.h (new files): New module
265 implementing the options sub-dialog for T tests.
267 2007-12-07 John Darrington <john@darrington.wattle.id.au>
269 * frequencies-dialog.c: Made the options subdialog transient
272 2007-12-01 John Darrington <john@darrington.wattle.id.au>
274 * descriptives-dialog.c: Moved the code dealing with checkboxes
275 inside treeview widgets into their own files.
277 * checkbox-treeview.c checkbox-treeview.h: New file (see above).
279 * frequencies-dialog.c frequencies-dialog.h frequencies.glade: New
280 files. Implemented FREQUENCIES dialog box.
282 * data-editor.c data-editor.h data-editor.glade : Added callback
283 for frequencies dialog.
286 2007-11-23 John Darrington <john@darrington.wattle.id.au>
288 * psppire-acr.c psppire-acr.h: Generalised the external widget
289 somewhat. It can now be anything, not necessarily a GTK_ENTRY.
291 * helper.c helper.h (clone_list_store): New function.
293 * oneway-anova-dialog.c : Used the clone_list_store function
294 instead of writing it ourselves.
296 * psppire-dialog.c psppire-dialog.h: Added a tabular orientation
297 in addition to the horizontal/vertical options.
299 * recode-dialog.c recode-dialog.h recode.glade (new files).
301 * psppire-selector.c psppire-selector.h: Added a function to
302 allow the prohibition of items based on a predicate.
304 * dialog-common.h dialog-common.c (homogeneous_types): New function.
306 * data-editor.c data-editor.glade data-editor.h: Enabled the
307 recode dialog options.
310 2007-11-23 John Darrington <john@darrington.wattle.id.au>
312 * compute-dialog.c (generate_syntax): Append "EXECUTE." to the
315 2007-10-19 John Darrington <john@darrington.wattle.id.au>
317 * psppire-acr.c psppire-acr.h (new files): Added this new
320 * data-editor.c data-editor.h: Added entries for ONEWAY command
323 * oneway-anova-dialog.c oneway-anova-dialog.h oneway.glade (new files)
325 2007-10-06 John Darrington <john@darrington.wattle.id.au>
327 * psppire-dialog.c psppire-dialog.h: Added a predicate function
328 member to indicate when a dialog's state is (not) valid. Added a
329 signal "validity-changed" which gets emitted whenever this
332 * psppire-buttonbox.c: Connect to the toplevel window's
333 "validity-changed" signal (assuming it happens to be a
334 PsppireDialog) and set the OK, PASTE, GOTO and CONTINUE buttons
337 * descriptives-dialog.c compute-dialog.c: Add a validity predicate.
339 2007-10-05 Ben Pfaff <blp@gnu.org>
341 Add DESCRIPTIVES dialog.
343 * automake.mk (dist_src_ui_gui_psppire_DATA): Add
344 descriptives-dialog.data.
345 (src_ui_gui_psppire_SOURCES): Add descriptives-dialog.c,
346 descriptives-dialog.h.
348 * data-editor.c (new_data_editor): Connect descriptive dialog to
351 * data-editor.glade: Change menu item to invoke DESCRIPTIVES.
353 * descriptives-dialog.c: New file.
355 * descriptives-dialog.h: New file.
357 * descriptives-dialog.glade: New file.
359 2007-10-04 John Darrington <john@darrington.wattle.id.au>
361 * compute-dialog.c goto-case-dialog.c main.c psppire-keypad.c: Added
364 * psppire.glade about.c: Read GPL text from src/libpspp/copyleft.c
365 instead of makeing another copy in psppire.glade.
367 * psppirebuttonbox.c psppire.c: Create a new stock item for
370 2007-09-26 John Darrington <john@darrington.wattle.id.au>
372 * output-viewer.c output-viewer.h psppire.c: (closes patch #6210)
373 Changed width and length parameters of output driver to
374 "auto". Changed default width and length to be something
375 acceptable to the ascii driver. (reload_viewer) Dynamically
376 allocate the line buffer so that it matches the width of the output.
378 2007-09-24 Ben Pfaff <blp@gnu.org>
380 * message-dialog.c (popup_message): Refer to files that contain
381 commands as "syntax" files, not "script" files, for better user
383 Patch #6210. Reviewed by John Darrington.
385 2007-09-19 John Darrington <john@darrington.wattle.id.au>
387 * message-dialog.c: Changed the ouput message title to be
388 appropriate for the severity of the message.
390 * output-viewer.c output-viewer.h : Added a callback for the resize
391 signal of the output viewer, and set the viewport length and
394 * psppire.c: Update to new init_settings interface.
396 2007-09-27 John Darrington <john@darrington.wattle.id.au>
398 Addressing bug #20821:
400 * psppire-dict.c: Added a BACKEND_CHANGED signal to indicate when
401 a PsppireDict's struct dictionary has been replaced.
403 * psppire-var-store.c: Added the appropriate method for
404 get_column_count. Added a signal handler for dict:BACKEND_CHANGED,
405 which calls the g_sheet_model_range_changed for the entire sheet.
407 2007-09-18 Ben Pfaff <blp@gnu.org>
409 * helper.c (create_casereader_from_data_store): New function.
410 (execute_syntax): Only replace the active file data by a new
411 casereader if syntax caused the active file to be read, to avoid
412 exponential slowdown as an increasing number of snippets that do
413 not read from the active file are consecutively executed. Bug
414 #20910. Reviewed by and heavily influenced by John Darrington.
416 * psppire-data-store.c (psppire_data_store_get_value_count): New
419 * psppire-dict.c (psppire_dict_get_value_cnt): New function.
421 2007-09-13 John Darrington <john@darrington.wattle.id.au>
423 * find-dialog.c find-dialog.h: New files.
425 * data-editor.c data-editor.h data-editor.glade: Added action for
428 * psppire-selector.c: Emit the (de)selected signal when the
429 destination entry widget's text changes.
431 2007-09-10 Ben Pfaff <blp@gnu.org>
433 * var-sheet.c (psppire_variable_sheet_create): Use xstrdup to save
434 string returned by bind_textdomain_codeset. Otherwise it can get
435 freed by a subsequent call. Patch #6193. Reviewed by John
438 2007-09-06 John Darrington <john@darrington.wattle.id.au>
440 * helper.c helper.h (execute_syntax): changed return type to
441 gboolean to indicated if all the syntax executed successfully or not.
443 * data-editor.c syntax-editor.c: Fixed update of recent file list
444 and window title, on data_file_open. They now only change, if
445 the file_open was successfull.
448 2007-08-25 John Darrington <john@darrington.wattle.id.au>
450 * psppire.c : Enable journal.
452 2007-08-18 John Darrington <john@darrington.wattle.id.au>
454 * clipboard.c clipboard.h data-editor.c: Added the ability to paste from
455 the clipboard into the data sheet.
457 2007-08-16 John Darrington <john@darrington.wattle.id.au>
459 * output-viewer.c output-viewer.h output-viewer.glade (new files)
460 helper.c psppire.c syntax-editor.glade window-manager.c
461 window-manager.h : Added a basic output viewer window.
463 2007-08-13 John Darrington <john@darrington.wattle.id.au>
465 * clipboard.c (clip_to_html clip_to_text): Fixed bug --- use the
466 variable count instead of the value count for the columns limit.
468 2007-08-12 John Darrington <john@darrington.wattle.id.au>
469 Ben Pfaff <blp@gnu.org>
471 Implement Edit|Cut operation for datasheet. Patch #6117.
473 * automake.mk: Add clipboard.c, clipboard.h.
475 * clipboard.c: New file.
477 * clipboard.h: New file.
479 * data-editor.c (new_data_editor): Connect Edit|Copy to
480 on_edit_copy function.
481 (data_var_select): Enable or disable Edit|Copy as appropriate.
482 (on_edit_copy): New function.
484 * data-editor.glade: Connect menu items to new operations.
486 2007-08-12 Ben Pfaff <blp@gnu.org>
488 * psppire-dict.c (psppire_dict_dump): Don't use
489 dict_get_compacted_dict_index_to_case_index, as that function has
492 2007-08-13 John Darrington <john@darrington.wattle.id.au>
494 * psppire-case-file.c (psppire_case_file_append_case):
495 Deleted unused function.
497 2007-08-07 John Darrington <john@darrington.wattle.id.au>
499 * helper.c (execute_syntax): Set the active file data to NULL at the
500 end of the procedure. Thanks to Ben for suggesting this.
502 * psppire-case-file.c: Added assertions to the remaining functions
503 on inaccessible objects.
505 * psppire-data-store.c psppire-data-store.h: Disconnect or block
506 signals on dictionary and case_file, when make_reader has been called.
507 Reconnect or unblock them when a new datasheet has been set for the
510 2007-08-06 John Darrington <john@darrington.wattle.id.au>
512 * syntax-editor.glade: Changed some properties to be less annoying.
514 2007-07-29 John Darrington <john@darrington.wattle.id.au>
516 * helper.c psppire.c: Enabled the output system so that the results
517 of analysis can be seen.
519 2007-07-26 John Darrington <john@darrington.wattle.id.au>
521 * helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
524 * data-editor.c data-editor.glade: Added "Run Pending Transformations"
527 2007-07-25 John Darrington <john@darrington.wattle.id.au>
529 * customentry.c: Redraw button in insensitive state, if the widget's
530 "editable" style is FALSE. Don't emit the "clicked" signal if
533 * var-sheet.c: If variables are long-string variables, then set the
534 "editable" properties of the entry widgets for the values and missing
537 2007-07-18 John Darrington <john@darrington.wattle.id.au>
539 * psppire-case-file.c psppire-case-file.h psppire-data-store.c
540 psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
541 ability to resize string variables. Fixed associated problems
542 inserting/deleting variables.
544 * helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
547 2007-07-16 John Darrington <john@darrington.wattle.id.au>
549 * data-editor.c: File Open dialog remembers directory. Thanks to
550 Ben Pfaff for this suggestion.
552 2007-07-15 John Darrington <john@darrington.wattle.id.au>
554 * compute-dialog.c: Only generate NUMERIC/STRING command if the
555 type-and-label dialog was used.
557 2007-07-12 John Darrington <john@darrington.wattle.id.au>
559 * psppire-data-store.c: Added call to g_sheet_model_range_changed to
560 ensure that datasheet displays the current store.
562 * psppire-data-store.h: Formatting tidy up.
564 2007-07-11 John Darrington <john@darrington.wattle.id.au>
566 * compute-dialog.c : Set type-and-label dialog to sensible state, and made syntax generation depend upon existence of target variable.
568 2007-07-08 John Darrington <john@darrington.wattle.id.au>
570 * data-editor.c data-editor.glade data-editor.h: Implemented
571 the "Insert Case" button/dialog.
573 2007-07-08 John Darrington <john@darrington.wattle.id.au>
575 * goto-case-dialog.c goto-case-dialog.h (new files)
576 * automake.mk data-editor.c data-editor.glade data-editor.h
577 psppire-case-file.c psppire-case-file.h psppire-data-store.c
578 psppire-data-store.h psppire.glade : Implemented the goto-case dialog
581 2007-07-07 John Darrington <john@darrington.wattle.id.au>
583 * psppire-data-store.c psppire-data-store.h: Made cases number from
586 * psppire-data-store.c: Added a tooltip like feature to display
587 the label of variables.
589 2007-07-03 John Darrington <john@darrington.wattle.id.au>
591 * data-editor.c data-sheet.c: Turned off autoscrolling, and
592 manually move to cell on column click instead.
594 2007-06-29 John Darrington <john@darrington.wattle.id.au>
596 * data-editor.c data-editor.glade psppire-data-store.c
597 psppire-data-store.h: Enabled cell reference entry and datum
600 2007-06-29 John Darrington <john@darrington.wattle.id.au>
602 * data-editor.c data-sheet.c: Moved update_cell_ref_entry from
603 data-sheet.c to data-editor.c and made it work again.
605 2007-06-06 Ben Pfaff <blp@gnu.org>
607 Adapt case sources, sinks, and clients of procedure code to the
610 * automake.mk: Removed files.
612 * flexifile-factory.c: Removed, dead code.
613 * flexifile-factory.h: Ditto.
615 * helper.c: Adapt to new procedure and datasheet code.
616 * missing-val-dialog.c: Ditto.
617 * psppire-case-file.c: Ditto.
618 * psppire-data-store.c: Ditto.
621 2007-06-03 Ben Pfaff <blp@gnu.org>
623 * psppire-var-store.c (psppire_var_store_item_editable): Use
626 2007-05-07 John Darrington <john@darrington.wattle.id.au>
628 * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
629 to allow dialogs to be either vertical or horizontal.
631 * comments-dialog.c comments-dialog.h: New files, invoking
634 2007-04-30 John Darrington <john@darrington.wattle.id.au>
636 * var-display.c var-display.h variable-info-dialog.c
637 variable-info-dialog.h : New files.
641 * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
642 property, and optional GOTO and CONTINUE buttons.
644 * psppire-dialog.h: Added response codes for the new buttons.
646 * psppire-var-store.c : Moved some code to var-display.[ch]
648 2007-04-25 John Darrington <john@darrington.wattle.id.au>
650 * icons/scalable/splash.c icons/splash.png : More eye candy.
652 * main.c psppire.h : new files.
654 * psppire.c : Seperated the command line parsing and other
655 environment startup from the core psppire code.
657 2007-04-25 John Darrington <john@darrington.wattle.id.au>
659 * icons/scalable icons/16x16: new directories.
660 * psppire.c : Add new icons to factory.
662 * dict-display.c: Refactor code get model from modelfilter.
663 Added cellrenderer to display icon indicating variables' types.
664 Displayed the label of variables, if there is one.
667 2007-04-15 Ben Pfaff <blp@gnu.org>
669 * compute-dialog.c (function_list_populate): Use new accessor
670 functions exported by language/expressions/public.h.
672 2007-04-15 Ben Pfaff <blp@gnu.org>
674 * compute-dialog.c: Make #include for parse.inc work with VPATH
677 2007-04-13 John Darrington <john@darrington.wattle.id.au>
679 * var-type-dialog.c: Added a FMT_DATETIME20 template.
681 2007-04-04 John Darrington <john@darrington.wattle.id.au>
683 * compute-dialog.c compute-dialog.h: New files
685 * data-editor.c data-editor.h data-editor.glade : Added Transform
686 menu, and support for Compute dialog
688 * glade-register.c psppire-buttonbox.c psppire-buttonbox.h
689 psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c
690 psppire-vbuttonbox.h : Made buttonbox an abstract base class
691 and separated it into vbuttonbox and hbuttonbox.
693 * psppire-selector.c : Allowed GtkTextView to be the destination
696 * psppire-keypad.c: Added an "erase" signal. Fixed other
699 2007-04-03 Ben Pfaff <blp@gnu.org>
700 John McCabe-Dansted <gmatht@gmail.com>
702 * psppire-selector.c (psppire_selector_set_subjects): Add an
703 assert that may or may not trap some Windows-related bugs.
705 2007-04-03 John Darrington <john@darrington.wattle.id.au>
707 * data-editor.c data-editor.glade helper.h syntax-editor.c
708 syntax-editor.h : Implemented the File->Recently_Used_ menus.
711 2007-03-31 John Darrington <john@darrington.wattle.id.au>
713 * data-editor.c data-editor.glade data-editor.h dialog-common.c
714 psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
715 psppire-selector.c psppire-selector.h psppire.c psppire.glade
716 sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
717 transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
718 button on all the dialogs.
720 2007-03-31 John Darrington <john@darrington.wattle.id.au>
722 * data-editor.c: Added hooks for the split-file-dialog
724 * psppire.glade: Added the split file dialog box.
726 * split-file-dialog.c split-file-dialog.h: New files.
728 * dialog-common.c dialog-common.h: New files containing functions
729 which seem to be used a lot in dialog box implementations.
731 * psppire-keypad.c psppire-keypad.h: New files. Implements keypad
734 * psppire-selector.c: Made the orientation of the arrow a property
735 of the widget, so that it can be selected from glade.
737 2007-03-18 Ben Pfaff <blp@gnu.org>
739 * syntax-editor-source.c (close): Rename do_close to avoid naming
740 conflict with POSIX function of same name.
742 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
743 * 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
744 cannot connect to a display .
746 Wed Mar 7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
748 * var-sheet.c: Replaced call to nl_langinfo with locale_charset
751 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
753 * data-editor.c : called new gen_quoted_string function to properly
754 quote filenames in generated syntax.
756 * window-manager.c : Converted name from filename encoding to UTF8
757 before displaying in title bar.
759 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
761 * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
763 * data-editor.c: Clear existing file name on FILE NEW.
765 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
767 * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
770 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
772 * psppire-var-select.c psppire-var-select.h : Deleted.
774 * psppire-selector.c psppire-selector.h : New files.
776 * transpose-dialog.c transpose-dialog.h : New files.
778 * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel
781 * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented,
782 using new PsppireSelector widget.
784 * dict-display.c dict-display.h : New files.
786 * psppire-object.c psppire-object.h : Deleted. Seemed like a good idea at the time.
788 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
790 * helper.c helper.h: New function execute_syntax.
792 * syntax-editor.c syntax-editor.glade: Disabled data open/save menu
795 * data-editor.c data-editor.glade data-editor.h: Enabled data
796 open/save/save_as menu-items.
798 * window-manager.h window-manager.c (default_window_name) : New
801 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
803 * psppire-case-file.c psppire-data-store.c psppire-dialog.c
804 psppire-dict.c psppire-var-select.c : Replaced identifier 'signal'
805 with 'signals' to avoid conflict with sysv based systems which use
806 this identifer for something else.
807 Thanks to Daniel E WILLIAMS for reporting this problem.
809 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
811 * psppire-case-file.c : Make sure there is always a valid flexifile
813 * psppire-data-store.c : assertions.
815 * psppire.c: Ignore replace source callbacks if the new source is
816 not of storiage_source_class
818 * syntax-editor.c: Close/Abort source after parsing is complete.
820 Sun Jan 7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
822 * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals
823 corresponding to the callbacks in src/data/dictionary.c
825 * data-editor.c : Connect functions to the FILTER_CHANGED and
826 SPLIT_CHANGED signals to update the status bar accordingly.
828 Mon Jan 1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
830 * psppire-case-file.c psppire-case-file.h: Changed the backend
831 semantics. An object is now created without any backend. A new function ( psppire_case_file_replace_flexifile ) sets the backend to use.
833 * psppire-data-store.c : Updated callers accordingly.
835 * psppire-dict.c psppire-dict.h : New function
836 (psppire_dict_replace_dictionary) .
838 * psppire.c : Updated to use new dataset replace_{source, dictionary}
841 * syntax-editor.c : parses in state CMD_STATE_DATA unless there are
842 no variables in the dictionary.
844 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
846 * data-editor.c data-editor.glade: Enabled deleting of variables from
849 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
851 * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
852 These are not required, now that src/data/dictionary.c has callbacks
854 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
856 * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
859 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
861 * syntax-editor-source.c syntax-editor-source.h syntax-editor.h:
864 * message-dialog.c : Now reports the filename and line number in
867 * psppire.c psppire.glade syntax-editor.c: Added the ability to run
868 syntax from the syntax editor.
871 Sat Dec 16 14:13:07 2006 Ben Pfaff <blp@gnu.org>
873 * psppire-data-store.c (geometry_get_justification): Don't assume
874 that ALIGN_* and GTK_JUSTIFY_* values coincide.
876 Sat Dec 16 14:10:43 2006 Ben Pfaff <blp@gnu.org>
878 * psppire-var-store.c (text_for_column): Adjust to account for new
879 values of the MEASURE_* enums.
881 * var-sheet.c (change_measure): Ditto.
883 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
885 * psppire-variable.c psppire-variable.h: Deleted.
887 * psppire-dict.c psppire-dict.h: Removed the caching of the variable
888 data, which is now unecessary because src/data/vardict.h maintains
889 an association between variables and their dictionary.
891 * data-sheet.c menu-actions.c missing-val-dialog.c
892 missing-val-dialog.h psppire-data-store.c
893 psppire-var-store.c psppire-var-store.h
894 sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h
895 var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the
896 consequences of deleting psppire-variable.[ch].
899 Sat Dec 9 20:03:04 2006 Ben Pfaff <blp@gnu.org>
901 * var-type-dialog.c (var_type_dialog_create): Use
902 fmt_dollar_template from data/format.c.
903 (dollar_format_template) Removed.
905 Sat Dec 9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
907 * syntax-editor.c : New file.
909 Tue Oct 31 19:25:31 2006 Ben Pfaff <blp@gnu.org>
911 * var-type-dialog.c: Add missing "#include <config.h>".
915 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
917 * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
918 psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
919 psppire.c psppire.glade: Adjusted code to use the new flexifile object.
921 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
923 * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where
924 there's no suitable gtk stock icon.
926 Tue Jul 4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
928 * psppire.c: Fixed --help and --version options.
930 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
932 * menu-actions.c: Added goto case and sort cases dialogs.
934 * psppire-case-file.c psppire-case-file.h: Added sort function.
936 * psppire-data-store.c psppire-variable.c psppire-variable.h:
937 Renamed psppire_variable_get_index to psppire_variable_get_fv and
938 dealt with the consequences. Added a psppire_variable_get_index
939 function which actually does what the name suggests.
941 * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
942 which allows a dictionary to be displayed in a GtkTreeView.
944 * psppire.glade: Added dialog boxes for Goto Case and Sort Case.
946 * sort-cases-dialog.c sort-cases-dialog.h (new files).
948 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
950 * psppire-case-file.c psppire-case-file.h (new files)
952 * automake.mk data-sheet.c data-sheet.h menu-actions.c
953 psppire-data-store.c psppire-data-store.h psppire-dict.c
954 psppire-dict.h psppire-var-store.c psppire.c
956 Replaced psppire-case-array.c with psppire-case-file.c, so as to
957 allow an arbitrary number of cases to be represented.
959 Sun Jun 4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
961 * psppire-var-store.c, psppire.c, var-sheet.c : Unlimited the number of
962 variables that can be displayed. Minor i18n issues.
964 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
966 * menu-actions.c menu-actions.h psppire.c: Fixed up load/new
967 interactions with startup.
969 * psppire-data-store.c: Fixed bad i18n call.
971 * pspppire-var-store.c, psppire-var-store.h: constness.
973 * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
976 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
978 * customentry.c data-sheet.c menu-actions.c message-dialog.c
979 missing-val-dialog.c psppire-data-store.c psppire-var-store.c
980 psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
982 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
984 * psppire-var-store.c: Converted strings to utf8 and returned them on the
987 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
989 * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
990 active cell is never on a deleted variable.
992 * psppire-data-store.c psppire-data-store.h: Added get_var_count and
993 get_case_count functions.
995 * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
997 * psppire.c: Allowed user to specify *.sav file on command line.
999 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
1001 * menu-actions.c psppire-case-array.c psppire-case-array.h
1002 psppire-data-store.c psppire-dict.c psppire-dict.h
1005 Initialised new cases to SYSMIS/blank when inserting in data sheet.
1007 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
1009 * data-sheet.c, helper.c, helper.h, psppire-data-store.c,
1010 psppire-var-store.c:
1012 Set free_strings flag so that the gtksheet frees the string data
1013 when it's done with them.
1015 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
1017 * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c
1018 psppire.c: Converted strings to utf8 before passing to gtksheet.
1020 * psppire-dict.c: Changed buffer to more reasonable length
1022 * var-sheet.c: Changed maximum string length to use macro from
1026 Sun May 7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
1028 * psppire-data-store.c: Fixed buglet initialising string members.
1030 Thu May 4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
1032 * message-dialog.c message-dialog.h: Added simple queuing to messages
1033 reported, and ensure that dialog boxes dont appear when pointer grab
1036 * psppire-data-store.c: Fix overflow on very long string variables.
1038 * automake.mk: Fix broken dependency.
1041 Tue Apr 25 11:08:04 2006 Ben Pfaff <blp@gnu.org>
1043 Finish reforming error message support. In this phase, move
1044 message.c into libpspp.
1046 * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
1048 Tue Apr 25 10:56:53 2006 Ben Pfaff <blp@gnu.org>
1050 Continue reforming error message support. In this phase, drop
1051 actual message printing from core code, substituting a callback,
1052 and add the callback to each UI. Also, move verbose_msg() into
1055 * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
1057 * message-dialog.c: (message_dialog_init) New function.
1058 (vmsg) Rename handle_msg(), rewrite as callback function.
1061 (msg_assert_fail) Removed.
1062 (verbose_msg) Removed.
1064 * psppire.c: (main) Call message_dialog_init().
1066 Sun Apr 23 22:07:49 2006 Ben Pfaff <blp@gnu.org>
1068 Continue reforming error message support. In this phase, get rid
1069 of message "titles" and put the message text in `struct error'.
1070 Now `struct error' encapsulates a message more properly.
1072 * message-dialog.c: (err_vmsg) Rename err_msg(). Updated
1075 Sun Apr 16 20:45:35 2006 Ben Pfaff <blp@gnu.org>
1077 Continue reforming error message support. In this phase, we
1078 divide the classification of messages along "category" and
1081 * message-dialog.c: (vmsg) Use severity and category in
1082 straightforward fashion instead of the less obvious "class".
1083 (err_vmsg) Construct class before passing along to vmsg().
1085 Sun Apr 16 16:06:54 2006 Ben Pfaff <blp@gnu.org>
1087 Continue reforming error message support. In this phase, we get
1088 rid of VM() and the other msg() support for "verbosity", replacing
1089 it by a new function verbose_msg().
1091 * message-dialog.c: (verbose_msg) New function.
1092 (err_cond_fail) Removed (dead code).
1093 (err_failure) Removed (dead code).
1095 Sun Apr 16 11:53:25 2006 Ben Pfaff <blp@gnu.org>
1097 Start reforming error message support. In this phase, we get rid
1098 of "installation errors" and change all uses of msg() in the
1099 output drivers to uses of error() or error_at_line().
1101 * message-dialog.c: (vmsg) Removed IE, IS support.
1103 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
1105 * psppire.c: Supported (sort of) the --help and --version options.
1107 * Rename error-dialog.[ch] -> message-dialog.[ch]
1109 * Moved code from the psppire module.
1111 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
1113 * Separated the data out of the GtkSheet.
1115 Tue Nov 2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
1117 * Very first incarnation.