1 2007-08-12 Ben Pfaff <blp@gnu.org>
3 * psppire-dict.c (psppire_dict_dump): Don't use
4 dict_get_compacted_dict_index_to_case_index, as that function has
7 2007-08-13 John Darrington <john@darrington.wattle.id.au>
9 * psppire-case-file.c (psppire_case_file_append_case):
10 Deleted unused function.
12 2007-08-07 John Darrington <john@darrington.wattle.id.au>
14 * helper.c (execute_syntax): Set the active file data to NULL at the
15 end of the procedure. Thanks to Ben for suggesting this.
17 * psppire-case-file.c: Added assertions to the remaining functions
18 on inaccessible objects.
20 * psppire-data-store.c psppire-data-store.h: Disconnect or block
21 signals on dictionary and case_file, when make_reader has been called.
22 Reconnect or unblock them when a new datasheet has been set for the
25 2007-08-06 John Darrington <john@darrington.wattle.id.au>
27 * syntax-editor.glade: Changed some properties to be less annoying.
29 2007-07-29 John Darrington <john@darrington.wattle.id.au>
31 * helper.c psppire.c: Enabled the output system so that the results
32 of analysis can be seen.
34 2007-07-26 John Darrington <john@darrington.wattle.id.au>
36 * helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
39 * data-editor.c data-editor.glade: Added "Run Pending Transformations"
42 2007-07-25 John Darrington <john@darrington.wattle.id.au>
44 * customentry.c: Redraw button in insensitive state, if the widget's
45 "editable" style is FALSE. Don't emit the "clicked" signal if
48 * var-sheet.c: If variables are long-string variables, then set the
49 "editable" properties of the entry widgets for the values and missing
52 2007-07-18 John Darrington <john@darrington.wattle.id.au>
54 * psppire-case-file.c psppire-case-file.h psppire-data-store.c
55 psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
56 ability to resize string variables. Fixed associated problems
57 inserting/deleting variables.
59 * helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
62 2007-07-16 John Darrington <john@darrington.wattle.id.au>
64 * data-editor.c: File Open dialog remembers directory. Thanks to
65 Ben Pfaff for this suggestion.
67 2007-07-15 John Darrington <john@darrington.wattle.id.au>
69 * compute-dialog.c: Only generate NUMERIC/STRING command if the
70 type-and-label dialog was used.
72 2007-07-12 John Darrington <john@darrington.wattle.id.au>
74 * psppire-data-store.c: Added call to g_sheet_model_range_changed to
75 ensure that datasheet displays the current store.
77 * psppire-data-store.h: Formatting tidy up.
79 2007-07-11 John Darrington <john@darrington.wattle.id.au>
81 * compute-dialog.c : Set type-and-label dialog to sensible state, and made syntax generation depend upon existence of target variable.
83 2007-07-08 John Darrington <john@darrington.wattle.id.au>
85 * data-editor.c data-editor.glade data-editor.h: Implemented
86 the "Insert Case" button/dialog.
88 2007-07-08 John Darrington <john@darrington.wattle.id.au>
90 * goto-case-dialog.c goto-case-dialog.h (new files)
91 * automake.mk data-editor.c data-editor.glade data-editor.h
92 psppire-case-file.c psppire-case-file.h psppire-data-store.c
93 psppire-data-store.h psppire.glade : Implemented the goto-case dialog
96 2007-07-07 John Darrington <john@darrington.wattle.id.au>
98 * psppire-data-store.c psppire-data-store.h: Made cases number from
101 * psppire-data-store.c: Added a tooltip like feature to display
102 the label of variables.
104 2007-07-03 John Darrington <john@darrington.wattle.id.au>
106 * data-editor.c data-sheet.c: Turned off autoscrolling, and
107 manually move to cell on column click instead.
109 2007-06-29 John Darrington <john@darrington.wattle.id.au>
111 * data-editor.c data-editor.glade psppire-data-store.c
112 psppire-data-store.h: Enabled cell reference entry and datum
115 2007-06-29 John Darrington <john@darrington.wattle.id.au>
117 * data-editor.c data-sheet.c: Moved update_cell_ref_entry from
118 data-sheet.c to data-editor.c and made it work again.
120 2007-06-06 Ben Pfaff <blp@gnu.org>
122 Adapt case sources, sinks, and clients of procedure code to the
125 * automake.mk: Removed files.
127 * flexifile-factory.c: Removed, dead code.
128 * flexifile-factory.h: Ditto.
130 * helper.c: Adapt to new procedure and datasheet code.
131 * missing-val-dialog.c: Ditto.
132 * psppire-case-file.c: Ditto.
133 * psppire-data-store.c: Ditto.
136 2007-06-03 Ben Pfaff <blp@gnu.org>
138 * psppire-var-store.c (psppire_var_store_item_editable): Use
141 2007-05-07 John Darrington <john@darrington.wattle.id.au>
143 * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
144 to allow dialogs to be either vertical or horizontal.
146 * comments-dialog.c comments-dialog.h: New files, invoking
149 2007-04-30 John Darrington <john@darrington.wattle.id.au>
151 * var-display.c var-display.h variable-info-dialog.c
152 variable-info-dialog.h : New files.
156 * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
157 property, and optional GOTO and CONTINUE buttons.
159 * psppire-dialog.h: Added response codes for the new buttons.
161 * psppire-var-store.c : Moved some code to var-display.[ch]
163 2007-04-25 John Darrington <john@darrington.wattle.id.au>
165 * icons/scalable/splash.c icons/splash.png : More eye candy.
167 * main.c psppire.h : new files.
169 * psppire.c : Seperated the command line parsing and other
170 environment startup from the core psppire code.
172 2007-04-25 John Darrington <john@darrington.wattle.id.au>
174 * icons/scalable icons/16x16: new directories.
175 * psppire.c : Add new icons to factory.
177 * dict-display.c: Refactor code get model from modelfilter.
178 Added cellrenderer to display icon indicating variables' types.
179 Displayed the label of variables, if there is one.
182 2007-04-15 Ben Pfaff <blp@gnu.org>
184 * compute-dialog.c (function_list_populate): Use new accessor
185 functions exported by language/expressions/public.h.
187 2007-04-15 Ben Pfaff <blp@gnu.org>
189 * compute-dialog.c: Make #include for parse.inc work with VPATH
192 2007-04-13 John Darrington <john@darrington.wattle.id.au>
194 * var-type-dialog.c: Added a FMT_DATETIME20 template.
196 2007-04-04 John Darrington <john@darrington.wattle.id.au>
198 * compute-dialog.c compute-dialog.h: New files
200 * data-editor.c data-editor.h data-editor.glade : Added Transform
201 menu, and support for Compute dialog
203 * glade-register.c psppire-buttonbox.c psppire-buttonbox.h
204 psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c
205 psppire-vbuttonbox.h : Made buttonbox an abstract base class
206 and separated it into vbuttonbox and hbuttonbox.
208 * psppire-selector.c : Allowed GtkTextView to be the destination
211 * psppire-keypad.c: Added an "erase" signal. Fixed other
214 2007-04-03 Ben Pfaff <blp@gnu.org>
215 John McCabe-Dansted <gmatht@gmail.com>
217 * psppire-selector.c (psppire_selector_set_subjects): Add an
218 assert that may or may not trap some Windows-related bugs.
220 2007-04-03 John Darrington <john@darrington.wattle.id.au>
222 * data-editor.c data-editor.glade helper.h syntax-editor.c
223 syntax-editor.h : Implemented the File->Recently_Used_ menus.
226 2007-03-31 John Darrington <john@darrington.wattle.id.au>
228 * data-editor.c data-editor.glade data-editor.h dialog-common.c
229 psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
230 psppire-selector.c psppire-selector.h psppire.c psppire.glade
231 sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
232 transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
233 button on all the dialogs.
235 2007-03-31 John Darrington <john@darrington.wattle.id.au>
237 * data-editor.c: Added hooks for the split-file-dialog
239 * psppire.glade: Added the split file dialog box.
241 * split-file-dialog.c split-file-dialog.h: New files.
243 * dialog-common.c dialog-common.h: New files containing functions
244 which seem to be used a lot in dialog box implementations.
246 * psppire-keypad.c psppire-keypad.h: New files. Implements keypad
249 * psppire-selector.c: Made the orientation of the arrow a property
250 of the widget, so that it can be selected from glade.
252 2007-03-18 Ben Pfaff <blp@gnu.org>
254 * syntax-editor-source.c (close): Rename do_close to avoid naming
255 conflict with POSIX function of same name.
257 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
258 * 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
259 cannot connect to a display .
261 Wed Mar 7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
263 * var-sheet.c: Replaced call to nl_langinfo with locale_charset
266 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
268 * data-editor.c : called new gen_quoted_string function to properly
269 quote filenames in generated syntax.
271 * window-manager.c : Converted name from filename encoding to UTF8
272 before displaying in title bar.
274 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
276 * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
278 * data-editor.c: Clear existing file name on FILE NEW.
280 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
282 * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
285 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
287 * psppire-var-select.c psppire-var-select.h : Deleted.
289 * psppire-selector.c psppire-selector.h : New files.
291 * transpose-dialog.c transpose-dialog.h : New files.
293 * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel
296 * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented,
297 using new PsppireSelector widget.
299 * dict-display.c dict-display.h : New files.
301 * psppire-object.c psppire-object.h : Deleted. Seemed like a good idea at the time.
303 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
305 * helper.c helper.h: New function execute_syntax.
307 * syntax-editor.c syntax-editor.glade: Disabled data open/save menu
310 * data-editor.c data-editor.glade data-editor.h: Enabled data
311 open/save/save_as menu-items.
313 * window-manager.h window-manager.c (default_window_name) : New
316 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
318 * psppire-case-file.c psppire-data-store.c psppire-dialog.c
319 psppire-dict.c psppire-var-select.c : Replaced identifier 'signal'
320 with 'signals' to avoid conflict with sysv based systems which use
321 this identifer for something else.
322 Thanks to Daniel E WILLIAMS for reporting this problem.
324 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
326 * psppire-case-file.c : Make sure there is always a valid flexifile
328 * psppire-data-store.c : assertions.
330 * psppire.c: Ignore replace source callbacks if the new source is
331 not of storiage_source_class
333 * syntax-editor.c: Close/Abort source after parsing is complete.
335 Sun Jan 7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
337 * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals
338 corresponding to the callbacks in src/data/dictionary.c
340 * data-editor.c : Connect functions to the FILTER_CHANGED and
341 SPLIT_CHANGED signals to update the status bar accordingly.
343 Mon Jan 1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
345 * psppire-case-file.c psppire-case-file.h: Changed the backend
346 semantics. An object is now created without any backend. A new function ( psppire_case_file_replace_flexifile ) sets the backend to use.
348 * psppire-data-store.c : Updated callers accordingly.
350 * psppire-dict.c psppire-dict.h : New function
351 (psppire_dict_replace_dictionary) .
353 * psppire.c : Updated to use new dataset replace_{source, dictionary}
356 * syntax-editor.c : parses in state CMD_STATE_DATA unless there are
357 no variables in the dictionary.
359 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
361 * data-editor.c data-editor.glade: Enabled deleting of variables from
364 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
366 * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
367 These are not required, now that src/data/dictionary.c has callbacks
369 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
371 * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
374 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
376 * syntax-editor-source.c syntax-editor-source.h syntax-editor.h:
379 * message-dialog.c : Now reports the filename and line number in
382 * psppire.c psppire.glade syntax-editor.c: Added the ability to run
383 syntax from the syntax editor.
386 Sat Dec 16 14:13:07 2006 Ben Pfaff <blp@gnu.org>
388 * psppire-data-store.c (geometry_get_justification): Don't assume
389 that ALIGN_* and GTK_JUSTIFY_* values coincide.
391 Sat Dec 16 14:10:43 2006 Ben Pfaff <blp@gnu.org>
393 * psppire-var-store.c (text_for_column): Adjust to account for new
394 values of the MEASURE_* enums.
396 * var-sheet.c (change_measure): Ditto.
398 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
400 * psppire-variable.c psppire-variable.h: Deleted.
402 * psppire-dict.c psppire-dict.h: Removed the caching of the variable
403 data, which is now unecessary because src/data/vardict.h maintains
404 an association between variables and their dictionary.
406 * data-sheet.c menu-actions.c missing-val-dialog.c
407 missing-val-dialog.h psppire-data-store.c
408 psppire-var-store.c psppire-var-store.h
409 sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h
410 var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the
411 consequences of deleting psppire-variable.[ch].
414 Sat Dec 9 20:03:04 2006 Ben Pfaff <blp@gnu.org>
416 * var-type-dialog.c (var_type_dialog_create): Use
417 fmt_dollar_template from data/format.c.
418 (dollar_format_template) Removed.
420 Sat Dec 9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
422 * syntax-editor.c : New file.
424 Tue Oct 31 19:25:31 2006 Ben Pfaff <blp@gnu.org>
426 * var-type-dialog.c: Add missing "#include <config.h>".
430 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
432 * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
433 psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
434 psppire.c psppire.glade: Adjusted code to use the new flexifile object.
436 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
438 * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where
439 there's no suitable gtk stock icon.
441 Tue Jul 4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
443 * psppire.c: Fixed --help and --version options.
445 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
447 * menu-actions.c: Added goto case and sort cases dialogs.
449 * psppire-case-file.c psppire-case-file.h: Added sort function.
451 * psppire-data-store.c psppire-variable.c psppire-variable.h:
452 Renamed psppire_variable_get_index to psppire_variable_get_fv and
453 dealt with the consequences. Added a psppire_variable_get_index
454 function which actually does what the name suggests.
456 * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
457 which allows a dictionary to be displayed in a GtkTreeView.
459 * psppire.glade: Added dialog boxes for Goto Case and Sort Case.
461 * sort-cases-dialog.c sort-cases-dialog.h (new files).
463 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
465 * psppire-case-file.c psppire-case-file.h (new files)
467 * automake.mk data-sheet.c data-sheet.h menu-actions.c
468 psppire-data-store.c psppire-data-store.h psppire-dict.c
469 psppire-dict.h psppire-var-store.c psppire.c
471 Replaced psppire-case-array.c with psppire-case-file.c, so as to
472 allow an arbitrary number of cases to be represented.
474 Sun Jun 4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
476 * psppire-var-store.c, psppire.c, var-sheet.c : Unlimited the number of
477 variables that can be displayed. Minor i18n issues.
479 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
481 * menu-actions.c menu-actions.h psppire.c: Fixed up load/new
482 interactions with startup.
484 * psppire-data-store.c: Fixed bad i18n call.
486 * pspppire-var-store.c, psppire-var-store.h: constness.
488 * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
491 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
493 * customentry.c data-sheet.c menu-actions.c message-dialog.c
494 missing-val-dialog.c psppire-data-store.c psppire-var-store.c
495 psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
497 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
499 * psppire-var-store.c: Converted strings to utf8 and returned them on the
502 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
504 * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
505 active cell is never on a deleted variable.
507 * psppire-data-store.c psppire-data-store.h: Added get_var_count and
508 get_case_count functions.
510 * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
512 * psppire.c: Allowed user to specify *.sav file on command line.
514 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
516 * menu-actions.c psppire-case-array.c psppire-case-array.h
517 psppire-data-store.c psppire-dict.c psppire-dict.h
520 Initialised new cases to SYSMIS/blank when inserting in data sheet.
522 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
524 * data-sheet.c, helper.c, helper.h, psppire-data-store.c,
527 Set free_strings flag so that the gtksheet frees the string data
528 when it's done with them.
530 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
532 * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c
533 psppire.c: Converted strings to utf8 before passing to gtksheet.
535 * psppire-dict.c: Changed buffer to more reasonable length
537 * var-sheet.c: Changed maximum string length to use macro from
541 Sun May 7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
543 * psppire-data-store.c: Fixed buglet initialising string members.
545 Thu May 4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
547 * message-dialog.c message-dialog.h: Added simple queuing to messages
548 reported, and ensure that dialog boxes dont appear when pointer grab
551 * psppire-data-store.c: Fix overflow on very long string variables.
553 * automake.mk: Fix broken dependency.
556 Tue Apr 25 11:08:04 2006 Ben Pfaff <blp@gnu.org>
558 Finish reforming error message support. In this phase, move
559 message.c into libpspp.
561 * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
563 Tue Apr 25 10:56:53 2006 Ben Pfaff <blp@gnu.org>
565 Continue reforming error message support. In this phase, drop
566 actual message printing from core code, substituting a callback,
567 and add the callback to each UI. Also, move verbose_msg() into
570 * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
572 * message-dialog.c: (message_dialog_init) New function.
573 (vmsg) Rename handle_msg(), rewrite as callback function.
576 (msg_assert_fail) Removed.
577 (verbose_msg) Removed.
579 * psppire.c: (main) Call message_dialog_init().
581 Sun Apr 23 22:07:49 2006 Ben Pfaff <blp@gnu.org>
583 Continue reforming error message support. In this phase, get rid
584 of message "titles" and put the message text in `struct error'.
585 Now `struct error' encapsulates a message more properly.
587 * message-dialog.c: (err_vmsg) Rename err_msg(). Updated
590 Sun Apr 16 20:45:35 2006 Ben Pfaff <blp@gnu.org>
592 Continue reforming error message support. In this phase, we
593 divide the classification of messages along "category" and
596 * message-dialog.c: (vmsg) Use severity and category in
597 straightforward fashion instead of the less obvious "class".
598 (err_vmsg) Construct class before passing along to vmsg().
600 Sun Apr 16 16:06:54 2006 Ben Pfaff <blp@gnu.org>
602 Continue reforming error message support. In this phase, we get
603 rid of VM() and the other msg() support for "verbosity", replacing
604 it by a new function verbose_msg().
606 * message-dialog.c: (verbose_msg) New function.
607 (err_cond_fail) Removed (dead code).
608 (err_failure) Removed (dead code).
610 Sun Apr 16 11:53:25 2006 Ben Pfaff <blp@gnu.org>
612 Start reforming error message support. In this phase, we get rid
613 of "installation errors" and change all uses of msg() in the
614 output drivers to uses of error() or error_at_line().
616 * message-dialog.c: (vmsg) Removed IE, IS support.
618 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
620 * psppire.c: Supported (sort of) the --help and --version options.
622 * Rename error-dialog.[ch] -> message-dialog.[ch]
624 * Moved code from the psppire module.
626 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
628 * Separated the data out of the GtkSheet.
630 Tue Nov 2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
632 * Very first incarnation.