(XtNdisabledForeground, XtCDisabledForeground): New resource names.
[bpt/emacs.git] / lwlib / ChangeLog
index 8f9fe22..754552f 100644 (file)
@@ -1,7 +1,140 @@
+2002-04-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xlwmenu.c <XtNmargin, XtNverticalSpacing, XmNshadowThickness>:
+       Change default values.
+
+2002-04-28  Jan D.  <jan.h.d@swipnet.se>
+
+       * xlwmenu.c: Do not grab keyboard if installation-directory is
+       non-nil (not installed Emacs).  To simplify debugging.
+
+2002-04-28  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * Makefile.in: Remove OpenLook file dependencies.
+       (xrdb-cpp.o): Remove target.
+       Remove unused defines.
+
+       * xrdb.c, xrdb-cpp.c, Imakefile, dispatch.c, dispatch.h:
+       Remove unused file.
+
+       * lwlib.c (instantiate_widget_instance): Remove duplicated prototype.
+
+2002-04-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * lwlib-Xol.c, lwlib-Xol.h, lwlib-Xolmb.c, lwlib-Xolmb.h
+       * lwlib-XolmbP.h: Remove file.
+
+2002-04-22  Jan D.  <jan.h.d@swipnet.se>
+
+       * lwlib-Xm.c: Removed compiler warning.
+
+       * xlwmenu.c: Add calls to GrabKeyboard to remove strange
+       interactions with window managers that steal keypresses.
+       Call ungrab_all instead of XtUngrabPointer.
+       (pop_up_menu): Add call to XtGrabKeyboard.
+       (ungrab_all): New function.
+
+2002-04-20  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xlwmenu.c (find_next_selectable): New function.
+       (Down, Up, Right): Use it.
+       (find_next_selectable): Prevent endless loops when only one item
+       is enabled in the menu.
+
+2002-04-19  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       These changes allow moving in menu via keyboard.
+
+       * xlwmenu.c (xlwMenuTranslations, xlwMenuActionsList):
+       Add translations for cursor keys and RET.
+       (find_next_selectable, find_prev_selectable): New functions used
+       for finding menu-items.
+       (Down, Up, Left, Right): New functions.
+
+2002-04-19  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * Makefile.in (TAGS): Don't use -t, it's the default behavior for
+       etags, so it barfs if invoked with -t.
+
+2002-03-17  Richard M. Stallman  <rms@gnu.org>
+
+       * lwlib.c (P_): Definitions deleted.
+
+2002-03-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * lwlib.c (P_): Don't define if already defined.
+
+2002-01-27  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * lwlib-Xaw.c (xaw_update_scrollbar, xaw_scrollbar_scroll)
+       (xaw_scrollbar_jump): Put whole functions in #if 0.
+
+2002-01-09  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * lwlib-Xaw.c (xaw_create_dialog): Initialize icon_name to
+       suppress compiler warnings.
+
+2001-12-18  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * lwlib.c (separator_names): Add missing braces around initializers.
+
+2001-12-08  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * COPYING: New file.
+
+2001-12-01  Richard M. Stallman  <rms@gnu.org>
+
+       * lwlib.h (_widget_value): `help' has type Lisp_Object.
+
+       * xlwmenu.c, lwlib-Xaw.c, lwlib-Xlw.c: Include ../src/lisp.h.
+       * lwlib-Xm.c, lwlib-Xol.c, lwlib/lwlib-Xolmb.c: Include ../src/lisp.h.
+       * lwlib/lwlib-utils.c: Include ../src/lisp.h.
+
+       * lwlib.c: Include ../src/lisp.h.  Don't declare xmalloc.
+       (free_widget_value_tree): Don't free `help' field.
+       (copy_widget_value_tree): Copy `help' simply, without safe_strdup.
+       (merge_widget_value): Compare and copy `help' simply.
+
+2001-11-28  Richard M. Stallman  <rms@gnu.org>
+
+       * Makefile.in (TAGS): Find the source files in $(srcdir).
+
+2001-10-20  Gerd Moellmann  <gerd@gnu.org>
+
+       * (Version 21.1 released.)
+
+2001-10-09  Gerd Moellmann  <gerd@gnu.org>
+
+       * lwlib-Xaw.c (xaw_create_scrollbar) [!0]: Return NULL.
+       From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
+
+2001-10-05  Gerd Moellmann  <gerd@gnu.org>
+
+       * Branch for 21.1.
+
+2001-04-30  Gerd Moellmann  <gerd@gnu.org>
+
+       * xlwmenu.c (xlwmenu_window_p): New function.
+
+2001-03-23  Gerd Moellmann  <gerd@gnu.org>
+
+       * lwlib-Xlw.c (x_print_complete_resource_name) [0]: New function.
+
+2001-03-22  Gerd Moellmann  <gerd@gnu.org>
+
+       * lwlib-Xm.c (x_print_complete_resource_name) [0]: New function.
+
 2001-03-13  Gerd Moellmann  <gerd@gnu.org>
 
