view lwlib/ChangeLog @ 872:79c6ff3eef26

[xemacs-hg @ 2002-06-20 21:18:01 by ben] font changes etc.; some 21.4 changes mule/mule-msw-init-late.el: Specify charset->windows-registry conversion. mule/mule-x-init.el: Delete extra mule font additions here. Put them in faces.c. cl-macs.el: Document better. font-lock.el: Move Lisp function regexp to lisp-mode.el. lisp-mode.el: Various indentation fixes: Handle flet functions better. Handle argument lists in defuns and flets. Handle quoted lists, e.g. property lists -- don't indent like function calls. Distinguish between lambdas and other lists. lisp-mode.el: Handle this form. faces.el, font-menu.el, font.el, gtk-faces.el, msw-faces.el, msw-font-menu.el, x-faces.el, x-init.el: Major overhaul of face-handling code: -- Fix lots of bogus code in msw-faces.el, msw-font-menu.el, font-menu.el that was "truenaming" font specs -- i.e. in the process of frobbing a particular field in a general user-specified font spec with wildcarded fields, sticking in particular values for all the remaining wildcarded fields. This bug was rampant everywhere except in x-faces.el (the oldest and only correctly written code). This also means that we need to work with font names at all times and not font instances, because a font instance is essentially a truenamed font. -- Total rewrite of extremely junky code in msw-faces.el. Work with names as well as font instances, and return names; stop truenaming when canonicalizing and frobbing; fix handling of the combined style field, i.e. weight/slant (also fixed in font.el). -- Totally rewrite the frobbing functions in faces.el. This time, we frob all the instantiators rather than just computing a single instance value and working backwards. That way, e.g., `bold' will work for all charsets that have bold available, rather than only for whatever charset was part of the computed font instance (another example of the truename virus). Also fix up code to look at the fallbacks (all of them) when no global value present, so we don't need to put something in the global value. Intelligently handle a request to frob a buffer locale, rather than signalling an error. When frobbing instantiators, try hard to figure out what device type is associated with them, and frob each according to its own proper device type. Correctly handle inheritance vectors given as instantiators. Preserve existing tags when putting back frobbed instantiators. Extract out general specifier-frobbing code into specifier.el. Document everything cleanly. Do lots of other things better, etc. -- Don't duplicatively set a global specification for the default font -- it's already in the fallback and we no longer need a default global specification present. Delete various code in x-faces.el and msw-faces.el that duplicated the lists of fonts in faces.c. -- init-global-faces was not being called at all under MS Windows! Major bogosity. That caused device-specific values to get stuck into all the fonts, making it very hard to change them -- setting global specs caused nothing to happen. -- Correct weight names in font.el. -- Lots more font fixups in objects*.c. Printer.el: Warning fix. specifier.el: Add more args to map-specifier. Add various "heuristic" specifier functions to aid in creation of specifier-munging code such as in faces.el. subr.el: New functions. lwlib.c: Fix warning. config.inc.samp: Clean up, add args to control fastcall (not yet supported! the changes needed are in another ws of mine), profile support, vc6 support, union-type. xemacs.dsp, xemacs.mak: Semi-major overhaul. Fix bug where dump-id was always getting recomputed, forcing a redump even when nothing changed. Add support for fastcall. Support edit-and-continue (on by default) with vc6. Use incremental linking when doing a debug compilation. Add support for profiling. Consolidate the various debug flags. Partial support for "batch-compiling" -- compiling many files on a single invocation of the compiler. Doesn't seem to help that much for me, so it's not finished or enabled by default. Remove HAVE_MSW_C_DIRED, we always do. Correct some sloppy use of directories. s/cygwin32.h: Allow pdump to work under Cygwin (mmap is broken, so need to undefine HAVE_MMAP). s/win32-common.h, s/windowsnt.h: Support for fastcall. Add WIN32_ANY for identifying all Win32 variants (Cygwin, native, MinGW). Both of these are properly used in another ws. alloc.c, balloon-x.c, buffer.c, bytecode.c, callint.c, cm.c, cmdloop.c, cmds.c, console-gtk.c, console-gtk.h, console-msw.c, console-msw.h, console-stream.c, console-stream.h, console-tty.c, console-tty.h, console-x.c, console-x.h, console.c, console.h, device-gtk.c, device-msw.c, device-tty.c, device-x.c, device.c, device.h, devslots.h, dialog-gtk.c, dialog-msw.c, dialog-x.c, dialog.c, dired-msw.c, editfns.c, emacs.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, event-tty.c, event-unixoid.c, events.c, extents.c, extents.h, faces.c, fileio.c, fns.c, frame-gtk.c, frame-msw.c, frame-tty.c, frame-x.c, frame.c, frame.h, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-widget.c, glyphs-x.c, glyphs.c, glyphs.h, gui-gtk.c, gui-msw.c, gui-x.c, gui.c, gutter.c, input-method-xlib.c, intl-encap-win32.c, intl-win32.c, keymap.c, lisp.h, macros.c, menubar-gtk.c, menubar-msw.c, menubar-x.c, menubar.c, menubar.h, minibuf.c, mule-charset.c, nt.c, objects-gtk.c, objects-gtk.h, objects-msw.c, objects-msw.h, objects-tty.c, objects-tty.h, objects-x.c, objects-x.h, objects.c, objects.h, postgresql.c, print.c, process.h, redisplay-gtk.c, redisplay-msw.c, redisplay-output.c, redisplay-tty.c, redisplay-x.c, redisplay.c, redisplay.h, scrollbar-gtk.c, scrollbar-msw.c, scrollbar-x.c, scrollbar.c, select-gtk.c, select-msw.c, select-x.c, select.c, signal.c, sound.c, specifier.c, symbols.c, syntax.c, sysdep.c, syssignal.h, syswindows.h, toolbar-common.c, toolbar-gtk.c, toolbar-msw.c, toolbar-x.c, toolbar.c, unicode.c, window.c, window.h: The following are the major changes made: (1) Separation of various header files into an external and an internal version, similar to the existing separation of process.h and procimpl.h. Eventually this should be done for all Lisp objects. The external version has the same name as currently; the internal adds -impl. The external file has XFOO() macros for objects, but the structure is opaque and defined only in the internal file. It's now reasonable to move all prototypes in lisp.h into the appropriate external file, and this should be done. Currently, separation has been done on extents.h, objects*.h, console.h, device.h, frame.h, and window.h. For c/d/f/w, the most basic properties are available in the external header file, with the macros resolving to functions. In the internal header file, the macros are redefined to directly access the structure. Also, the global MARK_FOO_CHANGED macros have been made into functions so that they can be accessed without needing to include lots of -impl headers -- they are used in almost exclusively in non-time-critical functions, and take up enough time that the function overhead will be negligible. Similarly, the function overhead from making the basic properties mentioned above into functions is negligible, and code that does heavy accessing of c/d/f/w structures inevitably ends up needing the internal header files, anyway. (2) More face changes. -- Major rewrite of objects-msw.c. Now handles wildcard specs properly, rather than "truenaming" (or even worse, signalling an error, which previously happened with some of the fallbacks if you tried to use them in make-font-instance!). -- Split charset matching of fonts into two stages -- one to find a font specifically designed for a particular charset (by examining its registry), the second to find a Unicode font that can support the charset. This needs to proceed as two complete, separate instantiations in order to work properly (otherwise many of the fonts in the HELLO page look wrong). This should also make it easy to support iso10646 (Unicode) fonts under X. -- All default values for fonts are now completely specified in the fallbacks. Stuff from mule-x-init.el has all been moved here, merged with the existing specs, and totally rethought so you get sensible results. (HELLO now looks much better!). -- Generalize the "default X/GTK device" stuff into a per-device-type "default device". -- Add mswindows-{set-}charset-registry. In time, charset<->code-page conversion functions will be removed. -- Wrap protective code around calls to compute device specifier tags, and do this computation before calling the face initialization code because the latter may need these tags to be correctly updated. (3) Other changes. EmacsFrame.c, glyphs-msw.c, eval.c, gui-x.c, intl-encap-win32.c, search.c, signal.c, toolbar-msw.c, unicode.c: Warning fixes. config.h.in: #undefs meant to be frobbed by configure *MUST* go inside of #ifndef WIN32_NO_CONFIGURE, and everything else *MUST* go outside! eval.c: Let detailed backtraces be detailed. specifier.c: Don't override user's print-string-length/print-length settings. glyphs.c: New function image-instance-instantiator. config.h.in, sysdep.c: Changes for fastcall. sysdep.c, nt.c: Fix up a previous botched patch that tried to add support for both EEXIST and EACCES. IF THE BOTCHED PATCH WENT INTO 21.4, THIS FIXUP NEEDS TO GO IN, TOO. search.c: Fix *evil* crash due to incorrect synching of syntax-cache code with 21.1. THIS SHOULD GO INTO 21.4.
author ben
date Thu, 20 Jun 2002 21:19:10 +0000
parents e5083672c894
children 2367ca81af28
line wrap: on
line source

