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