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