2002-06-20  Ben Wing  <ben@xemacs.org>

	* lwlib.c:
	* lwlib.c (dialog_spec_p): Fix warning.

2002-02-13  Stephen J. Turnbull  <stephen@xemacs.org>

	* lwlib-Xm.c (make_dialog): Fix XmProcessTraversal crash.

2002-04-05  Stephen J. Turnbull  <stephen@xemacs.org>

	* XEmacs 21.5.6 "bok choi" is released.

2002-03-12  Ben Wing  <ben@xemacs.org>

	* The Great Mule Merge: placeholder.

2002-03-05  Stephen J. Turnbull  <stephen@xemacs.org>

	* XEmacs 21.5.5 "beets" is released.

2001-12-19  Valdis Kletnieks  <Valdis.Kletnieks@vt.edu>

	* xlwscrollbar.c: Fix Xt translations comment.
	
2002-01-08  Stephen J. Turnbull  <stephen@xemacs.org>

	* XEmacs 21.5.4 "bamboo" is released.

2001-09-07  Stephen J. Turnbull  <stephen@xemacs.org>

	* XEmacs 21.5.3 "asparagus" is released.

2001-06-24  Ben Wing  <ben@xemacs.org>

	* lwlib-Xlw.c (xlw_update_tab_control):
	* lwlib-utils.c (XtApplyUntilToWidgets):
	* xlwgauge.c (XawGaugeSetValue):
	* xlwgauge.c (GaugeMercury):
	* xlwmenu.c (close_to_reference_time):
	* xlwtabs.c (TabsSetValues):
	* xlwtabs.c (TabsSelect):
	* xlwtabs.c (DrawTabs):
	Fix unsigned warnings.  See src/ChangeLog for details.

