declare smobs in alloc.c
[bpt/emacs.git] / lwlib / ChangeLog
index dadb135..20ace66 100644 (file)
@@ -1,3 +1,83 @@
+2014-06-28  Glenn Morris  <rgm@gnu.org>
+
+       * 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.
+
+2014-06-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <rgm@gnu.org>
+
+       * 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  <rgm@gnu.org>
+
+       * Makefile.in ($(globals_h)):
+       GNU make automatically passes command-line arguments to sub-makes.
+
+2014-06-04  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * lwlib-widget.h (widget_value) [USE_X_TOOLKIT]: Use X toolkit
+       fields conditionally.
+
+2014-06-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <dmantipov@yandex.ru>
+
+       * 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  <dmantipov@yandex.ru>
+
+       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  <dmantipov@yandex.ru>
+
+       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  <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.
        (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.
        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.
        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  <cyd@stupidchicken.com>
 
        * 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.
        * 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.
 
 1998-07-30  Paul Eggert  <eggert@twinsun.com>
 
-       * 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.
 
 ;; coding: utf-8
 ;; End:
 
-  Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
+  Copyright (C) 1995-1999, 2001-2014 Free Software Foundation, Inc.
 
   This file is part of GNU Emacs.