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