2001-07-28  Stephen J. Turnbull  <stephen@xemacs.org>

	* XEmacs 21.5.2 "artichoke" is released.

2001-07-26  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_progress): new function. Set Scale height
	and width from normal height and width.
	* lwlib-Xm.c (xm_create_progress): ditto.
	* lwlib-Xm.c (xm_update_one_widget): call xm_update_progress.
	* lwlib.c (lw_get_value_arg): new function. Return an argument
	based on its name.
	* lwlib.h: declare it.

2001-05-21  Martin Buchholz  <martin@xemacs.org>

	* lwlib-config.c: Remove.
	* Makefile.in.in: Remove references to lwlib-config.

2001-05-09  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.5.1 "anise" is released.

2001-04-28  Ben Wing  <ben@xemacs.org>

	* lwlib-utils.c (destroy_all_children): fix warning reported by
	Isaac Hollander <ysh@mindspring.com>.

2001-04-18  Martin Buchholz  <martin@xemacs.org>

	* XEmacs 21.5.0 "alfalfa" is released.

2001-03-30  Stephen J. Turnbull  <stephen@xemacs.org>

	* ChangeLog: Restore logs lost in the GTK merge.

2001-03-21  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.46 "Urania" is released.

2001-03-15  Stephen J. Turnbull  <stephen@xemacs.org>

	* xlwradio.c: Revert gratuitous whitespace changes from GTK merge.

