1 2007-08-12 John Darrington <john@darrington.wattle.id.au>
2 Ben Pfaff <blp@gnu.org>
4 Implement Edit|Cut operation for datasheet. Patch #6117.
6 * automake.mk: Add clipboard.c, clipboard.h.
8 * clipboard.c: New file.
10 * clipboard.h: New file.
12 * data-editor.c (new_data_editor): Connect Edit|Copy to
13 on_edit_copy function.
14 (data_var_select): Enable or disable Edit|Copy as appropriate.
15 (on_edit_copy): New function.
17 * data-editor.glade: Connect menu items to new operations.
19 2007-08-12 Ben Pfaff <blp@gnu.org>
21 * psppire-dict.c (psppire_dict_dump): Don't use
22 dict_get_compacted_dict_index_to_case_index, as that function has
25 2007-08-13 John Darrington <john@darrington.wattle.id.au>
27 * psppire-case-file.c (psppire_case_file_append_case):
28 Deleted unused function.
30 2007-08-07 John Darrington <john@darrington.wattle.id.au>
32 * helper.c (execute_syntax): Set the active file data to NULL at the
33 end of the procedure. Thanks to Ben for suggesting this.
35 * psppire-case-file.c: Added assertions to the remaining functions
36 on inaccessible objects.
38 * psppire-data-store.c psppire-data-store.h: Disconnect or block
39 signals on dictionary and case_file, when make_reader has been called.
40 Reconnect or unblock them when a new datasheet has been set for the
43 2007-08-06 John Darrington <john@darrington.wattle.id.au>
45 * syntax-editor.glade: Changed some properties to be less annoying.
47 2007-07-29 John Darrington <john@darrington.wattle.id.au>
49 * helper.c psppire.c: Enabled the output system so that the results
50 of analysis can be seen.
52 2007-07-26 John Darrington <john@darrington.wattle.id.au>
54 * helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
57 * data-editor.c data-editor.glade: Added "Run Pending Transformations"
60 2007-07-25 John Darrington <john@darrington.wattle.id.au>
62 * customentry.c: Redraw button in insensitive state, if the widget's
63 "editable" style is FALSE. Don't emit the "clicked" signal if
66 * var-sheet.c: If variables are long-string variables, then set the
67 "editable" properties of the entry widgets for the values and missing
70 2007-07-18 John Darrington <john@darrington.wattle.id.au>
72 * psppire-case-file.c psppire-case-file.h psppire-data-store.c
73 psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
74 ability to resize string variables. Fixed associated problems
75 inserting/deleting variables.
77 * helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
80 2007-07-16 John Darrington <john@darrington.wattle.id.au>
82 * data-editor.c: File Open dialog remembers directory. Thanks to
83 Ben Pfaff for this suggestion.
85 2007-07-15 John Darrington <john@darrington.wattle.id.au>
87 * compute-dialog.c: Only generate NUMERIC/STRING command if the
88 type-and-label dialog was used.
90 2007-07-12 John Darrington <john@darrington.wattle.id.au>
92 * psppire-data-store.c: Added call to g_sheet_model_range_changed to
93 ensure that datasheet displays the current store.
95 * psppire-data-store.h: Formatting tidy up.
97 2007-07-11 John Darrington <john@darrington.wattle.id.au>
99 * compute-dialog.c : Set type-and-label dialog to sensible state, and made syntax generation depend upon existence of target variable.
101 2007-07-08 John Darrington <john@darrington.wattle.id.au>
103 * data-editor.c data-editor.glade data-editor.h: Implemented
104 the "Insert Case" button/dialog.
106 2007-07-08 John Darrington <john@darrington.wattle.id.au>
108 * goto-case-dialog.c goto-case-dialog.h (new files)
109 * automake.mk data-editor.c data-editor.glade data-editor.h
110 psppire-case-file.c psppire-case-file.h psppire-data-store.c
111 psppire-data-store.h psppire.glade : Implemented the goto-case dialog
114 2007-07-07 John Darrington <john@darrington.wattle.id.au>
116 * psppire-data-store.c psppire-data-store.h: Made cases number from
119 * psppire-data-store.c: Added a tooltip like feature to display
120 the label of variables.
122 2007-07-03 John Darrington <john@darrington.wattle.id.au>
124 * data-editor.c data-sheet.c: Turned off autoscrolling, and
125 manually move to cell on column click instead.
127 2007-06-29 John Darrington <john@darrington.wattle.id.au>
129 * data-editor.c data-editor.glade psppire-data-store.c
130 psppire-data-store.h: Enabled cell reference entry and datum
133 2007-06-29 John Darrington <john@darrington.wattle.id.au>
135 * data-editor.c data-sheet.c: Moved update_cell_ref_entry from
136 data-sheet.c to data-editor.c and made it work again.
138 2007-06-06 Ben Pfaff <blp@gnu.org>
140 Adapt case sources, sinks, and clients of procedure code to the
143 * automake.mk: Removed files.
145 * flexifile-factory.c: Removed, dead code.
146 * flexifile-factory.h: Ditto.
148 * helper.c: Adapt to new procedure and datasheet code.
149 * missing-val-dialog.c: Ditto.
150 * psppire-case-file.c: Ditto.
151 * psppire-data-store.c: Ditto.
154 2007-06-03 Ben Pfaff <blp@gnu.org>
156 * psppire-var-store.c (psppire_var_store_item_editable): Use
159 2007-05-07 John Darrington <john@darrington.wattle.id.au>
161 * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
162 to allow dialogs to be either vertical or horizontal.
164 * comments-dialog.c comments-dialog.h: New files, invoking
167 2007-04-30 John Darrington <john@darrington.wattle.id.au>
169 * var-display.c var-display.h variable-info-dialog.c
170 variable-info-dialog.h : New files.
174 * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
175 property, and optional GOTO and CONTINUE buttons.
177 * psppire-dialog.h: Added response codes for the new buttons.
179 * psppire-var-store.c : Moved some code to var-display.[ch]
181 2007-04-25 John Darrington <john@darrington.wattle.id.au>
183 * icons/scalable/splash.c icons/splash.png : More eye candy.
185 * main.c psppire.h : new files.
187 * psppire.c : Seperated the command line parsing and other
188 environment startup from the core psppire code.
190 2007-04-25 John Darrington <john@darrington.wattle.id.au>
192 * icons/scalable icons/16x16: new directories.
193 * psppire.c : Add new icons to factory.
195 * dict-display.c: Refactor code get model from modelfilter.
196 Added cellrenderer to display icon indicating variables' types.
197 Displayed the label of variables, if there is one.
200 2007-04-15 Ben Pfaff <blp@gnu.org>
202 * compute-dialog.c (function_list_populate): Use new accessor
203 functions exported by language/expressions/public.h.
205 2007-04-15 Ben Pfaff <blp@gnu.org>
207 * compute-dialog.c: Make #include for parse.inc work with VPATH
210 2007-04-13 John Darrington <john@darrington.wattle.id.au>
212 * var-type-dialog.c: Added a FMT_DATETIME20 template.
214 2007-04-04 John Darrington <john@darrington.wattle.id.au>
216 * compute-dialog.c compute-dialog.h: New files
218 * data-editor.c data-editor.h data-editor.glade : Added Transform
219 menu, and support for Compute dialog
221 * glade-register.c psppire-buttonbox.c psppire-buttonbox.h
222 psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c
223 psppire-vbuttonbox.h : Made buttonbox an abstract base class
224 and separated it into vbuttonbox and hbuttonbox.
226 * psppire-selector.c : Allowed GtkTextView to be the destination
229 * psppire-keypad.c: Added an "erase" signal. Fixed other
232 2007-04-03 Ben Pfaff <blp@gnu.org>
233 John McCabe-Dansted <gmatht@gmail.com>
235 * psppire-selector.c (psppire_selector_set_subjects): Add an
236 assert that may or may not trap some Windows-related bugs.
238 2007-04-03 John Darrington <john@darrington.wattle.id.au>
240 * data-editor.c data-editor.glade helper.h syntax-editor.c
241 syntax-editor.h : Implemented the File->Recently_Used_ menus.
244 2007-03-31 John Darrington <john@darrington.wattle.id.au>
246 * data-editor.c data-editor.glade data-editor.h dialog-common.c
247 psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
248 psppire-selector.c psppire-selector.h psppire.c psppire.glade
249 sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
250 transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
251 button on all the dialogs.
253 2007-03-31 John Darrington <john@darrington.wattle.id.au>
255 * data-editor.c: Added hooks for the split-file-dialog
257 * psppire.glade: Added the split file dialog box.
259 * split-file-dialog.c split-file-dialog.h: New files.
261 * dialog-common.c dialog-common.h: New files containing functions
262 which seem to be used a lot in dialog box implementations.
264 * psppire-keypad.c psppire-keypad.h: New files. Implements keypad
267 * psppire-selector.c: Made the orientation of the arrow a property
268 of the widget, so that it can be selected from glade.
270 2007-03-18 Ben Pfaff <blp@gnu.org>
272 * syntax-editor-source.c (close): Rename do_close to avoid naming
273 conflict with POSIX function of same name.
275 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
276 * 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
277 cannot connect to a display .
279 Wed Mar 7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
281 * var-sheet.c: Replaced call to nl_langinfo with locale_charset
284 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
286 * data-editor.c : called new gen_quoted_string function to properly
287 quote filenames in generated syntax.
289 * window-manager.c : Converted name from filename encoding to UTF8
290 before displaying in title bar.
292 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
294 * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
296 * data-editor.c: Clear existing file name on FILE NEW.
298 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
300 * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
303 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
305 * psppire-var-select.c psppire-var-select.h : Deleted.
307 * psppire-selector.c psppire-selector.h : New files.
309 * transpose-dialog.c transpose-dialog.h : New files.
311 * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel
314 * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented,
315 using new PsppireSelector widget.
317 * dict-display.c dict-display.h : New files.
319 * psppire-object.c psppire-object.h : Deleted. Seemed like a good idea at the time.
321 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
323 * helper.c helper.h: New function execute_syntax.
325 * syntax-editor.c syntax-editor.glade: Disabled data open/save menu
328 * data-editor.c data-editor.glade data-editor.h: Enabled data
329 open/save/save_as menu-items.
331 * window-manager.h window-manager.c (default_window_name) : New
334 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
336 * psppire-case-file.c psppire-data-store.c psppire-dialog.c
337 psppire-dict.c psppire-var-select.c : Replaced identifier 'signal'
338 with 'signals' to avoid conflict with sysv based systems which use
339 this identifer for something else.
340 Thanks to Daniel E WILLIAMS for reporting this problem.
342 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
344 * psppire-case-file.c : Make sure there is always a valid flexifile
346 * psppire-data-store.c : assertions.
348 * psppire.c: Ignore replace source callbacks if the new source is
349 not of storiage_source_class
351 * syntax-editor.c: Close/Abort source after parsing is complete.
353 Sun Jan 7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
355 * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals
356 corresponding to the callbacks in src/data/dictionary.c
358 * data-editor.c : Connect functions to the FILTER_CHANGED and
359 SPLIT_CHANGED signals to update the status bar accordingly.
361 Mon Jan 1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
363 * psppire-case-file.c psppire-case-file.h: Changed the backend
364 semantics. An object is now created without any backend. A new function ( psppire_case_file_replace_flexifile ) sets the backend to use.
366 * psppire-data-store.c : Updated callers accordingly.
368 * psppire-dict.c psppire-dict.h : New function
369 (psppire_dict_replace_dictionary) .
371 * psppire.c : Updated to use new dataset replace_{source, dictionary}
374 * syntax-editor.c : parses in state CMD_STATE_DATA unless there are
375 no variables in the dictionary.
377 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
379 * data-editor.c data-editor.glade: Enabled deleting of variables from
382 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
384 * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
385 These are not required, now that src/data/dictionary.c has callbacks
387 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
389 * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
392 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
394 * syntax-editor-source.c syntax-editor-source.h syntax-editor.h:
397 * message-dialog.c : Now reports the filename and line number in
400 * psppire.c psppire.glade syntax-editor.c: Added the ability to run
401 syntax from the syntax editor.
404 Sat Dec 16 14:13:07 2006 Ben Pfaff <blp@gnu.org>
406 * psppire-data-store.c (geometry_get_justification): Don't assume
407 that ALIGN_* and GTK_JUSTIFY_* values coincide.
409 Sat Dec 16 14:10:43 2006 Ben Pfaff <blp@gnu.org>
411 * psppire-var-store.c (text_for_column): Adjust to account for new
412 values of the MEASURE_* enums.
414 * var-sheet.c (change_measure): Ditto.
416 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
418 * psppire-variable.c psppire-variable.h: Deleted.
420 * psppire-dict.c psppire-dict.h: Removed the caching of the variable
421 data, which is now unecessary because src/data/vardict.h maintains
422 an association between variables and their dictionary.
424 * data-sheet.c menu-actions.c missing-val-dialog.c
425 missing-val-dialog.h psppire-data-store.c
426 psppire-var-store.c psppire-var-store.h
427 sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h
428 var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the
429 consequences of deleting psppire-variable.[ch].
432 Sat Dec 9 20:03:04 2006 Ben Pfaff <blp@gnu.org>
434 * var-type-dialog.c (var_type_dialog_create): Use
435 fmt_dollar_template from data/format.c.
436 (dollar_format_template) Removed.
438 Sat Dec 9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
440 * syntax-editor.c : New file.
442 Tue Oct 31 19:25:31 2006 Ben Pfaff <blp@gnu.org>
444 * var-type-dialog.c: Add missing "#include <config.h>".
448 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
450 * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
451 psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
452 psppire.c psppire.glade: Adjusted code to use the new flexifile object.
454 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
456 * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where
457 there's no suitable gtk stock icon.
459 Tue Jul 4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
461 * psppire.c: Fixed --help and --version options.
463 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
465 * menu-actions.c: Added goto case and sort cases dialogs.
467 * psppire-case-file.c psppire-case-file.h: Added sort function.
469 * psppire-data-store.c psppire-variable.c psppire-variable.h:
470 Renamed psppire_variable_get_index to psppire_variable_get_fv and
471 dealt with the consequences. Added a psppire_variable_get_index
472 function which actually does what the name suggests.
474 * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
475 which allows a dictionary to be displayed in a GtkTreeView.
477 * psppire.glade: Added dialog boxes for Goto Case and Sort Case.
479 * sort-cases-dialog.c sort-cases-dialog.h (new files).
481 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
483 * psppire-case-file.c psppire-case-file.h (new files)
485 * automake.mk data-sheet.c data-sheet.h menu-actions.c
486 psppire-data-store.c psppire-data-store.h psppire-dict.c
487 psppire-dict.h psppire-var-store.c psppire.c
489 Replaced psppire-case-array.c with psppire-case-file.c, so as to
490 allow an arbitrary number of cases to be represented.
492 Sun Jun 4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
494 * psppire-var-store.c, psppire.c, var-sheet.c : Unlimited the number of
495 variables that can be displayed. Minor i18n issues.
497 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
499 * menu-actions.c menu-actions.h psppire.c: Fixed up load/new
500 interactions with startup.
502 * psppire-data-store.c: Fixed bad i18n call.
504 * pspppire-var-store.c, psppire-var-store.h: constness.
506 * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
509 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
511 * customentry.c data-sheet.c menu-actions.c message-dialog.c
512 missing-val-dialog.c psppire-data-store.c psppire-var-store.c
513 psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
515 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
517 * psppire-var-store.c: Converted strings to utf8 and returned them on the
520 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
522 * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
523 active cell is never on a deleted variable.
525 * psppire-data-store.c psppire-data-store.h: Added get_var_count and
526 get_case_count functions.
528 * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
530 * psppire.c: Allowed user to specify *.sav file on command line.
532 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
534 * menu-actions.c psppire-case-array.c psppire-case-array.h
535 psppire-data-store.c psppire-dict.c psppire-dict.h
538 Initialised new cases to SYSMIS/blank when inserting in data sheet.
540 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
542 * data-sheet.c, helper.c, helper.h, psppire-data-store.c,
545 Set free_strings flag so that the gtksheet frees the string data
546 when it's done with them.
548 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
550 * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c
551 psppire.c: Converted strings to utf8 before passing to gtksheet.
553 * psppire-dict.c: Changed buffer to more reasonable length
555 * var-sheet.c: Changed maximum string length to use macro from
559 Sun May 7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
561 * psppire-data-store.c: Fixed buglet initialising string members.
563 Thu May 4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
565 * message-dialog.c message-dialog.h: Added simple queuing to messages
566 reported, and ensure that dialog boxes dont appear when pointer grab
569 * psppire-data-store.c: Fix overflow on very long string variables.
571 * automake.mk: Fix broken dependency.
574 Tue Apr 25 11:08:04 2006 Ben Pfaff <blp@gnu.org>
576 Finish reforming error message support. In this phase, move
577 message.c into libpspp.
579 * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
581 Tue Apr 25 10:56:53 2006 Ben Pfaff <blp@gnu.org>
583 Continue reforming error message support. In this phase, drop
584 actual message printing from core code, substituting a callback,
585 and add the callback to each UI. Also, move verbose_msg() into
588 * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
590 * message-dialog.c: (message_dialog_init) New function.
591 (vmsg) Rename handle_msg(), rewrite as callback function.
594 (msg_assert_fail) Removed.
595 (verbose_msg) Removed.
597 * psppire.c: (main) Call message_dialog_init().
599 Sun Apr 23 22:07:49 2006 Ben Pfaff <blp@gnu.org>
601 Continue reforming error message support. In this phase, get rid
602 of message "titles" and put the message text in `struct error'.
603 Now `struct error' encapsulates a message more properly.
605 * message-dialog.c: (err_vmsg) Rename err_msg(). Updated
608 Sun Apr 16 20:45:35 2006 Ben Pfaff <blp@gnu.org>
610 Continue reforming error message support. In this phase, we
611 divide the classification of messages along "category" and
614 * message-dialog.c: (vmsg) Use severity and category in
615 straightforward fashion instead of the less obvious "class".
616 (err_vmsg) Construct class before passing along to vmsg().
618 Sun Apr 16 16:06:54 2006 Ben Pfaff <blp@gnu.org>
620 Continue reforming error message support. In this phase, we get
621 rid of VM() and the other msg() support for "verbosity", replacing
622 it by a new function verbose_msg().
624 * message-dialog.c: (verbose_msg) New function.
625 (err_cond_fail) Removed (dead code).
626 (err_failure) Removed (dead code).
628 Sun Apr 16 11:53:25 2006 Ben Pfaff <blp@gnu.org>
630 Start reforming error message support. In this phase, we get rid
631 of "installation errors" and change all uses of msg() in the
632 output drivers to uses of error() or error_at_line().
634 * message-dialog.c: (vmsg) Removed IE, IS support.
636 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
638 * psppire.c: Supported (sort of) the --help and --version options.
640 * Rename error-dialog.[ch] -> message-dialog.[ch]
642 * Moved code from the psppire module.
644 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
646 * Separated the data out of the GtkSheet.
648 Tue Nov 2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
650 * Very first incarnation.