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