2001-02-23  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.45 "Thelxepeia" is released.

2001-02-16  Raymond Toy  <toy@rtp.ericsson.se>

	* lwlib-Xaw.c: Always include ATHENA_AsciiText_h_ to get the
	text-field widget.
	(xaw_creation_table): Always include the text-field widget

2001-02-08  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.44 "Thalia" is released.

2001-02-06  Martin Buchholz  <martin@xemacs.org>

	* xlwgauge.c:
	* xlwgcs.c:
	* xlwgcs.c (XtAllocateGC): Fix typo for X11R4.
	* xlwgcs.h:
	* xlwradio.c (RadioExpose):
	* xlwcheckbox.c:
	Remove use of BSD-specific types.
	s/u_(char|short|int_long)/unsigned $1/g

2001-02-05  Martin Buchholz  <martin@xemacs.org>

	* lwlib-Xm.c (xm_update_one_value):
	Obey the man page; use XtFree instead of free.

2001-02-02  Martin Buchholz  <martin@xemacs.org>

	* config.h.in: Use "..." to include config.h

2001-01-26  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.43 "Terspichore" is released.

2001-01-20  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.42 "Poseidon" is released.

2001-01-17  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.41 "Polyhymnia" is released.

2001-01-08  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.40 is released.

2001-01-06  Martin Buchholz  <martin@xemacs.org>

	* lwlib-Xaw.c (xaw_creation_table): Make const.
	* lwlib-Xaw.h (xaw_creation_table): Make const.
	* lwlib-Xlw.c (xlw_creation_table): Make const.
	* lwlib-Xlw.h (xlw_creation_table): Make const.
	* lwlib-Xm.c (xm_creation_table): Make const.
	* lwlib-Xm.h (xm_creation_table): Make const.
	* lwlib.c (find_in_table): Use const.

2001-01-02  Andy Piper  <andy@xemacs.org>

	* lwlib.h (_widget_args): add args_changed. Necessary because we
	reference count args.

	* lwlib.c (lw_add_widget_value_arg): set args_changed flag.
	(merge_widget_value_args): mark as changed if args_changed is
	true.
	(update_all_widget_values): reset args_changed.
	(initialize_widget_instance): ditto.

2000-12-31  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.39 is released.

2000-12-30  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: remove assertion definitions and put them in
	lwlib-internal.h. This has the effect of enabling assertions which
	should have been done from the very start.
	(TabsShuffleRows): fix duff assertion.
	(PreferredSize3): use dimensions throughout.
	(PreferredSize2): ditto.
	(TabLayout): ditto.
	(DrawFrame): be clever about the enclosing frame if the child
	height is 0.
	(TabsResize): don't configure children that are no visible
	anyway. Make sure geometry calculations don't end up negative.

	* lwlib-internal.h: put in assertion definitions.

2000-12-05  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.38 is released.

2000-11-30  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until
	someone fixes it properly.

2000-11-24  Andy Piper  <andy@xemacs.org>

	* xlwtabsP.h: add visible flag, realRows and remove displayChildren.

	* xlwtabs.c (TabVisible): new macro. Consults visible flag.
	(TabsInit): remove displayChildren, add realRows.
	(TabsConstraintInitialize): ditto.
	(TabsResize): ditto.
	(TabsGeometryManager): ditto.
	(TabsChangeManaged): ditto.
	(TabsSelect): ditto.
	(TabsPage): ditto.
	(TabsHighlight): ditto.
	(DrawTabs): ditto.
	(TabLayout): Caclulate rows for all children and whether they
	should be visible or not..
	(TabsShuffleRows): shuffle rows based on both real and displayed
	rows. Adjust visibility of all children.
	(PreferredSize): ditto.

2000-11-19  Martin Buchholz  <martin@xemacs.org>

	* xlwtabs.c (TabsResize): Don't delete `tab', mark unused instead.

