1 2007-08-07 John Darrington <john@darrington.wattle.id.au>
3 * helper.c (execute_syntax): Set the active file data to NULL at the
4 end of the procedure. Thanks to Ben for suggesting this.
6 * psppire-case-file.c: Added assertions to the remaining functions
7 on inaccessible objects.
9 * psppire-data-store.c psppire-data-store.h: Disconnect or block
10 signals on dictionary and case_file, when make_reader has been called.
11 Reconnect or unblock them when a new datasheet has been set for the
14 2007-08-06 John Darrington <john@darrington.wattle.id.au>
16 * syntax-editor.glade: Changed some properties to be less annoying.
18 2007-07-29 John Darrington <john@darrington.wattle.id.au>
20 * helper.c psppire.c: Enabled the output system so that the results
21 of analysis can be seen.
23 2007-07-26 John Darrington <john@darrington.wattle.id.au>
25 * helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
28 * data-editor.c data-editor.glade: Added "Run Pending Transformations"
31 2007-07-25 John Darrington <john@darrington.wattle.id.au>
33 * customentry.c: Redraw button in insensitive state, if the widget's
34 "editable" style is FALSE. Don't emit the "clicked" signal if
37 * var-sheet.c: If variables are long-string variables, then set the
38 "editable" properties of the entry widgets for the values and missing
41 2007-07-18 John Darrington <john@darrington.wattle.id.au>
43 * psppire-case-file.c psppire-case-file.h psppire-data-store.c
44 psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
45 ability to resize string variables. Fixed associated problems
46 inserting/deleting variables.
48 * helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
51 2007-07-16 John Darrington <john@darrington.wattle.id.au>
53 * data-editor.c: File Open dialog remembers directory. Thanks to
54 Ben Pfaff for this suggestion.
56 2007-07-15 John Darrington <john@darrington.wattle.id.au>
58 * compute-dialog.c: Only generate NUMERIC/STRING command if the
59 type-and-label dialog was used.
61 2007-07-12 John Darrington <john@darrington.wattle.id.au>
63 * psppire-data-store.c: Added call to g_sheet_model_range_changed to
64 ensure that datasheet displays the current store.
66 * psppire-data-store.h: Formatting tidy up.
68 2007-07-11 John Darrington <john@darrington.wattle.id.au>
70 * compute-dialog.c : Set type-and-label dialog to sensible state, and made syntax generation depend upon existence of target variable.
72 2007-07-08 John Darrington <john@darrington.wattle.id.au>
74 * data-editor.c data-editor.glade data-editor.h: Implemented
75 the "Insert Case" button/dialog.
77 2007-07-08 John Darrington <john@darrington.wattle.id.au>
79 * goto-case-dialog.c goto-case-dialog.h (new files)
80 * automake.mk data-editor.c data-editor.glade data-editor.h
81 psppire-case-file.c psppire-case-file.h psppire-data-store.c
82 psppire-data-store.h psppire.glade : Implemented the goto-case dialog
85 2007-07-07 John Darrington <john@darrington.wattle.id.au>
87 * psppire-data-store.c psppire-data-store.h: Made cases number from
90 * psppire-data-store.c: Added a tooltip like feature to display
91 the label of variables.
93 2007-07-03 John Darrington <john@darrington.wattle.id.au>
95 * data-editor.c data-sheet.c: Turned off autoscrolling, and
96 manually move to cell on column click instead.
98 2007-06-29 John Darrington <john@darrington.wattle.id.au>
100 * data-editor.c data-editor.glade psppire-data-store.c
101 psppire-data-store.h: Enabled cell reference entry and datum
104 2007-06-29 John Darrington <john@darrington.wattle.id.au>
106 * data-editor.c data-sheet.c: Moved update_cell_ref_entry from
107 data-sheet.c to data-editor.c and made it work again.
109 2007-06-06 Ben Pfaff <blp@gnu.org>
111 Adapt case sources, sinks, and clients of procedure code to the
114 * automake.mk: Removed files.
116 * flexifile-factory.c: Removed, dead code.
117 * flexifile-factory.h: Ditto.
119 * helper.c: Adapt to new procedure and datasheet code.
120 * missing-val-dialog.c: Ditto.
121 * psppire-case-file.c: Ditto.
122 * psppire-data-store.c: Ditto.
125 2007-06-03 Ben Pfaff <blp@gnu.org>
127 * psppire-var-store.c (psppire_var_store_item_editable): Use
130 2007-05-07 John Darrington <john@darrington.wattle.id.au>
132 * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
133 to allow dialogs to be either vertical or horizontal.
135 * comments-dialog.c comments-dialog.h: New files, invoking
138 2007-04-30 John Darrington <john@darrington.wattle.id.au>
140 * var-display.c var-display.h variable-info-dialog.c
141 variable-info-dialog.h : New files.
145 * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
146 property, and optional GOTO and CONTINUE buttons.
148 * psppire-dialog.h: Added response codes for the new buttons.
150 * psppire-var-store.c : Moved some code to var-display.[ch]
152 2007-04-25 John Darrington <john@darrington.wattle.id.au>
154 * icons/scalable/splash.c icons/splash.png : More eye candy.
156 * main.c psppire.h : new files.
158 * psppire.c : Seperated the command line parsing and other
159 environment startup from the core psppire code.
161 2007-04-25 John Darrington <john@darrington.wattle.id.au>
163 * icons/scalable icons/16x16: new directories.
164 * psppire.c : Add new icons to factory.
166 * dict-display.c: Refactor code get model from modelfilter.
167 Added cellrenderer to display icon indicating variables' types.
168 Displayed the label of variables, if there is one.
171 2007-04-15 Ben Pfaff <blp@gnu.org>
173 * compute-dialog.c (function_list_populate): Use new accessor
174 functions exported by language/expressions/public.h.
176 2007-04-15 Ben Pfaff <blp@gnu.org>
178 * compute-dialog.c: Make #include for parse.inc work with VPATH
181 2007-04-13 John Darrington <john@darrington.wattle.id.au>
183 * var-type-dialog.c: Added a FMT_DATETIME20 template.
185 2007-04-04 John Darrington <john@darrington.wattle.id.au>
187 * compute-dialog.c compute-dialog.h: New files
189 * data-editor.c data-editor.h data-editor.glade : Added Transform
190 menu, and support for Compute dialog
192 * glade-register.c psppire-buttonbox.c psppire-buttonbox.h
193 psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c
194 psppire-vbuttonbox.h : Made buttonbox an abstract base class
195 and separated it into vbuttonbox and hbuttonbox.
197 * psppire-selector.c : Allowed GtkTextView to be the destination
200 * psppire-keypad.c: Added an "erase" signal. Fixed other
203 2007-04-03 Ben Pfaff <blp@gnu.org>
204 John McCabe-Dansted <gmatht@gmail.com>
206 * psppire-selector.c (psppire_selector_set_subjects): Add an
207 assert that may or may not trap some Windows-related bugs.
209 2007-04-03 John Darrington <john@darrington.wattle.id.au>
211 * data-editor.c data-editor.glade helper.h syntax-editor.c
212 syntax-editor.h : Implemented the File->Recently_Used_ menus.
215 2007-03-31 John Darrington <john@darrington.wattle.id.au>
217 * data-editor.c data-editor.glade data-editor.h dialog-common.c
218 psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
219 psppire-selector.c psppire-selector.h psppire.c psppire.glade
220 sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
221 transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
222 button on all the dialogs.
224 2007-03-31 John Darrington <john@darrington.wattle.id.au>
226 * data-editor.c: Added hooks for the split-file-dialog
228 * psppire.glade: Added the split file dialog box.
230 * split-file-dialog.c split-file-dialog.h: New files.
232 * dialog-common.c dialog-common.h: New files containing functions
233 which seem to be used a lot in dialog box implementations.
235 * psppire-keypad.c psppire-keypad.h: New files. Implements keypad
238 * psppire-selector.c: Made the orientation of the arrow a property
239 of the widget, so that it can be selected from glade.
241 2007-03-18 Ben Pfaff <blp@gnu.org>
243 * syntax-editor-source.c (close): Rename do_close to avoid naming
244 conflict with POSIX function of same name.
246 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
247 * 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
248 cannot connect to a display .
250 Wed Mar 7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
252 * var-sheet.c: Replaced call to nl_langinfo with locale_charset
255 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
257 * data-editor.c : called new gen_quoted_string function to properly
258 quote filenames in generated syntax.
260 * window-manager.c : Converted name from filename encoding to UTF8
261 before displaying in title bar.
263 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
265 * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
267 * data-editor.c: Clear existing file name on FILE NEW.
269 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
271 * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
274 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
276 * psppire-var-select.c psppire-var-select.h : Deleted.
278 * psppire-selector.c psppire-selector.h : New files.
280 * transpose-dialog.c transpose-dialog.h : New files.
282 * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel
285 * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented,
286 using new PsppireSelector widget.
288 * dict-display.c dict-display.h : New files.
290 * psppire-object.c psppire-object.h : Deleted. Seemed like a good idea at the time.
292 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
294 * helper.c helper.h: New function execute_syntax.
296 * syntax-editor.c syntax-editor.glade: Disabled data open/save menu
299 * data-editor.c data-editor.glade data-editor.h: Enabled data
300 open/save/save_as menu-items.
302 * window-manager.h window-manager.c (default_window_name) : New
305 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
307 * psppire-case-file.c psppire-data-store.c psppire-dialog.c
308 psppire-dict.c psppire-var-select.c : Replaced identifier 'signal'
309 with 'signals' to avoid conflict with sysv based systems which use
310 this identifer for something else.
311 Thanks to Daniel E WILLIAMS for reporting this problem.
313 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
315 * psppire-case-file.c : Make sure there is always a valid flexifile
317 * psppire-data-store.c : assertions.
319 * psppire.c: Ignore replace source callbacks if the new source is
320 not of storiage_source_class
322 * syntax-editor.c: Close/Abort source after parsing is complete.
324 Sun Jan 7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
326 * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals
327 corresponding to the callbacks in src/data/dictionary.c
329 * data-editor.c : Connect functions to the FILTER_CHANGED and
330 SPLIT_CHANGED signals to update the status bar accordingly.
332 Mon Jan 1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
334 * psppire-case-file.c psppire-case-file.h: Changed the backend
335 semantics. An object is now created without any backend. A new function ( psppire_case_file_replace_flexifile ) sets the backend to use.
337 * psppire-data-store.c : Updated callers accordingly.
339 * psppire-dict.c psppire-dict.h : New function
340 (psppire_dict_replace_dictionary) .
342 * psppire.c : Updated to use new dataset replace_{source, dictionary}
345 * syntax-editor.c : parses in state CMD_STATE_DATA unless there are
346 no variables in the dictionary.
348 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
350 * data-editor.c data-editor.glade: Enabled deleting of variables from
353 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
355 * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
356 These are not required, now that src/data/dictionary.c has callbacks
358 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
360 * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
363 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
365 * syntax-editor-source.c syntax-editor-source.h syntax-editor.h:
368 * message-dialog.c : Now reports the filename and line number in
371 * psppire.c psppire.glade syntax-editor.c: Added the ability to run
372 syntax from the syntax editor.
375 Sat Dec 16 14:13:07 2006 Ben Pfaff <blp@gnu.org>
377 * psppire-data-store.c (geometry_get_justification): Don't assume
378 that ALIGN_* and GTK_JUSTIFY_* values coincide.
380 Sat Dec 16 14:10:43 2006 Ben Pfaff <blp@gnu.org>
382 * psppire-var-store.c (text_for_column): Adjust to account for new
383 values of the MEASURE_* enums.
385 * var-sheet.c (change_measure): Ditto.
387 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
389 * psppire-variable.c psppire-variable.h: Deleted.
391 * psppire-dict.c psppire-dict.h: Removed the caching of the variable
392 data, which is now unecessary because src/data/vardict.h maintains
393 an association between variables and their dictionary.
395 * data-sheet.c menu-actions.c missing-val-dialog.c
396 missing-val-dialog.h psppire-data-store.c
397 psppire-var-store.c psppire-var-store.h
398 sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h
399 var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the
400 consequences of deleting psppire-variable.[ch].
403 Sat Dec 9 20:03:04 2006 Ben Pfaff <blp@gnu.org>
405 * var-type-dialog.c (var_type_dialog_create): Use
406 fmt_dollar_template from data/format.c.
407 (dollar_format_template) Removed.
409 Sat Dec 9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
411 * syntax-editor.c : New file.
413 Tue Oct 31 19:25:31 2006 Ben Pfaff <blp@gnu.org>
415 * var-type-dialog.c: Add missing "#include <config.h>".
419 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
421 * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
422 psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
423 psppire.c psppire.glade: Adjusted code to use the new flexifile object.
425 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
427 * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where
428 there's no suitable gtk stock icon.
430 Tue Jul 4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
432 * psppire.c: Fixed --help and --version options.
434 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
436 * menu-actions.c: Added goto case and sort cases dialogs.
438 * psppire-case-file.c psppire-case-file.h: Added sort function.
440 * psppire-data-store.c psppire-variable.c psppire-variable.h:
441 Renamed psppire_variable_get_index to psppire_variable_get_fv and
442 dealt with the consequences. Added a psppire_variable_get_index
443 function which actually does what the name suggests.
445 * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
446 which allows a dictionary to be displayed in a GtkTreeView.
448 * psppire.glade: Added dialog boxes for Goto Case and Sort Case.
450 * sort-cases-dialog.c sort-cases-dialog.h (new files).
452 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
454 * psppire-case-file.c psppire-case-file.h (new files)
456 * automake.mk data-sheet.c data-sheet.h menu-actions.c
457 psppire-data-store.c psppire-data-store.h psppire-dict.c
458 psppire-dict.h psppire-var-store.c psppire.c
460 Replaced psppire-case-array.c with psppire-case-file.c, so as to
461 allow an arbitrary number of cases to be represented.
463 Sun Jun 4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
465 * psppire-var-store.c, psppire.c, var-sheet.c : Unlimited the number of
466 variables that can be displayed. Minor i18n issues.
468 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
470 * menu-actions.c menu-actions.h psppire.c: Fixed up load/new
471 interactions with startup.
473 * psppire-data-store.c: Fixed bad i18n call.
475 * pspppire-var-store.c, psppire-var-store.h: constness.
477 * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
480 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
482 * customentry.c data-sheet.c menu-actions.c message-dialog.c
483 missing-val-dialog.c psppire-data-store.c psppire-var-store.c
484 psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
486 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
488 * psppire-var-store.c: Converted strings to utf8 and returned them on the
491 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
493 * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
494 active cell is never on a deleted variable.
496 * psppire-data-store.c psppire-data-store.h: Added get_var_count and
497 get_case_count functions.
499 * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
501 * psppire.c: Allowed user to specify *.sav file on command line.
503 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
505 * menu-actions.c psppire-case-array.c psppire-case-array.h
506 psppire-data-store.c psppire-dict.c psppire-dict.h
509 Initialised new cases to SYSMIS/blank when inserting in data sheet.
511 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
513 * data-sheet.c, helper.c, helper.h, psppire-data-store.c,
516 Set free_strings flag so that the gtksheet frees the string data
517 when it's done with them.
519 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
521 * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c
522 psppire.c: Converted strings to utf8 before passing to gtksheet.
524 * psppire-dict.c: Changed buffer to more reasonable length
526 * var-sheet.c: Changed maximum string length to use macro from
530 Sun May 7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
532 * psppire-data-store.c: Fixed buglet initialising string members.
534 Thu May 4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
536 * message-dialog.c message-dialog.h: Added simple queuing to messages
537 reported, and ensure that dialog boxes dont appear when pointer grab
540 * psppire-data-store.c: Fix overflow on very long string variables.
542 * automake.mk: Fix broken dependency.
545 Tue Apr 25 11:08:04 2006 Ben Pfaff <blp@gnu.org>
547 Finish reforming error message support. In this phase, move
548 message.c into libpspp.
550 * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
552 Tue Apr 25 10:56:53 2006 Ben Pfaff <blp@gnu.org>
554 Continue reforming error message support. In this phase, drop
555 actual message printing from core code, substituting a callback,
556 and add the callback to each UI. Also, move verbose_msg() into
559 * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
561 * message-dialog.c: (message_dialog_init) New function.
562 (vmsg) Rename handle_msg(), rewrite as callback function.
565 (msg_assert_fail) Removed.
566 (verbose_msg) Removed.
568 * psppire.c: (main) Call message_dialog_init().
570 Sun Apr 23 22:07:49 2006 Ben Pfaff <blp@gnu.org>
572 Continue reforming error message support. In this phase, get rid
573 of message "titles" and put the message text in `struct error'.
574 Now `struct error' encapsulates a message more properly.
576 * message-dialog.c: (err_vmsg) Rename err_msg(). Updated
579 Sun Apr 16 20:45:35 2006 Ben Pfaff <blp@gnu.org>
581 Continue reforming error message support. In this phase, we
582 divide the classification of messages along "category" and
585 * message-dialog.c: (vmsg) Use severity and category in
586 straightforward fashion instead of the less obvious "class".
587 (err_vmsg) Construct class before passing along to vmsg().
589 Sun Apr 16 16:06:54 2006 Ben Pfaff <blp@gnu.org>
591 Continue reforming error message support. In this phase, we get
592 rid of VM() and the other msg() support for "verbosity", replacing
593 it by a new function verbose_msg().
595 * message-dialog.c: (verbose_msg) New function.
596 (err_cond_fail) Removed (dead code).
597 (err_failure) Removed (dead code).
599 Sun Apr 16 11:53:25 2006 Ben Pfaff <blp@gnu.org>
601 Start reforming error message support. In this phase, we get rid
602 of "installation errors" and change all uses of msg() in the
603 output drivers to uses of error() or error_at_line().
605 * message-dialog.c: (vmsg) Removed IE, IS support.
607 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
609 * psppire.c: Supported (sort of) the --help and --version options.
611 * Rename error-dialog.[ch] -> message-dialog.[ch]
613 * Moved code from the psppire module.
615 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
617 * Separated the data out of the GtkSheet.
619 Tue Nov 2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
621 * Very first incarnation.