+       * lwlib-Xm.c (make_menu_in_widget): Remove code forcing LessTif to
+       recompute centered text; it works fine without with current LessTif.
+
+       * lwlib-Xm.c (make_menu_in_widget): Add an XmNpopdownCallback
+       instead of an XmNunmapCallback.
+       (xm_unmap_callback): Removed.
+
        * lwlib-Xm.c (make_menubar): Take out code in #if 0.
-       
+
        * lwlib-Xm.c (xm_popup_menu): Don't set XmNmenuPost unless
        necessary.  From Rick Scott <rwscott@alumni.uwaterloo.ca>.
 
 
        * lwlib-Xm.c (xm_update_radiobox, update_one_menu_entry)
        (xm_update_one_widget): Use XtSetSensitive instead of setting the
-       value of XmNsensitive.  From Rick Scott
-       <rwscott@alumni.uwaterloo.ca>.
+       value of XmNsensitive.  From Rick Scott <rwscott@alumni.uwaterloo.ca>.
 
 2000-12-14  Dave Love  <fx@gnu.org>
 
-       * xlwmenu.c (gray_bitmap_bits): Remove `unsigned' from
-       declaration.
+       * xlwmenu.c (gray_bitmap_bits): Remove `unsigned' from declaration.
 
 2000-12-11  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.
+       (make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first arg.
        (Start) <pop_up_menu>: Cast second arg.
 
        * lwlib.c (P_): Use PROTOTYPES.
        * lwlib.c (copy_widget_value_tree): Copy help string.
        (free_widget_value_tree): Free help string.
        (merge_widget_value): Handle help string.
-       (allocate_widget_info, lw_register_widget, lw_create_widget): Add
-       parameter HIGHLIGHT_CB.
+       (allocate_widget_info, lw_register_widget, lw_create_widget):
+       Add parameter HIGHLIGHT_CB.
        (lw_get_widget_instance): New function.
 
        * lwlib-int.h: Add prototype for lw_get_widget_instance.
 
 1999-10-07  Gerd Moellmann  <gerd@gnu.org>
 
-       * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use
-       widgets instead of gadgets to be able to set colors.
+       * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry):
+       Use widgets instead of gadgets to be able to set colors.
 
 1999-09-17  Richard Stallman  <rms@gnu.org>
 
 
 1999-09-14  Gerd Moellmann  <gerd@gnu.org>
 
-       * lwlib.c (lw_separator_p): Check for new-style separators
-       differently.
+       * lwlib.c (lw_separator_p): Check for new-style separators differently.
 
 1999-09-10  Gerd Moellmann  <gerd@gnu.org>
 
 
 1999-09-03  Gerd Moellmann  <gerd@gnu.org>
 
-       * xlwmenu.c (make_shadow_gcs): Call
-       x_alloc_nearest_color_for_widget.
+       * xlwmenu.c (make_shadow_gcs): Call x_alloc_nearest_color_for_widget.
 
 1999-07-12  Gerd Moellmann  <gerd@gnu.org>
 
        (size_menu_item): Call it.
 
        * lwlib-Xm.c (all_dashes_p): Removed.
-       (make_menu_in_widget): Use lw_separator_p.  Set Motif separator
-       type.
+       (make_menu_in_widget): Use lw_separator_p.  Set Motif separator type.
 
        * lwlib.c (lw_separator_p): New.
 
        (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.
@@ -638,7 +747,7 @@ line.  Change logs above this notice are those for the 21.x code line.
 1995-02-15  Paul Reilly  <pmr@geech.gnu.ai.mit.edu>
 
        * Makefile.in (ALL_CFLAGS): Allow include files to be found in
-        `srcdir'.
+       `srcdir'.
 
 1995-02-07  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>
 
@@ -690,7 +799,7 @@ line.  Change logs above this notice are those for the 21.x code line.
 1994-10-02  Paul Reilly  <pmr@geech.gnu.ai.mit.edu>
 
        * xlwmenu.c (display_menu_item): Add support for displaying the
-        title in pop up menus.
+       title in pop up menus.
 
        * lwlib.c (lw_set_main_areas): Use xm_set_main_areas().
        (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif.
@@ -698,10 +807,10 @@ line.  Change logs above this notice are those for the 21.x code line.
 1994-09-25  Paul Reilly  <pmr@geech.gnu.ai.mit.edu>
 
        * lwlib-Xaw.c (xaw_create_main): New function to support the
-        toolkit independent creation of the main Emacs widget.  *
-        lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set
-        resizing resources to disable showGrip and to enable both
-        resizeToPreferred and allowShellResize.
+       toolkit independent creation of the main Emacs widget.  *
+       lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set
+       resizing resources to disable showGrip and to enable both
+       resizeToPreferred and allowShellResize.
 
        * lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing.
 
@@ -721,13 +830,13 @@ line.  Change logs above this notice are those for the 21.x code line.
 1994-09-16  Paul Reilly <pmr@geech.gnu.ai.mit.edu>
 
        * lwlib-Xm.c (make_main): New function to support toolkit
-        independent creation of the main Emacs widget.
+       independent creation of the main Emacs widget.
        (make_destroyed_instance): Use safe_strdup() instead of strdup().
 
        * lwlib-int.h: Declare safe_strdup.
 
        * lwlib.c (lw_refigure_widget): New function.  Handle geometry
-        management inside lwlib instead of in Emacs.
+       management inside lwlib instead of in Emacs.
        (lw_window_is_in_menubar): New function.  Determine if the pointer
        is in a menubar.
        (lw_set_main_areas): New function.  Set the main window widgets for
@@ -740,8 +849,7 @@ line.  Change logs above this notice are those for the 21.x code line.
        Xt{Na,CA}llowResize.
 
        * xlwmenu.c (Start): Use pop_up_menu() to post the submenus.
-       (Select): Remove the pointer grab when popping down a menubar
-       submenu.
+       (Select): Remove the pointer grab when popping down a menubar submenu.
        (pop_up_menu): Handle popping up submenus from a menubar, i.e. when
        the menu widget parent is not a shell widget.
 
@@ -844,7 +952,7 @@ line.  Change logs above this notice are those for the 21.x code line.
 1994-03-22  Frederic Pierresteguy  (fp@mole.gnu.ai.mit.edu)
 
        * xlwmenu.c (XlwMenuResize): Don't allow the popup menu to resize
-       itself. Therefore reset the size to its initial value.
+       itself.  Therefore reset the size to its initial value.
 
 1994-03-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
 
@@ -983,8 +1091,8 @@ line.  Change logs above this notice are those for the 21.x code line.
        * Makefile (xrdb-cpp.o, lwlib.o): Use $(srcdir) and file name
        instead of $*.
        (dispatch.o, xrdb.o, lwlib-Xm.o): Rules removed; they were
-       superfluous and didn't work when configured outside srcdir.  The
-       implicit .c.o rule works fine.
+       superfluous and didn't work when configured outside srcdir.
+       The implicit .c.o rule works fine.
 
 1994-01-21  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
 
@@ -1005,3 +1113,8 @@ line.  Change logs above this notice are those for the 21.x code line.
 ;; Local Variables:
 ;; coding: iso-2022-7bit-unix
 ;; End:
+
+    Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002
+        Free Software Foundation, Inc.
+  Copying and distribution of this file, with or without modification,
+  are permitted provided the copyright notice and this notice are preserved.