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