summaryrefslogtreecommitdiff
path: root/oldXMenu
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2017Paul Eggert2016-12-318-8/+8
| | | | Run admin/update-copyright.
* Rework C source files to avoid ^(Paul Eggert2016-03-105-10/+10
| | | | | | | | Work around Bug#22884 by rewording comments and strings to avoid ‘(’ at the start of a line unless it starts a function. This change is a short-term hack; in the longer run we plan to fix cc-mode’s performance for C files that have ‘(’ at the start of a line in a comment or string.
* Update copyright year to 2016Paul Eggert2016-01-018-8/+8
| | | | Run admin/update-copyright.
* Replace AC_SUBST_FILE in configure with include in Makefiles.Glenn Morris2015-05-153-12/+15
| | | | | | | | | | | | | | | | | | | * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag) (oldxmenu_deps_frag, lisp_frag): Remove output variables/files. (AUTO_DEPEND): New output variable. * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure. (DEPFLAGS, MKDEPDIR): Set directly via conditional. (lwlib_deps_frag): Replace by conditional include. * lwlib/autodeps.mk: Remove file. * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure. (DEPFLAGS, MKDEPDIR): Set directly via conditional. (oldxmenu_deps_frag): Replace by conditional include. * oldXMenu/autodeps.mk: Remove file. * src/Makefile.in (AUTO_DEPEND): New, set by configure. (DEPFLAGS, MKDEPDIR): Set directly via conditional. (lisp_frag): Replace by an include. (deps_frag): Replace by conditional include. * src/autodeps.mk: Remove file.
* Rename ChangeLogs for gitlog-to-changelogPaul Eggert2015-04-071-0/+0
| | | | | | | | | | | | | This patch was implemented via the following shell commands: find * -name ChangeLog | sed 's,.*,git mv & &.1, s, lisp/ChangeLog\.1$, lisp/ChangeLog.17, s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09, s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3, s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2, s, src/ChangeLog\.1$, src/ChangeLog.13,' | sh git commit -am"[this commit message]"
* Less 'make' chatter for oldXMenuPaul Eggert2015-01-032-3/+20
| | | | | | * Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1) (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1): New macros. (libXMenu11.a): Use them.
* Update copyright year to 2015Paul Eggert2015-01-018-8/+8
| | | | Run admin/update-copyright.
* Merge branch 'emacs-24'Ted Zlatanov2014-11-261-1/+0
|\ | | | | | | | | | | | | Conflicts: nt/addsection.c nt/inc/ms-w32.h src/w32.c
| * Simplify and fix doc-related .gitignore files.Paul Eggert2014-11-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This fixes some unwanted 'git status' output after 'make docs'. * .gitignore: Add **/Makefile, **/makefile. Remove Makefile, makefile. Add doc/*/*.xxx rules for the usual kinds of documentation outputs and temporaries. Add doc/misc/cc-mode.ss. * doc/emacs/.gitignore, doc/lispref/.gitignore, doc/misc/.gitignore: * lwlib/.gitignore, oldXMenu/.gitignore: Remove, as these .gitignore files are no longer needed. * doc/lispintro/.gitignore: Replace with list of exceptional PDF files.
* | Merge from emacs-24Stefan Monnier2014-10-201-6/+6
|\ \ | |/
* | Merge from emacs-24; up to 2014-07-28T06:28:15Z!dmantipov@yandex.ruGlenn Morris2014-10-201-0/+4
|\ \ | |/
| * Add 24.4 release ChangeLog entriesemacs-24.4Glenn Morris2014-10-201-0/+4
| |
* | Less chatter in 'make' output.Paul Eggert2014-09-032-1/+6
| | | | | | | | | | | | | | | | | | * doc/Makefile.in (clean): * oldXMenu/Makefile.in (clean mostlyclean): Simplify, for shorter command line. * src/Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1, AM_V_at) (am__v_at_, am__v_at_0, am__v_at_1): New macros, taken from Automake. ($(etc)/DOC, buildobj.h, gl-stamp): Use them.
* | Fix typo in previous change's ChangeLog.Paul Eggert2014-09-011-1/+1
| |
* | --enable-silent-warnings now suppresses more chatter.Paul Eggert2014-09-012-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * INSTALL, etc/NEWS: Document this. * lib-src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_) (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0) (am__v_CCLD_1): New macros, taken from Automake. (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT}) (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT}) (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT}) (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT}) (update-game-score${EXEEXT}): Use them. * lwlib/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_) (am__v_CC_0, am__v_CC_1): New macros, taken from Automake. (.c.o): Use them. * oldXMenu/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_) (am__v_CC_0, am__v_CC_1): New macros, taken from Automake. (.c.o): Use them. * src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_) (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0) (am__v_CCLD_1): New macros, taken from Automake. (.c.o, .m.o, temacs$(EXEEXT)): Use them.
* | * XMenuInt.h (XDeleteAssoc): Remove duplicated prototype toDmitry Antipov2014-07-122-1/+5
| | | | | | | | pacify -Wredundant-decls.
* | Small cleanup for src/Makefile liblw.a, libXMenu11.a rulesGlenn Morris2014-06-282-0/+4
| | | | | | | | | | | | | | | | | | * src/Makefile.in ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a): Remove prerequisites, sub-makes will figure it out. (FORCE): Remove. (mostlyclean): There are no libXMenu11.a, liblw.a in this directory. * oldXMenu/deps.mk (${OBJS}): Depend on ../src/config.h.
* | Use gcc auto-dependency information for lwlib and oldXMenuGlenn Morris2014-06-284-33/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (lwlib_deps_frag, oldxmenu_deps_frag): New output files. * make-dist (lwlib, oldXMenu): Distribute *.mk. * lwlib/Makefile.in: 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. * lwlib/deps.mk, lwlib/autodeps.mk: New files. * oldXMenu/Makefile.in: Move old dependency information to new file deps.mk. (MKDIR_P, DEPFLAGS, MKDEPDIR, oldxmenu_deps_frag): New, set by configure. (DEPDIR): New variable. (ALL_CFLAGS): Add DEPFLAGS. (.c.o): Add MKDEPDIR. (clean, mostlyclean): Delete DEPDIR. * oldXMenu/deps.mk, oldXMenu/autodeps.mk: New files. * src/deps.mk: Comment update. * .bzrignore: Ignore lwlib/deps, oldXMenu/deps.
* | * oldXMenu/Makefile.in (CPPFLAGS): Explicitly set via configure.Glenn Morris2014-06-152-0/+4
| |
* | * oldXMenu/Makefile.in: Fix typo in earlier change.Glenn Morris2014-06-141-1/+1
| |
* | Parallelize clean rules using GNU make featuresGlenn Morris2014-06-142-5/+14
|/ | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: (submake_template): New definition. (mostlyclean_dirs, clean_dirs, distclean_dirs, maintainer_clean_dirs): New variables. (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean) (extraclean): Define using each subdirectory as a prequisite. * lib/Makefile.am (bootstrap-clean): * doc/emacs/Makefile.in (bootstrap-clean): * doc/lispintro/Makefile.in (bootstrap-clean): * doc/lispref/Makefile.in (bootstrap-clean): * doc/misc/Makefile.in (bootstrap-clean): * lib-src/Makefile.in (bootstrap-clean): * lwlib/Makefile.in (bootstrap-clean): * nextstep/Makefile.in (bootstrap-clean): * nt/Makefile.in (bootstrap-clean): * oldXMenu/Makefile.in (bootstrap-clean): New rules, for symmetry/simplicity. * lwlib/Makefile.in (mostlyclean, clean, distclean, maintainer-clean): * oldXMenu/Makefile.in (mostlyclean, clean, distclean, maintainer-clean, tags): Declare as PHONY.
* ChangeLog fixesGlenn Morris2014-01-141-0/+3
|
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-017-7/+7
|
* Fix whitespace in previous Makefile.in changesGlenn Morris2013-10-231-1/+2
|
* Attempt at a fix for mingw CPPFLAGSGlenn Morris2013-10-232-0/+5
| | | | | | | | | | | | * configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir. * Makefile.in (abs_top_srcdir): * lib-src/Makefile.in (abs_top_srcdir): * lwlib/Makefile.in (abs_top_srcdir): * nt/Makefile.in (abs_top_srcdir): * oldXMenu/Makefile.in (abs_top_srcdir): * src/Makefile.in (abs_top_srcdir): New, set by configure.
* Makefile improvements.Paul Eggert2013-09-032-2/+10
| | | | | | | | | | | | | | * Makefile.in (lib): Depend on am--refresh, to avoid a race. (src): Remove duplicate dependency on FRC. Invoke just one submake, not two. Avoid the need for 'pwd'. * lwlib/Makefile.in (all): Put this first. Don't use double-colon rules, as they are not portable according to POSIX. Mark as phony. * oldXMenu/Makefile.in (all, tags): Don't use double-colon rules, as they are not portable according to POSIX. Mark as phony. * src/Makefile.in (config.status): Don't use double-colon rules, as they are not portable according to POSIX. Fix shell typo with `; I guess this rule has never been tested? (VCSWITNESS): New macro, to override any environment var.
* Use a @configure_input@ comment at the start of generated MakefilesGlenn Morris2013-07-231-1/+1
|
* Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.caPaul Eggert2013-01-027-7/+7
|\
| * Update copyright notices for 2013.Paul Eggert2013-01-017-7/+7
| |
* | Include <config.h> uniformly in oldXMenu sources.Paul Eggert2012-12-0413-18/+17
|/ | | | | | | | | | * Activate.c, AddPane.c, AddSel.c, ChgPane.c, ChgSel.c, Create.c: * InsPane.c, InsSel.c, Internal.c, XMakeAssoc.c: Do not include <config.h>, since XMenuInt.h does that now. * XLookAssoc.c, XMenuInt.h: Include <config.h>. This avoids a build failure when configuring on Fedora 17 --with-x-toolkit=no, reported by Dmitry Andropov in <http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00078.html>.
* Let configure set ar and associated flagsUlrich Mueller2012-10-052-3/+7
| | | | | | | * lwlib/Makefile.in (AR, ARFLAGS): * oldXMenu/Makefile.in (AR, ARFLAGS): Get values from configure. Fixes: debbugs:12549
* Fix typos in ChangeLogs.Juanma Barranquero2012-07-141-1/+1
|
* * Makefile.in (ALL_CFLAGS): Add -I../lib -I${srcdir}/../lib.Paul Eggert2012-06-252-1/+8
| | | | | | This is needed for hosts that lack <alloca.h>, when Emacs is configured --with-x-toolkit=no. Problem reported by Herbert J. Skuhra for FreeBSD.
* Merge from trunk.Paul Eggert2012-04-181-1/+1
|\
* \ Merge from trunk.Paul Eggert2012-04-171-1/+1
|\ \ | |/
* | Merge from trunk.Paul Eggert2012-04-132-7/+11
|\ \ | |/
| * Repurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGSGlenn Morris2012-04-102-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the only thing left that uses it. * configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM. * src/Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM. * lwlib/Makefile.in (C_SWITCH_X_SYSTEM): Remove. (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM. * oldXMenu/Makefile.in (C_SWITCH_X_SYSTEM): Remove. (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM. * msdos/sedlibmk.inp, msdos/sed1v2.inp: GNUSTEP_CFLAGS replaces C_SWITCH_X_SYSTEM.
* | Merge from trunk; add Bug#.Paul Eggert2012-04-091-1/+1
|\ \ | |/
* | configure: new option --enable-gcc-warningsPaul Eggert2012-04-092-2/+10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have been using this change for many months in my private copy of Emacs, and have used it to find several bugs. It's mature enough to publish now. * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings. * configure.in: Support --enable-gcc-warnings, in the style of other GNU packages such as coreutils. (C_WARNINGS_SWITCH): Remove, replacing with... (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable. (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I, when including system files with GCC. * etc/NEWS: Mention --enable-gcc-warnings. * lib/Makefile.am (AM_CFLAGS): New macro. * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib. * lib-src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (BASE_CFLAGS): Use new macros rather than old. * lwlib/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * oldXMenu/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/process.c: Ignore -Wstrict-overflow to work around GCC bug 52904. * src/regex.c: Ignore -Wstrict-overflow. If !emacs, also ignore -Wunused-but-set-variable, -Wunused-function, -Wunused-macros, -Wunused-result, -Wunused-variable. This should go away once the Emacs and Gnulib regex code is merged. (xmalloc, xrealloc): Now static.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-057-7/+7
|
* Spelling fixes.Paul Eggert2011-12-052-3/+3
|
* Spelling fixes.Paul Eggert2011-11-221-1/+1
|
* Spelling fixes.Paul Eggert2011-11-191-1/+1
|
* Spelling fixes.Paul Eggert2011-11-171-1/+1
|
* Fix typos.Juanma Barranquero2011-11-151-1/+1
|
* Spelling fixes.Paul Eggert2011-11-131-1/+1
|
* Static checks with GCC 4.6.0 and non-default toolkits.Paul Eggert2011-04-1622-217/+215
|\
| * Modernize to C89, for better static checking.Paul Eggert2011-04-1622-217/+213
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 <stdlib.h>. (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 <string.h>. * 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.
* Update and split ChangeLogs.Juanma Barranquero2011-04-061-0/+4
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-247-18/+7
|