(xm_update_radiobox, update_one_menu_entry)
[bpt/emacs.git] / lwlib / ChangeLog
index 9a0a9d1..dfb0729 100644 (file)
@@ -1,3 +1,128 @@
+2000-12-14  Dave Love  <fx@gnu.org>
+
+       * xlwmenu.c (gray_bitmap_bits): Remove `unsigned' from
+       declaration.
+
+2000-12-11  Dave Love  <fx@gnu.org>
+
+       * xlwmenu.c (draw_separator) <SEPARATOR_SHADOW_ETCHED_IN_DASH>:
+       <SEPARATOR_SHADOW_ETCHED_OUT_DASH>: Fix call of draw_separator.
+
+2000-12-07  Gerd Moellmann  <gerd@gnu.org>
+
+       * lwlib-Xm.c (xm_arm_callback): Fix last change.
+
+2000-11-30  Gerd Moellmann  <gerd@gnu.org>
+
+       * lwlib-Xm.c (xm_arm_callback): Handle case that W is null;
+       also see comment there.
+
+2000-11-21  Gerd Moellmann  <gerd@gnu.org>
+
+       * xlwmenu.c (xlwmenu_redisplay): New function.
+
+2000-09-30  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * lwlib.c (lw_separator_p): Init separator_p (bug with "-- some text").
+
+2000-09-28  Sam Steingold  <sds@gnu.org>
+
+       * xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
+       to avoid redefining struct timeval and struct timezone.
+
+2000-09-04  Miles Bader  <miles@gnu.org>
+
+       * xlwmenu.c (XlwMenuSetValues): Only frob the display if the menu
+       is actually displayed.
+       (remap_menubar): Only include the menu-margin in the initial X & Y
+       positions for horizontal menu-bars.
+       (fit_to_screen): If moving a sub-menu to the left-side, increment
+       its x-position by the shadow-thickness to make it look more
+       attached to the invoking menu-item (similarly to the way it would
+       be displayed on the right side).
+
+2000-09-03  Miles Bader  <miles@gnu.org>
+
+       * xlwmenu.c (x_alloc_lighter_color_for_widget): New extern declaration.
+       (make_shadow_gcs) [emacs]: Use x_alloc_lighter_color_for_widget to
+       do shadow calculation.
+       (make_shadow_gcs): Remove code that tests whether the top shadow
+       is dimmer than the bottom shadow--it shouldn't ever happen.
+
+2000-08-30  Miles Bader  <miles@gnu.org>
+
+       * xlwmenu.c (XlwMenuSetValues): If the background color has
+       changed, re-make the shadow-gcs too.
+
+2000-08-03  Gerd Moellmann  <gerd@gnu.org>
+
+       * lwlib.c, lwlib-Xm.c, lwlib-Xaw.c: Use NULL at the end of the
+       variable argument lists of XtVaSetValues and XtVaGetValues
+       functions because 0 is not sufficient on systems where sizeof
+       (int) < sizeof (void *).
+
+2000-07-19  Gerd Moellmann  <gerd@gnu.org>
+
+       * xlwmenu.c [emacs]: Don't include <X11/bitmaps/gray> because that
+       leads to redefinition errors when static is defined as empty in
+       config.h.  Refer to the gray bitmap in xfns.c, instead.
+
+2000-07-18  Dave Love  <fx@gnu.org>
+
+       * lwlib-utils.c (XtApplyToWidgets): Cast args of lwlib_bcopy.
+
+2000-06-23  Dave Love  <fx@gnu.org>
+
+       * lwlib-Xlw.c (xlw_popup_menu): Cast arg of pop_up_menu.
+
+       * lwlib-utils.c: Include lwlib.h.
+
+2000-06-16  Gerd Moellmann  <gerd@gnu.org>
+
+       * xlwmenuP.h (_XlwMenu_part): Add free_top_shadow_color_p and
+       free_bottom_shadow_color_p.
+
+       * xlwmenu.c (make_shadow_gcs): Set free_top_shadow_color_p
+       and free_top_shadow_color_p flags in the menu widget if
+       top and bottom shadow colors must be freed.
+       (release_shadow_gcs): Free colors only if they must be freed.
+
+2000-06-12  Gerd Moellmann  <gerd@gnu.org>
+
+       * xlwmenu.c (make_shadow_gcs): Free and copy colors so that
+       color reference counts are right.
+       (release_shadow_gcs): Free colors.
+
+2000-06-06  Dave Love  <fx@gnu.org>
+
+       * xlwmenu.c (x_alloc_nearest_color_for_widget, x_catch_errors)
+       (x_uncatch_errors, x_had_errors_p, x_clear_errors): Add prototypes
+       -- should be moved into separate header.
+       (make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first
+       arg.
+       (Start) <pop_up_menu>: Cast second arg.
+
+       * lwlib.c (P_): Use PROTOTYPES.
+       (safe_strdup): Declare arg const.
+       (lw_modify_all_widgets) <!info>: Return 0.
+
+       * lwlib-Xm.c (P_): Use PROTOTYPES.
+
+       * xlwmenu.h, lwlib.h, lwlib-utils.h, lwlib-int.h, lwlib-Xm.h:
+       * lwlib-Xlw.h, lwlib-Xaw.h: Enable prototypes.
+
+       * lwlib-Xaw.c (xaw_popup_menu): Add EVENT arg.
+
+       * Makefile.in (lwlib.o): Depend on lwlib-Xlw.h.
+       (lwlib-Xlw.o): Depend on lwlib-Xlw.h.
+       (lwlib-Xaw.o): Depend on lwlib-Xaw.h.
+       (lwlib-Xm.o): Depend on lwlib-Xm.h.
+
+2000-03-12  Gerd Moellmann  <gerd@gnu.org>
+
+       * lwlib-Xm.c (make_menubar) [LESSTIF_VERSION]: Don't set
+       XmNresizeHeight and XmNresizeWidth.
+
 2000-03-08  Dave Love  <fx@gnu.org>
 
        * Makefile.in (liblw.a): Don't bother testing for ranlib failing
        * xlwmenuP.h (_XlwMenu_part): Add `highlight' callback list.
 
 1999-10-19  Paul Eggert  <eggert@twinsun.com>
