X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/19c17fc1475500f2a6fecf1b8ebd08e64635e4ca..3f13130005dfc51fa4982659aa289cb8753cfd26:/lwlib/ChangeLog diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 10e945e782..20ace66073 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,10 +1,175 @@ -2012-08-24 Chong Yidong +2014-06-28 Glenn Morris - * Version 24.2 released. + * Makefile.in: Use gcc auto-dependency information. + Move old dependency information to new file deps.mk. + (MKDIR_P, DEPFLAGS, MKDEPDIR, lwlib_deps_frag): + New, set by configure. + (DEPDIR): New variable. + (ALL_CFLAGS): Add DEPFLAGS. + (.c.o): Add MKDEPDIR. + (clean, mostlyclean): Delete DEPDIR. + * deps.mk, autodeps.mk: New files. -2012-06-01 Chong Yidong +2014-06-17 Paul Eggert - * Version 24.1 released. + Omit redundant extern decls. + From Dmitry Antipov. + * lwlib-Xm.c (lw_motif_widget_p, xm_update_one_value) + (xm_create_dialog, xm_destroy_instance, xm_popup_menu) + (xm_set_keyboard_focus, xm_set_main_areas): Remove decls. + +2014-06-15 Glenn Morris + + * Makefile.in ($(globals_h)): Use `make -C' rather than `cd && make'. + + * Makefile.in (mostlyclean, clean, distclean, maintainer-clean): + Declare as PHONY. + (bootstrap-clean): New. + +2014-06-13 Glenn Morris + + * Makefile.in ($(globals_h)): + GNU make automatically passes command-line arguments to sub-makes. + +2014-06-04 Dmitry Antipov + + * lwlib-widget.h (widget_value) [USE_X_TOOLKIT]: Use X toolkit + fields conditionally. + +2014-06-03 Paul Eggert + + Do not require libXt-devel when building with gtk. + * lwlib-widget.h: New file, with contents taken from lwlib.h. + (widget_value) [HAVE_NTGUI]: New member 'title'. + * lwlib.h: Include lwlib-widget.h. + (change_type, enum button_type, widget_value): + Move to lwlib-widget.h. + +2014-06-03 Dmitry Antipov + + * xlwmenu.c (openXftFont): Do not load regular X font here. + (XlwMenuInitialize): Remove ancient #if 0 code. + (XlwMenuDestroy): Likewise. Free regular X font here. + +2014-06-02 Dmitry Antipov + + Use common memory management functions for widgets. + * lwlib.h (widget_value): Do not maintain a free list any more. + (malloc_widget_value, free_widget_value): Remove prototypes. + * lwlib.c (malloc_widget_value, free_widget_value): + (widget_value_free_list, malloc_cpt): Remove. + (free_widget_value_tree, copy_widget_value_tree): Adjust users. + +2014-05-30 Dmitry Antipov + + Use common string allocation and freeing functions where applicable. + * lwlib.h (safe_strdup): Remove prototype. + * lwlib.c (safe_strdup, safe_free_str): Remove. + (copy_widget_value_tree, allocate_widget_info, free_widget_info): + (merge_widget_value): Prefer xstrdup, xfree and dupstring. + * lwlib-Xm.c (make_destroyed_instance, xm_update_one_value): Ditto. + +2013-12-14 Paul Eggert + + Use bool for boolean, focusing on headers. + * xlwmenuP.h (XlwMenu_part): Use bool_bf for boolean bit-fields. + +2013-11-14 Paul Eggert + + * lwlib.c (safe_strdup): Prefer tail calls. + +2013-11-02 Glenn Morris + + 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 + + * Makefile.in (abs_top_srcdir): New, set by configure. + +2013-09-04 Paul Eggert + + 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 + + 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 + + * Makefile.in (AR, ARFLAGS): Get values from configure. + +2012-08-16 Paul Eggert + + Use ASCII tests for character types. + * lwlib-Xaw.c, lwlib.c, xlwmenu.c: + Don't include ; no longer needed. + * lwlib-Xaw.c (openFont): + * xlwmenu.c (openXftFont): Test just for ASCII digits. + +2012-08-01 Glenn Morris + + * Makefile.in (config_h): Add conf_post.h. + +2012-07-31 Dmitry Antipov + + Avoid unused variable warning if --with-x-toolkit=motif. + * lwlib-Xm.c (make_menu_in_widget): Remove unused variable. + +2012-07-06 Paul Eggert + + 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 + + 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 unconditionally. + +2012-06-25 Dmitry Antipov + + * lwlib.c (my_strcasecmp): Rename to lwlib_strcasecmp, which + may be defined to library function strcasecmp if available. + +2012-06-24 Paul Eggert + + 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 + + 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 + + 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 + + * Makefile.in (C_SWITCH_X_SYSTEM): Remove. + (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM. 2011-10-13 Dmitry Antipov @@ -191,7 +356,7 @@ (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 @@ -203,8 +368,7 @@ (lw_create_widget, lw_pop_all_widgets, lw_show_busy) (lw_refigure_widget, lw_allow_resizing): Remove alternative K&R declarations. - * lwlib-Xlw.c (xlw_update_one_widget): - (xlw_pop_instance): Likewise. + * lwlib-Xlw.c (xlw_update_one_widget, xlw_pop_instance): Likewise. * lwlib-Xaw.c (xaw_update_one_widget, xaw_pop_instance): Likewise. * lwlib-Xm.c (P_): Remove. @@ -300,14 +464,14 @@ (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. @@ -365,7 +529,7 @@ (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. @@ -373,14 +537,14 @@ 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, XtCDefaultFace): New. * xlwmenuP.h (_window_state): Add max_rest_width and xft_draw. - (_XlwMenu_part): Add faceName,xft_fg, xft_bg, xft_disabled_fg and + (_XlwMenu_part): Add faceName, xft_fg, xft_bg, xft_disabled_fg and xft_font. 2010-03-10 Chong Yidong @@ -502,8 +666,7 @@ * xlwmenuP.h (_XlwMenu_part): Add fontSet resource. - * xlwmenu.c (string_width): - (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Ditto. + * 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. @@ -571,7 +734,7 @@ * 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) @@ -748,8 +911,8 @@ * 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-Xm.c, lwlib-Xol.c, lwlib-Xolmb.c: Include ../src/lisp.h. + * 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. @@ -1140,7 +1303,7 @@ 1998-07-30 Paul Eggert - * lwlib/Makefile.in (lwlib-utils.o, lwlib.o, lwlib-Xlw.o) + * Makefile.in (lwlib-utils.o, lwlib.o, lwlib-Xlw.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. @@ -1764,7 +1927,7 @@ ;; coding: utf-8 ;; End: - Copyright (C) 1995-1999, 2001-2012 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2001-2014 Free Software Foundation, Inc. This file is part of GNU Emacs.