2000-11-18  Martin Buchholz  <martin@xemacs.org>

	* xlwmenu.c (make_windows_if_needed): 
	(XlwMenuRealize): 
	The proper type for `mask' is `unsigned long', not `int'.

2000-11-18  Martin Buchholz  <martin@xemacs.org>

	* xlwtabs.c (defaultAccelerators): Add #### to unused var.
	(TabsResize): Remove unused var.
	* xlwmenu.c (XlwMenuInitialize): Remove unused vars.
	* lwlib-Xlw.c (xlw_update_one_widget): Add #### for probable bug.

2000-11-14  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.37 is released.

2000-11-02  Stephen J. Turnbull  <stephen@xemacs.org>

	* lwlib.h: Typo fixes and tiny clarifications.

2000-10-04  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.36 is released.

2000-09-21  Andy Piper  <andy@xemacs.org>

	* lwlib.h: declare copy_widget_value_tree.

	* lwlib.c (copy_widget_value_tree): make non-static.

2000-09-19  Martin Buchholz  <martin@xemacs.org>

	* *: Spelling mega-patch

2000-09-16  Martin Buchholz  <martin@xemacs.org>

	* lwlib.c (ascii_strcasecmp): New.
	* lwlib.c (find_in_table): Use ascii_strcasecmp.
	Avoid using non-standard non-portable strcasecmp.

2000-08-02  Stephen J. Turnbull <stephen@xemacs.org>

	* xlwmenu.c (XlwMenuInitialize): make comment on algorithm for
	setting fontList match code.  Suggest using same algorithm for
	X Font Set resources in native lw code.

2000-07-30  Ben Wing  <ben@xemacs.org>

	* lwlib-Xaw.c (xaw_update_one_widget):
	Remove accelerator specs from buttons, since Athena doesn't handle
	them.
	
	* lwlib.c (lw_remove_accelerator_spec):
	* lwlib.h:
	Define function and prototype to do this.

2000-07-15  Ben Wing  <ben@xemacs.org>

	* xlwradioP.h:
	Remove duplicate definition of streq().

2000-07-19  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.35 is released.

2000-07-09  Martin Buchholz  <martin@xemacs.org>

	* xlwcheckbox.c:
	* xlwgauge.h:
	* xlwgaugeP.h:
	* xlwradio.h:
	* xlwradioP.h:
	* xlwgauge.c:
	* config.h.in:
	* xlwradio.c:
	* lwlib-Xaw.c:
	Replace SMART_INCLUDE with a dumber, but more reliable method.

	* xlwmenu.c (parameterize_string): Fix C++ compilation warnings.

2000-06-10  Ben Wing  <ben@xemacs.org>

	* lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
	(xaw_update_one_value): fix crash due to incorrect arg count.

2000-05-28  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.34 is released.

2000-05-01  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.33 is released.

2000-04-19  Martin Buchholz  <martin@xemacs.org>

	* lwlib.c (lw_destroy_everything): Always use full ANSI prototypes.
	* lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes.

2000-04-12  Andy Piper  <andy@xemacs.org>

	* lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets.
	(xaw_update_one_value): Get strings safely.
	(xaw_create_text_field): add some extra properties.

2000-04-05  Andy Piper  <andy@xemacs.org>

	* lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as
	an athena widget.

2000-04-05  Andy Piper  <andy@xemacs.org>

	* xlwradio.c (RadioSetValues): resize if position information has
	changed.

	* lwlib-Xm.c (xm_create_text_field): text fields should be enabled
	even if there is no callback.
	* lwlib-Xaw.c (xaw_create_text_field): ditto.

2000-04-03  Andy Piper  <andy@xemacs.org>

	* lwlib.c (merge_widget_value_args): only merge when the two args
	are actually different.

2000-03-21  Didier Verna  <didier@xemacs.org>

	* config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to
	src/config.h.in.
	* config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro.

2000-03-20  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.32 is released.

2000-03-14  Ben Wing  <ben@xemacs.org>

	* xlwmenu.c (massage_resource_name): Handle %_ and %%.