-       
+
        Add support for large files, plus some locale improvements.
 
        * dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c,
 
        * lwlib-Xm.c, lwlib.c:
        Do not include <stdlib.h> or <string.h>, as <config.h> does this.
-       
+
 1999-10-07  Gerd Moellmann  <gerd@gnu.org>
 
        * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use
 
 1999-09-10  Gerd Moellmann  <gerd@gnu.org>
 
-       * lwlib.c (lw_separator_p): Add `--:space' with the same 
+       * lwlib.c (lw_separator_p): Add `--:space' with the same
        meaning as `--:noLine'.
 
 1999-09-06  Gerd Moellmann  <gerd@gnu.org>
 
 1999-07-12  Gerd Moellmann  <gerd@gnu.org>
 
-       * xlwmenu.c (xlwMenuResources): Change previously unused 
+       * xlwmenu.c (xlwMenuResources): Change previously unused
        XtNmargin to 4.
        (size_menu): Take margin into account.
        (display_menu_item): Ditto.
        (remap_menubar): Ditto.
        (draw_arrow): Draw it 3D.
 
+After the release of 20.4, development was split into two separate
+code lines.  One line contained the code for Emacs 21, and the other
+one the code for the 20.x releases after 20.4.  The following change
+log entries up to the entry ``20.4 released'' are for the 20.x code
+line.  Change logs above this notice are those for the 21.x code line.
+
+2000-06-13  Gerd Moellmann  <gerd@gnu.org>
+
+       * Version 20.7 released.
+
+2000-02-26  Gerd Moellmann  <gerd@gnu.org>
+
+       * Version 20.6 released.
+
+1999-12-04  Gerd Moellmann  <gerd@gnu.org>
+
+       * Version 20.5 released.
+
 1999-07-12  Richard Stallman  <rms@gnu.org>
 
        * Version 20.4 released.
 1998-07-30  Paul Eggert  <eggert@twinsun.com>
 
        * lwlib/Makefile.in (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
-       (lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o): 
+       (lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o):
        Add dependencies to corresponding .c files. for Solaris 2.x VPATH make.
 
 1998-04-06  Andreas Schwab  <schwab@gnu.org>
        * lwlib-Xm.c (update_one_menu_entry): Fix previous change:
        When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget,
        just modify the existing one.
-       
+
 1996-08-09  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
 
        * lwlib.c (merge_widget_value): Undo previous change.
-       
+
        * lwlib-Xm.c (update_one_menu_entry): When creating a pulldown
        in an existing but empty menu item, in order to get a new functional
        pulldown, the menu item must be switched from an XmPushButtonGadget
 
        * Makefile.in (ALL_CFLAGS): Define HAVE_CONFIG_H.
        Add -I${srcdir}/../src.
-       
+
 1995-04-08  Paul Reilly  <pmr@geech.gnu.ai.mit.edu>
 
        * lwlib-Xm.c: Remove function prototypes.
 
 1994-04-01  Frederic Pierresteguy  (fp@hal.gnu.ai.mit.edu)
 
-       * lwlib-Xaw.c (make_dialog): Don't allow any geometry request from the 
+       * lwlib-Xaw.c (make_dialog): Don't allow any geometry request from the
        user.
 
 1994-03-22  Frederic Pierresteguy  (fp@mole.gnu.ai.mit.edu)
 
-       * xlwmenu.c (XlwMenuResize): Don't allow the popup menu to resize 
+       * xlwmenu.c (XlwMenuResize): Don't allow the popup menu to resize
        itself. Therefore reset the size to its initial value.
 
 1994-03-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
 
 1994-02-17  Frederic Pierresteguy  (fp@mole.gnu.ai.mit.edu)
 
-       * lwlib-Xlw.c (xlw_create_popup_menu): Pass tem to 
+       * lwlib-Xlw.c (xlw_create_popup_menu): Pass tem to
        XtVaCreateManagedWidget, not instance->info->val.
        (xlw_create_menubar): Likewise.
 
 1994-02-04  Frederic Pierresteguy  (fp@mole.gnu.ai.mit.edu)
 
        * xlwmenu.c (display_menu_item): When dealing with the menubar,
-       always call XDrawRectangle to clear the selection after popping down 
+       always call XDrawRectangle to clear the selection after popping down
        the pulldown menu.
 
 1994-02-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
 
        * lwlib-int.h: Renamed from lwlib-internal.h.
 
-       
 
+
+;; Local Variables:
+;; coding: iso-2022-7bit-unix
+;; End: