1. 09 Apr, 2012 8 commits
    • Paul Eggert's avatar
      configure: new option --enable-gcc-warnings · b8df54ff
      Paul Eggert authored
      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.
      b8df54ff
    • Paul Eggert's avatar
      composite.c: use 'double' consistently · cb3c2e3e
      Paul Eggert authored
      * composite.c (get_composition_id): Use 'double' consistently
      instead of converting 'float' to 'double' and vice versa; this is
      easier to understand and avoids a GCC warning.
      cb3c2e3e
    • Glenn Morris's avatar
      Generate leim-list with bootstrap-emacs, in prep for dumping it with emacs · 50fe702a
      Glenn Morris authored
      * src/Makefile.in: (leimdir): New variable.
      ($(leimdir)/leim-list.el): New rule.
      (emacs$(EXEEXT)): Depend on leim-list.el.
      
      Fixes: debbugs:4789
      50fe702a
    • Glenn Morris's avatar
      Small changes for top-level Makefile · fd9d85c2
      Glenn Morris authored
      * Makefile.in (leim): Check cd return value.  Pass fewer variables.
      (install-leim): Check cd return value.  Pass $MFLAGS.
      (install-strip): Pass $MFLAGS.
      fd9d85c2
    • Glenn Morris's avatar
      Make leim/Makefile compute the list of .el files like lisp/Makefile · 41455956
      Glenn Morris authored
      * leim/Makefile.in: (TIT_GB, TIT_BIG5, CHINESE_TIT, MISC, TIT_MISC):
      Make them store the .el files rather than the .elc files.
      (NON_TIT_GB, NON_TIT_BIG5, CHINESE_NON_TIT, CHINESE_GB)
      (CHINESE_GB, CHINESE_BIG5, JAPANESE, KOREAN, THAI, VIETNAMESE)
      (LAO, INDIAN, TIBETAN, LATIN, UNICODE, SLAVIC, GREEK, RUSSIAN)
      (OTHERS, CHINESE, EASTASIA, ASIA, EUROPEAN, WORLD, NON_TIT_MISC):
      Remove variables listing the non-generated .el files.
      (.el.elc): Add explicit load-path for quail.
      (all): Depend on compile-main rule rather than $WORLD.
      (changed.tit, changed.misc): Also depend on $SUBDIRS.
      (leim-list.el): Don't depend on changed.tit or changed.misc.
      Remove unnecessary compilation check.
      (setwins, compile-targets, compile-main): New.
      (clean, mostlyclean): Update for change in TIT_MISC contents.
      (bootstrap-clean): Use a glob match to delete .elc, not a fixed list.
      41455956
    • Stefan Monnier's avatar
      * leim/quail/latin-ltx.el: Auto-generate some of the entries. · f8f2e1d8
      Stefan Monnier authored
      (latin-ltx--ascii-p): New function.
      (latin-ltx--define-rules): New macro.
      (define-rules): Use it.
      f8f2e1d8
    • Glenn Morris's avatar
      Remove ucs-set-table-for-input dead code · fd06db5d
      Glenn Morris authored
      This function was removed with ucs-tables.el in 2008.
      
      * lisp/international/mule-cmds.el (set-default-coding-systems):
      * lisp/files.el (normal-mode):
      Remove guarded calls to ucs-set-table-for-input. 
      
      * src/buffer.c (Qucs_set_table_for_input): Remove.
      (Fget_buffer_create): Don't call Qucs_set_table_for_input.
      (init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input.
      
      Fixes: debbugs:9821
      fd06db5d
    • Glenn Morris's avatar
      * configure.in: Require makeinfo >= 4.7. · 23df914b
      Glenn Morris authored
      Eg org.texi has been using 4.7 functions for some time.
      
      Fixes: debbugs:10910
      23df914b
  2. 08 Apr, 2012 4 commits
  3. 07 Apr, 2012 15 commits
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
    • Paul Eggert's avatar
      Check pkg-config exit status when configuring (Bug#10626). · bf6bba2b
      Paul Eggert authored
      * configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config
      works; check its exit status.  Problem reported by Jordi Gutiérrez
      Hermoso in
      <http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00787.html>.
      bf6bba2b
    • Glenn Morris's avatar
      ChangeLog fix · dfae128a
      Glenn Morris authored
      dfae128a
    • Glenn Morris's avatar
      Auto-commit of generated files. · 67d34197
      Glenn Morris authored
      67d34197
    • Glenn Morris's avatar
      Bump trunk version to 24.1.50. · f3774f20
      Glenn Morris authored
      * README, configure.in (AC_INIT): Bump version to 24.1.50.
      
      * doc/emacs/emacsver.texi (EMACSVER): Bump version to 24.1.50.
      
      * doc/man/emacs.1: Bump version to 24.1.50.
      
      * msdos/sed2v2.inp: Bump version to 24.1.50.
      
      * nextstep/Cocoa/Emacs.base/Contents/Info.plist:
      * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
      * nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
      * nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop:
      Bump version to 24.1.50.
      
      * nt/config.nt, nt/makefile.w32-in, nt/emacs.rc, nt/emacsclient.rc:
      Bump version to 24.1.50.
      f3774f20
    • Glenn Morris's avatar
      Add emacs-bzr-version · a1ed8b05
      Glenn Morris authored
      * lisp/version.el (emacs-bzr-get-version): New function.
      * lisp/loadup.el (emacs-bzr-version): Set it. 
      * lisp/mail/emacsbug.el (report-emacs-bug): Include bzr version.
      
      * etc/NEWS: Mention this, though it is not really relevant to releases.
      Insert template for 24.2 release.
      
      Fixes: debbugs:8054
      a1ed8b05
    • Paul Eggert's avatar
      Avoid unnecessary pointer scanning in garbage collection (Bug#10780). · e3fb2efb
      Paul Eggert authored
      * alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): New macro.
      (mark_memory): Mark Lisp_Objects only if pointers might hide in
      objects, as mark_maybe_pointer will catch them otherwise.
      (GC_LISP_OBJECT_ALIGNMENT): Remove; no longer needed.
      * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT) [__mc68000__]: Likewise.
      e3fb2efb
    • Paul Eggert's avatar
      Fix typo that broke non-Windows builds. · b5385551
      Paul Eggert authored
      * xml.c (libxml2_loaded_p) [!!WINDOWSNT]: 'inine' -> 'inline'.
      b5385551
    • Eli Zaretskii's avatar
      Update the Unicode database and derived files for Unicode 6.1. · b142f158
      Eli Zaretskii authored
       admin/unidata/README:
       admin/unidata/copyright.html:
       admin/unidata/BidiMirroring.txt:
       admin/unidata/UnicodeData.txt: Update for the latest version 6.1 of
       the Unicode Standard.
      
       lisp/international/uni-bidi.el:
       lisp/international/uni-category.el:
       lisp/international/uni-combining.el:
       lisp/international/uni-decimal.el:
       lisp/international/uni-decomposition.el:
       lisp/international/uni-digit.el:
       lisp/international/uni-lowercase.el:
       lisp/international/uni-mirrored.el:
       lisp/international/uni-name.el:
       lisp/international/uni-numeric.el:
       lisp/international/uni-titlecase.el:
       lisp/international/uni-uppercase.el: Update for Unicode 6.1.
      b142f158
    • Eli Zaretskii's avatar
      Support building on MS-Windows with libxml2. · 9078ead6
      Eli Zaretskii authored
       src/makefile.w32-in (OBJ2): Add xml.$(O).
       (GLOBAL_SOURCES): Add xml.c.
       ($(BLD)/xml.$(O)): New dependency list.
       src/xml.c (DEF_XML2_FN, LOAD_XML2_FN) [WINDOWSNT]: New macros.
       (fn_htmlReadMemory, fn_xmlReadMemory, fn_xmlDocGetRootElement)
       (fn_xmlFreeDoc, fn_xmlCleanupParser, fn_xmlCheckVersion)
       [!WINDOWSNT]: New macros.
       (init_libxml2_functions, libxml2_loaded_p): New functions.
       (parse_region): Call fn_xmlCheckVersion instead of using the macro
       LIBXML_TEST_VERSION.  Call libxml2 functions via the fn_* macros.
       (xml_cleanup_parser): New function, export for fn_xmlCleanupParser.
       Calls xmlCleanupParser only if libxml2 was loaded (or statically
       linked in).
       (Flibxml_parse_html_region, Flibxml_parse_xml_region): Call
       init_libxml2_functions before calling libxml2 functions.
       (syms_of_xml) <Qlibxml2_dll>: DEFSYM it.
       src/emacs.c: Don't include libxml/parser.h.
       (shut_down_emacs): Call xml_cleanup_parser, instead of calling
       xmlCleanupParser directly.
       src/ lisp.h [HAVE_LIBXML2]: Add prototype for xml_cleanup_parser.
      
       nt/configure.bat: Support building with libxml2.
       nt/INSTALL:
       nt/README.W32: Add information about libxml2.
      
       lisp/term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
      
       lib-src/makefile.w32-in (obj): Add xml.o.
      9078ead6
    • Eli Zaretskii's avatar
      Build test-distrib on MS-Windows and run it during the build. · e4ecc6a2
      Eli Zaretskii authored
       lib-src/makefile.w32-in (ALL): Add $(BLD)/test-distrib.exe.
      e4ecc6a2
    • Eli Zaretskii's avatar
      Fix parallel build and bootstrap on MS-Windows. · d67a9a85
      Eli Zaretskii authored
       nt/makefile.w32-in: (all): Don't depend on stamp_BLD and on maybe-bootstrap.
       (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
       (bootstrap-gmake): Invoke the "clean" and build targets in 2
       separate commands, so they run in that order even under "make -j".
       lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD.
       lib-src/makefile.w32-in (ALL): Now the list of executables, not of phony
       targets.
       (.PHONY): Only make-docfile is its prerequisite now.
       (make-docfile): Don't depend on stamp_BLD.  Add a comment about
       the need in this target.
       (ctags, etags, ebrowse, hexl, movemail, emacsclient)
       (test-distrib): Phony targets removed.
       ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
       (all): Don't depend on stamp_BLD.
      d67a9a85
    • Eli Zaretskii's avatar
      1dcece25
    • Eli Zaretskii's avatar
      Fix bug #11133 with vertical-motion across a long display string. · 3811fdf3
      Eli Zaretskii authored
       src/indent.c (Fvertical_motion): If there is a display string at
       point, use it.vpos to compute how many lines to backtrack after 
       move_it_to point.
      3811fdf3
  4. 06 Apr, 2012 3 commits
  5. 05 Apr, 2012 10 commits