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