1 2001-03-21 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.46 "Urania" is released.
5 2001-01-20 Martin Buchholz <martin@xemacs.org>
7 * XEmacs 21.2.42 "Poseidon" is released.
9 2001-01-17 Martin Buchholz <martin@xemacs.org>
11 * XEmacs 21.2.41 "Polyhymnia" is released.
13 2001-01-08 Martin Buchholz <martin@xemacs.org>
15 * XEmacs 21.2.40 is released.
17 2001-01-06 Martin Buchholz <martin@xemacs.org>
19 * lwlib-Xaw.c (xaw_creation_table): Make const.
20 * lwlib-Xaw.h (xaw_creation_table): Make const.
21 * lwlib-Xlw.c (xlw_creation_table): Make const.
22 * lwlib-Xlw.h (xlw_creation_table): Make const.
23 * lwlib-Xm.c (xm_creation_table): Make const.
24 * lwlib-Xm.h (xm_creation_table): Make const.
25 * lwlib.c (find_in_table): Use const.
27 2001-01-02 Andy Piper <andy@xemacs.org>
29 * lwlib.h (_widget_args): add args_changed. Necessary because we
32 * lwlib.c (lw_add_widget_value_arg): set args_changed flag.
33 (merge_widget_value_args): mark as changed if args_changed is
35 (update_all_widget_values): reset args_changed.
36 (initialize_widget_instance): ditto.
38 2000-12-31 Martin Buchholz <martin@xemacs.org>
40 * XEmacs 21.2.39 is released.
42 2000-12-30 Andy Piper <andy@xemacs.org>
44 * xlwtabs.c: remove assertion definitions and put them in
45 lwlib-internal.h. This has the effect of enabling assertions which
46 should have been done from the very start.
47 (TabsShuffleRows): fix duff assertion.
48 (PreferredSize3): use dimensions throughout.
49 (PreferredSize2): ditto.
51 (DrawFrame): be clever about the enclosing frame if the child
53 (TabsResize): don't configure children that are no visible
54 anyway. Make sure geometry calculations don't end up negative.
56 * lwlib-internal.h: put in assertion definitions.
58 2000-12-05 Martin Buchholz <martin@xemacs.org>
60 * XEmacs 21.2.38 is released.
62 2000-11-30 Andy Piper <andy@xemacs.org>
64 * lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until
65 someone fixes it properly.
67 2000-11-24 Andy Piper <andy@xemacs.org>
69 * xlwtabsP.h: add visible flag, realRows and remove displayChildren.
71 * xlwtabs.c (TabVisible): new macro. Consults visible flag.
72 (TabsInit): remove displayChildren, add realRows.
73 (TabsConstraintInitialize): ditto.
75 (TabsGeometryManager): ditto.
76 (TabsChangeManaged): ditto.
79 (TabsHighlight): ditto.
81 (TabLayout): Caclulate rows for all children and whether they
82 should be visible or not..
83 (TabsShuffleRows): shuffle rows based on both real and displayed
84 rows. Adjust visibility of all children.
85 (PreferredSize): ditto.
87 2000-11-19 Martin Buchholz <martin@xemacs.org>
89 * xlwtabs.c (TabsResize): Don't delete `tab', mark unused instead.
91 2000-11-18 Martin Buchholz <martin@xemacs.org>
93 * xlwmenu.c (make_windows_if_needed):
95 The proper type for `mask' is `unsigned long', not `int'.
97 2000-11-18 Martin Buchholz <martin@xemacs.org>
99 * xlwtabs.c (defaultAccelerators): Add #### to unused var.
100 (TabsResize): Remove unused var.
101 * xlwmenu.c (XlwMenuInitialize): Remove unused vars.
102 * lwlib-Xlw.c (xlw_update_one_widget): Add #### for probable bug.
104 2000-11-14 Martin Buchholz <martin@xemacs.org>
106 * XEmacs 21.2.37 is released.
108 2000-11-02 Stephen J. Turnbull <stephen@xemacs.org>
110 * lwlib.h: Typo fixes and tiny clarifications.
112 2000-10-04 Martin Buchholz <martin@xemacs.org>
114 * XEmacs 21.2.36 is released.
116 2000-09-21 Andy Piper <andy@xemacs.org>
118 * lwlib.h: declare copy_widget_value_tree.
120 * lwlib.c (copy_widget_value_tree): make non-static.
122 2000-09-19 Martin Buchholz <martin@xemacs.org>
124 * *: Spelling mega-patch
126 2000-09-16 Martin Buchholz <martin@xemacs.org>
128 * lwlib.c (ascii_strcasecmp): New.
129 * lwlib.c (find_in_table): Use ascii_strcasecmp.
130 Avoid using non-standard non-portable strcasecmp.
132 2000-08-02 Stephen J. Turnbull <stephen@xemacs.org>
134 * xlwmenu.c (XlwMenuInitialize): make comment on algorithm for
135 setting fontList match code. Suggest using same algorithm for
136 X Font Set resources in native lw code.
138 2000-07-30 Ben Wing <ben@xemacs.org>
140 * lwlib-Xaw.c (xaw_update_one_widget):
141 Remove accelerator specs from buttons, since Athena doesn't handle
144 * lwlib.c (lw_remove_accelerator_spec):
146 Define function and prototype to do this.
148 2000-07-15 Ben Wing <ben@xemacs.org>
151 Remove duplicate definition of streq().
153 2000-07-19 Martin Buchholz <martin@xemacs.org>
155 * XEmacs 21.2.35 is released.
157 2000-07-09 Martin Buchholz <martin@xemacs.org>
168 Replace SMART_INCLUDE with a dumber, but more reliable method.
170 * xlwmenu.c (parameterize_string): Fix C++ compilation warnings.
172 2000-06-10 Ben Wing <ben@xemacs.org>
174 * lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
175 (xaw_update_one_value): fix crash due to incorrect arg count.
177 2000-05-28 Martin Buchholz <martin@xemacs.org>
179 * XEmacs 21.2.34 is released.
181 2000-05-01 Martin Buchholz <martin@xemacs.org>
183 * XEmacs 21.2.33 is released.
185 2000-04-19 Martin Buchholz <martin@xemacs.org>
187 * lwlib.c (lw_destroy_everything): Always use full ANSI prototypes.
188 * lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes.
190 2000-04-12 Andy Piper <andy@xemacs.org>
192 * lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets.
193 (xaw_update_one_value): Get strings safely.
194 (xaw_create_text_field): add some extra properties.
196 2000-04-05 Andy Piper <andy@xemacs.org>
198 * lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as
201 2000-04-05 Andy Piper <andy@xemacs.org>
203 * xlwradio.c (RadioSetValues): resize if position information has
206 * lwlib-Xm.c (xm_create_text_field): text fields should be enabled
207 even if there is no callback.
208 * lwlib-Xaw.c (xaw_create_text_field): ditto.
210 2000-04-03 Andy Piper <andy@xemacs.org>
212 * lwlib.c (merge_widget_value_args): only merge when the two args
213 are actually different.
215 2000-03-21 Didier Verna <didier@xemacs.org>
217 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to
219 * config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro.
221 2000-03-20 Martin Buchholz <martin@xemacs.org>
223 * XEmacs 21.2.32 is released.
225 2000-03-14 Ben Wing <ben@xemacs.org>
227 * xlwmenu.c (massage_resource_name): Handle %_ and %%.
229 2000-02-20 Gunnar Evermann <ge204@eng.cam.ac.uk>
231 * xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP
232 even if we are only 'compatible' with the Motif resources.
233 (XmUNSPECIFIED_PIXMAP): Define unconditionally.
235 2000-02-23 Martin Buchholz <martin@xemacs.org>
237 * XEmacs 21.2.31 is released.
239 2000-02-22 Andy Piper <andy@xemacs.org>
241 * lwlib-Xm.c (xm_update_one_widget): set widget args last in case
242 anything messes with them in the meantime.
243 * lwlib-Xlw.c (xlw_update_one_widget): ditto.
244 * lwlib-Xaw.c (xaw_update_one_widget): ditto.
246 2000-02-21 Martin Buchholz <martin@xemacs.org>
248 * XEmacs 21.2.30 is released.
250 2000-02-21 Andy Piper <andy@xemacs.org>
252 * lwlib.c (merge_widget_value_args): don't delete the args before
253 copying, lw_copy_widget_value_args will do this for us if
255 (lw_add_widget_value_arg): Allow existing args to be replaced.
256 (free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
257 reference couting works better that way.
258 (lw_copy_widget_value_args): Do the right thing.
260 * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
262 * lwlib-Xaw.c (xaw_create_progress): ditto.
264 2000-02-12 Jan Vroonhof <vroonhof@math.ethz.ch>
266 * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
267 compatible resource names.
269 * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
270 even if we are only 'compatible' with the Motif resources.
272 2000-02-15 Andy Piper <andy@xemacs.org>
274 * xlwgauge.c (GaugeExpose): remove shadows.
276 2000-02-16 Martin Buchholz <martin@xemacs.org>
278 * XEmacs 21.2.29 is released.
280 2000-02-09 Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
282 * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
285 2000-02-07 Martin Buchholz <martin@xemacs.org>
287 * XEmacs 21.2.28 is released.
289 2000-01-25 Andy Piper <andy@xemacs.org>
291 * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
294 2000-01-28 Martin Buchholz <martin@xemacs.org>
296 * xlwgauge.c (GaugeConvert): bcopy ==> memcpy
298 2000-01-24 Andy Piper <andy@xemacs.org>
300 * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
302 (XawTabsSetHighlight): Don't unhighlight here.
304 2000-01-22 Martin Buchholz <martin@xemacs.org>
306 * *.h: Use consistent C-standards-approved guard macro names.
308 2000-01-18 Martin Buchholz <martin@xemacs.org>
310 * XEmacs 21.2.27 is released.
312 2000-01-15 Andy Piper <andy@xemacs.org>
314 * lwlib-Xlw.c (lw_update_one_widget): make sure global
317 2000-01-07 Martin Buchholz <martin@xemacs.org>
319 * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
320 This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)
322 * lwlib.c: Fix up memset calls.
324 * lwlib-Xm.c (xm_update_text): Warning suppression.
325 (xm_update_text_field): Warning suppression.
327 2000-01-03 Martin Buchholz <martin@xemacs.org>
329 * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
330 (yes-or-no-p-dialog-box "Yes or No")
332 1999-12-31 Martin Buchholz <martin@xemacs.org>
334 * XEmacs 21.2.26 is released.
336 1999-12-29 Andy Piper <andy@xemacs.org>
338 * xlwtabs.c (TabsHighlight): use displayChildren for highlighting
342 1999-12-24 Martin Buchholz <martin@xemacs.org>
344 * XEmacs 21.2.25 is released.
346 1999-12-23 Andy Piper <andy@xemacs.org>
348 * lwlib.c (lw_copy_widget_value_args): don't create empty
349 widget_args just because someone might use them later. This makes
350 all widgets look like they've changed.
352 1999-12-22 Andy Piper <andy@xemacs.org>
354 * xlwtabs.c: Fix for X11R5 from Damon Lipparelli
357 1999-12-21 Martin Buchholz <martin@xemacs.org>
359 * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)
361 1999-12-12 Daniel Pittman <daniel@danann.net>
370 Clean up Athena widget support:
371 - Athena headers now use dynamic include paths.
373 1999-12-08 Andy Piper <andy@xemacs.org>
375 * xlwtabs.c: sync with Tabs 2.2.
378 1999-12-14 Martin Buchholz <martin@xemacs.org>
380 * XEmacs 21.2.24 is released.
382 1999-12-14 Andy Piper <andy@xemacs.org>
384 * xlwtabs.c (TabsResize): reset need_layout so that we don't go
387 1999-12-14 Andy Piper <andy@xemacs.org>
389 * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.
391 1999-12-13 Andy Piper <andy@xemacs.org>
393 * xlwtabs.c (TabsResize): We need to expose the tabs after
394 clearing the window they are in.
396 1999-12-08 Andy Piper <andy@xemacs.org>
398 * xlwtabs.c: sync with Tabs 2.1.
400 1999-12-07 Andy Piper <andy@xemacs.org>
402 * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
405 1999-12-07 Martin Buchholz <martin@xemacs.org>
407 * XEmacs 21.2.23 is released.
409 1999-12-05 Andy Piper <andy@xemacs.org>
411 * xlwtabs.c: back up to previous rev to make syncing easier. Fix
414 * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.
416 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
418 * XEmacs 21.2.22 is released
420 1999-11-28 Martin Buchholz <martin@xemacs.org>
422 * XEmacs 21.2.21 is released.
424 1999-11-26 Martin Buchholz <martin@xemacs.org>
426 * xlwtabs.c: Remove unused variables. Fix warnings.
428 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
430 * XEmacs 21.2.20 is released
432 1999-09-09 Andy Piper <andy@xemacs.org>
434 * xlwtabs.c: updated tabs widget from Ed Falk.
438 1999-09-22 Martin Buchholz <martin@xemacs.org>
442 Move declaration of destroy_all_children from lwlib-internal.h to
443 lwlib-utils.h, where it belongs.
445 1999-09-21 Andy Piper <andy@xemacs.org>
447 * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
450 1999-09-22 Martin Buchholz <martin@xemacs.org>
452 * xlwtabs.c: Fix C++ compilability.
454 1999-09-18 Andy Piper <andy@xemacs.org>
456 * xlwtabs.c: Put in tabs sync because clipping should fix useability
459 1999-09-13 Andy Piper <andy@xemacs.org>
461 * xlwtabs.c: Back out tabs sync because of reported useability
464 1999-09-09 Andy Piper <andy@xemacs.org>
466 * xlwtabs.c: updated tabs widget from Ed Falk.
472 1999-09-03 Martin Buchholz <martin@xemacs.org>
474 * xlwgauge.c: Ansify.
475 Include <stdlib.h> to get prototype for atoi().
476 (GaugeSelect): Call GaugeExpose with the right number of args.
477 (GaugeLoseSel): Call GaugeExpose with the right number of args.
478 (GaugeConvert): This is a XtConvertSelectionProc,
479 so 5th parameter must be of type XtPointer, not XPointer.
480 (GaugeGetValue): This is a XtTimerCallbackProc,
481 so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.
484 1999-09-01 Martin Buchholz <martin@xemacs.org>
486 * lwlib.c (free_widget_value_contents): Use proper type for cast.
488 * xlwradio.c: Use function prototypes everywhere.
491 * xlwradioP.h: Move declarations of non-static functions defined
492 in xlwradio.c into xlwradioP.h.
494 1999-09-02 Andy Piper <andy@xemacs.org>
496 * xlwgcs.c: include xmu.h
498 1999-09-01 Andy Piper <andy@xemacs.org>
500 * xlwgauge.c: rearrange headers yet again.
501 * xlwcheckbox.c: ditto.
505 1999-09-01 Andy Piper <andy@xemacs.org>
507 * xlwgauge.c: use xmu.h
508 * xlwcheckbox.c: ditto.
511 1999-08-31 Andy Piper <andy@xemacs.org>
517 * xlwgauge.c: Fix for losing systems without Xmu.
519 1999-08-31 Andy Piper <andy@xemacs.org>
521 * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.
523 1999-08-30 Andy Piper <andy@xemacs.org>
525 * lwlib.c (free_widget_value_contents): be more precise about
526 freeing user defined args.
528 * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
529 its contents for hierarchies one deep.
531 1999-08-29 Andy Piper <andy@xemacs.org>
533 * xlwtabs.c: temporary fixes pending a new release.
536 * lwlib-Xm.c (xm_update_one_widget): update user defined args.
537 (xm_create_label): set args after creation as well as before.
539 * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
540 (xlw_update_tab_control): actually update the children rather than
543 * lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
544 (xaw_create_label): set args after creation as well as before.
546 1999-08-23 Andy Piper <andy@xemacs.org>
548 * lwlib-Xm.c (xm_update_label): don't concatenate value to itself.
550 * lwlib-Xm.c (xm_create_label_field): new function for creating labels.
551 (xm_creation_table): use it.
553 * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
554 (xaw_creation_table): use it.
556 1999-08-16 Andy Piper <andy@xemacs.org>
558 * lwlib.h: declare free_widget_value_tree.
560 * lwlib.c (free_widget_value_tree): make non-static.
562 * lwlib-Xm.c (xm_update_label): free val_string when updating.
564 1999-08-04 Andy Piper <andy@xemacs.org>
566 * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
568 (xm_nosel_callback): ditto.
570 * xlwtabsP.h: sync with 1.5.
572 * xlwtabs.c: sync with 1.18.
574 1999-07-28 Andy Piper <andy@xemacs.org>
576 * xlwtabs.c: new lucid tabs widget from Ed Falk.
579 * xlwgcs.c: GC manipulation for tab widgets.
582 * xlwgauge.c: new athena gauge widget from Ed Falk.
584 * xlwgaugeP.h: ditto.
586 * xlwradio.c: new athena radio widget from Ed Falk.
588 * xlwradioP.h: ditto.
590 * xlwcheckbox.c: new athena checkbox widget from Ed Falk.
591 * xlwcheckbox.h: ditto.
592 * xlwcheckboxP.h: ditto.
594 * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.
596 * lwlib-internal.h: declare destroy_all_children.
598 * lwlib-config.c: add widget checks.
600 * lwlib-Xm.h: declare xm_create_label;
602 * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
603 (xm_update_label): enable for widgets.
604 (xm_update_one_widget): ditto.
605 (xm_create_button): rename in line with lwlib-Xaw.c
606 (xm_create_progress): ditto.
607 (xm_create_text_field): ditto.
608 (xm_create_combo_box): ditto.
609 (xm_create_label): new function.
610 (xm_creation_table): rename widget creation functions.
611 (xm_destroy_instance): enable for widgets.
612 (xm_generic_callback): ditto.
613 (xm_generic_callback): ditto.
615 * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
616 callback that calls the correct function depending on what tab is
618 (xlw_create_tab_control): new function.
619 (build_tabs_in_widget): new function. puts tabs in a tab widget,
620 uses Xaw or Xm depending on how XEmacs was compiled.
621 (xlw_update_tab_control): update the resources for each
622 tab. optionally rebuild the contents of the tab widget.
623 (xlw_creation_table): add tab widget creation function.
624 (lw_lucid_widget_p): add tab widget.
625 (xlw_update_one_widget): ditto.
627 * lwlib-Xaw.h: declare xaw_create_label;
629 * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
630 (xaw_update_one_widget): ditto.
631 (xaw_update_one_value): add code from the Xm version.
632 (xaw_generic_callback): add Xm hack for setting command
633 states. beef up lookup of call data.
634 (xaw_create_button): new function.
635 (xaw_create_label): new function for use by tab widget.
636 (xaw_create_progress): new function.
637 (xaw_create_text_field): new function.
638 (xaw_creation_table): add new widget type creation functions.
640 * Makefile.in.in: add dependencies for new lw widgets.
642 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
644 * XEmacs 21.2.19 is released
646 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
648 * XEmacs 21.2.18 is released
650 1999-07-05 Didier Verna <didier@xemacs.org>
652 * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
653 call to xm_update_label.
655 1999-06-28 Andy Piper <andy@xemacs.org>
657 * lwlib-Xm.c: unconditionally enable text field & list code.
658 (make_progress): new function. creates a slider.
659 (make_text_field): new function. creates an edit field.
660 (make_combo_box): new function. creates a combo box.
661 (xm_creation_table): add new widget functions.
663 1999-06-25 Andy Piper <andy@xemacs.org>
665 * lwlib.h (_widget_value): add arglist slots.
666 declare new functions.
668 * lwlib.c (free_widget_value_contents): handle arglists when
670 (lw_add_value_args_to_args): new function. add arglist entries
671 from a widget_value structure.
673 * lwlib-Xm.c (make_button): new function, create a motif button
674 for display in a buffer as a glyph.
675 (xm_creation_table): add make_button.
677 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
679 * XEmacs 21.2.17 is released
681 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
683 * XEmacs 21.2.16 is released
685 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
687 * XEmacs 21.2.15 is released
689 1999-05-17 Jerry James <jerry@cs.ucsb.edu>
691 * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
694 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
696 * XEmacs 21.2.14 is released
698 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
700 * XEmacs 21.2.13 is released
702 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
704 * XEmacs 21.2.12 is released
706 1999-02-18 Martin Buchholz <martin@xemacs.org>
708 * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
709 - Have to toupper ((int) (unsigned char) x) to be portable.