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