+2013-12-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ Use bool for boolean, focusing on headers.
+ * xlwmenuP.h (XlwMenu_part): Use bool_bf for boolean bit-fields.
+
+2013-11-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lwlib.c (safe_strdup): Prefer tail calls.
+
+2013-11-02 Glenn Morris <rgm@gnu.org>
+
+ Use relative filenames in TAGS files.
+ * Makefile.in (abs_srcdir): Remove it again.
+ (ctagsfiles, TAGS): Use relative filenames.
+
+ * Makefile.in (abs_srcdir): New, set by configure.
+ (ETAGS, ctagsfiles): New variables.
+ (TAGS): Use ETAGS, ctagsfiles. Use absolute filenames again.
+
+2013-10-24 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (abs_top_srcdir): New, set by configure.
+
+2013-09-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ Makefile improvements.
+ * Makefile.in (all): Put this first. Don't use double-colon
+ rules, as they are not portable according to POSIX. Mark as phony.
+
+2013-06-30 Paul Eggert <eggert@cs.ucla.edu>
+
+ Fix minor problems found by static checking.
+ * lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu):
+ * lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance):
+ * lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]:
+ Now const.
+
+2012-10-06 Ulrich Müller <ulm@gentoo.org>
+
+ * Makefile.in (AR, ARFLAGS): Get values from configure.
+
+2012-08-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ Use ASCII tests for character types.
+ * lwlib-Xaw.c, lwlib.c, xlwmenu.c:
+ Don't include <ctype.h>; no longer needed.
+ * lwlib-Xaw.c (openFont):
+ * xlwmenu.c (openXftFont): Test just for ASCII digits.
+
+2012-08-01 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (config_h): Add conf_post.h.
+
+2012-07-31 Dmitry Antipov <dmantipov@yandex.ru>
+
+ Avoid unused variable warning if --with-x-toolkit=motif.
+ * lwlib-Xm.c (make_menu_in_widget): Remove unused variable.
+
+2012-07-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
+ * lwlib.c: Include c-strcase.h.
+ (lwlib_strcasecmp): Remove. All uses replaced with c_strcasecmp.
+
+2012-06-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ Clean out last vestiges of the old HAVE_CONFIG_H stuff.
+ * Makefile.in (ALL_CFLAGS): Remove -DHAVE_CONFIG_H.
+ * lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib-utils.c, lwlib.c:
+ * xlwmenu.c: Include <config.h> unconditionally.
+
+2012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * lwlib.c (my_strcasecmp): Rename to lwlib_strcasecmp, which
+ may be defined to library function strcasecmp if available.
+
+2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
+ * xlwmenu.c (abort_gracefully):
+ Use _Noreturn rather than NO_RETURN.
+ No need for separate decl merely because of _Noreturn.
+
+2012-05-31 Paul Eggert <eggert@cs.ucla.edu>
+
+ Remove obsolete '#define static' cruft.
+ * xlwmenu.c [emacs]: Include "bitmaps/gray.xbm".
+ (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits) [!emacs]:
+ Remove; all uses replaced with definiens.
+
+2012-04-18 Paul Eggert <eggert@cs.ucla.edu>
+
+ configure: new option --enable-gcc-warnings (Bug#11207)
+ * Makefile.in (C_WARNINGS_SWITCH): Remove.
+ (WARN_CFLAGS, WERROR_CFLAGS): New macros.
+ (ALL_CFLAGS): Use new macros rather than old.
+
+2012-04-11 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (C_SWITCH_X_SYSTEM): Remove.
+ (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.
+
+2011-10-13 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * lwlib-Xaw.c (openFont, xaw_destroy_instance): Replace free with
+ xfree to avoid crash when xmalloc overrun checking is enabled.
+ * lwlib-Xm.c (free_destroyed_instance, xm_update_one_value): Ditto.
+ * lwlib-utils.c (XtApplyToWidgets): Ditto.
+ * lwlib.c (safe_free_str, free_widget_value, free_widget_value_tree)
+ (free_widget_info, free_widget_instance, name_to_widget): Ditto.
+ * xlwmenu.c (openXftFont): Ditto.
+
+2011-06-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * Makefile.in (ALL_CFLAGS): Add -I../lib for generated header files
+ in out-of-tree build.
+
+2011-06-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ * Makefile.in (ALL_CFLAGS): Add -I$(srcdir)/../lib.
+ This is needed because lisp.h includes intprops.h now (Bug#8794).
+
+2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ Static checks with GCC 4.6.0 and non-default toolkits.
+
+ * lwlib-Xm.c (make_dialog): Rename local to avoid shadowing.
+ (make_menu_in_widget): Add cast to avoid warning.
+ * lwlib-utils.c (XtCompositeChildren): Likewise.
+
+ * lwlib.c (EXPLAIN, destroy_one_instance): Avoid "else;".
+ (first_child) [USE_MOTIF]: Protoize.
+
+ * lwlib-utils.h, lwlib-utils.c (XtSafelyDestroyWidget): Remove; unused.
+
+ * xlwmenu.c (XlwMenuSetValues): Rename/ move locals to avoid shadowing.
+ (MINL): Define only if not emacs.
+
+2011-03-07 Chong Yidong <cyd@stupidchicken.com>
+
+ * Version 23.3 released.
+
+2011-02-14 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xlwmenu.h: Remove Xt[CN]faceName and Xt[NC]defaultFace.
+
+ * xlwmenuP.h (_XlwMenu_part): Remove faceName. Add fontName.
+
+ * xlwmenu.c (xlwmenu_default_font): Remove, does not work for
+ multi-display.
+ (xlwMenuResources): Remove XtNfaceName and XtNdefaultFace.
+ Make XtNFont a String resource.
+ (make_windows_if_needed): Call XFlush so later changes are seen by the
+ X server.
+ (remap_menubar): Use XtMoveWidget and then
+ XtResizeWidget/XtResizeWindow after XtPopup. Works better with
+ Compiz.
+ (make_drawing_gcs): Check if mw->menu.font is set.
+ (getDefaultXftFont): New function.
+ (openXftFont): faceName is now fontName. Try XLoadQueryFont first
+ and then XftFontOpenName.
+ (XlwMenuInitialize): Initialize mw->menu.font with XLoadQueryFont.
+ (XlwMenuClassInitialize): Remove initialization of
+ xlwmenu_default_font.
+ (fontname_changed): Renamed from facename_changed.
+ (XlwMenuSetValues): Use facename_changed.
+
+ * lwlib-Xaw.c (make_dialog): Use *font even for Xft fonts. Try
+ XLoadQueryFont first and then Xft fonts.
+
+2011-02-13 Glenn Morris <rgm@gnu.org>
+
+ * lwlib-utils.c (index, rindex): Don't undef (neither used in lwlib/,
+ nor set in config.h).
+
+2011-02-11 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (USE_X_TOOLKIT, RM, TOOLKIT_DEFINES): Remove.
+ (ALL_CFLAGS): Remove -I.
+ (config_h, lisp_h, src_h): New variables.
+ (globals_h): Rename from $globals.
+ ($(globals_h)): Check cd exit status.
+ (lwlib.o): Remove special rule.
+ (lwlib-utils.o, lwlib.o, lwlib-Xlw.o, lwlib-Xaw.o, lwlib-Xm.o)
+ (xlwmenu.o): Add lisp.h and config.h to prereqs.
+ (lwlib-utils.o): Add lwlib.h to prereqs.
+ (lwlib.o): Add lwlib-utils.h and lwlib-Xm.h to prereqs.
+ (lwlib-Xlw.o): Add xlwmenu.h to prereqs.
+ (xlwmenu.o): Add ../src/xterm.h to prereqs.
+ (mostlyclean): Forget about "core" files.
+
+2011-02-10 Glenn Morris <rgm@gnu.org>
+
+ * lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib-utils.c, lwlib.c:
+ * xlwmenu.c: Standardize on <> for includes from the ../src directory.
+
+2011-02-09 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (@SET_MAKE@): New, set by configure.
+ (globals): New variable and rule.
+ (lwlib-utils.o, lwlib.o, lwlib-Xlw.o, lwlib-Xaw.o, lwlib-Xm.o)
+ (xlwmenu.o): Add dependency on src/globals.h.
+
2011-01-31 Jan Djärv <jan.h.d@swipnet.se>
* lwlib-Xm.c (make_destroyed_instance):
(xaw_update_one_widget): Reformat and remove dead code.
(xaw_scrollbar_scroll, xaw_scrollbar_jump, xaw_create_scrollbar)
(xaw_update_scrollbar): Remove (not used).
- (make_dialog): Change from K&R to prototype. Remove dead code.
+ (make_dialog): Change from K&R to prototype. Remove dead code.
(xaw_creation_table): Remove scrollbar entry.
2010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
(display_menu_item): Replace ws->window with ws->pixmap, remove
call to XftDrawRect.
(display_menu): Remove this and that argument.
- Remove just_compute_this_one_p. Fill pixmap at start and copy it to
+ Remove just_compute_this_one_p. Fill pixmap at start and copy it to
window at end.
(expose_cb): New function.
(make_windows_if_needed): Replace XCreateWindow with XtCreatePopup.
Add eventhandler for expose to expose_cb. Remove creation of xft_draw.
(create_pixmap_for_menu): New function.
(remap_menubar): Pop down menus that aren't the same as in old_stack.
- Set width, heigh, x, y on widget with XtVaSetValues.
+ Set width, height, x, y on widget with XtVaSetValues.
Call create_pixmap_for_menu.
Replace XUnmapWindow with XtPopdown.
Remowe two last parameters to display_menu.
(make_windows_if_needed): Set max_rest_width and xft_draw
in windows[i].
(openXftFont): New.
- (XlwMenuInitialize): Call openXftFont if HAVE_XFT. If mw->menu.font
+ (XlwMenuInitialize): Call openXftFont if HAVE_XFT. If mw->menu.font
is not set, load font fixed and save it in xlwmenu_default_font.
(XlwMenuInitialize): Set max_rest_width and xft_draw in windows[0].
(XlwMenuClassInitialize): Initialize xlwmenu_default_font.
windows[0].xft_draw if xft_font is set.
(XlwMenuDestroy): Destroy all xft_draw and close xft_font.
(facename_changed): New.
- (XlwMenuSetValues): Call facename_changed. If face name did change,
+ (XlwMenuSetValues): Call facename_changed. If face name did change,
close old fonts and destroy xft_draw:s. Then create new ones.
* xlwmenu.h (XtNfaceName, XtCFaceName, XtNdefaultFace,
* xlwmenuP.h (_XlwMenu_part): Add top_depth.
- * xlwmenu.h: Removed declaration of pop_up_menu
+ * 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)
;; coding: utf-8
;; End:
- Copyright (C) 1995-1999, 2001-2011 Free Software Foundation, Inc.
+ Copyright (C) 1995-1999, 2001-2014 Free Software Foundation, Inc.
This file is part of GNU Emacs.