1 2000-12-31 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.39 is released.
5 2000-12-30 Andy Piper <andy@xemacs.org>
7 * xlwtabs.c: remove assertion definitions and put them in
8 lwlib-internal.h. This has the effect of enabling assertions which
9 should have been done from the very start.
10 (TabsShuffleRows): fix duff assertion.
11 (PreferredSize3): use dimensions throughout.
12 (PreferredSize2): ditto.
14 (DrawFrame): be clever about the enclosing frame if the child
16 (TabsResize): don't configure children that are no visible
17 anyway. Make sure geometry calculations don't end up negative.
19 * lwlib-internal.h: put in assertion definitions.
21 2000-12-05 Martin Buchholz <martin@xemacs.org>
23 * XEmacs 21.2.38 is released.
25 2000-11-30 Andy Piper <andy@xemacs.org>
27 * lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until
28 someone fixes it properly.
30 2000-11-24 Andy Piper <andy@xemacs.org>
32 * xlwtabsP.h: add visible flag, realRows and remove displayChildren.
34 * xlwtabs.c (TabVisible): new macro. Consults visible flag.
35 (TabsInit): remove displayChildren, add realRows.
36 (TabsConstraintInitialize): ditto.
38 (TabsGeometryManager): ditto.
39 (TabsChangeManaged): ditto.
42 (TabsHighlight): ditto.
44 (TabLayout): Caclulate rows for all children and whether they
45 should be visible or not..
46 (TabsShuffleRows): shuffle rows based on both real and displayed
47 rows. Adjust visibility of all children.
48 (PreferredSize): ditto.
50 2000-11-19 Martin Buchholz <martin@xemacs.org>
52 * xlwtabs.c (TabsResize): Don't delete `tab', mark unused instead.
54 2000-11-18 Martin Buchholz <martin@xemacs.org>
56 * xlwmenu.c (make_windows_if_needed):
58 The proper type for `mask' is `unsigned long', not `int'.
60 2000-11-18 Martin Buchholz <martin@xemacs.org>
62 * xlwtabs.c (defaultAccelerators): Add #### to unused var.
63 (TabsResize): Remove unused var.
64 * xlwmenu.c (XlwMenuInitialize): Remove unused vars.
65 * lwlib-Xlw.c (xlw_update_one_widget): Add #### for probable bug.
67 2000-11-14 Martin Buchholz <martin@xemacs.org>
69 * XEmacs 21.2.37 is released.
71 2000-11-02 Stephen J. Turnbull <stephen@xemacs.org>
73 * lwlib.h: Typo fixes and tiny clarifications.
75 2000-10-04 Martin Buchholz <martin@xemacs.org>
77 * XEmacs 21.2.36 is released.
79 2000-09-21 Andy Piper <andy@xemacs.org>
81 * lwlib.h: declare copy_widget_value_tree.
83 * lwlib.c (copy_widget_value_tree): make non-static.
85 2000-09-19 Martin Buchholz <martin@xemacs.org>
87 * *: Spelling mega-patch
89 2000-09-16 Martin Buchholz <martin@xemacs.org>
91 * lwlib.c (ascii_strcasecmp): New.
92 * lwlib.c (find_in_table): Use ascii_strcasecmp.
93 Avoid using non-standard non-portable strcasecmp.
95 2000-08-02 Stephen J. Turnbull <stephen@xemacs.org>
97 * xlwmenu.c (XlwMenuInitialize): make comment on algorithm for
98 setting fontList match code. Suggest using same algorithm for
99 X Font Set resources in native lw code.
101 2000-07-30 Ben Wing <ben@xemacs.org>
103 * lwlib-Xaw.c (xaw_update_one_widget):
104 Remove accelerator specs from buttons, since Athena doesn't handle
107 * lwlib.c (lw_remove_accelerator_spec):
109 Define function and prototype to do this.
111 2000-07-15 Ben Wing <ben@xemacs.org>
114 Remove duplicate definition of streq().
116 2000-07-19 Martin Buchholz <martin@xemacs.org>
118 * XEmacs 21.2.35 is released.
120 2000-07-09 Martin Buchholz <martin@xemacs.org>
131 Replace SMART_INCLUDE with a dumber, but more reliable method.
133 * xlwmenu.c (parameterize_string): Fix C++ compilation warnings.
135 2000-06-10 Ben Wing <ben@xemacs.org>
137 * lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
138 (xaw_update_one_value): fix crash due to incorrect arg count.
140 2000-05-28 Martin Buchholz <martin@xemacs.org>
142 * XEmacs 21.2.34 is released.
144 2000-05-01 Martin Buchholz <martin@xemacs.org>
146 * XEmacs 21.2.33 is released.
148 2000-04-19 Martin Buchholz <martin@xemacs.org>
150 * lwlib.c (lw_destroy_everything): Always use full ANSI prototypes.
151 * lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes.
153 2000-04-12 Andy Piper <andy@xemacs.org>
155 * lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets.
156 (xaw_update_one_value): Get strings safely.
157 (xaw_create_text_field): add some extra properties.
159 2000-04-05 Andy Piper <andy@xemacs.org>
161 * lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as
164 2000-04-05 Andy Piper <andy@xemacs.org>
166 * xlwradio.c (RadioSetValues): resize if position information has
169 * lwlib-Xm.c (xm_create_text_field): text fields should be enabled
170 even if there is no callback.
171 * lwlib-Xaw.c (xaw_create_text_field): ditto.
173 2000-04-03 Andy Piper <andy@xemacs.org>
175 * lwlib.c (merge_widget_value_args): only merge when the two args
176 are actually different.
178 2000-03-21 Didier Verna <didier@xemacs.org>
180 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to
182 * config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro.
184 2000-03-20 Martin Buchholz <martin@xemacs.org>
186 * XEmacs 21.2.32 is released.
188 2000-03-14 Ben Wing <ben@xemacs.org>
190 * xlwmenu.c (massage_resource_name): Handle %_ and %%.
192 2000-02-20 Gunnar Evermann <ge204@eng.cam.ac.uk>
194 * xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP
195 even if we are only 'compatible' with the Motif resources.
196 (XmUNSPECIFIED_PIXMAP): Define unconditionally.
198 2000-02-23 Martin Buchholz <martin@xemacs.org>
200 * XEmacs 21.2.31 is released.
202 2000-02-22 Andy Piper <andy@xemacs.org>
204 * lwlib-Xm.c (xm_update_one_widget): set widget args last in case
205 anything messes with them in the meantime.
206 * lwlib-Xlw.c (xlw_update_one_widget): ditto.
207 * lwlib-Xaw.c (xaw_update_one_widget): ditto.
209 2000-02-21 Martin Buchholz <martin@xemacs.org>
211 * XEmacs 21.2.30 is released.
213 2000-02-21 Andy Piper <andy@xemacs.org>
215 * lwlib.c (merge_widget_value_args): don't delete the args before
216 copying, lw_copy_widget_value_args will do this for us if
218 (lw_add_widget_value_arg): Allow existing args to be replaced.
219 (free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
220 reference couting works better that way.
221 (lw_copy_widget_value_args): Do the right thing.
223 * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
225 * lwlib-Xaw.c (xaw_create_progress): ditto.
227 2000-02-12 Jan Vroonhof <vroonhof@math.ethz.ch>
229 * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
230 compatible resource names.
232 * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
233 even if we are only 'compatible' with the Motif resources.
235 2000-02-15 Andy Piper <andy@xemacs.org>
237 * xlwgauge.c (GaugeExpose): remove shadows.
239 2000-02-16 Martin Buchholz <martin@xemacs.org>
241 * XEmacs 21.2.29 is released.
243 2000-02-09 Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
245 * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
248 2000-02-07 Martin Buchholz <martin@xemacs.org>
250 * XEmacs 21.2.28 is released.
252 2000-01-25 Andy Piper <andy@xemacs.org>
254 * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
257 2000-01-28 Martin Buchholz <martin@xemacs.org>
259 * xlwgauge.c (GaugeConvert): bcopy ==> memcpy
261 2000-01-24 Andy Piper <andy@xemacs.org>
263 * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
265 (XawTabsSetHighlight): Don't unhighlight here.
267 2000-01-22 Martin Buchholz <martin@xemacs.org>
269 * *.h: Use consistent C-standards-approved guard macro names.
271 2000-01-18 Martin Buchholz <martin@xemacs.org>
273 * XEmacs 21.2.27 is released.
275 2000-01-15 Andy Piper <andy@xemacs.org>
277 * lwlib-Xlw.c (lw_update_one_widget): make sure global
280 2000-01-07 Martin Buchholz <martin@xemacs.org>
282 * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
283 This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)
285 * lwlib.c: Fix up memset calls.
287 * lwlib-Xm.c (xm_update_text): Warning suppression.
288 (xm_update_text_field): Warning suppression.
290 2000-01-03 Martin Buchholz <martin@xemacs.org>
292 * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
293 (yes-or-no-p-dialog-box "Yes or No")
295 1999-12-31 Martin Buchholz <martin@xemacs.org>
297 * XEmacs 21.2.26 is released.
299 1999-12-29 Andy Piper <andy@xemacs.org>
301 * xlwtabs.c (TabsHighlight): use displayChildren for highlighting
305 1999-12-24 Martin Buchholz <martin@xemacs.org>
307 * XEmacs 21.2.25 is released.
309 1999-12-23 Andy Piper <andy@xemacs.org>
311 * lwlib.c (lw_copy_widget_value_args): don't create empty
312 widget_args just because someone might use them later. This makes
313 all widgets look like they've changed.
315 1999-12-22 Andy Piper <andy@xemacs.org>
317 * xlwtabs.c: Fix for X11R5 from Damon Lipparelli
320 1999-12-21 Martin Buchholz <martin@xemacs.org>
322 * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)
324 1999-12-12 Daniel Pittman <daniel@danann.net>
333 Clean up Athena widget support:
334 - Athena headers now use dynamic include paths.
336 1999-12-08 Andy Piper <andy@xemacs.org>
338 * xlwtabs.c: sync with Tabs 2.2.
341 1999-12-14 Martin Buchholz <martin@xemacs.org>
343 * XEmacs 21.2.24 is released.
345 1999-12-14 Andy Piper <andy@xemacs.org>
347 * xlwtabs.c (TabsResize): reset need_layout so that we don't go
350 1999-12-14 Andy Piper <andy@xemacs.org>
352 * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.
354 1999-12-13 Andy Piper <andy@xemacs.org>
356 * xlwtabs.c (TabsResize): We need to expose the tabs after
357 clearing the window they are in.
359 1999-12-08 Andy Piper <andy@xemacs.org>
361 * xlwtabs.c: sync with Tabs 2.1.
363 1999-12-07 Andy Piper <andy@xemacs.org>
365 * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
368 1999-12-07 Martin Buchholz <martin@xemacs.org>
370 * XEmacs 21.2.23 is released.
372 1999-12-05 Andy Piper <andy@xemacs.org>
374 * xlwtabs.c: back up to previous rev to make syncing easier. Fix
377 * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.
379 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
381 * XEmacs 21.2.22 is released
383 1999-11-28 Martin Buchholz <martin@xemacs.org>
385 * XEmacs 21.2.21 is released.
387 1999-11-26 Martin Buchholz <martin@xemacs.org>
389 * xlwtabs.c: Remove unused variables. Fix warnings.
391 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
393 * XEmacs 21.2.20 is released
395 1999-09-09 Andy Piper <andy@xemacs.org>
397 * xlwtabs.c: updated tabs widget from Ed Falk.
401 1999-09-22 Martin Buchholz <martin@xemacs.org>
405 Move declaration of destroy_all_children from lwlib-internal.h to
406 lwlib-utils.h, where it belongs.
408 1999-09-21 Andy Piper <andy@xemacs.org>
410 * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
413 1999-09-22 Martin Buchholz <martin@xemacs.org>
415 * xlwtabs.c: Fix C++ compilability.
417 1999-09-18 Andy Piper <andy@xemacs.org>
419 * xlwtabs.c: Put in tabs sync because clipping should fix useability
422 1999-09-13 Andy Piper <andy@xemacs.org>
424 * xlwtabs.c: Back out tabs sync because of reported useability
427 1999-09-09 Andy Piper <andy@xemacs.org>
429 * xlwtabs.c: updated tabs widget from Ed Falk.
435 1999-09-03 Martin Buchholz <martin@xemacs.org>
437 * xlwgauge.c: Ansify.
438 Include <stdlib.h> to get prototype for atoi().
439 (GaugeSelect): Call GaugeExpose with the right number of args.
440 (GaugeLoseSel): Call GaugeExpose with the right number of args.
441 (GaugeConvert): This is a XtConvertSelectionProc,
442 so 5th parameter must be of type XtPointer, not XPointer.
443 (GaugeGetValue): This is a XtTimerCallbackProc,
444 so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.
447 1999-09-01 Martin Buchholz <martin@xemacs.org>
449 * lwlib.c (free_widget_value_contents): Use proper type for cast.
451 * xlwradio.c: Use function prototypes everywhere.
454 * xlwradioP.h: Move declarations of non-static functions defined
455 in xlwradio.c into xlwradioP.h.
457 1999-09-02 Andy Piper <andy@xemacs.org>
459 * xlwgcs.c: include xmu.h
461 1999-09-01 Andy Piper <andy@xemacs.org>
463 * xlwgauge.c: rearrange headers yet again.
464 * xlwcheckbox.c: ditto.
468 1999-09-01 Andy Piper <andy@xemacs.org>
470 * xlwgauge.c: use xmu.h
471 * xlwcheckbox.c: ditto.
474 1999-08-31 Andy Piper <andy@xemacs.org>
480 * xlwgauge.c: Fix for losing systems without Xmu.
482 1999-08-31 Andy Piper <andy@xemacs.org>
484 * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.
486 1999-08-30 Andy Piper <andy@xemacs.org>
488 * lwlib.c (free_widget_value_contents): be more precise about
489 freeing user defined args.
491 * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
492 its contents for hierarchies one deep.
494 1999-08-29 Andy Piper <andy@xemacs.org>
496 * xlwtabs.c: temporary fixes pending a new release.
499 * lwlib-Xm.c (xm_update_one_widget): update user defined args.
500 (xm_create_label): set args after creation as well as before.
502 * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
503 (xlw_update_tab_control): actually update the children rather than
506 * lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
507 (xaw_create_label): set args after creation as well as before.
509 1999-08-23 Andy Piper <andy@xemacs.org>
511 * lwlib-Xm.c (xm_update_label): don't concatenate value to itself.
513 * lwlib-Xm.c (xm_create_label_field): new function for creating labels.
514 (xm_creation_table): use it.
516 * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
517 (xaw_creation_table): use it.
519 1999-08-16 Andy Piper <andy@xemacs.org>
521 * lwlib.h: declare free_widget_value_tree.
523 * lwlib.c (free_widget_value_tree): make non-static.
525 * lwlib-Xm.c (xm_update_label): free val_string when updating.
527 1999-08-04 Andy Piper <andy@xemacs.org>
529 * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
531 (xm_nosel_callback): ditto.
533 * xlwtabsP.h: sync with 1.5.
535 * xlwtabs.c: sync with 1.18.
537 1999-07-28 Andy Piper <andy@xemacs.org>
539 * xlwtabs.c: new lucid tabs widget from Ed Falk.
542 * xlwgcs.c: GC manipulation for tab widgets.
545 * xlwgauge.c: new athena gauge widget from Ed Falk.
547 * xlwgaugeP.h: ditto.
549 * xlwradio.c: new athena radio widget from Ed Falk.
551 * xlwradioP.h: ditto.
553 * xlwcheckbox.c: new athena checkbox widget from Ed Falk.
554 * xlwcheckbox.h: ditto.
555 * xlwcheckboxP.h: ditto.
557 * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.
559 * lwlib-internal.h: declare destroy_all_children.
561 * lwlib-config.c: add widget checks.
563 * lwlib-Xm.h: declare xm_create_label;
565 * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
566 (xm_update_label): enable for widgets.
567 (xm_update_one_widget): ditto.
568 (xm_create_button): rename in line with lwlib-Xaw.c
569 (xm_create_progress): ditto.
570 (xm_create_text_field): ditto.
571 (xm_create_combo_box): ditto.
572 (xm_create_label): new function.
573 (xm_creation_table): rename widget creation functions.
574 (xm_destroy_instance): enable for widgets.
575 (xm_generic_callback): ditto.
576 (xm_generic_callback): ditto.
578 * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
579 callback that calls the correct function depending on what tab is
581 (xlw_create_tab_control): new function.
582 (build_tabs_in_widget): new function. puts tabs in a tab widget,
583 uses Xaw or Xm depending on how XEmacs was compiled.
584 (xlw_update_tab_control): update the resources for each
585 tab. optionally rebuild the contents of the tab widget.
586 (xlw_creation_table): add tab widget creation function.
587 (lw_lucid_widget_p): add tab widget.
588 (xlw_update_one_widget): ditto.
590 * lwlib-Xaw.h: declare xaw_create_label;
592 * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
593 (xaw_update_one_widget): ditto.
594 (xaw_update_one_value): add code from the Xm version.
595 (xaw_generic_callback): add Xm hack for setting command
596 states. beef up lookup of call data.
597 (xaw_create_button): new function.
598 (xaw_create_label): new function for use by tab widget.
599 (xaw_create_progress): new function.
600 (xaw_create_text_field): new function.
601 (xaw_creation_table): add new widget type creation functions.
603 * Makefile.in.in: add dependencies for new lw widgets.
605 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
607 * XEmacs 21.2.19 is released
609 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
611 * XEmacs 21.2.18 is released
613 1999-07-05 Didier Verna <didier@xemacs.org>
615 * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
616 call to xm_update_label.
618 1999-06-28 Andy Piper <andy@xemacs.org>
620 * lwlib-Xm.c: unconditionally enable text field & list code.
621 (make_progress): new function. creates a slider.
622 (make_text_field): new function. creates an edit field.
623 (make_combo_box): new function. creates a combo box.
624 (xm_creation_table): add new widget functions.
626 1999-06-25 Andy Piper <andy@xemacs.org>
628 * lwlib.h (_widget_value): add arglist slots.
629 declare new functions.
631 * lwlib.c (free_widget_value_contents): handle arglists when
633 (lw_add_value_args_to_args): new function. add arglist entries
634 from a widget_value structure.
636 * lwlib-Xm.c (make_button): new function, create a motif button
637 for display in a buffer as a glyph.
638 (xm_creation_table): add make_button.
640 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
642 * XEmacs 21.2.17 is released
644 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
646 * XEmacs 21.2.16 is released
648 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
650 * XEmacs 21.2.15 is released
652 1999-05-17 Jerry James <jerry@cs.ucsb.edu>
654 * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
657 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
659 * XEmacs 21.2.14 is released
661 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
663 * XEmacs 21.2.13 is released
665 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
667 * XEmacs 21.2.12 is released
669 1999-02-18 Martin Buchholz <martin@xemacs.org>
671 * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
672 - Have to toupper ((int) (unsigned char) x) to be portable.