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