2000-02-20  Gunnar Evermann  <ge204@eng.cam.ac.uk>

	* xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP
	even if we are only 'compatible' with the Motif resources.
	(XmUNSPECIFIED_PIXMAP): Define unconditionally.

2000-02-23  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.31 is released.

2000-02-22  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_one_widget): set widget args last in case
	anything messes with them in the meantime.
	* lwlib-Xlw.c (xlw_update_one_widget): ditto.
	* lwlib-Xaw.c (xaw_update_one_widget): ditto.

2000-02-21  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.30 is released.

2000-02-21  Andy Piper  <andy@xemacs.org>

	* lwlib.c (merge_widget_value_args): don't delete the args before
	copying, lw_copy_widget_value_args will do this for us if
	necessary.
	(lw_add_widget_value_arg): Allow existing args to be replaced.
	(free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
	reference couting works better that way.
	(lw_copy_widget_value_args): Do the right thing.

	* lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
	much better.
	* lwlib-Xaw.c (xaw_create_progress): ditto.

2000-02-12  Jan Vroonhof  <vroonhof@math.ethz.ch>

	* xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
	compatible resource names.

	* xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
	even if we are only 'compatible' with the Motif resources.

2000-02-15  Andy Piper  <andy@xemacs.org>

	* xlwgauge.c (GaugeExpose): remove shadows.

2000-02-16  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.29 is released.

2000-02-09  Valdis Kletnieks  <Valdis.Kletnieks@vt.edu>

	* config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
	old gccs.

2000-02-07  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.28 is released.

2000-01-25  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
	widget as well.

2000-01-28  Martin Buchholz  <martin@xemacs.org>

	* xlwgauge.c (GaugeConvert): bcopy ==> memcpy

2000-01-24  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
	stacking order.
	(XawTabsSetHighlight): Don't unhighlight here.

2000-01-22  Martin Buchholz  <martin@xemacs.org>

	* *.h: Use consistent C-standards-approved guard macro names.

2000-01-18  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.27 is released.

2000-01-15  Andy Piper  <andy@xemacs.org>

	* lwlib-Xlw.c (lw_update_one_widget): make sure global
	properties gets set.

2000-01-07  Martin Buchholz  <martin@xemacs.org>

	* config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
	This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)

	* lwlib.c: Fix up memset calls.

	* lwlib-Xm.c (xm_update_text): Warning suppression.
	(xm_update_text_field): Warning suppression.

2000-01-03  Martin Buchholz  <martin@xemacs.org>

	* lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
	(yes-or-no-p-dialog-box "Yes or No")

1999-12-31  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.26 is released.

1999-12-29  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsHighlight): use displayChildren for highlighting
	not num_children.
	(TabsPage): ditto.

1999-12-24  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.25 is released.

1999-12-23  Andy Piper  <andy@xemacs.org>

	* lwlib.c (lw_copy_widget_value_args): don't create empty
	widget_args just because someone might use them later. This makes
	all widgets look like they've changed.

1999-12-22  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: Fix for X11R5 from Damon Lipparelli
	<lipp@primus.com>.

1999-12-21  Martin Buchholz  <martin@xemacs.org>

	* xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)

1999-12-12  Daniel Pittman  <daniel@danann.net>

	* lwlib-Xaw.c:
	* xlwcheckbox.c:
	* xlwgauge.h:
	* xlwgaugeP.h:
	* xlwradio.c:
	* xlwradio.h:
	* xlwradioP.h:
	Clean up Athena widget support:
	- Athena headers now use dynamic include paths.

1999-12-08  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: sync with Tabs 2.2.
	* xlwtabP.h: ditto.

1999-12-14  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.24 is released.

1999-12-14  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsResize): reset need_layout so that we don't go
	into infloop death.

1999-12-14  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.

1999-12-13  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsResize): We need to expose the tabs after
	clearing the window they are in.

1999-12-08  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: sync with Tabs 2.1.

1999-12-07  Andy Piper  <andy@xemacs.org>

	* lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
	clip-window as well.

