diff options
| -rw-r--r-- | ChangeLog | 15 | ||||
| -rw-r--r-- | Makefile.in | 47 | ||||
| -rw-r--r-- | admin/ChangeLog | 6 | ||||
| -rwxr-xr-x | admin/merge-gnulib | 88 | ||||
| -rw-r--r-- | leim/ChangeLog | 4 | ||||
| -rw-r--r-- | leim/Makefile.in | 6 | ||||
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 8 | ||||
| -rw-r--r-- | lisp/ChangeLog | 22 | ||||
| -rw-r--r-- | lisp/Makefile.in | 6 | ||||
| -rw-r--r-- | lisp/hi-lock.el | 9 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 2 | ||||
| -rw-r--r-- | test/ChangeLog | 4 | ||||
| -rw-r--r-- | test/automated/Makefile.in | 2 | ||||
| -rw-r--r-- | test/automated/compile-tests.el | 2 |
15 files changed, 163 insertions, 63 deletions
| @@ -1,3 +1,18 @@ | |||
| 1 | 2012-05-21 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Make merging from gnulib a script, not a makefile action. | ||
| 4 | Putting it in a makefile has some problems with reflection, as | ||
| 5 | merging from gnulib updates 'configure', which can update the makefile. | ||
| 6 | Putting it in a standalone script breaks this loop. | ||
| 7 | * Makefile.in (gnulib_srcdir, $(gnulib_srcdir), DOS_gnulib_comp.m4) | ||
| 8 | (GNULIB_MODULES, GNULIB_TOOL_FLAGS, sync-from-gnulib): | ||
| 9 | Remove, moving the actions to the script admin/merge-gnulib. | ||
| 10 | |||
| 11 | 2012-05-21 Glenn Morris <rgm@gnu.org> | ||
| 12 | |||
| 13 | * Makefile.in (install-arch-indep, install-doc, install-info) | ||
| 14 | (uninstall): Scrap superfluous subshells. | ||
| 15 | |||
| 1 | 2012-05-19 Ulrich Mueller <ulm@gentoo.org> | 16 | 2012-05-19 Ulrich Mueller <ulm@gentoo.org> |
| 2 | 17 | ||
| 3 | * Makefile.in (install-etc): Respect DESTDIR. (Bug#11518) | 18 | * Makefile.in (install-etc): Respect DESTDIR. (Bug#11518) |
diff --git a/Makefile.in b/Makefile.in index ec74a2ec8a9..f978f19e974 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -309,43 +309,6 @@ src: lib-src FRC | |||
| 309 | # and `leim'. | 309 | # and `leim'. |
| 310 | lisp leim: src | 310 | lisp leim: src |
| 311 | 311 | ||
| 312 | # Maintainers can put a copy of gnulib into $(gnulib_srcdir). | ||
| 313 | gnulib_srcdir = ../gnulib | ||
| 314 | $(gnulib_srcdir): | ||
| 315 | git clone git://git.savannah.gnu.org/gnulib.git $@ | ||
| 316 | |||
| 317 | # A shorter name that satisfies MS-DOS 8+3 constraints. | ||
| 318 | DOS_gnulib_comp.m4 = gl-comp.m4 | ||
| 319 | |||
| 320 | # Update modules from gnulib, for maintainers, who should have it in | ||
| 321 | # $(gnulib_srcdir) (relative to $(srcdir) and should have build tools | ||
| 322 | # as per $(gnulib_srcdir)/DEPENDENCIES. | ||
| 323 | GNULIB_MODULES = \ | ||
| 324 | alloca-opt \ | ||
| 325 | careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr \ | ||
| 326 | dup2 \ | ||
| 327 | filemode getloadavg getopt-gnu ignore-value intprops lstat \ | ||
| 328 | manywarnings mktime pthread_sigmask readlink \ | ||
| 329 | socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat \ | ||
| 330 | warnings | ||
| 331 | GNULIB_TOOL_FLAGS = \ | ||
| 332 | --avoid=msvc-inval --avoid=msvc-nothrow \ | ||
| 333 | --avoid=raise --avoid=threadlib \ | ||
| 334 | --conditional-dependencies --import --no-changelog --no-vc-files \ | ||
| 335 | --makefile-name=gnulib.mk | ||
| 336 | sync-from-gnulib: $(gnulib_srcdir) | ||
| 337 | -cd $(srcdir)/m4 && cp $(DOS_gnulib_comp.m4) gnulib-comp.m4 | ||
| 338 | cd $(srcdir) && \ | ||
| 339 | $(gnulib_srcdir)/gnulib-tool $(GNULIB_TOOL_FLAGS) $(GNULIB_MODULES) | ||
| 340 | cd $(srcdir)/m4 && rm gnulib-cache.m4 warn-on-use.m4 | ||
| 341 | cd $(srcdir)/m4 && mv gnulib-comp.m4 $(DOS_gnulib_comp.m4) | ||
| 342 | cp $(gnulib_srcdir)/build-aux/texinfo.tex $(srcdir)/doc/misc | ||
| 343 | cp \ | ||
| 344 | $(gnulib_srcdir)/build-aux/move-if-change \ | ||
| 345 | $(srcdir)/build-aux | ||
| 346 | cd $(srcdir) && autoreconf -i -I m4 | ||
| 347 | .PHONY: sync-from-gnulib | ||
| 348 | |||
| 349 | # These targets should be "${SUBDIR} without `src'". | 312 | # These targets should be "${SUBDIR} without `src'". |
| 350 | lib lib-src lisp leim: Makefile FRC | 313 | lib lib-src lisp leim: Makefile FRC |
| 351 | cd $@ && $(MAKE) all $(MFLAGS) \ | 314 | cd $@ && $(MAKE) all $(MFLAGS) \ |
| @@ -529,7 +492,7 @@ install-arch-indep: install-leim install-info install-man ${INSTALL_ARCH_INDEP_E | |||
| 529 | [ -d $${dir} ] || exit 1 ; \ | 492 | [ -d $${dir} ] || exit 1 ; \ |
| 530 | dest=$$1 ; shift ; \ | 493 | dest=$$1 ; shift ; \ |
| 531 | [ -d $${dest} ] && \ | 494 | [ -d $${dest} ] && \ |
| 532 | [ `(cd $${dest} && /bin/pwd)` = `(cd $${dir} && /bin/pwd)` ] && \ | 495 | [ `cd $${dest} && /bin/pwd` = `cd $${dir} && /bin/pwd` ] && \ |
| 533 | continue ; \ | 496 | continue ; \ |
| 534 | rm -rf $${dest} ; \ | 497 | rm -rf $${dest} ; \ |
| 535 | umask 022; ${MKDIR_P} $${dest} ; \ | 498 | umask 022; ${MKDIR_P} $${dest} ; \ |
| @@ -578,7 +541,7 @@ install-arch-indep: install-leim install-info install-man ${INSTALL_ARCH_INDEP_E | |||
| 578 | install-doc: install-arch-indep | 541 | install-doc: install-arch-indep |
| 579 | -unset CDPATH; \ | 542 | -unset CDPATH; \ |
| 580 | umask 022; ${MKDIR_P} $(DESTDIR)${docdir} ; \ | 543 | umask 022; ${MKDIR_P} $(DESTDIR)${docdir} ; \ |
| 581 | if [ `(cd ./etc; /bin/pwd)` != `(cd $(DESTDIR)${docdir}; /bin/pwd)` ]; \ | 544 | if [ `cd ./etc; /bin/pwd` != `cd $(DESTDIR)${docdir}; /bin/pwd` ]; \ |
| 582 | then \ | 545 | then \ |
| 583 | fullversion=`./src/emacs --version | sed -n '1 s/GNU Emacs *//p'`; \ | 546 | fullversion=`./src/emacs --version | sed -n '1 s/GNU Emacs *//p'`; \ |
| 584 | if [ -f "./etc/DOC-$${fullversion}" ]; \ | 547 | if [ -f "./etc/DOC-$${fullversion}" ]; \ |
| @@ -597,7 +560,7 @@ install-info: info | |||
| 597 | umask 022; ${MKDIR_P} $(DESTDIR)${infodir} | 560 | umask 022; ${MKDIR_P} $(DESTDIR)${infodir} |
| 598 | -unset CDPATH; \ | 561 | -unset CDPATH; \ |
| 599 | thisdir=`/bin/pwd`; \ | 562 | thisdir=`/bin/pwd`; \ |
| 600 | [ `(cd ${srcdir}/info && /bin/pwd)` = `(cd $(DESTDIR)${infodir} && /bin/pwd)` ] || \ | 563 | [ `cd ${srcdir}/info && /bin/pwd` = `cd $(DESTDIR)${infodir} && /bin/pwd` ] || \ |
| 601 | (cd $(DESTDIR)${infodir}; \ | 564 | (cd $(DESTDIR)${infodir}; \ |
| 602 | [ -f dir ] || \ | 565 | [ -f dir ] || \ |
| 603 | (cd $${thisdir}; \ | 566 | (cd $${thisdir}; \ |
| @@ -670,8 +633,8 @@ uninstall: | |||
| 670 | -unset CDPATH; \ | 633 | -unset CDPATH; \ |
| 671 | for dir in $(DESTDIR)${lispdir} $(DESTDIR)${etcdir} ; do \ | 634 | for dir in $(DESTDIR)${lispdir} $(DESTDIR)${etcdir} ; do \ |
| 672 | if [ -d $${dir} ]; then \ | 635 | if [ -d $${dir} ]; then \ |
| 673 | case `(cd $${dir} ; /bin/pwd)` in \ | 636 | case `cd $${dir} ; /bin/pwd` in \ |
| 674 | `(cd ${srcdir} ; /bin/pwd)`* ) ;; \ | 637 | `cd ${srcdir} ; /bin/pwd`* ) ;; \ |
| 675 | * ) rm -rf $${dir} ;; \ | 638 | * ) rm -rf $${dir} ;; \ |
| 676 | esac ; \ | 639 | esac ; \ |
| 677 | case $${dir} in \ | 640 | case $${dir} in \ |
diff --git a/admin/ChangeLog b/admin/ChangeLog index 55504b3d6f8..86069da7f0b 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-05-21 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Make merging from gnulib a script, not a makefile action. | ||
| 4 | * merge-gnulib: New script, with actions moved here from | ||
| 5 | ../Makefile.in. | ||
| 6 | |||
| 1 | 2012-05-19 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2012-05-19 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | * CPP-DEFINES (HAVE_GETDOMAINNAME): Remove. | 9 | * CPP-DEFINES (HAVE_GETDOMAINNAME): Remove. |
diff --git a/admin/merge-gnulib b/admin/merge-gnulib new file mode 100755 index 00000000000..57b71ee4a74 --- /dev/null +++ b/admin/merge-gnulib | |||
| @@ -0,0 +1,88 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | # Merge gnulib sources into Emacs sources. | ||
| 3 | # Typical usage: | ||
| 4 | # | ||
| 5 | # admin/merge-gnulib | ||
| 6 | |||
| 7 | # Copyright 2012 Free Software Foundation, Inc. | ||
| 8 | |||
| 9 | # This file is part of GNU Emacs. | ||
| 10 | |||
| 11 | # GNU Emacs is free software: you can redistribute it and/or modify | ||
| 12 | # it under the terms of the GNU General Public License as published by | ||
| 13 | # the Free Software Foundation, either version 3 of the License, or | ||
| 14 | # (at your option) any later version. | ||
| 15 | |||
| 16 | # GNU Emacs is distributed in the hope that it will be useful, | ||
| 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 19 | # GNU General Public License for more details. | ||
| 20 | |||
| 21 | # You should have received a copy of the GNU General Public License | ||
| 22 | # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | ||
| 23 | |||
| 24 | # written by Paul Eggert | ||
| 25 | |||
| 26 | GNULIB_URL=git://git.savannah.gnu.org/gnulib.git | ||
| 27 | |||
| 28 | GNULIB_MODULES=' | ||
| 29 | alloca-opt | ||
| 30 | careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 | ||
| 31 | dtoastr dup2 | ||
| 32 | filemode getloadavg getopt-gnu ignore-value intprops lstat | ||
| 33 | manywarnings mktime pthread_sigmask readlink | ||
| 34 | socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat | ||
| 35 | warnings | ||
| 36 | ' | ||
| 37 | |||
| 38 | GNULIB_TOOL_FLAGS=' | ||
| 39 | --avoid=msvc-inval --avoid=msvc-nothrow | ||
| 40 | --avoid=raise --avoid=threadlib | ||
| 41 | --conditional-dependencies --import --no-changelog --no-vc-files | ||
| 42 | --makefile-name=gnulib.mk | ||
| 43 | ' | ||
| 44 | |||
| 45 | # The source directory, with a trailing '/'. | ||
| 46 | # If empty, the source directory is the working directory. | ||
| 47 | src=$2 | ||
| 48 | case $src in | ||
| 49 | */ | '') ;; | ||
| 50 | *) src=$src/ ;; | ||
| 51 | esac | ||
| 52 | |||
| 53 | # Gnulib's source directory. | ||
| 54 | gnulib_srcdir=${1-$src../gnulib} | ||
| 55 | |||
| 56 | case $gnulib_srcdir in | ||
| 57 | -*) src=- ;; | ||
| 58 | esac | ||
| 59 | case $src in | ||
| 60 | -*) | ||
| 61 | echo >&2 "$0: usage: $0 [GNULIB_SRCDIR [SRCDIR]] | ||
| 62 | |||
| 63 | SRCDIR is the Emacs source directory (default: working directory). | ||
| 64 | GNULIB_SRCDIR is the Gnulib source directory (default: SRCDIR/../gnulib)." | ||
| 65 | exit 1 ;; | ||
| 66 | esac | ||
| 67 | |||
| 68 | test -x "$src"autogen.sh || { | ||
| 69 | echo >&2 "$0: '${src:-.}' is not an Emacs source directory." | ||
| 70 | exit 1 | ||
| 71 | } | ||
| 72 | |||
| 73 | test -d "$gnulib_srcdir" || | ||
| 74 | git clone -- "$GNULIB_URL" "$gnulib_srcdir" || | ||
| 75 | exit | ||
| 76 | |||
| 77 | test -x "$gnulib_srcdir"/gnulib-tool || { | ||
| 78 | echo >&2 "$0: '$gnulib_srcdir' is not a Gnulib source directory." | ||
| 79 | exit 1 | ||
| 80 | } | ||
| 81 | |||
| 82 | cp -- "$src"m4/gl-comp.m4 "$src"m4/gnulib-comp.m4 && | ||
| 83 | "$gnulib_srcdir"/gnulib-tool --dir="$src" $GNULIB_TOOL_FLAGS $GNULIB_MODULES && | ||
| 84 | rm -- "$src"m4/gnulib-cache.m4 "$src"m4/warn-on-use.m4 && | ||
| 85 | mv -- "$src"m4/gnulib-comp.m4 "$src"m4/gl-comp.m4 && | ||
| 86 | cp -- "$gnulib_srcdir"/build-aux/texinfo.tex "$src"doc/misc && | ||
| 87 | cp -- "$gnulib_srcdir"/build-aux/move-if-change "$src"build-aux && | ||
| 88 | autoreconf -i -I m4 -- ${src:+"$src"} | ||
diff --git a/leim/ChangeLog b/leim/ChangeLog index 560e1d53da6..b2fa25b2d2e 100644 --- a/leim/ChangeLog +++ b/leim/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-05-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (leim-list.el, install): Scrap superfluous subshells. | ||
| 4 | |||
| 1 | 2012-05-12 Glenn Morris <rgm@gnu.org> | 5 | 2012-05-12 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in (MKDIR_P): New, set by configure. | 7 | * Makefile.in (MKDIR_P): New, set by configure. |
diff --git a/leim/Makefile.in b/leim/Makefile.in index 646102eee71..2e488197b2a 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in | |||
| @@ -157,7 +157,7 @@ changed.misc: ${SUBDIRS} ${MISC_SOURCES} | |||
| 157 | 157 | ||
| 158 | leim-list.el: ${SUBDIRS} ${TIT_MISC} ${srcdir}/leim-ext.el | 158 | leim-list.el: ${SUBDIRS} ${TIT_MISC} ${srcdir}/leim-ext.el |
| 159 | rm -f leim-list.el | 159 | rm -f leim-list.el |
| 160 | if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ | 160 | if [ x`cd ${srcdir} && /bin/pwd` = x`/bin/pwd` ] ; then \ |
| 161 | ${RUN_EMACS} -l ${buildlisppath}/international/quail \ | 161 | ${RUN_EMACS} -l ${buildlisppath}/international/quail \ |
| 162 | --eval "(update-leim-list-file \".\")" ; \ | 162 | --eval "(update-leim-list-file \".\")" ; \ |
| 163 | else \ | 163 | else \ |
| @@ -191,11 +191,11 @@ compile-main: ${TIT_MISC} | |||
| 191 | 191 | ||
| 192 | install: all | 192 | install: all |
| 193 | umask 022; ${MKDIR_P} ${LEIM_INSTALLDIR} | 193 | umask 022; ${MKDIR_P} ${LEIM_INSTALLDIR} |
| 194 | if [ x`(cd ${LEIM_INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \ | 194 | if [ x`cd ${LEIM_INSTALLDIR} && /bin/pwd` != x`/bin/pwd` ] ; then \ |
| 195 | rm -f ${LEIM_INSTALLDIR}/leim-list.el; \ | 195 | rm -f ${LEIM_INSTALLDIR}/leim-list.el; \ |
| 196 | rm -rf ${LEIM_INSTALLDIR}/quail ${LEIM_INSTALLDIR}/ja-dic ; \ | 196 | rm -rf ${LEIM_INSTALLDIR}/quail ${LEIM_INSTALLDIR}/ja-dic ; \ |
| 197 | echo "Copying leim files to ${LEIM_INSTALLDIR} ..." ; \ | 197 | echo "Copying leim files to ${LEIM_INSTALLDIR} ..." ; \ |
| 198 | if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ | 198 | if [ x`cd ${srcdir} && /bin/pwd` = x`/bin/pwd` ] ; then \ |
| 199 | tar -chf - leim-list.el quail ja-dic \ | 199 | tar -chf - leim-list.el quail ja-dic \ |
| 200 | | (cd ${LEIM_INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ | 200 | | (cd ${LEIM_INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ |
| 201 | else \ | 201 | else \ |
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index d0e9e5c525a..1b4cd548a99 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-05-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}): | ||
| 4 | Scrap superfluous subshells. | ||
| 5 | |||
| 1 | 2012-05-18 Glenn Morris <rgm@gnu.org> | 6 | 2012-05-18 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (install): Ensure $bindir exists. | 8 | * Makefile.in (install): Ensure $bindir exists. |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index fd423212c9f..4e47e2e0bc6 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -190,7 +190,7 @@ $(EXE_FILES): ../lib/libgnu.a | |||
| 190 | ## These targets copy the scripts into the build directory so that | 190 | ## These targets copy the scripts into the build directory so that |
| 191 | ## they can be run from there in an uninstalled Emacs. | 191 | ## they can be run from there in an uninstalled Emacs. |
| 192 | ## Nothing to do if pwd = srcdir. | 192 | ## Nothing to do if pwd = srcdir. |
| 193 | insrcdir=[ "`/bin/pwd`" = "`(cd $(srcdir) && /bin/pwd)`" ] | 193 | insrcdir=[ "`/bin/pwd`" = "`cd $(srcdir) && /bin/pwd`" ] |
| 194 | 194 | ||
| 195 | stamp-rcs2log: $(srcdir)/rcs2log | 195 | stamp-rcs2log: $(srcdir)/rcs2log |
| 196 | $(insrcdir) || cp -p $(srcdir)/rcs2log rcs2log | 196 | $(insrcdir) || cp -p $(srcdir)/rcs2log rcs2log |
| @@ -237,7 +237,7 @@ $(DESTDIR)${archlibdir}: all | |||
| 237 | @echo | 237 | @echo |
| 238 | @echo "Installing utilities run internally by Emacs." | 238 | @echo "Installing utilities run internally by Emacs." |
| 239 | umask 022; ${MKDIR_P} $(DESTDIR)${archlibdir} | 239 | umask 022; ${MKDIR_P} $(DESTDIR)${archlibdir} |
| 240 | if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ | 240 | if [ `cd $(DESTDIR)${archlibdir} && /bin/pwd` != `/bin/pwd` ]; then \ |
| 241 | for file in ${UTILITIES}; do \ | 241 | for file in ${UTILITIES}; do \ |
| 242 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \ | 242 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \ |
| 243 | done ; \ | 243 | done ; \ |
| @@ -249,8 +249,8 @@ $(DESTDIR)${archlibdir}: all | |||
| 249 | chown ${gameuser} $(DESTDIR)${gamedir}; \ | 249 | chown ${gameuser} $(DESTDIR)${gamedir}; \ |
| 250 | chmod u=rwx,g=rwx,o=rx $(DESTDIR)${gamedir}; \ | 250 | chmod u=rwx,g=rwx,o=rx $(DESTDIR)${gamedir}; \ |
| 251 | fi | 251 | fi |
| 252 | if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` \ | 252 | if [ `cd $(DESTDIR)${archlibdir} && /bin/pwd` \ |
| 253 | != `(cd ${srcdir} && /bin/pwd)` ]; then \ | 253 | != `cd ${srcdir} && /bin/pwd` ]; then \ |
| 254 | for file in ${SCRIPTS}; do \ | 254 | for file in ${SCRIPTS}; do \ |
| 255 | $(INSTALL_SCRIPT) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; \ | 255 | $(INSTALL_SCRIPT) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; \ |
| 256 | done ; \ | 256 | done ; \ |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b311fc4fcaa..c7775422417 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition. | ||
| 4 | |||
| 5 | * progmodes/compile.el (compilation-error-regexp-alist-alist): | ||
| 6 | Simplify Maven regexp, and make sure the file can't start with a space | ||
| 7 | (bug#11517). | ||
| 8 | |||
| 9 | 2012-05-21 Glenn Morris <rgm@gnu.org> | ||
| 10 | |||
| 11 | * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): | ||
| 12 | Scrap superfluous subshells. | ||
| 13 | |||
| 1 | 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | 14 | 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 15 | ||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var. | 16 | * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var. |
| @@ -7,10 +20,11 @@ | |||
| 7 | 20 | ||
| 8 | * calc/calc.el (calc-ensure-consistent-units): New variable. | 21 | * calc/calc.el (calc-ensure-consistent-units): New variable. |
| 9 | 22 | ||
| 10 | * calc/calc-units.el (math-consistent-units-p, math-check-unit-consistency): | 23 | * calc/calc-units.el (math-consistent-units-p) |
| 11 | New functions. | 24 | (math-check-unit-consistency): New functions. |
| 12 | (calc-quick-units, calc-convert-units): Use `math-check-unit-consistency' when | 25 | (calc-quick-units, calc-convert-units): |
| 13 | `calc-ensure-consistent-units' is non-nil. | 26 | Use `math-check-unit-consistency' when `calc-ensure-consistent-units' |
| 27 | is non-nil. | ||
| 14 | (calc-extract-units): Fix typo. | 28 | (calc-extract-units): Fix typo. |
| 15 | 29 | ||
| 16 | 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca> | 30 | 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca> |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index d2c4e615577..ff211589f49 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -106,7 +106,7 @@ COMPILE_FIRST = \ | |||
| 106 | emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT) | 106 | emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT) |
| 107 | 107 | ||
| 108 | # Common command to find subdirectories | 108 | # Common command to find subdirectories |
| 109 | setwins=subdirs=`(find . -type d -print)`; \ | 109 | setwins=subdirs=`find . -type d -print`; \ |
| 110 | for file in $$subdirs; do \ | 110 | for file in $$subdirs; do \ |
| 111 | case $$file in */.* | */.*/* | */=* ) ;; \ | 111 | case $$file in */.* | */.*/* | */=* ) ;; \ |
| 112 | *) wins="$$wins $$file" ;; \ | 112 | *) wins="$$wins $$file" ;; \ |
| @@ -114,7 +114,7 @@ setwins=subdirs=`(find . -type d -print)`; \ | |||
| 114 | done | 114 | done |
| 115 | 115 | ||
| 116 | # Find all subdirectories except `obsolete' and `term'. | 116 | # Find all subdirectories except `obsolete' and `term'. |
| 117 | setwins_almost=subdirs=`(find . -type d -print)`; \ | 117 | setwins_almost=subdirs=`find . -type d -print`; \ |
| 118 | for file in $$subdirs; do \ | 118 | for file in $$subdirs; do \ |
| 119 | case $$file in */.* | */.*/* | */=* | */obsolete | */term ) ;; \ | 119 | case $$file in */.* | */.*/* | */=* | */obsolete | */term ) ;; \ |
| 120 | *) wins="$$wins $$file" ;; \ | 120 | *) wins="$$wins $$file" ;; \ |
| @@ -122,7 +122,7 @@ setwins_almost=subdirs=`(find . -type d -print)`; \ | |||
| 122 | done | 122 | done |
| 123 | 123 | ||
| 124 | # Find all subdirectories in which we might want to create subdirs.el | 124 | # Find all subdirectories in which we might want to create subdirs.el |
| 125 | setwins_for_subdirs=subdirs=`(find . -type d -print)`; \ | 125 | setwins_for_subdirs=subdirs=`find . -type d -print`; \ |
| 126 | for file in $$subdirs; do \ | 126 | for file in $$subdirs; do \ |
| 127 | case $$file in */.* | */.*/* | */=* | */cedet* ) ;; \ | 127 | case $$file in */.* | */.*/* | */=* | */cedet* ) ;; \ |
| 128 | *) wins="$$wins $$file" ;; \ | 128 | *) wins="$$wins $$file" ;; \ |
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 32a041e6c09..2c2d08e19cc 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el | |||
| @@ -204,16 +204,15 @@ patterns." | |||
| 204 | (defvar hi-lock-interactive-patterns nil | 204 | (defvar hi-lock-interactive-patterns nil |
| 205 | "Patterns provided to hi-lock by user. Should not be changed.") | 205 | "Patterns provided to hi-lock by user. Should not be changed.") |
| 206 | 206 | ||
| 207 | (define-obsolete-variable-alias 'hi-lock-face-history | ||
| 208 | 'hi-lock-face-defaults "23.1") | ||
| 207 | (defvar hi-lock-face-defaults | 209 | (defvar hi-lock-face-defaults |
| 208 | '("hi-yellow" "hi-pink" "hi-green" "hi-blue" "hi-black-b" | 210 | '("hi-yellow" "hi-pink" "hi-green" "hi-blue" "hi-black-b" |
| 209 | "hi-blue-b" "hi-red-b" "hi-green-b" "hi-black-hb") | 211 | "hi-blue-b" "hi-red-b" "hi-green-b" "hi-black-hb") |
| 210 | "Default faces for hi-lock interactive functions.") | 212 | "Default faces for hi-lock interactive functions.") |
| 211 | 213 | ||
| 212 | ;(dolist (f hi-lock-face-defaults) (unless (facep f) (error "%s not a face" f))) | 214 | ;;(dolist (f hi-lock-face-defaults) |
| 213 | 215 | ;; (unless (facep f) (error "%s not a face" f))) | |
| 214 | (define-obsolete-variable-alias 'hi-lock-face-history | ||
| 215 | 'hi-lock-face-defaults | ||
| 216 | "23.1") | ||
| 217 | 216 | ||
| 218 | (define-obsolete-variable-alias 'hi-lock-regexp-history | 217 | (define-obsolete-variable-alias 'hi-lock-regexp-history |
| 219 | 'regexp-history | 218 | 'regexp-history |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index fe1b63f3048..45986591499 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -209,7 +209,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) | |||
| 209 | ;; due to matching filenames via \\(.*?\\). This might be faster. | 209 | ;; due to matching filenames via \\(.*?\\). This might be faster. |
| 210 | (maven | 210 | (maven |
| 211 | ;; Maven is a popular free software build tool for Java. | 211 | ;; Maven is a popular free software build tool for Java. |
| 212 | "\\([0-9]*[^0-9\n]\\(?:[^\n :]\\| [^-/\n]\\|:[^ \n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\] " 1 2 3) | 212 | "\\([^ \n]\\(?:[^\n :]\\| [^-/\n]\\|:[^ \n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\] " 1 2 3) |
| 213 | 213 | ||
| 214 | (jikes-line | 214 | (jikes-line |
| 215 | "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)" | 215 | "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)" |
diff --git a/test/ChangeLog b/test/ChangeLog index f05c94152a3..ba6162ca241 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-05-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * automated/Makefile.in (setwins): Scrap superfluous subshell. | ||
| 4 | |||
| 1 | 2012-05-15 Teodor Zlatanov <tzz@lifelogs.com> | 5 | 2012-05-15 Teodor Zlatanov <tzz@lifelogs.com> |
| 2 | 6 | ||
| 3 | * automated/url-util-tests.el: New file to test | 7 | * automated/url-util-tests.el: New file to test |
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in index c07d5a1897d..4f2e8a59e49 100644 --- a/test/automated/Makefile.in +++ b/test/automated/Makefile.in | |||
| @@ -48,7 +48,7 @@ BYTE_COMPILE_EXTRA_FLAGS = | |||
| 48 | emacs = EMACSLOADPATH=$(lispsrc):$(test) LC_ALL=C $(EMACS) $(EMACSOPT) | 48 | emacs = EMACSLOADPATH=$(lispsrc):$(test) LC_ALL=C $(EMACS) $(EMACSOPT) |
| 49 | 49 | ||
| 50 | # Common command to find subdirectories | 50 | # Common command to find subdirectories |
| 51 | setwins=subdirs=`(find . -type d -print)`; \ | 51 | setwins=subdirs=`find . -type d -print`; \ |
| 52 | for file in $$subdirs; do \ | 52 | for file in $$subdirs; do \ |
| 53 | case $$file in */.* | */.*/* | */=* ) ;; \ | 53 | case $$file in */.* | */.*/* | */=* ) ;; \ |
| 54 | *) wins="$$wins $$file" ;; \ | 54 | *) wins="$$wins $$file" ;; \ |
diff --git a/test/automated/compile-tests.el b/test/automated/compile-tests.el index ad36c4296b4..ecd0e8856f7 100644 --- a/test/automated/compile-tests.el +++ b/test/automated/compile-tests.el | |||
| @@ -199,6 +199,8 @@ | |||
| 199 | ;; maven | 199 | ;; maven |
| 200 | ("FooBar.java:[111,53] no interface expected here" | 200 | ("FooBar.java:[111,53] no interface expected here" |
| 201 | 1 53 111 "FooBar.java") | 201 | 1 53 111 "FooBar.java") |
| 202 | (" [ERROR] /Users/cinsk/hello.java:[651,96] ';' expected" | ||
| 203 | 15 96 651 "/Users/cinsk/hello.java") ;Bug#11517. | ||
| 202 | ;; mips-1 mips-2 | 204 | ;; mips-1 mips-2 |
| 203 | ("TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomo.c due to truncation" | 205 | ("TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomo.c due to truncation" |
| 204 | 11 nil 255 "solomon.c") | 206 | 11 nil 255 "solomon.c") |