e0b6a971300024b4157e30cd8d6b4274264c764a
[pspp-builds.git] / src / ui / gui / ChangeLog
1 2007-07-25  John Darrington <john@darrington.wattle.id.au>
2
3         * customentry.c: Redraw button in insensitive state, if the widget's 
4          "editable" style is FALSE.  Don't emit the "clicked" signal if 
5          "editable" is FALSE.
6         
7         * var-sheet.c: If variables are long-string variables, then set the 
8         "editable" properties of the entry widgets for the values and missing
9         cells to FALSE,
10
11 2007-07-18  John Darrington <john@darrington.wattle.id.au>
12
13         * psppire-case-file.c psppire-case-file.h psppire-data-store.c 
14         psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
15         ability to resize string variables.  Fixed associated problems
16         inserting/deleting variables.   
17         
18         * helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
19         function.
20         
21 2007-07-16  John Darrington <john@darrington.wattle.id.au>
22
23         * data-editor.c: File Open dialog remembers directory.  Thanks to 
24         Ben Pfaff for this suggestion.
25         
26 2007-07-15  John Darrington <john@darrington.wattle.id.au>
27
28         * compute-dialog.c: Only generate NUMERIC/STRING command if the 
29         type-and-label dialog was used.
30
31 2007-07-12  John Darrington <john@darrington.wattle.id.au>
32
33         * psppire-data-store.c: Added call to g_sheet_model_range_changed to 
34         ensure that datasheet displays the current store.
35
36         * psppire-data-store.h: Formatting tidy up.
37
38 2007-07-11  John Darrington <john@darrington.wattle.id.au>
39
40         * compute-dialog.c : Set type-and-label dialog to sensible state,               and made syntax generation depend upon existence of target variable.
41
42 2007-07-08  John Darrington <john@darrington.wattle.id.au>
43
44         * data-editor.c data-editor.glade data-editor.h: Implemented 
45         the "Insert Case" button/dialog.
46
47 2007-07-08  John Darrington <john@darrington.wattle.id.au>
48
49         * goto-case-dialog.c goto-case-dialog.h (new files)
50         * automake.mk data-editor.c data-editor.glade data-editor.h 
51         psppire-case-file.c psppire-case-file.h psppire-data-store.c 
52         psppire-data-store.h psppire.glade :  Implemented the goto-case dialog
53         
54
55 2007-07-07  John Darrington <john@darrington.wattle.id.au>
56         
57         * psppire-data-store.c psppire-data-store.h: Made cases number from 
58         1 instead of 0. 
59
60         * psppire-data-store.c: Added a tooltip like feature to display
61         the label of variables. 
62         
63 2007-07-03  John Darrington <john@darrington.wattle.id.au>
64         
65         * data-editor.c data-sheet.c: Turned off autoscrolling, and 
66         manually move to cell on column click instead.
67
68 2007-06-29  John Darrington <john@darrington.wattle.id.au>
69
70         * data-editor.c data-editor.glade psppire-data-store.c 
71         psppire-data-store.h: Enabled cell reference entry and datum 
72         entry widgets.
73
74 2007-06-29  John Darrington <john@darrington.wattle.id.au>
75
76         * data-editor.c data-sheet.c: Moved update_cell_ref_entry from 
77         data-sheet.c to data-editor.c and made it work again.
78
79 2007-06-06  Ben Pfaff  <blp@gnu.org>
80
81         Adapt case sources, sinks, and clients of procedure code to the
82         new infrastructure.
83         
84         * automake.mk: Removed files.
85
86         * flexifile-factory.c: Removed, dead code.
87         * flexifile-factory.h: Ditto.
88
89         * helper.c: Adapt to new procedure and datasheet code.
90         * missing-val-dialog.c: Ditto.
91         * psppire-case-file.c: Ditto.
92         * psppire-data-store.c: Ditto.
93         * psppire.c: Ditto.
94
95 2007-06-03  Ben Pfaff  <blp@gnu.org>
96
97         * psppire-var-store.c (psppire_var_store_item_editable): Use
98         var_is_alpha.
99         
100 2007-05-07 John Darrington <john@darrington.wattle.id.au>
101
102         * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
103         to allow dialogs to be either vertical or horizontal.
104
105         * comments-dialog.c comments-dialog.h: New files, invoking 
106         ADD DOCUMENT cmd.
107
108 2007-04-30 John Darrington <john@darrington.wattle.id.au>
109
110         * var-display.c var-display.h variable-info-dialog.c
111         variable-info-dialog.h : New files. 
112
113         * data-editor.c : 
114
115         * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
116         property, and optional  GOTO and CONTINUE buttons.
117
118         * psppire-dialog.h: Added response codes for the new buttons.
119
120         * psppire-var-store.c : Moved some code to var-display.[ch]
121
122 2007-04-25 John Darrington <john@darrington.wattle.id.au>
123
124         * icons/scalable/splash.c icons/splash.png : More eye candy.
125         
126         * main.c psppire.h : new files.
127
128         * psppire.c : Seperated the command line parsing and other 
129         environment startup from the core psppire code.
130
131 2007-04-25 John Darrington <john@darrington.wattle.id.au>
132
133         * icons/scalable icons/16x16: new directories.
134         * psppire.c : Add new icons to factory.
135
136         * dict-display.c: Refactor code get model from modelfilter. 
137         Added cellrenderer to display icon indicating variables' types.
138         Displayed the label of variables, if there is one.
139
140
141 2007-04-15  Ben Pfaff  <blp@gnu.org>
142
143         * compute-dialog.c (function_list_populate): Use new accessor
144         functions exported by language/expressions/public.h.
145
146 2007-04-15  Ben Pfaff  <blp@gnu.org>
147
148         * compute-dialog.c: Make #include for parse.inc work with VPATH
149         builds.
150
151 2007-04-13   John Darrington <john@darrington.wattle.id.au>
152         
153         * var-type-dialog.c: Added a FMT_DATETIME20 template.
154         
155 2007-04-04   John Darrington <john@darrington.wattle.id.au>
156
157         * compute-dialog.c compute-dialog.h: New files
158
159         * data-editor.c data-editor.h data-editor.glade : Added Transform 
160         menu, and support for Compute dialog
161
162         * glade-register.c psppire-buttonbox.c psppire-buttonbox.h 
163           psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c 
164           psppire-vbuttonbox.h : Made buttonbox an abstract base class 
165          and separated it into vbuttonbox and hbuttonbox.
166
167         * psppire-selector.c : Allowed GtkTextView to be the destination 
168         widget.
169
170         * psppire-keypad.c: Added an "erase" signal.  Fixed other 
171         minor problems.
172
173 2007-04-03  Ben Pfaff  <blp@gnu.org>
174             John McCabe-Dansted <gmatht@gmail.com>
175
176         * psppire-selector.c (psppire_selector_set_subjects): Add an
177         assert that may or may not trap some Windows-related bugs.
178
179 2007-04-03   John Darrington <john@darrington.wattle.id.au>
180         
181         * data-editor.c data-editor.glade helper.h syntax-editor.c
182         syntax-editor.h : Implemented the File->Recently_Used_ menus.
183
184
185 2007-03-31   John Darrington <john@darrington.wattle.id.au>
186         
187         * data-editor.c data-editor.glade data-editor.h dialog-common.c
188         psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
189         psppire-selector.c psppire-selector.h psppire.c psppire.glade
190         sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
191         transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
192         button on all the dialogs. 
193         
194 2007-03-31   John Darrington <john@darrington.wattle.id.au>
195         
196         * data-editor.c: Added hooks for the split-file-dialog
197
198         * psppire.glade: Added the split file dialog box.
199         
200         * split-file-dialog.c split-file-dialog.h: New files.
201         
202         * dialog-common.c dialog-common.h: New files containing functions 
203         which seem to be used a lot in dialog box implementations. 
204
205         * psppire-keypad.c psppire-keypad.h: New files.  Implements keypad
206         thingumy widget.  
207
208         * psppire-selector.c: Made the orientation of the arrow a property
209         of the widget, so that it can be selected from glade.
210
211 2007-03-18  Ben Pfaff  <blp@gnu.org>
212
213         * syntax-editor-source.c (close): Rename do_close to avoid naming
214         conflict with POSIX function of same name.
215
216 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
217         * 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 
218         cannot connect to a display .
219         
220 Wed Mar  7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
221
222         * var-sheet.c: Replaced call to nl_langinfo with locale_charset 
223         from gnulib.
224
225 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
226
227         * data-editor.c : called new gen_quoted_string function to properly 
228           quote filenames in generated syntax.
229
230         * window-manager.c : Converted name from filename encoding to UTF8 
231           before displaying in title bar.
232
233 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
234
235         * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
236
237         * data-editor.c: Clear existing file name on FILE NEW.
238
239 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
240
241         * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
242         against gtk.2.10
243
244 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
245
246         * psppire-var-select.c psppire-var-select.h : Deleted.
247
248         * psppire-selector.c psppire-selector.h : New files.
249
250         * transpose-dialog.c transpose-dialog.h : New files.
251
252         * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel 
253         interface functions.
254
255         * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented, 
256         using new PsppireSelector widget.
257
258         * dict-display.c dict-display.h : New files.
259
260         * psppire-object.c psppire-object.h : Deleted.  Seemed like a good idea at the time.
261
262 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
263
264         * helper.c helper.h: New function execute_syntax.
265
266         * syntax-editor.c syntax-editor.glade: Disabled data open/save menu 
267         items.
268
269         * data-editor.c data-editor.glade data-editor.h: Enabled data 
270         open/save/save_as  menu-items.
271         
272         * window-manager.h window-manager.c (default_window_name) : New 
273         function.
274
275 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
276
277         * psppire-case-file.c psppire-data-store.c psppire-dialog.c
278         psppire-dict.c psppire-var-select.c : Replaced identifier 'signal' 
279         with 'signals' to avoid conflict with sysv based systems which use
280         this identifer for something else.  
281         Thanks to Daniel E WILLIAMS for reporting this problem.
282
283 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
284
285         * psppire-case-file.c : Make sure there is always a valid flexifile
286
287         * psppire-data-store.c : assertions.
288
289         * psppire.c: Ignore replace source callbacks if the new source is 
290           not of storiage_source_class
291
292         * syntax-editor.c: Close/Abort source after parsing is complete.
293
294 Sun Jan  7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
295
296         * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals 
297         corresponding to the callbacks in src/data/dictionary.c
298
299         * data-editor.c : Connect functions to the FILTER_CHANGED and 
300         SPLIT_CHANGED signals to update the status bar accordingly.
301
302 Mon Jan  1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
303
304         * psppire-case-file.c psppire-case-file.h: Changed the backend 
305         semantics. An object is now created without any backend.  A new function        ( psppire_case_file_replace_flexifile ) sets the backend to use.
306
307         * psppire-data-store.c : Updated callers accordingly.
308
309         * psppire-dict.c psppire-dict.h : New function 
310         (psppire_dict_replace_dictionary) .
311
312         * psppire.c : Updated to use new dataset replace_{source, dictionary} 
313         callbacks.
314
315         * syntax-editor.c : parses in state CMD_STATE_DATA unless there are 
316         no variables in the dictionary.
317
318 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
319
320         * data-editor.c data-editor.glade: Enabled deleting of variables from
321         the variable sheet.
322
323 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
324
325         * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
326         These are not required, now that src/data/dictionary.c has callbacks
327
328 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
329
330         * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
331         labels dialog box.
332
333 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
334
335         * syntax-editor-source.c syntax-editor-source.h syntax-editor.h: 
336         New files. 
337
338         * message-dialog.c :  Now reports the filename and line number in 
339         error messages.
340         
341         * psppire.c psppire.glade syntax-editor.c: Added the ability to run 
342         syntax from the syntax editor.
343
344         
345 Sat Dec 16 14:13:07 2006  Ben Pfaff  <blp@gnu.org>
346
347         * psppire-data-store.c (geometry_get_justification): Don't assume
348         that ALIGN_* and GTK_JUSTIFY_* values coincide.
349
350 Sat Dec 16 14:10:43 2006  Ben Pfaff  <blp@gnu.org>
351
352         * psppire-var-store.c (text_for_column): Adjust to account for new
353         values of the MEASURE_* enums.
354
355         * var-sheet.c (change_measure): Ditto.
356
357 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
358
359         * psppire-variable.c psppire-variable.h: Deleted.
360
361         * psppire-dict.c psppire-dict.h: Removed the caching of the variable 
362             data, which is now unecessary because src/data/vardict.h maintains 
363             an association between variables and their dictionary.
364         
365         * data-sheet.c menu-actions.c missing-val-dialog.c 
366           missing-val-dialog.h psppire-data-store.c 
367           psppire-var-store.c psppire-var-store.h 
368           sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h 
369           var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the 
370             consequences of deleting psppire-variable.[ch]. 
371
372
373 Sat Dec  9 20:03:04 2006  Ben Pfaff  <blp@gnu.org>
374
375         * var-type-dialog.c (var_type_dialog_create): Use
376         fmt_dollar_template from data/format.c.
377         (dollar_format_template) Removed.
378
379 Sat Dec  9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
380
381         * syntax-editor.c : New file.
382
383 Tue Oct 31 19:25:31 2006  Ben Pfaff  <blp@gnu.org>
384
385         * var-type-dialog.c: Add missing "#include <config.h>".
386
387         * psppire.c: Ditto.
388
389 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
390
391     * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
392     psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
393     psppire.c psppire.glade: Adjusted code to use the new flexifile object.
394
395 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
396
397    * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where 
398         there's no suitable gtk stock icon.
399
400 Tue Jul  4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
401         
402    * psppire.c: Fixed --help and --version options.
403         
404 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
405
406    * menu-actions.c: Added goto case and sort cases dialogs.
407
408    * psppire-case-file.c psppire-case-file.h: Added sort function.
409
410    * psppire-data-store.c psppire-variable.c psppire-variable.h: 
411      Renamed  psppire_variable_get_index to psppire_variable_get_fv and
412      dealt with the consequences.  Added a psppire_variable_get_index
413      function which actually does what the name suggests.
414
415    * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
416      which allows a dictionary to be displayed in a GtkTreeView.        
417
418    * psppire.glade: Added dialog boxes for Goto Case and Sort Case.     
419
420    * sort-cases-dialog.c sort-cases-dialog.h (new files).
421
422 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
423
424    * psppire-case-file.c psppire-case-file.h (new files)
425    
426    * automake.mk data-sheet.c data-sheet.h menu-actions.c
427    psppire-data-store.c psppire-data-store.h psppire-dict.c
428    psppire-dict.h psppire-var-store.c psppire.c
429    
430      Replaced psppire-case-array.c  with psppire-case-file.c, so as to
431      allow an arbitrary number of cases to be represented.
432    
433 Sun Jun  4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
434
435    * psppire-var-store.c, psppire.c, var-sheet.c :  Unlimited the number of 
436    variables that can be displayed. Minor i18n issues.
437
438 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
439
440    * menu-actions.c menu-actions.h psppire.c: Fixed up load/new 
441    interactions with startup.
442
443    * psppire-data-store.c: Fixed bad i18n call.
444
445    * pspppire-var-store.c, psppire-var-store.h: constness.
446
447    * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
448
449
450 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
451
452    * customentry.c data-sheet.c menu-actions.c message-dialog.c 
453      missing-val-dialog.c psppire-data-store.c psppire-var-store.c 
454      psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
455
456 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
457
458    * psppire-var-store.c: Converted strings to utf8 and returned them on the
459    heap.
460
461 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
462
463    * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
464    active cell is never on a deleted variable.
465
466    * psppire-data-store.c psppire-data-store.h:  Added get_var_count and
467    get_case_count functions.
468
469    * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
470
471    * psppire.c: Allowed user to specify *.sav file on command line.
472
473 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
474         
475         * menu-actions.c psppire-case-array.c psppire-case-array.h
476           psppire-data-store.c  psppire-dict.c psppire-dict.h 
477           psppire-variable.c:
478
479           Initialised new cases to SYSMIS/blank when inserting in data sheet.
480
481 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
482
483         * data-sheet.c, helper.c, helper.h, psppire-data-store.c, 
484           psppire-var-store.c:
485           
486           Set free_strings flag so that the gtksheet frees the string data 
487           when it's done with them.
488
489 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
490
491         * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c 
492         psppire.c: Converted strings to utf8 before passing to gtksheet.
493
494         * psppire-dict.c: Changed buffer to more reasonable length
495
496         * var-sheet.c: Changed maximum string length to use macro from
497         data/values.h
498
499         
500 Sun May  7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
501
502         * psppire-data-store.c: Fixed buglet initialising string members.
503
504 Thu May  4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
505
506         * message-dialog.c message-dialog.h: Added simple queuing to messages
507         reported, and ensure that dialog boxes dont appear when pointer grab
508         is active.
509
510         * psppire-data-store.c: Fix overflow on very long string variables.
511
512         * automake.mk: Fix broken dependency.
513
514
515 Tue Apr 25 11:08:04 2006  Ben Pfaff  <blp@gnu.org>
516
517         Finish reforming error message support.  In this phase, move
518         message.c into libpspp.
519         
520         * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
521
522 Tue Apr 25 10:56:53 2006  Ben Pfaff  <blp@gnu.org>
523
524         Continue reforming error message support.  In this phase, drop
525         actual message printing from core code, substituting a callback,
526         and add the callback to each UI.  Also, move verbose_msg() into
527         its own module.
528
529         * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
530
531         * message-dialog.c: (message_dialog_init) New function.
532         (vmsg) Rename handle_msg(), rewrite as callback function.
533         (msg) Removed.
534         (msg_emit) Removed.
535         (msg_assert_fail) Removed.
536         (verbose_msg) Removed.
537
538         * psppire.c: (main) Call message_dialog_init().
539
540 Sun Apr 23 22:07:49 2006  Ben Pfaff  <blp@gnu.org>
541
542         Continue reforming error message support.  In this phase, get rid
543         of message "titles" and put the message text in `struct error'.
544         Now `struct error' encapsulates a message more properly.
545         
546         * message-dialog.c: (err_vmsg) Rename err_msg().  Updated
547         interface.
548
549 Sun Apr 16 20:45:35 2006  Ben Pfaff  <blp@gnu.org>
550
551         Continue reforming error message support.  In this phase, we
552         divide the classification of messages along "category" and
553         "severity" axes.
554
555         * message-dialog.c: (vmsg) Use severity and category in
556         straightforward fashion instead of the less obvious "class".
557         (err_vmsg) Construct class before passing along to vmsg().
558
559 Sun Apr 16 16:06:54 2006  Ben Pfaff  <blp@gnu.org>
560
561         Continue reforming error message support.  In this phase, we get
562         rid of VM() and the other msg() support for "verbosity", replacing
563         it by a new function verbose_msg().
564
565         * message-dialog.c: (verbose_msg) New function.  
566         (err_cond_fail) Removed (dead code).
567         (err_failure) Removed (dead code).
568
569 Sun Apr 16 11:53:25 2006  Ben Pfaff  <blp@gnu.org>
570
571         Start reforming error message support.  In this phase, we get rid
572         of "installation errors" and change all uses of msg() in the
573         output drivers to uses of error() or error_at_line().
574
575         * message-dialog.c: (vmsg) Removed IE, IS support.
576
577 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
578
579     * psppire.c: Supported (sort of) the --help and --version options.
580
581     * Rename error-dialog.[ch] -> message-dialog.[ch]
582
583     * Moved code from the psppire module.
584         
585 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
586
587     * Separated the data out of the GtkSheet.
588
589 Tue Nov  2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
590
591     * Very first incarnation.