9a4a95cea4e5f9ba96b5f1b746eba42e4fe58df9
[pspp-builds.git] / src / ui / gui / ChangeLog
1 2007-03-18  Ben Pfaff  <blp@gnu.org>
2
3         * syntax-editor-source.c (close): Rename do_close to avoid naming
4         conflict with POSIX function of same name.
5
6 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
7         * 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 
8         cannot connect to a display .
9         
10 Wed Mar  7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
11
12         * var-sheet.c: Replaced call to nl_langinfo with locale_charset 
13         from gnulib.
14
15 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
16
17         * data-editor.c : called new gen_quoted_string function to properly 
18           quote filenames in generated syntax.
19
20         * window-manager.c : Converted name from filename encoding to UTF8 
21           before displaying in title bar.
22
23 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
24
25         * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
26
27         * data-editor.c: Clear existing file name on FILE NEW.
28
29 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
30
31         * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
32         against gtk.2.10
33
34 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
35
36         * psppire-var-select.c psppire-var-select.h : Deleted.
37
38         * psppire-selector.c psppire-selector.h : New files.
39
40         * transpose-dialog.c transpose-dialog.h : New files.
41
42         * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel 
43         interface functions.
44
45         * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented, 
46         using new PsppireSelector widget.
47
48         * dict-display.c dict-display.h : New files.
49
50         * psppire-object.c psppire-object.h : Deleted.  Seemed like a good idea at the time.
51
52 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
53
54         * helper.c helper.h: New function execute_syntax.
55
56         * syntax-editor.c syntax-editor.glade: Disabled data open/save menu 
57         items.
58
59         * data-editor.c data-editor.glade data-editor.h: Enabled data 
60         open/save/save_as  menu-items.
61         
62         * window-manager.h window-manager.c (default_window_name) : New 
63         function.
64
65 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
66
67         * psppire-case-file.c psppire-data-store.c psppire-dialog.c
68         psppire-dict.c psppire-var-select.c : Replaced identifier 'signal' 
69         with 'signals' to avoid conflict with sysv based systems which use
70         this identifer for something else.  
71         Thanks to Daniel E WILLIAMS for reporting this problem.
72
73 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
74
75         * psppire-case-file.c : Make sure there is always a valid flexifile
76
77         * psppire-data-store.c : assertions.
78
79         * psppire.c: Ignore replace source callbacks if the new source is 
80           not of storiage_source_class
81
82         * syntax-editor.c: Close/Abort source after parsing is complete.
83
84 Sun Jan  7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
85
86         * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals 
87         corresponding to the callbacks in src/data/dictionary.c
88
89         * data-editor.c : Connect functions to the FILTER_CHANGED and 
90         SPLIT_CHANGED signals to update the status bar accordingly.
91
92 Mon Jan  1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
93
94         * psppire-case-file.c psppire-case-file.h: Changed the backend 
95         semantics. An object is now created without any backend.  A new function        ( psppire_case_file_replace_flexifile ) sets the backend to use.
96
97         * psppire-data-store.c : Updated callers accordingly.
98
99         * psppire-dict.c psppire-dict.h : New function 
100         (psppire_dict_replace_dictionary) .
101
102         * psppire.c : Updated to use new dataset replace_{source, dictionary} 
103         callbacks.
104
105         * syntax-editor.c : parses in state CMD_STATE_DATA unless there are 
106         no variables in the dictionary.
107
108 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
109
110         * data-editor.c data-editor.glade: Enabled deleting of variables from
111         the variable sheet.
112
113 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
114
115         * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
116         These are not required, now that src/data/dictionary.c has callbacks
117
118 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
119
120         * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
121         labels dialog box.
122
123 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
124
125         * syntax-editor-source.c syntax-editor-source.h syntax-editor.h: 
126         New files. 
127
128         * message-dialog.c :  Now reports the filename and line number in 
129         error messages.
130         
131         * psppire.c psppire.glade syntax-editor.c: Added the ability to run 
132         syntax from the syntax editor.
133
134         
135 Sat Dec 16 14:13:07 2006  Ben Pfaff  <blp@gnu.org>
136
137         * psppire-data-store.c (geometry_get_justification): Don't assume
138         that ALIGN_* and GTK_JUSTIFY_* values coincide.
139
140 Sat Dec 16 14:10:43 2006  Ben Pfaff  <blp@gnu.org>
141
142         * psppire-var-store.c (text_for_column): Adjust to account for new
143         values of the MEASURE_* enums.
144
145         * var-sheet.c (change_measure): Ditto.
146
147 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
148
149         * psppire-variable.c psppire-variable.h: Deleted.
150
151         * psppire-dict.c psppire-dict.h: Removed the caching of the variable 
152             data, which is now unecessary because src/data/vardict.h maintains 
153             an association between variables and their dictionary.
154         
155         * data-sheet.c menu-actions.c missing-val-dialog.c 
156           missing-val-dialog.h psppire-data-store.c 
157           psppire-var-store.c psppire-var-store.h 
158           sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h 
159           var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the 
160             consequences of deleting psppire-variable.[ch]. 
161
162
163 Sat Dec  9 20:03:04 2006  Ben Pfaff  <blp@gnu.org>
164
165         * var-type-dialog.c (var_type_dialog_create): Use
166         fmt_dollar_template from data/format.c.
167         (dollar_format_template) Removed.
168
169 Sat Dec  9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
170
171         * syntax-editor.c : New file.
172
173 Tue Oct 31 19:25:31 2006  Ben Pfaff  <blp@gnu.org>
174
175         * var-type-dialog.c: Add missing "#include <config.h>".
176
177         * psppire.c: Ditto.
178
179 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
180
181     * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
182     psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
183     psppire.c psppire.glade: Adjusted code to use the new flexifile object.
184
185 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
186
187    * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where 
188         there's no suitable gtk stock icon.
189
190 Tue Jul  4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
191         
192    * psppire.c: Fixed --help and --version options.
193         
194 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
195
196    * menu-actions.c: Added goto case and sort cases dialogs.
197
198    * psppire-case-file.c psppire-case-file.h: Added sort function.
199
200    * psppire-data-store.c psppire-variable.c psppire-variable.h: 
201      Renamed  psppire_variable_get_index to psppire_variable_get_fv and
202      dealt with the consequences.  Added a psppire_variable_get_index
203      function which actually does what the name suggests.
204
205    * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
206      which allows a dictionary to be displayed in a GtkTreeView.        
207
208    * psppire.glade: Added dialog boxes for Goto Case and Sort Case.     
209
210    * sort-cases-dialog.c sort-cases-dialog.h (new files).
211
212 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
213
214    * psppire-case-file.c psppire-case-file.h (new files)
215    
216    * automake.mk data-sheet.c data-sheet.h menu-actions.c
217    psppire-data-store.c psppire-data-store.h psppire-dict.c
218    psppire-dict.h psppire-var-store.c psppire.c
219    
220      Replaced psppire-case-array.c  with psppire-case-file.c, so as to
221      allow an arbitrary number of cases to be represented.
222    
223 Sun Jun  4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
224
225    * psppire-var-store.c, psppire.c, var-sheet.c :  Unlimited the number of 
226    variables that can be displayed. Minor i18n issues.
227
228 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
229
230    * menu-actions.c menu-actions.h psppire.c: Fixed up load/new 
231    interactions with startup.
232
233    * psppire-data-store.c: Fixed bad i18n call.
234
235    * pspppire-var-store.c, psppire-var-store.h: constness.
236
237    * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
238
239
240 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
241
242    * customentry.c data-sheet.c menu-actions.c message-dialog.c 
243      missing-val-dialog.c psppire-data-store.c psppire-var-store.c 
244      psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
245
246 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
247
248    * psppire-var-store.c: Converted strings to utf8 and returned them on the
249    heap.
250
251 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
252
253    * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
254    active cell is never on a deleted variable.
255
256    * psppire-data-store.c psppire-data-store.h:  Added get_var_count and
257    get_case_count functions.
258
259    * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
260
261    * psppire.c: Allowed user to specify *.sav file on command line.
262
263 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
264         
265         * menu-actions.c psppire-case-array.c psppire-case-array.h
266           psppire-data-store.c  psppire-dict.c psppire-dict.h 
267           psppire-variable.c:
268
269           Initialised new cases to SYSMIS/blank when inserting in data sheet.
270
271 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
272
273         * data-sheet.c, helper.c, helper.h, psppire-data-store.c, 
274           psppire-var-store.c:
275           
276           Set free_strings flag so that the gtksheet frees the string data 
277           when it's done with them.
278
279 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
280
281         * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c 
282         psppire.c: Converted strings to utf8 before passing to gtksheet.
283
284         * psppire-dict.c: Changed buffer to more reasonable length
285
286         * var-sheet.c: Changed maximum string length to use macro from
287         data/values.h
288
289         
290 Sun May  7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
291
292         * psppire-data-store.c: Fixed buglet initialising string members.
293
294 Thu May  4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
295
296         * message-dialog.c message-dialog.h: Added simple queuing to messages
297         reported, and ensure that dialog boxes dont appear when pointer grab
298         is active.
299
300         * psppire-data-store.c: Fix overflow on very long string variables.
301
302         * automake.mk: Fix broken dependency.
303
304
305 Tue Apr 25 11:08:04 2006  Ben Pfaff  <blp@gnu.org>
306
307         Finish reforming error message support.  In this phase, move
308         message.c into libpspp.
309         
310         * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
311
312 Tue Apr 25 10:56:53 2006  Ben Pfaff  <blp@gnu.org>
313
314         Continue reforming error message support.  In this phase, drop
315         actual message printing from core code, substituting a callback,
316         and add the callback to each UI.  Also, move verbose_msg() into
317         its own module.
318
319         * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
320
321         * message-dialog.c: (message_dialog_init) New function.
322         (vmsg) Rename handle_msg(), rewrite as callback function.
323         (msg) Removed.
324         (msg_emit) Removed.
325         (msg_assert_fail) Removed.
326         (verbose_msg) Removed.
327
328         * psppire.c: (main) Call message_dialog_init().
329
330 Sun Apr 23 22:07:49 2006  Ben Pfaff  <blp@gnu.org>
331
332         Continue reforming error message support.  In this phase, get rid
333         of message "titles" and put the message text in `struct error'.
334         Now `struct error' encapsulates a message more properly.
335         
336         * message-dialog.c: (err_vmsg) Rename err_msg().  Updated
337         interface.
338
339 Sun Apr 16 20:45:35 2006  Ben Pfaff  <blp@gnu.org>
340
341         Continue reforming error message support.  In this phase, we
342         divide the classification of messages along "category" and
343         "severity" axes.
344
345         * message-dialog.c: (vmsg) Use severity and category in
346         straightforward fashion instead of the less obvious "class".
347         (err_vmsg) Construct class before passing along to vmsg().
348
349 Sun Apr 16 16:06:54 2006  Ben Pfaff  <blp@gnu.org>
350
351         Continue reforming error message support.  In this phase, we get
352         rid of VM() and the other msg() support for "verbosity", replacing
353         it by a new function verbose_msg().
354
355         * message-dialog.c: (verbose_msg) New function.  
356         (err_cond_fail) Removed (dead code).
357         (err_failure) Removed (dead code).
358
359 Sun Apr 16 11:53:25 2006  Ben Pfaff  <blp@gnu.org>
360
361         Start reforming error message support.  In this phase, we get rid
362         of "installation errors" and change all uses of msg() in the
363         output drivers to uses of error() or error_at_line().
364
365         * message-dialog.c: (vmsg) Removed IE, IS support.
366
367 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
368
369     * psppire.c: Supported (sort of) the --help and --version options.
370
371     * Rename error-dialog.[ch] -> message-dialog.[ch]
372
373     * Moved code from the psppire module.
374         
375 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
376
377     * Separated the data out of the GtkSheet.
378
379 Tue Nov  2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
380
381     * Very first incarnation.