1999-12-07  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.23 is released.

1999-12-05  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: back up to previous rev to make syncing easier. Fix
	gcc moans.

	* lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.

1999-11-29  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.22 is released

1999-11-28  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.21 is released.

1999-11-26  Martin Buchholz  <martin@xemacs.org>

	* xlwtabs.c: Remove unused variables.  Fix warnings.

1999-11-10  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.20 is released

1999-09-09  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: updated tabs widget from Ed Falk.
	* xlwtabs.h: ditto.
	* xlwtabsP.h: ditto.

1999-09-22  Martin Buchholz  <martin@xemacs.org>

	* lwlib-internal.h:
	* lwlib-utils.h:
	Move declaration of destroy_all_children from lwlib-internal.h to
	lwlib-utils.h, where it belongs.

1999-09-21  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
 	with text.

1999-09-22  Martin Buchholz  <martin@xemacs.org>

	* xlwtabs.c: Fix C++ compilability.

1999-09-18  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: Put in tabs sync because clipping should fix useability
 	problems.

1999-09-13  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: Back out tabs sync because of reported useability
 	problems.

1999-09-09  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: updated tabs widget from Ed Falk.
	* xlwtabs.h: ditto.
	* xlwtabsP.h: ditto.
	* xlwgcs.c: ditto.
	* xlwgcs.h: ditto.

1999-09-03  Martin Buchholz  <martin@xemacs.org>

	* xlwgauge.c: Ansify.
	Include <stdlib.h> to get prototype for atoi().
	(GaugeSelect): Call GaugeExpose with the right number of args.
	(GaugeLoseSel): Call GaugeExpose with the right number of args.
	(GaugeConvert): This is a XtConvertSelectionProc,
	so 5th parameter must be of type XtPointer, not XPointer.
	(GaugeGetValue): This is a XtTimerCallbackProc,
	so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.


1999-09-01  Martin Buchholz  <martin@xemacs.org>

	* lwlib.c (free_widget_value_contents): Use proper type for cast.

	* xlwradio.c: Use function prototypes everywhere.
	* xlwcheckbox.c:
	* xlwradio.c:
	* xlwradioP.h: Move declarations of non-static functions defined
	in xlwradio.c into xlwradioP.h.

1999-09-02  Andy Piper  <andy@xemacs.org>

	* xlwgcs.c: include xmu.h

1999-09-01  Andy Piper  <andy@xemacs.org>

	* xlwgauge.c: rearrange headers yet again.
	* xlwcheckbox.c: ditto.
	* xlwradio.c: ditto.
	* xlwtabs.c: ditto.

1999-09-01  Andy Piper  <andy@xemacs.org>

	* xlwgauge.c: use xmu.h
	* xlwcheckbox.c: ditto.
	* xlwradio.c: ditto.

1999-08-31  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c:
	* xlwgcs.c:
	* xlwradio.c:
	* xlwcheckbox.c:
	* xlwgauge.c: Fix for losing systems without Xmu.

1999-08-31  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.

1999-08-30  Andy Piper  <andy@xemacs.org>

	* lwlib.c (free_widget_value_contents): be more precise about
 	freeing user defined args.

	* lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
 	its contents for hierarchies one deep.

1999-08-29  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: temporary fixes pending a new release.
	* xlwtabsP.h: ditto.

	* lwlib-Xm.c (xm_update_one_widget): update user defined args.
	(xm_create_label): set args after creation as well as before.

	* lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
	(xlw_update_tab_control): actually update the children rather than
 	the parent.

	* lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
	(xaw_create_label): set args after creation as well as before.

1999-08-23  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_label): don't concatenate value to itself.

	* lwlib-Xm.c (xm_create_label_field): new function for creating labels.
	(xm_creation_table): use it.

	* lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
	(xaw_creation_table): use it.

1999-08-16  Andy Piper  <andy@xemacs.org>

	* lwlib.h: declare free_widget_value_tree.

	* lwlib.c (free_widget_value_tree): make non-static.

	* lwlib-Xm.c (xm_update_label): free val_string when updating.

