1 2007-08-16 John Darrington <john@darrington.wattle.id.au>
3 * output-viewer.c output-viewer.h output-viewer.glade (new files)
4 helper.c psppire.c syntax-editor.glade window-manager.c
5 window-manager.h : Added a basic output viewer window.
7 2007-08-13 John Darrington <john@darrington.wattle.id.au>
9 * clipboard.c (clip_to_html clip_to_text): Fixed bug --- use the
10 variable count instead of the value count for the columns limit.
12 2007-08-12 John Darrington <john@darrington.wattle.id.au>
13 Ben Pfaff <blp@gnu.org>
15 Implement Edit|Cut operation for datasheet. Patch #6117.
17 * automake.mk: Add clipboard.c, clipboard.h.
19 * clipboard.c: New file.
21 * clipboard.h: New file.
23 * data-editor.c (new_data_editor): Connect Edit|Copy to
24 on_edit_copy function.
25 (data_var_select): Enable or disable Edit|Copy as appropriate.
26 (on_edit_copy): New function.
28 * data-editor.glade: Connect menu items to new operations.
30 2007-08-12 Ben Pfaff <blp@gnu.org>
32 * psppire-dict.c (psppire_dict_dump): Don't use
33 dict_get_compacted_dict_index_to_case_index, as that function has
36 2007-08-13 John Darrington <john@darrington.wattle.id.au>
38 * psppire-case-file.c (psppire_case_file_append_case):
39 Deleted unused function.
41 2007-08-07 John Darrington <john@darrington.wattle.id.au>
43 * helper.c (execute_syntax): Set the active file data to NULL at the
44 end of the procedure. Thanks to Ben for suggesting this.
46 * psppire-case-file.c: Added assertions to the remaining functions
47 on inaccessible objects.
49 * psppire-data-store.c psppire-data-store.h: Disconnect or block
50 signals on dictionary and case_file, when make_reader has been called.
51 Reconnect or unblock them when a new datasheet has been set for the
54 2007-08-06 John Darrington <john@darrington.wattle.id.au>
56 * syntax-editor.glade: Changed some properties to be less annoying.
58 2007-07-29 John Darrington <john@darrington.wattle.id.au>
60 * helper.c psppire.c: Enabled the output system so that the results
61 of analysis can be seen.
63 2007-07-26 John Darrington <john@darrington.wattle.id.au>
65 * helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
68 * data-editor.c data-editor.glade: Added "Run Pending Transformations"
71 2007-07-25 John Darrington <john@darrington.wattle.id.au>
73 * customentry.c: Redraw button in insensitive state, if the widget's
74 "editable" style is FALSE. Don't emit the "clicked" signal if
77 * var-sheet.c: If variables are long-string variables, then set the
78 "editable" properties of the entry widgets for the values and missing
81 2007-07-18 John Darrington <john@darrington.wattle.id.au>
83 * psppire-case-file.c psppire-case-file.h psppire-data-store.c
84 psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
85 ability to resize string variables. Fixed associated problems
86 inserting/deleting variables.
88 * helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
91 2007-07-16 John Darrington <john@darrington.wattle.id.au>
93 * data-editor.c: File Open dialog remembers directory. Thanks to
94 Ben Pfaff for this suggestion.
96 2007-07-15 John Darrington <john@darrington.wattle.id.au>
98 * compute-dialog.c: Only generate NUMERIC/STRING command if the
99 type-and-label dialog was used.
101 2007-07-12 John Darrington <john@darrington.wattle.id.au>
103 * psppire-data-store.c: Added call to g_sheet_model_range_changed to
104 ensure that datasheet displays the current store.
106 * psppire-data-store.h: Formatting tidy up.
108 2007-07-11 John Darrington <john@darrington.wattle.id.au>
110 * compute-dialog.c : Set type-and-label dialog to sensible state, and made syntax generation depend upon existence of target variable.
112 2007-07-08 John Darrington <john@darrington.wattle.id.au>
114 * data-editor.c data-editor.glade data-editor.h: Implemented
115 the "Insert Case" button/dialog.
117 2007-07-08 John Darrington <john@darrington.wattle.id.au>
119 * goto-case-dialog.c goto-case-dialog.h (new files)
120 * automake.mk data-editor.c data-editor.glade data-editor.h
121 psppire-case-file.c psppire-case-file.h psppire-data-store.c
122 psppire-data-store.h psppire.glade : Implemented the goto-case dialog
125 2007-07-07 John Darrington <john@darrington.wattle.id.au>
127 * psppire-data-store.c psppire-data-store.h: Made cases number from
130 * psppire-data-store.c: Added a tooltip like feature to display
131 the label of variables.
133 2007-07-03 John Darrington <john@darrington.wattle.id.au>
135 * data-editor.c data-sheet.c: Turned off autoscrolling, and
136 manually move to cell on column click instead.
138 2007-06-29 John Darrington <john@darrington.wattle.id.au>
140 * data-editor.c data-editor.glade psppire-data-store.c
141 psppire-data-store.h: Enabled cell reference entry and datum
144 2007-06-29 John Darrington <john@darrington.wattle.id.au>
146 * data-editor.c data-sheet.c: Moved update_cell_ref_entry from
147 data-sheet.c to data-editor.c and made it work again.
149 2007-06-06 Ben Pfaff <blp@gnu.org>
151 Adapt case sources, sinks, and clients of procedure code to the
154 * automake.mk: Removed files.
156 * flexifile-factory.c: Removed, dead code.
157 * flexifile-factory.h: Ditto.
159 * helper.c: Adapt to new procedure and datasheet code.
160 * missing-val-dialog.c: Ditto.
161 * psppire-case-file.c: Ditto.
162 * psppire-data-store.c: Ditto.
165 2007-06-03 Ben Pfaff <blp@gnu.org>
167 * psppire-var-store.c (psppire_var_store_item_editable): Use
170 2007-05-07 John Darrington <john@darrington.wattle.id.au>
172 * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
173 to allow dialogs to be either vertical or horizontal.
175 * comments-dialog.c comments-dialog.h: New files, invoking
178 2007-04-30 John Darrington <john@darrington.wattle.id.au>
180 * var-display.c var-display.h variable-info-dialog.c
181 variable-info-dialog.h : New files.
185 * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
186 property, and optional GOTO and CONTINUE buttons.
188 * psppire-dialog.h: Added response codes for the new buttons.
190 * psppire-var-store.c : Moved some code to var-display.[ch]
192 2007-04-25 John Darrington <john@darrington.wattle.id.au>
194 * icons/scalable/splash.c icons/splash.png : More eye candy.
196 * main.c psppire.h : new files.
198 * psppire.c : Seperated the command line parsing and other
199 environment startup from the core psppire code.
201 2007-04-25 John Darrington <john@darrington.wattle.id.au>
203 * icons/scalable icons/16x16: new directories.
204 * psppire.c : Add new icons to factory.
206 * dict-display.c: Refactor code get model from modelfilter.
207 Added cellrenderer to display icon indicating variables' types.
208 Displayed the label of variables, if there is one.
211 2007-04-15 Ben Pfaff <blp@gnu.org>
213 * compute-dialog.c (function_list_populate): Use new accessor
214 functions exported by language/expressions/public.h.
216 2007-04-15 Ben Pfaff <blp@gnu.org>
218 * compute-dialog.c: Make #include for parse.inc work with VPATH
221 2007-04-13 John Darrington <john@darrington.wattle.id.au>
223 * var-type-dialog.c: Added a FMT_DATETIME20 template.
225 2007-04-04 John Darrington <john@darrington.wattle.id.au>
227 * compute-dialog.c compute-dialog.h: New files
229 * data-editor.c data-editor.h data-editor.glade : Added Transform
230 menu, and support for Compute dialog
232 * glade-register.c psppire-buttonbox.c psppire-buttonbox.h
233 psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c
234 psppire-vbuttonbox.h : Made buttonbox an abstract base class
235 and separated it into vbuttonbox and hbuttonbox.
237 * psppire-selector.c : Allowed GtkTextView to be the destination
240 * psppire-keypad.c: Added an "erase" signal. Fixed other
243 2007-04-03 Ben Pfaff <blp@gnu.org>
244 John McCabe-Dansted <gmatht@gmail.com>
246 * psppire-selector.c (psppire_selector_set_subjects): Add an
247 assert that may or may not trap some Windows-related bugs.
249 2007-04-03 John Darrington <john@darrington.wattle.id.au>
251 * data-editor.c data-editor.glade helper.h syntax-editor.c
252 syntax-editor.h : Implemented the File->Recently_Used_ menus.
255 2007-03-31 John Darrington <john@darrington.wattle.id.au>
257 * data-editor.c data-editor.glade data-editor.h dialog-common.c
258 psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
259 psppire-selector.c psppire-selector.h psppire.c psppire.glade
260 sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
261 transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
262 button on all the dialogs.
264 2007-03-31 John Darrington <john@darrington.wattle.id.au>
266 * data-editor.c: Added hooks for the split-file-dialog
268 * psppire.glade: Added the split file dialog box.
270 * split-file-dialog.c split-file-dialog.h: New files.
272 * dialog-common.c dialog-common.h: New files containing functions
273 which seem to be used a lot in dialog box implementations.
275 * psppire-keypad.c psppire-keypad.h: New files. Implements keypad
278 * psppire-selector.c: Made the orientation of the arrow a property
279 of the widget, so that it can be selected from glade.
281 2007-03-18 Ben Pfaff <blp@gnu.org>
283 * syntax-editor-source.c (close): Rename do_close to avoid naming
284 conflict with POSIX function of same name.
286 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
287 * 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
288 cannot connect to a display .
290 Wed Mar 7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
292 * var-sheet.c: Replaced call to nl_langinfo with locale_charset
295 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
297 * data-editor.c : called new gen_quoted_string function to properly
298 quote filenames in generated syntax.
300 * window-manager.c : Converted name from filename encoding to UTF8
301 before displaying in title bar.
303 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
305 * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
307 * data-editor.c: Clear existing file name on FILE NEW.
309 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
311 * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
314 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
316 * psppire-var-select.c psppire-var-select.h : Deleted.
318 * psppire-selector.c psppire-selector.h : New files.
320 * transpose-dialog.c transpose-dialog.h : New files.
322 * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel
325 * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented,
326 using new PsppireSelector widget.
328 * dict-display.c dict-display.h : New files.
330 * psppire-object.c psppire-object.h : Deleted. Seemed like a good idea at the time.
332 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
334 * helper.c helper.h: New function execute_syntax.
336 * syntax-editor.c syntax-editor.glade: Disabled data open/save menu
339 * data-editor.c data-editor.glade data-editor.h: Enabled data
340 open/save/save_as menu-items.
342 * window-manager.h window-manager.c (default_window_name) : New
345 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
347 * psppire-case-file.c psppire-data-store.c psppire-dialog.c
348 psppire-dict.c psppire-var-select.c : Replaced identifier 'signal'
349 with 'signals' to avoid conflict with sysv based systems which use
350 this identifer for something else.
351 Thanks to Daniel E WILLIAMS for reporting this problem.
353 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
355 * psppire-case-file.c : Make sure there is always a valid flexifile
357 * psppire-data-store.c : assertions.
359 * psppire.c: Ignore replace source callbacks if the new source is
360 not of storiage_source_class
362 * syntax-editor.c: Close/Abort source after parsing is complete.
364 Sun Jan 7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
366 * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals
367 corresponding to the callbacks in src/data/dictionary.c
369 * data-editor.c : Connect functions to the FILTER_CHANGED and
370 SPLIT_CHANGED signals to update the status bar accordingly.
372 Mon Jan 1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
374 * psppire-case-file.c psppire-case-file.h: Changed the backend
375 semantics. An object is now created without any backend. A new function ( psppire_case_file_replace_flexifile ) sets the backend to use.
377 * psppire-data-store.c : Updated callers accordingly.
379 * psppire-dict.c psppire-dict.h : New function
380 (psppire_dict_replace_dictionary) .
382 * psppire.c : Updated to use new dataset replace_{source, dictionary}
385 * syntax-editor.c : parses in state CMD_STATE_DATA unless there are
386 no variables in the dictionary.
388 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
390 * data-editor.c data-editor.glade: Enabled deleting of variables from
393 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
395 * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
396 These are not required, now that src/data/dictionary.c has callbacks
398 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
400 * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
403 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
405 * syntax-editor-source.c syntax-editor-source.h syntax-editor.h:
408 * message-dialog.c : Now reports the filename and line number in
411 * psppire.c psppire.glade syntax-editor.c: Added the ability to run
412 syntax from the syntax editor.
415 Sat Dec 16 14:13:07 2006 Ben Pfaff <blp@gnu.org>
417 * psppire-data-store.c (geometry_get_justification): Don't assume
418 that ALIGN_* and GTK_JUSTIFY_* values coincide.
420 Sat Dec 16 14:10:43 2006 Ben Pfaff <blp@gnu.org>
422 * psppire-var-store.c (text_for_column): Adjust to account for new
423 values of the MEASURE_* enums.
425 * var-sheet.c (change_measure): Ditto.
427 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
429 * psppire-variable.c psppire-variable.h: Deleted.
431 * psppire-dict.c psppire-dict.h: Removed the caching of the variable
432 data, which is now unecessary because src/data/vardict.h maintains
433 an association between variables and their dictionary.
435 * data-sheet.c menu-actions.c missing-val-dialog.c
436 missing-val-dialog.h psppire-data-store.c
437 psppire-var-store.c psppire-var-store.h
438 sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h
439 var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the
440 consequences of deleting psppire-variable.[ch].
443 Sat Dec 9 20:03:04 2006 Ben Pfaff <blp@gnu.org>
445 * var-type-dialog.c (var_type_dialog_create): Use
446 fmt_dollar_template from data/format.c.
447 (dollar_format_template) Removed.
449 Sat Dec 9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
451 * syntax-editor.c : New file.
453 Tue Oct 31 19:25:31 2006 Ben Pfaff <blp@gnu.org>
455 * var-type-dialog.c: Add missing "#include <config.h>".
459 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
461 * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
462 psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
463 psppire.c psppire.glade: Adjusted code to use the new flexifile object.
465 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
467 * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where
468 there's no suitable gtk stock icon.
470 Tue Jul 4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
472 * psppire.c: Fixed --help and --version options.
474 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
476 * menu-actions.c: Added goto case and sort cases dialogs.
478 * psppire-case-file.c psppire-case-file.h: Added sort function.
480 * psppire-data-store.c psppire-variable.c psppire-variable.h:
481 Renamed psppire_variable_get_index to psppire_variable_get_fv and
482 dealt with the consequences. Added a psppire_variable_get_index
483 function which actually does what the name suggests.
485 * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
486 which allows a dictionary to be displayed in a GtkTreeView.
488 * psppire.glade: Added dialog boxes for Goto Case and Sort Case.
490 * sort-cases-dialog.c sort-cases-dialog.h (new files).
492 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
494 * psppire-case-file.c psppire-case-file.h (new files)
496 * automake.mk data-sheet.c data-sheet.h menu-actions.c
497 psppire-data-store.c psppire-data-store.h psppire-dict.c
498 psppire-dict.h psppire-var-store.c psppire.c
500 Replaced psppire-case-array.c with psppire-case-file.c, so as to
501 allow an arbitrary number of cases to be represented.
503 Sun Jun 4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
505 * psppire-var-store.c, psppire.c, var-sheet.c : Unlimited the number of
506 variables that can be displayed. Minor i18n issues.
508 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
510 * menu-actions.c menu-actions.h psppire.c: Fixed up load/new
511 interactions with startup.
513 * psppire-data-store.c: Fixed bad i18n call.
515 * pspppire-var-store.c, psppire-var-store.h: constness.
517 * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
520 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
522 * customentry.c data-sheet.c menu-actions.c message-dialog.c
523 missing-val-dialog.c psppire-data-store.c psppire-var-store.c
524 psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
526 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
528 * psppire-var-store.c: Converted strings to utf8 and returned them on the
531 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
533 * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
534 active cell is never on a deleted variable.
536 * psppire-data-store.c psppire-data-store.h: Added get_var_count and
537 get_case_count functions.
539 * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
541 * psppire.c: Allowed user to specify *.sav file on command line.
543 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
545 * menu-actions.c psppire-case-array.c psppire-case-array.h
546 psppire-data-store.c psppire-dict.c psppire-dict.h
549 Initialised new cases to SYSMIS/blank when inserting in data sheet.
551 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
553 * data-sheet.c, helper.c, helper.h, psppire-data-store.c,
556 Set free_strings flag so that the gtksheet frees the string data
557 when it's done with them.
559 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
561 * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c
562 psppire.c: Converted strings to utf8 before passing to gtksheet.
564 * psppire-dict.c: Changed buffer to more reasonable length
566 * var-sheet.c: Changed maximum string length to use macro from
570 Sun May 7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
572 * psppire-data-store.c: Fixed buglet initialising string members.
574 Thu May 4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
576 * message-dialog.c message-dialog.h: Added simple queuing to messages
577 reported, and ensure that dialog boxes dont appear when pointer grab
580 * psppire-data-store.c: Fix overflow on very long string variables.
582 * automake.mk: Fix broken dependency.
585 Tue Apr 25 11:08:04 2006 Ben Pfaff <blp@gnu.org>
587 Finish reforming error message support. In this phase, move
588 message.c into libpspp.
590 * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
592 Tue Apr 25 10:56:53 2006 Ben Pfaff <blp@gnu.org>
594 Continue reforming error message support. In this phase, drop
595 actual message printing from core code, substituting a callback,
596 and add the callback to each UI. Also, move verbose_msg() into
599 * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
601 * message-dialog.c: (message_dialog_init) New function.
602 (vmsg) Rename handle_msg(), rewrite as callback function.
605 (msg_assert_fail) Removed.
606 (verbose_msg) Removed.
608 * psppire.c: (main) Call message_dialog_init().
610 Sun Apr 23 22:07:49 2006 Ben Pfaff <blp@gnu.org>
612 Continue reforming error message support. In this phase, get rid
613 of message "titles" and put the message text in `struct error'.
614 Now `struct error' encapsulates a message more properly.
616 * message-dialog.c: (err_vmsg) Rename err_msg(). Updated
619 Sun Apr 16 20:45:35 2006 Ben Pfaff <blp@gnu.org>
621 Continue reforming error message support. In this phase, we
622 divide the classification of messages along "category" and
625 * message-dialog.c: (vmsg) Use severity and category in
626 straightforward fashion instead of the less obvious "class".
627 (err_vmsg) Construct class before passing along to vmsg().
629 Sun Apr 16 16:06:54 2006 Ben Pfaff <blp@gnu.org>
631 Continue reforming error message support. In this phase, we get
632 rid of VM() and the other msg() support for "verbosity", replacing
633 it by a new function verbose_msg().
635 * message-dialog.c: (verbose_msg) New function.
636 (err_cond_fail) Removed (dead code).
637 (err_failure) Removed (dead code).
639 Sun Apr 16 11:53:25 2006 Ben Pfaff <blp@gnu.org>
641 Start reforming error message support. In this phase, we get rid
642 of "installation errors" and change all uses of msg() in the
643 output drivers to uses of error() or error_at_line().
645 * message-dialog.c: (vmsg) Removed IE, IS support.
647 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
649 * psppire.c: Supported (sort of) the --help and --version options.
651 * Rename error-dialog.[ch] -> message-dialog.[ch]
653 * Moved code from the psppire module.
655 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
657 * Separated the data out of the GtkSheet.
659 Tue Nov 2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
661 * Very first incarnation.