1d3eb2c0ef26115c72cce1394b2e9c256a71441d
[chise/xemacs-chise.git.1] / lwlib / ChangeLog
1 2000-02-23  Martin Buchholz <martin@xemacs.org>
2
3         * XEmacs 21.2.31 is released.
4
5 2000-02-22  Andy Piper  <andy@xemacs.org>
6
7         * lwlib-Xm.c (xm_update_one_widget): set widget args last in case
8         anything messes with them in the meantime.
9         * lwlib-Xlw.c (xlw_update_one_widget): ditto.
10         * lwlib-Xaw.c (xaw_update_one_widget): ditto.
11
12 2000-02-21  Martin Buchholz <martin@xemacs.org>
13
14         * XEmacs 21.2.30 is released.
15
16 2000-02-21  Andy Piper  <andy@xemacs.org>
17
18         * lwlib.c (merge_widget_value_args): don't delete the args before
19         copying, lw_copy_widget_value_args will do this for us if
20         necessary.
21         (lw_add_widget_value_arg): Allow existing args to be replaced.
22         (free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
23         reference couting works better that way.
24         (lw_copy_widget_value_args): Do the right thing.
25
26         * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
27         much better.
28         * lwlib-Xaw.c (xaw_create_progress): ditto.
29
30 2000-02-12  Jan Vroonhof  <vroonhof@math.ethz.ch>
31
32         * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
33         compatible resource names.
34
35         * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
36         even if we are only 'compatible' with the Motif resources.
37
38 2000-02-15  Andy Piper  <andy@xemacs.org>
39
40         * xlwgauge.c (GaugeExpose): remove shadows.
41
42 2000-02-16  Martin Buchholz <martin@xemacs.org>
43
44         * XEmacs 21.2.29 is released.
45
46 2000-02-09  Valdis Kletnieks  <Valdis.Kletnieks@vt.edu>
47
48         * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
49         old gccs.
50
51 2000-02-07  Martin Buchholz <martin@xemacs.org>
52
53         * XEmacs 21.2.28 is released.
54
55 2000-01-25  Andy Piper  <andy@xemacs.org>
56
57         * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
58         widget as well.
59
60 2000-01-28  Martin Buchholz  <martin@xemacs.org>
61
62         * xlwgauge.c (GaugeConvert): bcopy ==> memcpy
63
64 2000-01-24  Andy Piper  <andy@xemacs.org>
65
66         * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
67         stacking order.
68         (XawTabsSetHighlight): Don't unhighlight here.
69
70 2000-01-22  Martin Buchholz  <martin@xemacs.org>
71
72         * *.h: Use consistent C-standards-approved guard macro names.
73
74 2000-01-18  Martin Buchholz <martin@xemacs.org>
75
76         * XEmacs 21.2.27 is released.
77
78 2000-01-15  Andy Piper  <andy@xemacs.org>
79
80         * lwlib-Xlw.c (lw_update_one_widget): make sure global
81         properties gets set.
82
83 2000-01-07  Martin Buchholz  <martin@xemacs.org>
84
85         * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
86         This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)
87
88         * lwlib.c: Fix up memset calls.
89
90         * lwlib-Xm.c (xm_update_text): Warning suppression.
91         (xm_update_text_field): Warning suppression.
92
93 2000-01-03  Martin Buchholz  <martin@xemacs.org>
94
95         * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
96         (yes-or-no-p-dialog-box "Yes or No")
97
98 1999-12-31  Martin Buchholz <martin@xemacs.org>
99
100         * XEmacs 21.2.26 is released.
101
102 1999-12-29  Andy Piper  <andy@xemacs.org>
103
104         * xlwtabs.c (TabsHighlight): use displayChildren for highlighting
105         not num_children.
106         (TabsPage): ditto.
107
108 1999-12-24  Martin Buchholz <martin@xemacs.org>
109
110         * XEmacs 21.2.25 is released.
111
112 1999-12-23  Andy Piper  <andy@xemacs.org>
113
114         * lwlib.c (lw_copy_widget_value_args): don't create empty
115         widget_args just because someone might use them later. This makes
116         all widgets look like they've changed.
117
118 1999-12-22  Andy Piper  <andy@xemacs.org>
119
120         * xlwtabs.c: Fix for X11R5 from Damon Lipparelli
121         <lipp@primus.com>.
122
123 1999-12-21  Martin Buchholz  <martin@xemacs.org>
124
125         * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)
126
127 1999-12-12  Daniel Pittman  <daniel@danann.net>
128
129         * lwlib-Xaw.c: 
130         * xlwcheckbox.c:
131         * xlwgauge.h:
132         * xlwgaugeP.h:
133         * xlwradio.c:
134         * xlwradio.h:
135         * xlwradioP.h:
136         Clean up Athena widget support:
137         - Athena headers now use dynamic include paths.
138
139 1999-12-08  Andy Piper  <andy@xemacs.org>
140
141         * xlwtabs.c: sync with Tabs 2.2.
142         * xlwtabP.h: ditto.
143
144 1999-12-14  Martin Buchholz <martin@xemacs.org>
145
146         * XEmacs 21.2.24 is released.
147
148 1999-12-14  Andy Piper  <andy@xemacs.org>
149
150         * xlwtabs.c (TabsResize): reset need_layout so that we don't go
151         into infloop death.
152
153 1999-12-14  Andy Piper  <andy@xemacs.org>
154
155         * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.
156
157 1999-12-13  Andy Piper  <andy@xemacs.org>
158
159         * xlwtabs.c (TabsResize): We need to expose the tabs after
160         clearing the window they are in.
161
162 1999-12-08  Andy Piper  <andy@xemacs.org>
163
164         * xlwtabs.c: sync with Tabs 2.1.
165
166 1999-12-07  Andy Piper  <andy@xemacs.org>
167
168         * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
169         clip-window as well.
170
171 1999-12-07  Martin Buchholz <martin@xemacs.org>
172
173         * XEmacs 21.2.23 is released.
174
175 1999-12-05  Andy Piper  <andy@xemacs.org>
176
177         * xlwtabs.c: back up to previous rev to make syncing easier. Fix
178         gcc moans.
179
180         * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.
181
182 1999-11-29  XEmacs Build Bot <builds@cvs.xemacs.org>
183
184         * XEmacs 21.2.22 is released
185
186 1999-11-28  Martin Buchholz <martin@xemacs.org>
187
188         * XEmacs 21.2.21 is released.
189
190 1999-11-26  Martin Buchholz  <martin@xemacs.org>
191
192         * xlwtabs.c: Remove unused variables.  Fix warnings.
193
194 1999-11-10  XEmacs Build Bot <builds@cvs.xemacs.org>
195
196         * XEmacs 21.2.20 is released
197
198 1999-09-09  Andy Piper  <andy@xemacs.org>
199
200         * xlwtabs.c: updated tabs widget from Ed Falk.
201         * xlwtabs.h: ditto.
202         * xlwtabsP.h: ditto.
203
204 1999-09-22  Martin Buchholz  <martin@xemacs.org>
205
206         * lwlib-internal.h:
207         * lwlib-utils.h:
208         Move declaration of destroy_all_children from lwlib-internal.h to
209         lwlib-utils.h, where it belongs.
210
211 1999-09-21  Andy Piper  <andy@xemacs.org>
212
213         * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
214         with text.
215
216 1999-09-22  Martin Buchholz  <martin@xemacs.org>
217
218         * xlwtabs.c: Fix C++ compilability.
219
220 1999-09-18  Andy Piper  <andy@xemacs.org>
221
222         * xlwtabs.c: Put in tabs sync because clipping should fix useability
223         problems.
224
225 1999-09-13  Andy Piper  <andy@xemacs.org>
226
227         * xlwtabs.c: Back out tabs sync because of reported useability
228         problems.
229
230 1999-09-09  Andy Piper  <andy@xemacs.org>
231
232         * xlwtabs.c: updated tabs widget from Ed Falk.
233         * xlwtabs.h: ditto.
234         * xlwtabsP.h: ditto.
235         * xlwgcs.c: ditto.
236         * xlwgcs.h: ditto.
237
238 1999-09-03  Martin Buchholz  <martin@xemacs.org>
239
240         * xlwgauge.c: Ansify.
241         Include <stdlib.h> to get prototype for atoi().
242         (GaugeSelect): Call GaugeExpose with the right number of args.
243         (GaugeLoseSel): Call GaugeExpose with the right number of args.
244         (GaugeConvert): This is a XtConvertSelectionProc, 
245         so 5th parameter must be of type XtPointer, not XPointer.
246         (GaugeGetValue): This is a XtTimerCallbackProc, 
247         so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.
248         
249
250 1999-09-01  Martin Buchholz  <martin@xemacs.org>
251
252         * lwlib.c (free_widget_value_contents): Use proper type for cast.
253
254         * xlwradio.c: Use function prototypes everywhere.
255         * xlwcheckbox.c:
256         * xlwradio.c:
257         * xlwradioP.h: Move declarations of non-static functions defined
258         in xlwradio.c into xlwradioP.h.
259
260 1999-09-02  Andy Piper  <andy@xemacs.org>
261
262         * xlwgcs.c: include xmu.h
263
264 1999-09-01  Andy Piper  <andy@xemacs.org>
265
266         * xlwgauge.c: rearrange headers yet again.
267         * xlwcheckbox.c: ditto.
268         * xlwradio.c: ditto.
269         * xlwtabs.c: ditto.
270
271 1999-09-01  Andy Piper  <andy@xemacs.org>
272
273         * xlwgauge.c: use xmu.h
274         * xlwcheckbox.c: ditto.
275         * xlwradio.c: ditto.
276
277 1999-08-31  Andy Piper  <andy@xemacs.org>
278
279         * xlwtabs.c:
280         * xlwgcs.c:
281         * xlwradio.c:
282         * xlwcheckbox.c:
283         * xlwgauge.c: Fix for losing systems without Xmu.
284         
285 1999-08-31  Andy Piper  <andy@xemacs.org>
286
287         * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.
288
289 1999-08-30  Andy Piper  <andy@xemacs.org>
290
291         * lwlib.c (free_widget_value_contents): be more precise about
292         freeing user defined args.
293
294         * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
295         its contents for hierarchies one deep.
296
297 1999-08-29  Andy Piper  <andy@xemacs.org>
298
299         * xlwtabs.c: temporary fixes pending a new release.
300         * xlwtabsP.h: ditto.
301
302         * lwlib-Xm.c (xm_update_one_widget): update user defined args.
303         (xm_create_label): set args after creation as well as before.
304
305         * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
306         (xlw_update_tab_control): actually update the children rather than
307         the parent.
308
309         * lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
310         (xaw_create_label): set args after creation as well as before.
311
312 1999-08-23  Andy Piper  <andy@xemacs.org>
313
314         * lwlib-Xm.c (xm_update_label): don't concatenate value to itself.
315
316         * lwlib-Xm.c (xm_create_label_field): new function for creating labels.
317         (xm_creation_table): use it.
318
319         * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
320         (xaw_creation_table): use it.
321
322 1999-08-16  Andy Piper  <andy@xemacs.org>
323
324         * lwlib.h: declare free_widget_value_tree.
325
326         * lwlib.c (free_widget_value_tree): make non-static.
327
328         * lwlib-Xm.c (xm_update_label): free val_string when updating.
329
330 1999-08-04  Andy Piper  <andy@xemacs.org>
331
332         * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
333         defined for widgets.
334         (xm_nosel_callback): ditto.
335
336         * xlwtabsP.h: sync with 1.5.
337
338         * xlwtabs.c: sync with 1.18.
339
340 1999-07-28  Andy Piper  <andy@xemacs.org>
341
342         * xlwtabs.c: new lucid tabs widget from Ed Falk.
343         * xlwtabs.h: ditto.
344         * xlwtabsP.h: ditto.
345         * xlwgcs.c: GC manipulation for tab widgets.
346         * xlwgcs.h: ditto.
347
348         * xlwgauge.c: new athena gauge widget from Ed Falk.
349         * xlwgauge.h: ditto.
350         * xlwgaugeP.h: ditto.
351
352         * xlwradio.c: new athena radio widget from Ed Falk.
353         * xlwradio.h: ditto.
354         * xlwradioP.h: ditto.
355
356         * xlwcheckbox.c: new athena checkbox widget from Ed Falk.
357         * xlwcheckbox.h: ditto.
358         * xlwcheckboxP.h: ditto.
359
360         * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.
361
362         * lwlib-internal.h: declare destroy_all_children.
363
364         * lwlib-config.c: add widget checks.
365
366         * lwlib-Xm.h: declare xm_create_label;
367
368         * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
369         (xm_update_label): enable for widgets.
370         (xm_update_one_widget): ditto.
371         (xm_create_button): rename in line with lwlib-Xaw.c
372         (xm_create_progress): ditto.
373         (xm_create_text_field): ditto.
374         (xm_create_combo_box): ditto.
375         (xm_create_label): new function.
376         (xm_creation_table): rename widget creation functions.
377         (xm_destroy_instance): enable for widgets.
378         (xm_generic_callback): ditto.
379         (xm_generic_callback): ditto.
380
381         * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
382         callback that calls the correct function depending on what tab is
383         selected.
384         (xlw_create_tab_control): new function.
385         (build_tabs_in_widget): new function. puts tabs in a tab widget,
386         uses Xaw or Xm depending on how XEmacs was compiled.
387         (xlw_update_tab_control): update the resources for each
388         tab. optionally rebuild the contents of the tab widget.
389         (xlw_creation_table): add tab widget creation function.
390         (lw_lucid_widget_p): add tab widget.
391         (xlw_update_one_widget): ditto.
392
393         * lwlib-Xaw.h: declare xaw_create_label;
394
395         * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
396         (xaw_update_one_widget): ditto.
397         (xaw_update_one_value): add code from the Xm version.
398         (xaw_generic_callback): add Xm hack for setting command
399         states. beef up lookup of call data.
400         (xaw_create_button): new function.
401         (xaw_create_label): new function for use by tab widget.
402         (xaw_create_progress): new function.
403         (xaw_create_text_field): new function.
404         (xaw_creation_table): add new widget type creation functions.
405
406         * Makefile.in.in: add dependencies for new lw widgets.
407
408 1999-07-30  XEmacs Build Bot <builds@cvs.xemacs.org>
409
410         * XEmacs 21.2.19 is released
411
412 1999-07-13  XEmacs Build Bot <builds@cvs.xemacs.org>
413
414         * XEmacs 21.2.18 is released
415
416 1999-07-05  Didier Verna  <verna@inf.enst.fr>
417
418         * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
419         call to xm_update_label.
420
421 1999-06-28  Andy Piper  <andy@xemacs.org>
422
423         * lwlib-Xm.c: unconditionally enable text field & list code.
424         (make_progress): new function. creates a slider.
425         (make_text_field): new function. creates an edit field.
426         (make_combo_box): new function. creates a combo box.
427         (xm_creation_table): add new widget functions.
428
429 1999-06-25  Andy Piper  <andy@xemacs.org>
430
431         * lwlib.h (_widget_value): add arglist slots.
432         declare new functions.
433
434         * lwlib.c (free_widget_value_contents): handle arglists when
435         freeing.
436         (lw_add_value_args_to_args): new function. add arglist entries
437         from a widget_value structure.
438
439         * lwlib-Xm.c (make_button): new function, create a motif button
440         for display in a buffer as a glyph.
441         (xm_creation_table): add make_button.
442
443 1999-06-22  XEmacs Build Bot <builds@cvs.xemacs.org>
444
445         * XEmacs 21.2.17 is released
446
447 1999-06-11  XEmacs Build Bot <builds@cvs.xemacs.org>
448
449         * XEmacs 21.2.16 is released
450
451 1999-06-04  XEmacs Build Bot <builds@cvs.xemacs.org>
452
453         * XEmacs 21.2.15 is released
454
455 1999-05-17  Jerry James  <jerry@cs.ucsb.edu>
456
457         * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
458         using it.
459
460 1999-05-14  XEmacs Build Bot <builds@cvs.xemacs.org>
461
462         * XEmacs 21.2.14 is released
463
464 1999-03-12  XEmacs Build Bot <builds@cvs.xemacs.org>
465
466         * XEmacs 21.2.13 is released
467
468 1999-03-05  XEmacs Build Bot <builds@cvs.xemacs.org>
469
470         * XEmacs 21.2.12 is released
471
472 1999-02-18  Martin Buchholz  <martin@xemacs.org>
473
474         * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
475         - Have to toupper ((int) (unsigned char) x) to be portable.