1999-08-04  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
 	defined for widgets.
	(xm_nosel_callback): ditto.

	* xlwtabsP.h: sync with 1.5.

	* xlwtabs.c: sync with 1.18.

1999-07-28  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: new lucid tabs widget from Ed Falk.
	* xlwtabs.h: ditto.
	* xlwtabsP.h: ditto.
	* xlwgcs.c: GC manipulation for tab widgets.
	* xlwgcs.h: ditto.

	* xlwgauge.c: new athena gauge widget from Ed Falk.
	* xlwgauge.h: ditto.
	* xlwgaugeP.h: ditto.

	* xlwradio.c: new athena radio widget from Ed Falk.
	* xlwradio.h: ditto.
	* xlwradioP.h: ditto.

	* xlwcheckbox.c: new athena checkbox widget from Ed Falk.
	* xlwcheckbox.h: ditto.
	* xlwcheckboxP.h: ditto.

	* lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.

	* lwlib-internal.h: declare destroy_all_children.

	* lwlib-config.c: add widget checks.

	* lwlib-Xm.h: declare xm_create_label;

	* lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
	(xm_update_label): enable for widgets.
	(xm_update_one_widget): ditto.
	(xm_create_button): rename in line with lwlib-Xaw.c
	(xm_create_progress): ditto.
	(xm_create_text_field): ditto.
	(xm_create_combo_box): ditto.
	(xm_create_label): new function.
	(xm_creation_table): rename widget creation functions.
	(xm_destroy_instance): enable for widgets.
	(xm_generic_callback): ditto.
	(xm_generic_callback): ditto.

	* lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
 	callback that calls the correct function depending on what tab is
 	selected.
	(xlw_create_tab_control): new function.
	(build_tabs_in_widget): new function. puts tabs in a tab widget,
 	uses Xaw or Xm depending on how XEmacs was compiled.
	(xlw_update_tab_control): update the resources for each
 	tab. optionally rebuild the contents of the tab widget.
	(xlw_creation_table): add tab widget creation function.
	(lw_lucid_widget_p): add tab widget.
	(xlw_update_one_widget): ditto.

	* lwlib-Xaw.h: declare xaw_create_label;

	* lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
	(xaw_update_one_widget): ditto.
	(xaw_update_one_value): add code from the Xm version.
	(xaw_generic_callback): add Xm hack for setting command
 	states. beef up lookup of call data.
	(xaw_create_button): new function.
	(xaw_create_label): new function for use by tab widget.
	(xaw_create_progress): new function.
	(xaw_create_text_field): new function.
	(xaw_creation_table): add new widget type creation functions.

	* Makefile.in.in: add dependencies for new lw widgets.

1999-07-30  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.19 is released

1999-07-13  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.18 is released

1999-07-05  Didier Verna  <didier@xemacs.org>

	* lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
	call to xm_update_label.

1999-06-28  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c: unconditionally enable text field & list code.
	(make_progress): new function. creates a slider.
	(make_text_field): new function. creates an edit field.
	(make_combo_box): new function. creates a combo box.
	(xm_creation_table): add new widget functions.

1999-06-25  Andy Piper  <andy@xemacs.org>

	* lwlib.h (_widget_value): add arglist slots.
	declare new functions.

	* lwlib.c (free_widget_value_contents): handle arglists when
 	freeing.
	(lw_add_value_args_to_args): new function. add arglist entries
 	from a widget_value structure.

	* lwlib-Xm.c (make_button): new function, create a motif button
 	for display in a buffer as a glyph.
	(xm_creation_table): add make_button.

1999-06-22  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.17 is released

1999-06-11  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.16 is released

1999-06-04  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.15 is released

1999-05-17  Jerry James  <jerry@cs.ucsb.edu>

	* xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
	using it.

1999-05-14  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.14 is released

1999-03-12  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.13 is released

1999-03-05  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.12 is released

1999-02-18  Martin Buchholz  <martin@xemacs.org>

	* lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
	- Have to toupper ((int) (unsigned char) x) to be portable.