1 2007-08-13 John Darrington <john@darrington.wattle.id.au>
3 * psppire-case-file.c (psppire_case_file_append_case):
4 Deleted unused function.
6 2007-08-07 John Darrington <john@darrington.wattle.id.au>
8 * helper.c (execute_syntax): Set the active file data to NULL at the
9 end of the procedure. Thanks to Ben for suggesting this.
11 * psppire-case-file.c: Added assertions to the remaining functions
12 on inaccessible objects.
14 * psppire-data-store.c psppire-data-store.h: Disconnect or block
15 signals on dictionary and case_file, when make_reader has been called.
16 Reconnect or unblock them when a new datasheet has been set for the
19 2007-08-06 John Darrington <john@darrington.wattle.id.au>
21 * syntax-editor.glade: Changed some properties to be less annoying.
23 2007-07-29 John Darrington <john@darrington.wattle.id.au>
25 * helper.c psppire.c: Enabled the output system so that the results
26 of analysis can be seen.
28 2007-07-26 John Darrington <john@darrington.wattle.id.au>
30 * helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
33 * data-editor.c data-editor.glade: Added "Run Pending Transformations"
36 2007-07-25 John Darrington <john@darrington.wattle.id.au>
38 * customentry.c: Redraw button in insensitive state, if the widget's
39 "editable" style is FALSE. Don't emit the "clicked" signal if
42 * var-sheet.c: If variables are long-string variables, then set the
43 "editable" properties of the entry widgets for the values and missing
46 2007-07-18 John Darrington <john@darrington.wattle.id.au>
48 * psppire-case-file.c psppire-case-file.h psppire-data-store.c
49 psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
50 ability to resize string variables. Fixed associated problems
51 inserting/deleting variables.
53 * helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
56 2007-07-16 John Darrington <john@darrington.wattle.id.au>
58 * data-editor.c: File Open dialog remembers directory. Thanks to
59 Ben Pfaff for this suggestion.
61 2007-07-15 John Darrington <john@darrington.wattle.id.au>
63 * compute-dialog.c: Only generate NUMERIC/STRING command if the
64 type-and-label dialog was used.
66 2007-07-12 John Darrington <john@darrington.wattle.id.au>
68 * psppire-data-store.c: Added call to g_sheet_model_range_changed to
69 ensure that datasheet displays the current store.
71 * psppire-data-store.h: Formatting tidy up.
73 2007-07-11 John Darrington <john@darrington.wattle.id.au>
75 * compute-dialog.c : Set type-and-label dialog to sensible state, and made syntax generation depend upon existence of target variable.
77 2007-07-08 John Darrington <john@darrington.wattle.id.au>
79 * data-editor.c data-editor.glade data-editor.h: Implemented
80 the "Insert Case" button/dialog.
82 2007-07-08 John Darrington <john@darrington.wattle.id.au>
84 * goto-case-dialog.c goto-case-dialog.h (new files)
85 * automake.mk data-editor.c data-editor.glade data-editor.h
86 psppire-case-file.c psppire-case-file.h psppire-data-store.c
87 psppire-data-store.h psppire.glade : Implemented the goto-case dialog
90 2007-07-07 John Darrington <john@darrington.wattle.id.au>
92 * psppire-data-store.c psppire-data-store.h: Made cases number from
95 * psppire-data-store.c: Added a tooltip like feature to display
96 the label of variables.
98 2007-07-03 John Darrington <john@darrington.wattle.id.au>
100 * data-editor.c data-sheet.c: Turned off autoscrolling, and
101 manually move to cell on column click instead.
103 2007-06-29 John Darrington <john@darrington.wattle.id.au>
105 * data-editor.c data-editor.glade psppire-data-store.c
106 psppire-data-store.h: Enabled cell reference entry and datum
109 2007-06-29 John Darrington <john@darrington.wattle.id.au>
111 * data-editor.c data-sheet.c: Moved update_cell_ref_entry from
112 data-sheet.c to data-editor.c and made it work again.
114 2007-06-06 Ben Pfaff <blp@gnu.org>
116 Adapt case sources, sinks, and clients of procedure code to the
119 * automake.mk: Removed files.
121 * flexifile-factory.c: Removed, dead code.
122 * flexifile-factory.h: Ditto.
124 * helper.c: Adapt to new procedure and datasheet code.
125 * missing-val-dialog.c: Ditto.
126 * psppire-case-file.c: Ditto.
127 * psppire-data-store.c: Ditto.
130 2007-06-03 Ben Pfaff <blp@gnu.org>
132 * psppire-var-store.c (psppire_var_store_item_editable): Use
135 2007-05-07 John Darrington <john@darrington.wattle.id.au>
137 * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
138 to allow dialogs to be either vertical or horizontal.
140 * comments-dialog.c comments-dialog.h: New files, invoking
143 2007-04-30 John Darrington <john@darrington.wattle.id.au>
145 * var-display.c var-display.h variable-info-dialog.c
146 variable-info-dialog.h : New files.
150 * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
151 property, and optional GOTO and CONTINUE buttons.
153 * psppire-dialog.h: Added response codes for the new buttons.
155 * psppire-var-store.c : Moved some code to var-display.[ch]
157 2007-04-25 John Darrington <john@darrington.wattle.id.au>
159 * icons/scalable/splash.c icons/splash.png : More eye candy.
161 * main.c psppire.h : new files.
163 * psppire.c : Seperated the command line parsing and other
164 environment startup from the core psppire code.
166 2007-04-25 John Darrington <john@darrington.wattle.id.au>
168 * icons/scalable icons/16x16: new directories.
169 * psppire.c : Add new icons to factory.
171 * dict-display.c: Refactor code get model from modelfilter.
172 Added cellrenderer to display icon indicating variables' types.
173 Displayed the label of variables, if there is one.
176 2007-04-15 Ben Pfaff <blp@gnu.org>
178 * compute-dialog.c (function_list_populate): Use new accessor
179 functions exported by language/expressions/public.h.
181 2007-04-15 Ben Pfaff <blp@gnu.org>
183 * compute-dialog.c: Make #include for parse.inc work with VPATH
186 2007-04-13 John Darrington <john@darrington.wattle.id.au>
188 * var-type-dialog.c: Added a FMT_DATETIME20 template.
190 2007-04-04 John Darrington <john@darrington.wattle.id.au>
192 * compute-dialog.c compute-dialog.h: New files
194 * data-editor.c data-editor.h data-editor.glade : Added Transform
195 menu, and support for Compute dialog
197 * glade-register.c psppire-buttonbox.c psppire-buttonbox.h
198 psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c
199 psppire-vbuttonbox.h : Made buttonbox an abstract base class
200 and separated it into vbuttonbox and hbuttonbox.
202 * psppire-selector.c : Allowed GtkTextView to be the destination
205 * psppire-keypad.c: Added an "erase" signal. Fixed other
208 2007-04-03 Ben Pfaff <blp@gnu.org>
209 John McCabe-Dansted <gmatht@gmail.com>
211 * psppire-selector.c (psppire_selector_set_subjects): Add an
212 assert that may or may not trap some Windows-related bugs.
214 2007-04-03 John Darrington <john@darrington.wattle.id.au>
216 * data-editor.c data-editor.glade helper.h syntax-editor.c
217 syntax-editor.h : Implemented the File->Recently_Used_ menus.
220 2007-03-31 John Darrington <john@darrington.wattle.id.au>
222 * data-editor.c data-editor.glade data-editor.h dialog-common.c
223 psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
224 psppire-selector.c psppire-selector.h psppire.c psppire.glade
225 sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
226 transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
227 button on all the dialogs.
229 2007-03-31 John Darrington <john@darrington.wattle.id.au>
231 * data-editor.c: Added hooks for the split-file-dialog
233 * psppire.glade: Added the split file dialog box.
235 * split-file-dialog.c split-file-dialog.h: New files.
237 * dialog-common.c dialog-common.h: New files containing functions
238 which seem to be used a lot in dialog box implementations.
240 * psppire-keypad.c psppire-keypad.h: New files. Implements keypad
243 * psppire-selector.c: Made the orientation of the arrow a property
244 of the widget, so that it can be selected from glade.
246 2007-03-18 Ben Pfaff <blp@gnu.org>
248 * syntax-editor-source.c (close): Rename do_close to avoid naming
249 conflict with POSIX function of same name.
251 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
252 * 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
253 cannot connect to a display .
255 Wed Mar 7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
257 * var-sheet.c: Replaced call to nl_langinfo with locale_charset
260 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
262 * data-editor.c : called new gen_quoted_string function to properly
263 quote filenames in generated syntax.
265 * window-manager.c : Converted name from filename encoding to UTF8
266 before displaying in title bar.
268 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
270 * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
272 * data-editor.c: Clear existing file name on FILE NEW.
274 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
276 * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
279 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
281 * psppire-var-select.c psppire-var-select.h : Deleted.
283 * psppire-selector.c psppire-selector.h : New files.
285 * transpose-dialog.c transpose-dialog.h : New files.
287 * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel
290 * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented,
291 using new PsppireSelector widget.
293 * dict-display.c dict-display.h : New files.
295 * psppire-object.c psppire-object.h : Deleted. Seemed like a good idea at the time.
297 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
299 * helper.c helper.h: New function execute_syntax.
301 * syntax-editor.c syntax-editor.glade: Disabled data open/save menu
304 * data-editor.c data-editor.glade data-editor.h: Enabled data
305 open/save/save_as menu-items.
307 * window-manager.h window-manager.c (default_window_name) : New
310 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
312 * psppire-case-file.c psppire-data-store.c psppire-dialog.c
313 psppire-dict.c psppire-var-select.c : Replaced identifier 'signal'
314 with 'signals' to avoid conflict with sysv based systems which use
315 this identifer for something else.
316 Thanks to Daniel E WILLIAMS for reporting this problem.
318 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
320 * psppire-case-file.c : Make sure there is always a valid flexifile
322 * psppire-data-store.c : assertions.
324 * psppire.c: Ignore replace source callbacks if the new source is
325 not of storiage_source_class
327 * syntax-editor.c: Close/Abort source after parsing is complete.
329 Sun Jan 7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
331 * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals
332 corresponding to the callbacks in src/data/dictionary.c
334 * data-editor.c : Connect functions to the FILTER_CHANGED and
335 SPLIT_CHANGED signals to update the status bar accordingly.
337 Mon Jan 1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
339 * psppire-case-file.c psppire-case-file.h: Changed the backend
340 semantics. An object is now created without any backend. A new function ( psppire_case_file_replace_flexifile ) sets the backend to use.
342 * psppire-data-store.c : Updated callers accordingly.
344 * psppire-dict.c psppire-dict.h : New function
345 (psppire_dict_replace_dictionary) .
347 * psppire.c : Updated to use new dataset replace_{source, dictionary}
350 * syntax-editor.c : parses in state CMD_STATE_DATA unless there are
351 no variables in the dictionary.
353 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
355 * data-editor.c data-editor.glade: Enabled deleting of variables from
358 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
360 * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
361 These are not required, now that src/data/dictionary.c has callbacks
363 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
365 * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
368 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
370 * syntax-editor-source.c syntax-editor-source.h syntax-editor.h:
373 * message-dialog.c : Now reports the filename and line number in
376 * psppire.c psppire.glade syntax-editor.c: Added the ability to run
377 syntax from the syntax editor.
380 Sat Dec 16 14:13:07 2006 Ben Pfaff <blp@gnu.org>
382 * psppire-data-store.c (geometry_get_justification): Don't assume
383 that ALIGN_* and GTK_JUSTIFY_* values coincide.
385 Sat Dec 16 14:10:43 2006 Ben Pfaff <blp@gnu.org>
387 * psppire-var-store.c (text_for_column): Adjust to account for new
388 values of the MEASURE_* enums.
390 * var-sheet.c (change_measure): Ditto.
392 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
394 * psppire-variable.c psppire-variable.h: Deleted.
396 * psppire-dict.c psppire-dict.h: Removed the caching of the variable
397 data, which is now unecessary because src/data/vardict.h maintains
398 an association between variables and their dictionary.
400 * data-sheet.c menu-actions.c missing-val-dialog.c
401 missing-val-dialog.h psppire-data-store.c
402 psppire-var-store.c psppire-var-store.h
403 sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h
404 var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the
405 consequences of deleting psppire-variable.[ch].
408 Sat Dec 9 20:03:04 2006 Ben Pfaff <blp@gnu.org>
410 * var-type-dialog.c (var_type_dialog_create): Use
411 fmt_dollar_template from data/format.c.
412 (dollar_format_template) Removed.
414 Sat Dec 9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
416 * syntax-editor.c : New file.
418 Tue Oct 31 19:25:31 2006 Ben Pfaff <blp@gnu.org>
420 * var-type-dialog.c: Add missing "#include <config.h>".
424 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
426 * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
427 psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
428 psppire.c psppire.glade: Adjusted code to use the new flexifile object.
430 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
432 * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where
433 there's no suitable gtk stock icon.
435 Tue Jul 4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
437 * psppire.c: Fixed --help and --version options.
439 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
441 * menu-actions.c: Added goto case and sort cases dialogs.
443 * psppire-case-file.c psppire-case-file.h: Added sort function.
445 * psppire-data-store.c psppire-variable.c psppire-variable.h:
446 Renamed psppire_variable_get_index to psppire_variable_get_fv and
447 dealt with the consequences. Added a psppire_variable_get_index
448 function which actually does what the name suggests.
450 * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
451 which allows a dictionary to be displayed in a GtkTreeView.
453 * psppire.glade: Added dialog boxes for Goto Case and Sort Case.
455 * sort-cases-dialog.c sort-cases-dialog.h (new files).
457 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
459 * psppire-case-file.c psppire-case-file.h (new files)
461 * automake.mk data-sheet.c data-sheet.h menu-actions.c
462 psppire-data-store.c psppire-data-store.h psppire-dict.c
463 psppire-dict.h psppire-var-store.c psppire.c
465 Replaced psppire-case-array.c with psppire-case-file.c, so as to
466 allow an arbitrary number of cases to be represented.
468 Sun Jun 4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
470 * psppire-var-store.c, psppire.c, var-sheet.c : Unlimited the number of
471 variables that can be displayed. Minor i18n issues.
473 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
475 * menu-actions.c menu-actions.h psppire.c: Fixed up load/new
476 interactions with startup.
478 * psppire-data-store.c: Fixed bad i18n call.
480 * pspppire-var-store.c, psppire-var-store.h: constness.
482 * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
485 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
487 * customentry.c data-sheet.c menu-actions.c message-dialog.c
488 missing-val-dialog.c psppire-data-store.c psppire-var-store.c
489 psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
491 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
493 * psppire-var-store.c: Converted strings to utf8 and returned them on the
496 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
498 * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
499 active cell is never on a deleted variable.
501 * psppire-data-store.c psppire-data-store.h: Added get_var_count and
502 get_case_count functions.
504 * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
506 * psppire.c: Allowed user to specify *.sav file on command line.
508 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
510 * menu-actions.c psppire-case-array.c psppire-case-array.h
511 psppire-data-store.c psppire-dict.c psppire-dict.h
514 Initialised new cases to SYSMIS/blank when inserting in data sheet.
516 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
518 * data-sheet.c, helper.c, helper.h, psppire-data-store.c,
521 Set free_strings flag so that the gtksheet frees the string data
522 when it's done with them.
524 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
526 * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c
527 psppire.c: Converted strings to utf8 before passing to gtksheet.
529 * psppire-dict.c: Changed buffer to more reasonable length
531 * var-sheet.c: Changed maximum string length to use macro from
535 Sun May 7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
537 * psppire-data-store.c: Fixed buglet initialising string members.
539 Thu May 4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
541 * message-dialog.c message-dialog.h: Added simple queuing to messages
542 reported, and ensure that dialog boxes dont appear when pointer grab
545 * psppire-data-store.c: Fix overflow on very long string variables.
547 * automake.mk: Fix broken dependency.
550 Tue Apr 25 11:08:04 2006 Ben Pfaff <blp@gnu.org>
552 Finish reforming error message support. In this phase, move
553 message.c into libpspp.
555 * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
557 Tue Apr 25 10:56:53 2006 Ben Pfaff <blp@gnu.org>
559 Continue reforming error message support. In this phase, drop
560 actual message printing from core code, substituting a callback,
561 and add the callback to each UI. Also, move verbose_msg() into
564 * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
566 * message-dialog.c: (message_dialog_init) New function.
567 (vmsg) Rename handle_msg(), rewrite as callback function.
570 (msg_assert_fail) Removed.
571 (verbose_msg) Removed.
573 * psppire.c: (main) Call message_dialog_init().
575 Sun Apr 23 22:07:49 2006 Ben Pfaff <blp@gnu.org>
577 Continue reforming error message support. In this phase, get rid
578 of message "titles" and put the message text in `struct error'.
579 Now `struct error' encapsulates a message more properly.
581 * message-dialog.c: (err_vmsg) Rename err_msg(). Updated
584 Sun Apr 16 20:45:35 2006 Ben Pfaff <blp@gnu.org>
586 Continue reforming error message support. In this phase, we
587 divide the classification of messages along "category" and
590 * message-dialog.c: (vmsg) Use severity and category in
591 straightforward fashion instead of the less obvious "class".
592 (err_vmsg) Construct class before passing along to vmsg().
594 Sun Apr 16 16:06:54 2006 Ben Pfaff <blp@gnu.org>
596 Continue reforming error message support. In this phase, we get
597 rid of VM() and the other msg() support for "verbosity", replacing
598 it by a new function verbose_msg().
600 * message-dialog.c: (verbose_msg) New function.
601 (err_cond_fail) Removed (dead code).
602 (err_failure) Removed (dead code).
604 Sun Apr 16 11:53:25 2006 Ben Pfaff <blp@gnu.org>
606 Start reforming error message support. In this phase, we get rid
607 of "installation errors" and change all uses of msg() in the
608 output drivers to uses of error() or error_at_line().
610 * message-dialog.c: (vmsg) Removed IE, IS support.
612 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
614 * psppire.c: Supported (sort of) the --help and --version options.
616 * Rename error-dialog.[ch] -> message-dialog.[ch]
618 * Moved code from the psppire module.
620 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
622 * Separated the data out of the GtkSheet.
624 Tue Nov 2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
626 * Very first incarnation.