-2003-04-30 Lute Kamstra <Lute.Kamstra@cwi.nl>
+2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * lwlib.c: Remove references to obsolete variables.
+
+2008-06-02 Jim Meyering <meyering@redhat.com>
+
+ remove useless if-before-free tests
+ * lwlib-Xm.c (xm_update_one_value): Likewise.
+ * lwlib.c (safe_free_str, free_widget_value_tree): Likewise.
+
+2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * Makefile.in (TOOLKIT_DEFINES): Remove.
+
+2007-08-29 Károly Lőrentey <lorentey@elte.hu>
+
+ * xlwmenu.c (XlwMenuRealize): Ignore X errors while setting up
+ cursor shape.
+
+2007-07-25 Glenn Morris <rgm@gnu.org>
+
+ * Relicense all FSF files to GPLv3 or later.
+
+ * COPYING: Switch to GPLv3.
+
+2007-06-13 Chong Yidong <cyd@stupidchicken.com>
+
+ * lwlib-Xaw.c, lwlib.c: Link to xaw3d if available.
+
+2007-06-02 Chong Yidong <cyd@stupidchicken.com>
+
+ * Version 22.1 released.
+
+2007-02-28 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (distclean): Delete Makefile.
+ (maintainer-clean): Delete TAGS.
+
+2007-01-01 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xlwmenu.c (xlwMenuResources): Add XtNleaveCallback, XtNenterCallback.
+ (display_menu, map_event_to_widget_value): Generate enter and
+ leave callbacks.
+ (pop_up_menu): Initialize mw->menu.inside_entry.
+
+ * xlwmenu.h (XtNleaveCallback, XtNenterCallback): New strings.
+
+ * xlwmenuP.h (_XlwMenu_part): Add enter/leave callbacks and
+ inside_entry.
+
+ * lwlib-Xlw.c (enter_hook, leave_hook): New functions.
+ (xlw_create_menubar, xlw_create_popup_menu): Connect XtNenter/leave
+ to enter/leave_hook.
+
+2006-10-30 Chong Yidong <cyd@stupidchicken.com>
+
+ * Makefile.in (lwlib-utils.o): Use CPPFLAGS.
+
+2006-09-15 Jay Belanger <belanger@truman.edu>
+
+ * COPYING: Replace "Library Public License" by "Lesser Public
+ License" throughout.
+
+2006-05-23 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xlwmenu.c: Include xterm.h if emacs instead of declaring functions
+ used.
+ (string_width): Declare as static.
+ (Start, pop_up_menu): Set is_hint to 0 before calling
+ handle_motion_event.
+ (pop_up_menu): Return value and parameters for x_catch_errors and
+ x_uncatch_errors changed.
+
+2005-09-27 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * xlwmenu.c (find_next_selectable, find_prev_selectable):
+ Add missing parameter declarations.
+
+2005-09-24 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * xlwmenu.c: Fix the return type for x_clear_errors and
+ x_uncatch_errors.
+
+2005-07-19 Jan Djärv <jan.h.d@swipnet.se>
+
+ * lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for
+ labels in menu bar.
+
+2005-07-04 Lute Kamstra <lute@gnu.org>
+
+ Update FSF's address in GPL notices.
+
+2005-04-01 Jan Djärv <jan.h.d@swipnet.se>
+
+ Reenable support for I18N to Lucid menus.
+
+ * xlwmenuP.h (_XlwMenu_part): Add fontSet resource.
+
+ * xlwmenu.c (string_width):
+ (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Ditto.
+ (display_menu_item, make_drawing_gcs, XlwMenuInitialize)
+ (XlwMenuSetValues): Use font if fontSet is NULL, use only
+ font for !HAVE_X_I18N.
+ (xlwMenuResources): Add fontSet resource.
+
+2005-03-22 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8
+ on XFree86 is investigated.
+
+ * xlwmenu.c: Ditto.
+
+2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ Add support for I18N to Lucid menus.
+
+ * xlwmenuP.h (struct _XlwMenu_part) [HAVE_X_I18N]: Change `font' to be
+ a fontset. Add a `font_extents' element.
+
+ * xlwmenu.c (xlwMenuResources) [HAVE_X_I18N]: Use a fontset for the
+ `font' resource.
+ (string_width) [HAVE_X_I18N]: Use XmbTextExtents;
+ (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): New macros.
+ (arrow_width, toggle_button_width, size_menu_item, draw_arrow)
+ (draw_toggle, draw_radio, display_menu_item): Use them.
+ (display_menu_item) [HAVE_X_I18N]: Use XmbDrawString.
+ (make_drawing_gcs) [HAVE_X_I18N]: Don't mess with fonts.
+ (XlwMenuInitialize) [HAVE_X_I18N]: Initialize font_extents.
+ (XlwMenuSetValues) [HAVE_X_I18N]: Refresh font_extents if font changes.
+
+ * lwlib-Xm.c (xm_update_label, xm_update_list): Use the recommended
+ XmStringCreateLocalized function. Add missing copyright.
+
+ * lwlib-Xm.h: Add missing copyright and license notice.
+
+2005-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * xlwmenuP.h:
+ * xlwmenu.h: Add missing copyright and license notice.
+
+2004-12-27 Jan Djärv <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ärv <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ärv <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ärv <jan.h.d@swipnet.se>
+
+ * lwlib.h (_widget_value): Add lname and lkey.
+
+2004-01-12 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xlwmenuP.h (_XlwMenu_part): Add 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>
+2003-01-26 Jan Djärv <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-11-20 Dave Love <fx@gnu.org>
* lwlib.c: Remove obsolete USE_OLIT code.
- [PROTOTYPES]: Provide ISO C arglists for functions with Boolean
- args.
+ [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.
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>
+2002-05-06 Pavel Janík <Pavel@Janik.cz>
* xlwmenu.c (xlwMenuResources): New resource.
(find_next_selectable): Return current item when the menu is not
* 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>
+2002-04-29 Pavel Janík <Pavel@Janik.cz>
* xlwmenu.c <XtNmargin, XtNverticalSpacing, XmNshadowThickness>:
Change default values.
-2002-04-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+2002-04-28 Jan Djärv <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>
+2002-04-28 Pavel Janík <Pavel@Janik.cz>
* Makefile.in: Remove OpenLook file dependencies.
(xrdb-cpp.o): Remove target.
* lwlib.c (instantiate_widget_instance): Remove duplicated prototype.
-2002-04-25 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+2002-04-25 Pavel Janík <Pavel@Janik.cz>
* lwlib-Xol.c, lwlib-Xol.h, lwlib-Xolmb.c, lwlib-Xolmb.h
* lwlib-XolmbP.h: Remove file.
-2002-04-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+2002-04-22 Jan Djärv <jan.h.d@swipnet.se>
* lwlib-Xm.c: Removed compiler warning.
(pop_up_menu): Add call to XtGrabKeyboard.
(ungrab_all): New function.
-2002-04-20 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+2002-04-20 Pavel Janík <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>
+2002-04-19 Pavel Janík <Pavel@Janik.cz>
These changes allow moving in menu via keyboard.
* lwlib.c (P_): Don't define if already defined.
-2002-01-27 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+2002-01-27 Pavel Janík <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>
+2002-01-09 Pavel Janík <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>
+2001-12-18 Pavel Janík <Pavel@Janik.cz>
* lwlib.c (separator_names): Add missing braces around initializers.
-2001-12-08 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+2001-12-08 Pavel Janík <Pavel@Janik.cz>
* COPYING: New file.
* lwlib-Xm.c (make_menu_in_widget): Add an XmNpopdownCallback
instead of an XmNunmapCallback.
- (xm_unmap_callback): Removed.
+ (xm_unmap_callback): Remove.
* lwlib-Xm.c (make_menubar): Take out code in #if 0.
Add support for large files, plus some locale improvements.
* dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c,
- xrdb-cpp.c, xrdb.c:
+ * xrdb-cpp.c, xrdb.c:
Include <config.h> before any system include files.
* lwlib-Xm.c, lwlib.c:
1999-07-12 Gerd Moellmann <gerd@gnu.org>
- * xlwmenu.c (make_shadow_gcs) ]emacs]: Use x_alloc_nearest_color.
+ * xlwmenu.c (make_shadow_gcs) [emacs]: Use x_alloc_nearest_color.
* lwlib.c (merge_widget_value): Handle button_type.
(copy_widget_value_tree): Copy button_type.
* lwlib-Xm.c: Remove function prototypes.
(xm_pop_down_callback): Call the deactivation callback only when
- popping down the top level submenu.
+ popping down the top level submenu.
1995-04-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1994-11-08 Paul Reilly <pmr@duality.gnu.ai.mit.edu>
- * lwlib-Xm.c (make_menu_in_widget): Differentiate a separator
+ * lwlib-Xm.c (make_menu_in_widget): Differentiate a separator
entry ("--") from a title.
(xm_pop_down_callback): Filter all but the last pop down callbacks.
* lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing.
- * lwlib-Xm.c: (make_menu_in_widget): Add support for displaying a
+ * lwlib-Xm.c (make_menu_in_widget): Add support for displaying a
title in pop up menus.
(make_main, xm_set_main_areas, xm_manage_resizing): New functions to
create and manage a Motif Main Window widget.
;; Local Variables:
-;; coding: iso-2022-7bit-unix
+;; coding: utf-8
+;; add-log-time-zone-rule: t
;; 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.
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
+ 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+
+ This file is part of GNU Emacs.
+
+ GNU Emacs is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ GNU Emacs is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; arch-tag: 0cd8ab87-d764-40d9-b86d-d00c71887a9e