X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/9e69cb054d5c124bdf913c82453518ac4d9d6d53..fd35b6f96777be3305879a9ca60ab5befb254042:/oldXMenu/ChangeLog diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog index f05553a38b..b40b5ca708 100644 --- a/oldXMenu/ChangeLog +++ b/oldXMenu/ChangeLog @@ -1,3 +1,53 @@ +2011-04-16 Paul Eggert + + Static checks with GCC 4.6.0 and non-default toolkits. + + Modernize to C89, for better static checking. + * Activate.c (XMenuActivate): Callback's first arg is readonly. + * AddPane.c (XMenuAddPane): Label is readonly. Rename local + to avoid shadowing. + * AddSel.c (XMenuAddSelection): Help arg is readonly. Rename local. + * Create.c (atoi, atof): Remove decls; include . + (MAX_INACT_PNUM, TILE_BUF_SIZE): Remove; unused. + (x_get_resource_string): Args are readonly. + (XAllocDisplayColor): colorName is readonly. + (XMenuCreate): def_env is readonly. Remove unused locals. Avoid + "else;". + * Destroy.c (XMenuDestroy): Return void. + * Error.c (XMenuError): Remove const pointer. + * EvHand.c (XMenuEventHandler): Return void. + * FindPane.c, FindSel.c: Include . + * InsPane.c (XMenuInsertPane): Rename local to avoid shadowing. + * InsSel.c (XMenuInsertSelection): Likewise. + * Internal.c (toggle_color, BUFFER_SIZE): Remove; unused. + (_XMErrorList): Now const. + (_XMWinQueInit, _XMRecomputeGlobals, _XMTransToOrigin, _XMRefreshPane): + (_XMRefreshSelection): Return void. + (_XMWinQueFlush, _XMRefreshSelection): Rename locals to avoid + shadowing. + (_XMWinQueFlush): Use stack, not heap. Don't use uninitialized var. + * SetAEQ.c (XMenuSetAEQ): Now returns void. + * SetFrz.c (XMenuSetFreeze): Likewise. + * X10.h (XAssoc): Use void * for generic pointer. + * XDelAssoc.c: Include XMenuInt.h rather than duplicating part of it. + * XDestAssoc.c, XMakeAssoc.c: Likewise. + * XDestAssoc.c (XDestroyAssocTable): Return void. + * XMakeAssoc.c (XMakeAssoc): Use void * for generic pointer. + * XMenu.h, XMenuInt.h: Adjust to signature changes. Use const + for pointers to readonly storage. + * insque.c: Include XMenuInt.h, to check our own signature. + (emacs_insque, emacs_remque): Use void * for generic pointers. + +2011-03-07 Chong Yidong + + * Version 23.3 released. + +2010-11-09 Elias Pipping (tiny change) + + Make Emacs compile with clang (bug#7309). + * XMakeAssoc.c (XMakeAssoc): + * XDelAssoc.c (XDeleteAssoc): Declare the return type. + 2010-07-12 Dan Nicolaescu * XMenu.h: Include . @@ -563,12 +613,9 @@ ;; Local Variables: ;; coding: utf-8 -;; add-log-time-zone-rule: t ;; End: - Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, - 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-1999, 2001-2011 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -584,5 +631,3 @@ You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see . - -;;; arch-tag: 8b17c869-6677-40ce-be86-e62cf34061cf