1 2001-01-08 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.40 is released.
5 2001-01-06 Martin Buchholz <martin@xemacs.org>
7 * lwlib-Xaw.c (xaw_creation_table): Make const.
8 * lwlib-Xaw.h (xaw_creation_table): Make const.
9 * lwlib-Xlw.c (xlw_creation_table): Make const.
10 * lwlib-Xlw.h (xlw_creation_table): Make const.
11 * lwlib-Xm.c (xm_creation_table): Make const.
12 * lwlib-Xm.h (xm_creation_table): Make const.
13 * lwlib.c (find_in_table): Use const.
15 2001-01-02 Andy Piper <andy@xemacs.org>
17 * lwlib.h (_widget_args): add args_changed. Necessary because we
20 * lwlib.c (lw_add_widget_value_arg): set args_changed flag.
21 (merge_widget_value_args): mark as changed if args_changed is
23 (update_all_widget_values): reset args_changed.
24 (initialize_widget_instance): ditto.
26 2000-12-31 Martin Buchholz <martin@xemacs.org>
28 * XEmacs 21.2.39 is released.
30 2000-12-30 Andy Piper <andy@xemacs.org>
32 * xlwtabs.c: remove assertion definitions and put them in
33 lwlib-internal.h. This has the effect of enabling assertions which
34 should have been done from the very start.
35 (TabsShuffleRows): fix duff assertion.
36 (PreferredSize3): use dimensions throughout.
37 (PreferredSize2): ditto.
39 (DrawFrame): be clever about the enclosing frame if the child
41 (TabsResize): don't configure children that are no visible
42 anyway. Make sure geometry calculations don't end up negative.
44 * lwlib-internal.h: put in assertion definitions.
46 2000-12-05 Martin Buchholz <martin@xemacs.org>
48 * XEmacs 21.2.38 is released.
50 2000-11-30 Andy Piper <andy@xemacs.org>
52 * lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until
53 someone fixes it properly.
55 2000-11-24 Andy Piper <andy@xemacs.org>
57 * xlwtabsP.h: add visible flag, realRows and remove displayChildren.
59 * xlwtabs.c (TabVisible): new macro. Consults visible flag.
60 (TabsInit): remove displayChildren, add realRows.
61 (TabsConstraintInitialize): ditto.
63 (TabsGeometryManager): ditto.
64 (TabsChangeManaged): ditto.
67 (TabsHighlight): ditto.
69 (TabLayout): Caclulate rows for all children and whether they
70 should be visible or not..
71 (TabsShuffleRows): shuffle rows based on both real and displayed
72 rows. Adjust visibility of all children.
73 (PreferredSize): ditto.
75 2000-11-19 Martin Buchholz <martin@xemacs.org>
77 * xlwtabs.c (TabsResize): Don't delete `tab', mark unused instead.
79 2000-11-18 Martin Buchholz <martin@xemacs.org>
81 * xlwmenu.c (make_windows_if_needed):
83 The proper type for `mask' is `unsigned long', not `int'.
85 2000-11-18 Martin Buchholz <martin@xemacs.org>
87 * xlwtabs.c (defaultAccelerators): Add #### to unused var.
88 (TabsResize): Remove unused var.
89 * xlwmenu.c (XlwMenuInitialize): Remove unused vars.
90 * lwlib-Xlw.c (xlw_update_one_widget): Add #### for probable bug.
92 2000-11-14 Martin Buchholz <martin@xemacs.org>
94 * XEmacs 21.2.37 is released.
96 2000-11-02 Stephen J. Turnbull <stephen@xemacs.org>
98 * lwlib.h: Typo fixes and tiny clarifications.
100 2000-10-04 Martin Buchholz <martin@xemacs.org>
102 * XEmacs 21.2.36 is released.
104 2000-09-21 Andy Piper <andy@xemacs.org>
106 * lwlib.h: declare copy_widget_value_tree.
108 * lwlib.c (copy_widget_value_tree): make non-static.
110 2000-09-19 Martin Buchholz <martin@xemacs.org>
112 * *: Spelling mega-patch
114 2000-09-16 Martin Buchholz <martin@xemacs.org>
116 * lwlib.c (ascii_strcasecmp): New.
117 * lwlib.c (find_in_table): Use ascii_strcasecmp.
118 Avoid using non-standard non-portable strcasecmp.
120 2000-08-02 Stephen J. Turnbull <stephen@xemacs.org>
122 * xlwmenu.c (XlwMenuInitialize): make comment on algorithm for
123 setting fontList match code. Suggest using same algorithm for
124 X Font Set resources in native lw code.
126 2000-07-30 Ben Wing <ben@xemacs.org>
128 * lwlib-Xaw.c (xaw_update_one_widget):
129 Remove accelerator specs from buttons, since Athena doesn't handle
132 * lwlib.c (lw_remove_accelerator_spec):
134 Define function and prototype to do this.
136 2000-07-15 Ben Wing <ben@xemacs.org>
139 Remove duplicate definition of streq().
141 2000-07-19 Martin Buchholz <martin@xemacs.org>
143 * XEmacs 21.2.35 is released.
145 2000-07-09 Martin Buchholz <martin@xemacs.org>
156 Replace SMART_INCLUDE with a dumber, but more reliable method.
158 * xlwmenu.c (parameterize_string): Fix C++ compilation warnings.
160 2000-06-10 Ben Wing <ben@xemacs.org>
162 * lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
163 (xaw_update_one_value): fix crash due to incorrect arg count.
165 2000-05-28 Martin Buchholz <martin@xemacs.org>
167 * XEmacs 21.2.34 is released.
169 2000-05-01 Martin Buchholz <martin@xemacs.org>
171 * XEmacs 21.2.33 is released.
173 2000-04-19 Martin Buchholz <martin@xemacs.org>
175 * lwlib.c (lw_destroy_everything): Always use full ANSI prototypes.
176 * lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes.
178 2000-04-12 Andy Piper <andy@xemacs.org>
180 * lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets.
181 (xaw_update_one_value): Get strings safely.
182 (xaw_create_text_field): add some extra properties.
184 2000-04-05 Andy Piper <andy@xemacs.org>
186 * lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as
189 2000-04-05 Andy Piper <andy@xemacs.org>
191 * xlwradio.c (RadioSetValues): resize if position information has
194 * lwlib-Xm.c (xm_create_text_field): text fields should be enabled
195 even if there is no callback.
196 * lwlib-Xaw.c (xaw_create_text_field): ditto.
198 2000-04-03 Andy Piper <andy@xemacs.org>
200 * lwlib.c (merge_widget_value_args): only merge when the two args
201 are actually different.
203 2000-03-21 Didier Verna <didier@xemacs.org>
205 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to
207 * config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro.
209 2000-03-20 Martin Buchholz <martin@xemacs.org>
211 * XEmacs 21.2.32 is released.
213 2000-03-14 Ben Wing <ben@xemacs.org>
215 * xlwmenu.c (massage_resource_name): Handle %_ and %%.
217 2000-02-20 Gunnar Evermann <ge204@eng.cam.ac.uk>
219 * xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP
220 even if we are only 'compatible' with the Motif resources.
221 (XmUNSPECIFIED_PIXMAP): Define unconditionally.
223 2000-02-23 Martin Buchholz <martin@xemacs.org>
225 * XEmacs 21.2.31 is released.
227 2000-02-22 Andy Piper <andy@xemacs.org>
229 * lwlib-Xm.c (xm_update_one_widget): set widget args last in case
230 anything messes with them in the meantime.
231 * lwlib-Xlw.c (xlw_update_one_widget): ditto.
232 * lwlib-Xaw.c (xaw_update_one_widget): ditto.
234 2000-02-21 Martin Buchholz <martin@xemacs.org>
236 * XEmacs 21.2.30 is released.
238 2000-02-21 Andy Piper <andy@xemacs.org>
240 * lwlib.c (merge_widget_value_args): don't delete the args before
241 copying, lw_copy_widget_value_args will do this for us if
243 (lw_add_widget_value_arg): Allow existing args to be replaced.
244 (free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
245 reference couting works better that way.
246 (lw_copy_widget_value_args): Do the right thing.
248 * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
250 * lwlib-Xaw.c (xaw_create_progress): ditto.
252 2000-02-12 Jan Vroonhof <vroonhof@math.ethz.ch>
254 * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
255 compatible resource names.
257 * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
258 even if we are only 'compatible' with the Motif resources.
260 2000-02-15 Andy Piper <andy@xemacs.org>
262 * xlwgauge.c (GaugeExpose): remove shadows.
264 2000-02-16 Martin Buchholz <martin@xemacs.org>
266 * XEmacs 21.2.29 is released.
268 2000-02-09 Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
270 * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
273 2000-02-07 Martin Buchholz <martin@xemacs.org>
275 * XEmacs 21.2.28 is released.
277 2000-01-25 Andy Piper <andy@xemacs.org>
279 * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
282 2000-01-28 Martin Buchholz <martin@xemacs.org>
284 * xlwgauge.c (GaugeConvert): bcopy ==> memcpy
286 2000-01-24 Andy Piper <andy@xemacs.org>
288 * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
290 (XawTabsSetHighlight): Don't unhighlight here.
292 2000-01-22 Martin Buchholz <martin@xemacs.org>
294 * *.h: Use consistent C-standards-approved guard macro names.
296 2000-01-18 Martin Buchholz <martin@xemacs.org>
298 * XEmacs 21.2.27 is released.
300 2000-01-15 Andy Piper <andy@xemacs.org>
302 * lwlib-Xlw.c (lw_update_one_widget): make sure global
305 2000-01-07 Martin Buchholz <martin@xemacs.org>
307 * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
308 This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)
310 * lwlib.c: Fix up memset calls.
312 * lwlib-Xm.c (xm_update_text): Warning suppression.
313 (xm_update_text_field): Warning suppression.
315 2000-01-03 Martin Buchholz <martin@xemacs.org>
317 * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
318 (yes-or-no-p-dialog-box "Yes or No")
320 1999-12-31 Martin Buchholz <martin@xemacs.org>
322 * XEmacs 21.2.26 is released.
324 1999-12-29 Andy Piper <andy@xemacs.org>
326 * xlwtabs.c (TabsHighlight): use displayChildren for highlighting
330 1999-12-24 Martin Buchholz <martin@xemacs.org>
332 * XEmacs 21.2.25 is released.
334 1999-12-23 Andy Piper <andy@xemacs.org>
336 * lwlib.c (lw_copy_widget_value_args): don't create empty
337 widget_args just because someone might use them later. This makes
338 all widgets look like they've changed.
340 1999-12-22 Andy Piper <andy@xemacs.org>
342 * xlwtabs.c: Fix for X11R5 from Damon Lipparelli
345 1999-12-21 Martin Buchholz <martin@xemacs.org>
347 * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)
349 1999-12-12 Daniel Pittman <daniel@danann.net>
358 Clean up Athena widget support:
359 - Athena headers now use dynamic include paths.
361 1999-12-08 Andy Piper <andy@xemacs.org>
363 * xlwtabs.c: sync with Tabs 2.2.
366 1999-12-14 Martin Buchholz <martin@xemacs.org>
368 * XEmacs 21.2.24 is released.
370 1999-12-14 Andy Piper <andy@xemacs.org>
372 * xlwtabs.c (TabsResize): reset need_layout so that we don't go
375 1999-12-14 Andy Piper <andy@xemacs.org>
377 * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.
379 1999-12-13 Andy Piper <andy@xemacs.org>
381 * xlwtabs.c (TabsResize): We need to expose the tabs after
382 clearing the window they are in.
384 1999-12-08 Andy Piper <andy@xemacs.org>
386 * xlwtabs.c: sync with Tabs 2.1.
388 1999-12-07 Andy Piper <andy@xemacs.org>
390 * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
393 1999-12-07 Martin Buchholz <martin@xemacs.org>
395 * XEmacs 21.2.23 is released.
397 1999-12-05 Andy Piper <andy@xemacs.org>
399 * xlwtabs.c: back up to previous rev to make syncing easier. Fix
402 * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.
404 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
406 * XEmacs 21.2.22 is released
408 1999-11-28 Martin Buchholz <martin@xemacs.org>
410 * XEmacs 21.2.21 is released.
412 1999-11-26 Martin Buchholz <martin@xemacs.org>
414 * xlwtabs.c: Remove unused variables. Fix warnings.
416 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
418 * XEmacs 21.2.20 is released
420 1999-09-09 Andy Piper <andy@xemacs.org>
422 * xlwtabs.c: updated tabs widget from Ed Falk.
426 1999-09-22 Martin Buchholz <martin@xemacs.org>
430 Move declaration of destroy_all_children from lwlib-internal.h to
431 lwlib-utils.h, where it belongs.
433 1999-09-21 Andy Piper <andy@xemacs.org>
435 * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
438 1999-09-22 Martin Buchholz <martin@xemacs.org>
440 * xlwtabs.c: Fix C++ compilability.
442 1999-09-18 Andy Piper <andy@xemacs.org>
444 * xlwtabs.c: Put in tabs sync because clipping should fix useability
447 1999-09-13 Andy Piper <andy@xemacs.org>
449 * xlwtabs.c: Back out tabs sync because of reported useability
452 1999-09-09 Andy Piper <andy@xemacs.org>
454 * xlwtabs.c: updated tabs widget from Ed Falk.
460 1999-09-03 Martin Buchholz <martin@xemacs.org>
462 * xlwgauge.c: Ansify.
463 Include <stdlib.h> to get prototype for atoi().
464 (GaugeSelect): Call GaugeExpose with the right number of args.
465 (GaugeLoseSel): Call GaugeExpose with the right number of args.
466 (GaugeConvert): This is a XtConvertSelectionProc,
467 so 5th parameter must be of type XtPointer, not XPointer.
468 (GaugeGetValue): This is a XtTimerCallbackProc,
469 so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.
472 1999-09-01 Martin Buchholz <martin@xemacs.org>
474 * lwlib.c (free_widget_value_contents): Use proper type for cast.
476 * xlwradio.c: Use function prototypes everywhere.
479 * xlwradioP.h: Move declarations of non-static functions defined
480 in xlwradio.c into xlwradioP.h.
482 1999-09-02 Andy Piper <andy@xemacs.org>
484 * xlwgcs.c: include xmu.h
486 1999-09-01 Andy Piper <andy@xemacs.org>
488 * xlwgauge.c: rearrange headers yet again.
489 * xlwcheckbox.c: ditto.
493 1999-09-01 Andy Piper <andy@xemacs.org>
495 * xlwgauge.c: use xmu.h
496 * xlwcheckbox.c: ditto.
499 1999-08-31 Andy Piper <andy@xemacs.org>
505 * xlwgauge.c: Fix for losing systems without Xmu.
507 1999-08-31 Andy Piper <andy@xemacs.org>
509 * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.
511 1999-08-30 Andy Piper <andy@xemacs.org>
513 * lwlib.c (free_widget_value_contents): be more precise about
514 freeing user defined args.
516 * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
517 its contents for hierarchies one deep.
519 1999-08-29 Andy Piper <andy@xemacs.org>
521 * xlwtabs.c: temporary fixes pending a new release.
524 * lwlib-Xm.c (xm_update_one_widget): update user defined args.
525 (xm_create_label): set args after creation as well as before.
527 * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
528 (xlw_update_tab_control): actually update the children rather than
531 * lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
532 (xaw_create_label): set args after creation as well as before.
534 1999-08-23 Andy Piper <andy@xemacs.org>
536 * lwlib-Xm.c (xm_update_label): don't concatenate value to itself.
538 * lwlib-Xm.c (xm_create_label_field): new function for creating labels.
539 (xm_creation_table): use it.
541 * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
542 (xaw_creation_table): use it.
544 1999-08-16 Andy Piper <andy@xemacs.org>
546 * lwlib.h: declare free_widget_value_tree.
548 * lwlib.c (free_widget_value_tree): make non-static.
550 * lwlib-Xm.c (xm_update_label): free val_string when updating.
552 1999-08-04 Andy Piper <andy@xemacs.org>
554 * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
556 (xm_nosel_callback): ditto.
558 * xlwtabsP.h: sync with 1.5.
560 * xlwtabs.c: sync with 1.18.
562 1999-07-28 Andy Piper <andy@xemacs.org>
564 * xlwtabs.c: new lucid tabs widget from Ed Falk.
567 * xlwgcs.c: GC manipulation for tab widgets.
570 * xlwgauge.c: new athena gauge widget from Ed Falk.
572 * xlwgaugeP.h: ditto.
574 * xlwradio.c: new athena radio widget from Ed Falk.
576 * xlwradioP.h: ditto.
578 * xlwcheckbox.c: new athena checkbox widget from Ed Falk.
579 * xlwcheckbox.h: ditto.
580 * xlwcheckboxP.h: ditto.
582 * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.
584 * lwlib-internal.h: declare destroy_all_children.
586 * lwlib-config.c: add widget checks.
588 * lwlib-Xm.h: declare xm_create_label;
590 * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
591 (xm_update_label): enable for widgets.
592 (xm_update_one_widget): ditto.
593 (xm_create_button): rename in line with lwlib-Xaw.c
594 (xm_create_progress): ditto.
595 (xm_create_text_field): ditto.
596 (xm_create_combo_box): ditto.
597 (xm_create_label): new function.
598 (xm_creation_table): rename widget creation functions.
599 (xm_destroy_instance): enable for widgets.
600 (xm_generic_callback): ditto.
601 (xm_generic_callback): ditto.
603 * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
604 callback that calls the correct function depending on what tab is
606 (xlw_create_tab_control): new function.
607 (build_tabs_in_widget): new function. puts tabs in a tab widget,
608 uses Xaw or Xm depending on how XEmacs was compiled.
609 (xlw_update_tab_control): update the resources for each
610 tab. optionally rebuild the contents of the tab widget.
611 (xlw_creation_table): add tab widget creation function.
612 (lw_lucid_widget_p): add tab widget.
613 (xlw_update_one_widget): ditto.
615 * lwlib-Xaw.h: declare xaw_create_label;
617 * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
618 (xaw_update_one_widget): ditto.
619 (xaw_update_one_value): add code from the Xm version.
620 (xaw_generic_callback): add Xm hack for setting command
621 states. beef up lookup of call data.
622 (xaw_create_button): new function.
623 (xaw_create_label): new function for use by tab widget.
624 (xaw_create_progress): new function.
625 (xaw_create_text_field): new function.
626 (xaw_creation_table): add new widget type creation functions.
628 * Makefile.in.in: add dependencies for new lw widgets.
630 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
632 * XEmacs 21.2.19 is released
634 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
636 * XEmacs 21.2.18 is released
638 1999-07-05 Didier Verna <didier@xemacs.org>
640 * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
641 call to xm_update_label.
643 1999-06-28 Andy Piper <andy@xemacs.org>
645 * lwlib-Xm.c: unconditionally enable text field & list code.
646 (make_progress): new function. creates a slider.
647 (make_text_field): new function. creates an edit field.
648 (make_combo_box): new function. creates a combo box.
649 (xm_creation_table): add new widget functions.
651 1999-06-25 Andy Piper <andy@xemacs.org>
653 * lwlib.h (_widget_value): add arglist slots.
654 declare new functions.
656 * lwlib.c (free_widget_value_contents): handle arglists when
658 (lw_add_value_args_to_args): new function. add arglist entries
659 from a widget_value structure.
661 * lwlib-Xm.c (make_button): new function, create a motif button
662 for display in a buffer as a glyph.
663 (xm_creation_table): add make_button.
665 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
667 * XEmacs 21.2.17 is released
669 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
671 * XEmacs 21.2.16 is released
673 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
675 * XEmacs 21.2.15 is released
677 1999-05-17 Jerry James <jerry@cs.ucsb.edu>
679 * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
682 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
684 * XEmacs 21.2.14 is released
686 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
688 * XEmacs 21.2.13 is released
690 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
692 * XEmacs 21.2.12 is released
694 1999-02-18 Martin Buchholz <martin@xemacs.org>
696 * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
697 - Have to toupper ((int) (unsigned char) x) to be portable.