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