Replace bcopy, bzero, bcmp by memcpy, memmove, memset, memcmp
[bpt/emacs.git] / lwlib / ChangeLog
index e7037a2..91ad1c5 100644 (file)
@@ -1,3 +1,117 @@
+2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * lwlib.c (lwlib_memset, lwlib_bcopy): Remove.
+       (malloc_widget_value, free_widget_info, allocate_widget_instance)
+       (lw_separator_p): Replace lwlib_memset, lwlib_bcopy, bzero, bcmp by
+       memset, memcpy, memcmp.
+       * lwlib-utils.c (XtApplyToWidgets): Likewise.
+       * xlwmenu.c (XlwMenuInitialize): Likewise.
+       * lwlib.h (lwlib_bcopy): Remove declaration.
+
+2010-07-05  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xlwmenu.c (XlwMenuSetValues, XlwMenuInitialize): Correct prototype.
+       (display_menu_item): Remove unused variable gi.
+       (make_windows_if_needed): Remove unused variable screen.
+       (XlwMenuRedisplay): Remove unused variable i.
+
+       * lwlib-Xaw.c: Include <ctype.h> for isdigit.
+       (fill_xft_data, set_text): Remove unused variable screen.
+       (draw_text): Cast bp to FcChar8*.
+       (find_xft_data): Return 0 if inst or xft_data is not set.
+       (wm_delete_window): Correct prototype.  Initialize widget to 0
+       and return if widget is still 0 after loop.
+
+2010-07-04  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * lwlib-Xaw.c: Convert function definitions to standard C.
+       * lwlib-Xlw.c:
+       * lwlib-utils.c:
+       * lwlib.c:
+       * lwlib.h:
+       * xlwmenu.c: Likewise.
+
+2010-07-02  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * lwlib-Xm.c: Remove __P and P_ from .c and .m files.
+       * lwlib-Xm.c:
+       * lwlib.c:
+       * xlwmenu.c: Likewise.
+
+       Remove P_ and __P macros.
+       * lwlib-Xaw.h: Remove P_ and __P macros.
+       * lwlib-Xlw.h:
+       * lwlib-Xm.h:
+       * lwlib-int.h:
+       * lwlib-utils.h:
+       * lwlib.h: Likewise.
+
+2010-05-15  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (mostlyclean): Remove references to non-existent files.
+
+2010-05-13  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.
+
+2010-05-08  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets
+       (Bug #6127).
+
+2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
+
+       * Version 23.2 released.
+
+2010-05-06  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.
+
+2010-05-04  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE):
+       Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ instead of
+       @c_switch_system@, @c_switch_machine@.
+
+2010-04-27  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.
+
+2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xlwmenu.c (expose_cb):
+       * lwlib-Xaw.c (fill_xft_data): Declarations before code.
+
+2010-04-17  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xlwmenu.c: Include Shell.h, remove duplicate declaration of
+       XlwMenuRedisplay.
+       (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
+       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.
+       Call create_pixmap_for_menu.
+       Replace XUnmapWindow with XtPopdown.
+       Remowe two last parameters to display_menu.
+       (map_event_to_widget_value, XlwMenuRedisplay, Key, Select)
+       (pop_up_menu): Remowe two last parameters to display_menu.
+       (XlwMenuRealize): Call create_pixmap_for_menu, set w and pixmap.
+       Remove call to XftDrawCreate.
+       (XlwMenuDestroy): Free pixmap.  Call XtDestroyWidget instead of
+       XDestroyWindow.
+       (handle_motion_event): Only call handle_single_motion_event once.
+       (set_window_type): New function.
+       (make_windows_if_needed, XlwMenuRealize): Call set_window_type.
+
+       * xlwmenuP.h (window_state): Add pixmap and w.
+
 2010-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT.
        [USE_XAW]: Include <X11/Xaw/Paned.h>.
        (lwlib_memset, lwlib_bcopy): Explicitly declare return type.
 
-1997-12-20  Richard Stallman  <rms@delysid.gnu.org>
-
-       * lwlib-Xm.c (update_one_menu_entry):
-       Add conditional in case XmNpositionIndex is missing.
-
 1997-12-20  Richard Stallman  <rms@psilocin.gnu.org>
 
        * lwlib-Xm.c (update_one_menu_entry):
        cascade button itself.  This works around a Motif SIGSEGV in the
        function `InSharedMenuHierarchy'.
 
-1994-10-29  Richard Stallman  <rms@duality.gnu.ai.mit.edu>
-
-       * xlwmenu.c (xlwmenu_default_font): New global variable.
-       (XlwMenuInitialize): Use xlwmenu_default_font to default
-       the font if necessary.  Make mw, itself, an argument.
-
 1994-10-26  Richard Stallman  <rms@duality.gnu.ai.mit.edu>
 
        * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc.