Replace bcopy, bzero, bcmp by memcpy, memmove, memset, memcmp
[bpt/emacs.git] / lwlib / ChangeLog
index dfa6188..91ad1c5 100644 (file)
@@ -1,3 +1,55 @@
+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.
        [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.