]> code.delx.au - gnu-emacs/blobdiff - lwlib/ChangeLog
* xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
[gnu-emacs] / lwlib / ChangeLog
index 754552fa5cd93fe300d892f667506f5e69f4e5a0..487c842f6f232efb0ca3a54be0efae94b6aafce2 100644 (file)
@@ -1,9 +1,126 @@
+2004-12-27  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
+       action procedure for compatibility with Lesstif/Motif.
+
+       * Makefile.in (mostlyclean): Don't remove *~ on clean.
+
+2004-12-26  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only
+       pops down on Escape, not any keypress.
+
+2004-11-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xlwmenu.c (find_first_selectable, find_next_selectable)
+       (find_prev_selectable): Rename parameter skip_no_call_data to
+       skip_titles.  Recognize titles as having no call_data and no contents.
+       (Down, Up): Comment update.
+
+2004-08-30  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * lwlib.h (_widget_value): Added lname and lkey.
+
+2004-01-12  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xlwmenuP.h (_XlwMenu_part): Added top_depth.
+
+       * xlwmenu.h: Removed declaration of pop_up_menu
+
+       * xlwmenu.c (Start): Get correct time if time in event is CurrentTime.
+       (find_first_selectable, find_next_selectable)
+       (find_prev_selectable): Add parameter skip_no_call_data to skip
+       over items with no call data (popup menu titles).
+       (Down, Up): Compare old_depth to top_depth instead of 2.
+       Pass True to find_*_selectable:s new parameter if this is a popup menu.
+       (Left, Right): Compare old_depth to top_depth instead of 2.
+       Pass 0 to find_*_selectable:s new parameter.
+       (pop_up_menu): Set top_depth to 1 for pop up menus and 2 for
+       menu bar menus, to enable keyboard traversal of popups.
+
+       * lwlib-Xm.c (dialog_key_cb): New function.
+       (make_dialog): Add event handlers to dialog_key_cb for key press
+       so we can pop down on ESC.
+
+       * lwlib-Xlw.c (xlw_popup_menu): Replace call to pop_up_menu with
+       XtCallActionProc ("start").  Use a full XEvent since "start" copies it.
+
+       * lwlib-Xaw.c (make_dialog): Add override so dialog pops down
+       on ESC.
+       (wm_delete_window): If widget isn't a shell, use the parent.
+
+2003-05-22  Dave Love  <fx@gnu.org>
+
+       * xlwmenu.c: Include lisp.h, not ../src/lisp.h.
+       (make_drawing_gcs): Remove unused `xswa', `mask'.
+
+       * lwlib-Xlw.c: Include lisp.h, not ../src/lisp.h.
+       (lw_lucid_widget_p): Remove unused `mw'.
+       (xlw_update_one_widget, xlw_pop_instance) [PROTOTYPES]: Provide
+       ISO C arglists.
+
+2003-04-30  Lute Kamstra  <lute@gnu.org>
+
+       * Makefile.in: Make things function properly in case both LessTif
+       and Open Motif are installed.
+
+2003-01-26  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * lwlib-Xm.c (update_one_menu_entry): Deallocate widget_list.
+       (destroy_all_children): Call it self to destroy sub menu children.
+
+2002-12-22  Richard M. Stallman  <rms@gnu.org>
+
+       * xlwmenu.c (pop_new_stack_if_no_contents): Do nothing if
+       new_depth is 1.
+       (remap_menubar): Don't look in new_stack[0].
+       (Left): At level 1, do the same thing Right does.
+
+2002-11-21  Dave Love  <fx@gnu.org>
+
+       * lwlib-Xaw.c [PROTOTYPES]: Provide ISO C arglists for functions
+       with Boolean args.
+
+2002-11-20  Dave Love  <fx@gnu.org>
+
+       * lwlib.c: Remove obsolete USE_OLIT code.
+       [PROTOTYPES]: Provide ISO C arglists for functions with Boolean
+       args.
+       (lwlib_memset): Declare length arg as size_t.
+       (malloc_widget_value): Cast arg of lwlib_memset.
+
+       * xlwmenu.c (separator_height): Prototype.
+
+2002-05-07  Miles Bader  <miles@gnu.org>
+
+       * xlwmenu.c (make_drawing_gcs): The scaling factor passed to
+       `x_alloc_lighter_color_for_widget' is a float, not an int, and
+       it's a multiplicative factor, so the name `delta' is inaccurate.
+       Always base disabled foreground on the normal foreground.
+       Don't use the temporary variable `temp'.
+
+2002-05-06  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xlwmenu.c (xlwMenuResources): New resource.
+       (find_next_selectable): Return current item when the menu is not
+       poped up.
+       Rename `inactive_gc' to `disabled_gc'.
+       Use lighter/darker color for disabled menu items instead of using
+       stipple.  Use stipple only when better color can not be
+       determined automatically.
+
+       * xlwmenu.h (XtNdisabledForeground, XtCDisabledForeground):
+       New resource names.
+
+       * xlwmenuP.h (_XlwMenu_part): Add new member `disabled_foreground'.
+       Rename `inactive_gc' to `disabled_gc'.
+
 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>
+2002-04-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * xlwmenu.c: Do not grab keyboard if installation-directory is
        non-nil (not installed Emacs).  To simplify debugging.
        * 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>
+2002-04-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * lwlib-Xm.c: Removed compiler warning.
 
 
        * xlwmenu.c: Add #include <X11/ObjectP.h> for X11R4.
 
-1994-09-18  Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
+1994-09-18  Fred Pierresteguy  <F.Pierresteguy@frcl.bull.fr>
 
        * lwlib-Xm.c (make_dialog): When there is more than two pushbuttons,
        set XmPACK_TIGHT and XmHORIZONTAL to the rowcolumn.  Also add a
        margin of 10 pixels.
 
-1994-09-16  Paul Reilly <pmr@geech.gnu.ai.mit.edu>
+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.
         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.
+
+;;; arch-tag: 0cd8ab87-d764-40d9-b86d-d00c71887a9e