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