1 2007-08-13 John Darrington <john@darrington.wattle.id.au>
3 * clipboard.c (clip_to_html clip_to_text): Fixed bug --- use the
4 variable count instead of the value count for the columns limit.
6 2007-08-12 John Darrington <john@darrington.wattle.id.au>
7 Ben Pfaff <blp@gnu.org>
9 Implement Edit|Cut operation for datasheet. Patch #6117.
11 * automake.mk: Add clipboard.c, clipboard.h.
13 * clipboard.c: New file.
15 * clipboard.h: New file.
17 * data-editor.c (new_data_editor): Connect Edit|Copy to
18 on_edit_copy function.
19 (data_var_select): Enable or disable Edit|Copy as appropriate.
20 (on_edit_copy): New function.
22 * data-editor.glade: Connect menu items to new operations.
24 2007-08-12 Ben Pfaff <blp@gnu.org>
26 * psppire-dict.c (psppire_dict_dump): Don't use
27 dict_get_compacted_dict_index_to_case_index, as that function has
30 2007-08-13 John Darrington <john@darrington.wattle.id.au>
32 * psppire-case-file.c (psppire_case_file_append_case):
33 Deleted unused function.
35 2007-08-07 John Darrington <john@darrington.wattle.id.au>
37 * helper.c (execute_syntax): Set the active file data to NULL at the
38 end of the procedure. Thanks to Ben for suggesting this.
40 * psppire-case-file.c: Added assertions to the remaining functions
41 on inaccessible objects.
43 * psppire-data-store.c psppire-data-store.h: Disconnect or block
44 signals on dictionary and case_file, when make_reader has been called.
45 Reconnect or unblock them when a new datasheet has been set for the
48 2007-08-06 John Darrington <john@darrington.wattle.id.au>
50 * syntax-editor.glade: Changed some properties to be less annoying.
52 2007-07-29 John Darrington <john@darrington.wattle.id.au>
54 * helper.c psppire.c: Enabled the output system so that the results
55 of analysis can be seen.
57 2007-07-26 John Darrington <john@darrington.wattle.id.au>
59 * helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
62 * data-editor.c data-editor.glade: Added "Run Pending Transformations"
65 2007-07-25 John Darrington <john@darrington.wattle.id.au>
67 * customentry.c: Redraw button in insensitive state, if the widget's
68 "editable" style is FALSE. Don't emit the "clicked" signal if
71 * var-sheet.c: If variables are long-string variables, then set the
72 "editable" properties of the entry widgets for the values and missing
75 2007-07-18 John Darrington <john@darrington.wattle.id.au>
77 * psppire-case-file.c psppire-case-file.h psppire-data-store.c
78 psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
79 ability to resize string variables. Fixed associated problems
80 inserting/deleting variables.
82 * helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
85 2007-07-16 John Darrington <john@darrington.wattle.id.au>
87 * data-editor.c: File Open dialog remembers directory. Thanks to
88 Ben Pfaff for this suggestion.
90 2007-07-15 John Darrington <john@darrington.wattle.id.au>
92 * compute-dialog.c: Only generate NUMERIC/STRING command if the
93 type-and-label dialog was used.
95 2007-07-12 John Darrington <john@darrington.wattle.id.au>
97 * psppire-data-store.c: Added call to g_sheet_model_range_changed to
98 ensure that datasheet displays the current store.
100 * psppire-data-store.h: Formatting tidy up.
102 2007-07-11 John Darrington <john@darrington.wattle.id.au>
104 * compute-dialog.c : Set type-and-label dialog to sensible state, and made syntax generation depend upon existence of target variable.
106 2007-07-08 John Darrington <john@darrington.wattle.id.au>
108 * data-editor.c data-editor.glade data-editor.h: Implemented
109 the "Insert Case" button/dialog.
111 2007-07-08 John Darrington <john@darrington.wattle.id.au>
113 * goto-case-dialog.c goto-case-dialog.h (new files)
114 * automake.mk data-editor.c data-editor.glade data-editor.h
115 psppire-case-file.c psppire-case-file.h psppire-data-store.c
116 psppire-data-store.h psppire.glade : Implemented the goto-case dialog
119 2007-07-07 John Darrington <john@darrington.wattle.id.au>
121 * psppire-data-store.c psppire-data-store.h: Made cases number from
124 * psppire-data-store.c: Added a tooltip like feature to display
125 the label of variables.
127 2007-07-03 John Darrington <john@darrington.wattle.id.au>
129 * data-editor.c data-sheet.c: Turned off autoscrolling, and
130 manually move to cell on column click instead.
132 2007-06-29 John Darrington <john@darrington.wattle.id.au>
134 * data-editor.c data-editor.glade psppire-data-store.c
135 psppire-data-store.h: Enabled cell reference entry and datum
138 2007-06-29 John Darrington <john@darrington.wattle.id.au>
140 * data-editor.c data-sheet.c: Moved update_cell_ref_entry from
141 data-sheet.c to data-editor.c and made it work again.
143 2007-06-06 Ben Pfaff <blp@gnu.org>
145 Adapt case sources, sinks, and clients of procedure code to the
148 * automake.mk: Removed files.
150 * flexifile-factory.c: Removed, dead code.
151 * flexifile-factory.h: Ditto.
153 * helper.c: Adapt to new procedure and datasheet code.
154 * missing-val-dialog.c: Ditto.
155 * psppire-case-file.c: Ditto.
156 * psppire-data-store.c: Ditto.
159 2007-06-03 Ben Pfaff <blp@gnu.org>
161 * psppire-var-store.c (psppire_var_store_item_editable): Use
164 2007-05-07 John Darrington <john@darrington.wattle.id.au>
166 * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
167 to allow dialogs to be either vertical or horizontal.
169 * comments-dialog.c comments-dialog.h: New files, invoking
172 2007-04-30 John Darrington <john@darrington.wattle.id.au>
174 * var-display.c var-display.h variable-info-dialog.c
175 variable-info-dialog.h : New files.
179 * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
180 property, and optional GOTO and CONTINUE buttons.
182 * psppire-dialog.h: Added response codes for the new buttons.
184 * psppire-var-store.c : Moved some code to var-display.[ch]
186 2007-04-25 John Darrington <john@darrington.wattle.id.au>
188 * icons/scalable/splash.c icons/splash.png : More eye candy.
190 * main.c psppire.h : new files.
192 * psppire.c : Seperated the command line parsing and other
193 environment startup from the core psppire code.
195 2007-04-25 John Darrington <john@darrington.wattle.id.au>
197 * icons/scalable icons/16x16: new directories.
198 * psppire.c : Add new icons to factory.
200 * dict-display.c: Refactor code get model from modelfilter.
201 Added cellrenderer to display icon indicating variables' types.
202 Displayed the label of variables, if there is one.
205 2007-04-15 Ben Pfaff <blp@gnu.org>
207 * compute-dialog.c (function_list_populate): Use new accessor
208 functions exported by language/expressions/public.h.
210 2007-04-15 Ben Pfaff <blp@gnu.org>
212 * compute-dialog.c: Make #include for parse.inc work with VPATH
215 2007-04-13 John Darrington <john@darrington.wattle.id.au>
217 * var-type-dialog.c: Added a FMT_DATETIME20 template.
219 2007-04-04 John Darrington <john@darrington.wattle.id.au>
221 * compute-dialog.c compute-dialog.h: New files
223 * data-editor.c data-editor.h data-editor.glade : Added Transform
224 menu, and support for Compute dialog
226 * glade-register.c psppire-buttonbox.c psppire-buttonbox.h
227 psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c
228 psppire-vbuttonbox.h : Made buttonbox an abstract base class
229 and separated it into vbuttonbox and hbuttonbox.
231 * psppire-selector.c : Allowed GtkTextView to be the destination
234 * psppire-keypad.c: Added an "erase" signal. Fixed other
237 2007-04-03 Ben Pfaff <blp@gnu.org>
238 John McCabe-Dansted <gmatht@gmail.com>
240 * psppire-selector.c (psppire_selector_set_subjects): Add an
241 assert that may or may not trap some Windows-related bugs.
243 2007-04-03 John Darrington <john@darrington.wattle.id.au>
245 * data-editor.c data-editor.glade helper.h syntax-editor.c
246 syntax-editor.h : Implemented the File->Recently_Used_ menus.
249 2007-03-31 John Darrington <john@darrington.wattle.id.au>
251 * data-editor.c data-editor.glade data-editor.h dialog-common.c
252 psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
253 psppire-selector.c psppire-selector.h psppire.c psppire.glade
254 sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
255 transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
256 button on all the dialogs.
258 2007-03-31 John Darrington <john@darrington.wattle.id.au>
260 * data-editor.c: Added hooks for the split-file-dialog
262 * psppire.glade: Added the split file dialog box.
264 * split-file-dialog.c split-file-dialog.h: New files.
266 * dialog-common.c dialog-common.h: New files containing functions
267 which seem to be used a lot in dialog box implementations.
269 * psppire-keypad.c psppire-keypad.h: New files. Implements keypad
272 * psppire-selector.c: Made the orientation of the arrow a property
273 of the widget, so that it can be selected from glade.
275 2007-03-18 Ben Pfaff <blp@gnu.org>
277 * syntax-editor-source.c (close): Rename do_close to avoid naming
278 conflict with POSIX function of same name.
280 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
281 * 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
282 cannot connect to a display .
284 Wed Mar 7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
286 * var-sheet.c: Replaced call to nl_langinfo with locale_charset
289 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
291 * data-editor.c : called new gen_quoted_string function to properly
292 quote filenames in generated syntax.
294 * window-manager.c : Converted name from filename encoding to UTF8
295 before displaying in title bar.
297 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
299 * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
301 * data-editor.c: Clear existing file name on FILE NEW.
303 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
305 * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
308 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
310 * psppire-var-select.c psppire-var-select.h : Deleted.
312 * psppire-selector.c psppire-selector.h : New files.
314 * transpose-dialog.c transpose-dialog.h : New files.
316 * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel
319 * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented,
320 using new PsppireSelector widget.
322 * dict-display.c dict-display.h : New files.
324 * psppire-object.c psppire-object.h : Deleted. Seemed like a good idea at the time.
326 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
328 * helper.c helper.h: New function execute_syntax.
330 * syntax-editor.c syntax-editor.glade: Disabled data open/save menu
333 * data-editor.c data-editor.glade data-editor.h: Enabled data
334 open/save/save_as menu-items.
336 * window-manager.h window-manager.c (default_window_name) : New
339 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
341 * psppire-case-file.c psppire-data-store.c psppire-dialog.c
342 psppire-dict.c psppire-var-select.c : Replaced identifier 'signal'
343 with 'signals' to avoid conflict with sysv based systems which use
344 this identifer for something else.
345 Thanks to Daniel E WILLIAMS for reporting this problem.
347 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
349 * psppire-case-file.c : Make sure there is always a valid flexifile
351 * psppire-data-store.c : assertions.
353 * psppire.c: Ignore replace source callbacks if the new source is
354 not of storiage_source_class
356 * syntax-editor.c: Close/Abort source after parsing is complete.
358 Sun Jan 7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
360 * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals
361 corresponding to the callbacks in src/data/dictionary.c
363 * data-editor.c : Connect functions to the FILTER_CHANGED and
364 SPLIT_CHANGED signals to update the status bar accordingly.
366 Mon Jan 1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
368 * psppire-case-file.c psppire-case-file.h: Changed the backend
369 semantics. An object is now created without any backend. A new function ( psppire_case_file_replace_flexifile ) sets the backend to use.
371 * psppire-data-store.c : Updated callers accordingly.
373 * psppire-dict.c psppire-dict.h : New function
374 (psppire_dict_replace_dictionary) .
376 * psppire.c : Updated to use new dataset replace_{source, dictionary}
379 * syntax-editor.c : parses in state CMD_STATE_DATA unless there are
380 no variables in the dictionary.
382 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
384 * data-editor.c data-editor.glade: Enabled deleting of variables from
387 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
389 * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
390 These are not required, now that src/data/dictionary.c has callbacks
392 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
394 * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
397 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
399 * syntax-editor-source.c syntax-editor-source.h syntax-editor.h:
402 * message-dialog.c : Now reports the filename and line number in
405 * psppire.c psppire.glade syntax-editor.c: Added the ability to run
406 syntax from the syntax editor.
409 Sat Dec 16 14:13:07 2006 Ben Pfaff <blp@gnu.org>
411 * psppire-data-store.c (geometry_get_justification): Don't assume
412 that ALIGN_* and GTK_JUSTIFY_* values coincide.
414 Sat Dec 16 14:10:43 2006 Ben Pfaff <blp@gnu.org>
416 * psppire-var-store.c (text_for_column): Adjust to account for new
417 values of the MEASURE_* enums.
419 * var-sheet.c (change_measure): Ditto.
421 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
423 * psppire-variable.c psppire-variable.h: Deleted.
425 * psppire-dict.c psppire-dict.h: Removed the caching of the variable
426 data, which is now unecessary because src/data/vardict.h maintains
427 an association between variables and their dictionary.
429 * data-sheet.c menu-actions.c missing-val-dialog.c
430 missing-val-dialog.h psppire-data-store.c
431 psppire-var-store.c psppire-var-store.h
432 sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h
433 var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the
434 consequences of deleting psppire-variable.[ch].
437 Sat Dec 9 20:03:04 2006 Ben Pfaff <blp@gnu.org>
439 * var-type-dialog.c (var_type_dialog_create): Use
440 fmt_dollar_template from data/format.c.
441 (dollar_format_template) Removed.
443 Sat Dec 9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
445 * syntax-editor.c : New file.
447 Tue Oct 31 19:25:31 2006 Ben Pfaff <blp@gnu.org>
449 * var-type-dialog.c: Add missing "#include <config.h>".
453 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
455 * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
456 psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
457 psppire.c psppire.glade: Adjusted code to use the new flexifile object.
459 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
461 * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where
462 there's no suitable gtk stock icon.
464 Tue Jul 4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
466 * psppire.c: Fixed --help and --version options.
468 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
470 * menu-actions.c: Added goto case and sort cases dialogs.
472 * psppire-case-file.c psppire-case-file.h: Added sort function.
474 * psppire-data-store.c psppire-variable.c psppire-variable.h:
475 Renamed psppire_variable_get_index to psppire_variable_get_fv and
476 dealt with the consequences. Added a psppire_variable_get_index
477 function which actually does what the name suggests.
479 * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
480 which allows a dictionary to be displayed in a GtkTreeView.
482 * psppire.glade: Added dialog boxes for Goto Case and Sort Case.
484 * sort-cases-dialog.c sort-cases-dialog.h (new files).
486 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
488 * psppire-case-file.c psppire-case-file.h (new files)
490 * automake.mk data-sheet.c data-sheet.h menu-actions.c
491 psppire-data-store.c psppire-data-store.h psppire-dict.c
492 psppire-dict.h psppire-var-store.c psppire.c
494 Replaced psppire-case-array.c with psppire-case-file.c, so as to
495 allow an arbitrary number of cases to be represented.
497 Sun Jun 4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
499 * psppire-var-store.c, psppire.c, var-sheet.c : Unlimited the number of
500 variables that can be displayed. Minor i18n issues.
502 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
504 * menu-actions.c menu-actions.h psppire.c: Fixed up load/new
505 interactions with startup.
507 * psppire-data-store.c: Fixed bad i18n call.
509 * pspppire-var-store.c, psppire-var-store.h: constness.
511 * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
514 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
516 * customentry.c data-sheet.c menu-actions.c message-dialog.c
517 missing-val-dialog.c psppire-data-store.c psppire-var-store.c
518 psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
520 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
522 * psppire-var-store.c: Converted strings to utf8 and returned them on the
525 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
527 * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
528 active cell is never on a deleted variable.
530 * psppire-data-store.c psppire-data-store.h: Added get_var_count and
531 get_case_count functions.
533 * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
535 * psppire.c: Allowed user to specify *.sav file on command line.
537 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
539 * menu-actions.c psppire-case-array.c psppire-case-array.h
540 psppire-data-store.c psppire-dict.c psppire-dict.h
543 Initialised new cases to SYSMIS/blank when inserting in data sheet.
545 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
547 * data-sheet.c, helper.c, helper.h, psppire-data-store.c,
550 Set free_strings flag so that the gtksheet frees the string data
551 when it's done with them.
553 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
555 * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c
556 psppire.c: Converted strings to utf8 before passing to gtksheet.
558 * psppire-dict.c: Changed buffer to more reasonable length
560 * var-sheet.c: Changed maximum string length to use macro from
564 Sun May 7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
566 * psppire-data-store.c: Fixed buglet initialising string members.
568 Thu May 4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
570 * message-dialog.c message-dialog.h: Added simple queuing to messages
571 reported, and ensure that dialog boxes dont appear when pointer grab
574 * psppire-data-store.c: Fix overflow on very long string variables.
576 * automake.mk: Fix broken dependency.
579 Tue Apr 25 11:08:04 2006 Ben Pfaff <blp@gnu.org>
581 Finish reforming error message support. In this phase, move
582 message.c into libpspp.
584 * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
586 Tue Apr 25 10:56:53 2006 Ben Pfaff <blp@gnu.org>
588 Continue reforming error message support. In this phase, drop
589 actual message printing from core code, substituting a callback,
590 and add the callback to each UI. Also, move verbose_msg() into
593 * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
595 * message-dialog.c: (message_dialog_init) New function.
596 (vmsg) Rename handle_msg(), rewrite as callback function.
599 (msg_assert_fail) Removed.
600 (verbose_msg) Removed.
602 * psppire.c: (main) Call message_dialog_init().
604 Sun Apr 23 22:07:49 2006 Ben Pfaff <blp@gnu.org>
606 Continue reforming error message support. In this phase, get rid
607 of message "titles" and put the message text in `struct error'.
608 Now `struct error' encapsulates a message more properly.
610 * message-dialog.c: (err_vmsg) Rename err_msg(). Updated
613 Sun Apr 16 20:45:35 2006 Ben Pfaff <blp@gnu.org>
615 Continue reforming error message support. In this phase, we
616 divide the classification of messages along "category" and
619 * message-dialog.c: (vmsg) Use severity and category in
620 straightforward fashion instead of the less obvious "class".
621 (err_vmsg) Construct class before passing along to vmsg().
623 Sun Apr 16 16:06:54 2006 Ben Pfaff <blp@gnu.org>
625 Continue reforming error message support. In this phase, we get
626 rid of VM() and the other msg() support for "verbosity", replacing
627 it by a new function verbose_msg().
629 * message-dialog.c: (verbose_msg) New function.
630 (err_cond_fail) Removed (dead code).
631 (err_failure) Removed (dead code).
633 Sun Apr 16 11:53:25 2006 Ben Pfaff <blp@gnu.org>
635 Start reforming error message support. In this phase, we get rid
636 of "installation errors" and change all uses of msg() in the
637 output drivers to uses of error() or error_at_line().
639 * message-dialog.c: (vmsg) Removed IE, IS support.
641 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
643 * psppire.c: Supported (sort of) the --help and --version options.
645 * Rename error-dialog.[ch] -> message-dialog.[ch]
647 * Moved code from the psppire module.
649 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
651 * Separated the data out of the GtkSheet.
653 Tue Nov 2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
655 * Very first incarnation.