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