1. 27 Apr, 2013 1 commit
  2. 26 Apr, 2013 1 commit
    • Paul Eggert's avatar
      Port better to AIX. · f780d632
      Paul Eggert authored
      * configure.ac (CFLAGS): Append -O if the user did not specify CFLAGS,
      we did not already infer an optimization option, and -O works.
      AIX xlc needs -O, otherwise garbage collection doesn't work.
      * src/lisp.h (ENUM_BF) [__IBMC__]: Make it 'unsigned int' here, too,
      to pacify AIX xlc.
      Fixes: debbugs:14258
  3. 22 Apr, 2013 2 commits
  4. 18 Apr, 2013 2 commits
  5. 12 Apr, 2013 1 commit
  6. 09 Apr, 2013 1 commit
  7. 07 Apr, 2013 1 commit
    • Paul Eggert's avatar
      Fix --enable-profiling bug introduced by 2013-02-25 change. · 876da980
      Paul Eggert authored
      This bug was introduced by my 2013-02-25 change that simplified
      data_start configuration.  Without this change, on GNU/Linux
      an Emacs configured with --enable-profiling fails immediately
      due to a profiler signal.
      * configure.ac (LD_SWITCH_SYSTEM_TEMACS): Append -pg if profiling
      and if not on GNU/Linux or FreeBSD.
      * lib/Makefile.am (AM_CFLAGS): Add $(PROFILING_CFLAGS), so that
      lib/*.o is profiled too.
      * src/Makefile.in: Compile with $(PROFILING_CFLAGS), but do not link
      with these flags.  On platforms where special flags are needed
      when linking temacs, the flags are now in LD_SWITCH_SYSTEM_TEMACS.
      (.c.o, .m.o): Compile with $(PROFILING_CFLAGS).
      Fixes: debbugs:13783
  8. 04 Apr, 2013 1 commit
  9. 30 Mar, 2013 2 commits
  10. 29 Mar, 2013 2 commits
  11. 27 Mar, 2013 1 commit
  12. 26 Mar, 2013 1 commit
    • Aidan Gauland's avatar
      Added eshell-tramp module · 15e4ed9c
      Aidan Gauland authored
      * lisp/eshell/em-unix.el: Moved su and sudo to...
      * lisp/eshell/em-tramp.el: ...Eshell tramp module
      * doc/misc/eshell.texi: Updated manual to reflect changes.
      External su and sudo commands are now the default; the internal,
      TRAMP-using variants can still be used by enabling the eshell-tramp
  13. 25 Mar, 2013 1 commit
  14. 24 Mar, 2013 1 commit
  15. 18 Mar, 2013 3 commits
    • Paul Eggert's avatar
      Fix bug when building Emacs with a GNU Make submake. · 4c9a1377
      Paul Eggert authored
      * Makefile.in (QUIET_SUBMAKE): New macro.
      (install-info, uninstall): Use it.
      Fixes: debbugs:13962
    • Paul Eggert's avatar
      Emacs crashes with ImageMagick 6.8.2-3 through 6.8.3-9. · 19151a7f
      Paul Eggert authored
      * configure.ac (IMAGEMAGICK_MODULE): Reject 6.8.2.
      We want to reject 6.8.2-3 through 6.8.3-9, but there seems to be
      no way to do this in pkg-config, so make do with a reasonable
      * etc/PROBLEMS: Mention problem with ImageMagick 6.8.2-3 through 6.8.3-9.
      Fixes: debbugs:13867
    • Paul Eggert's avatar
      Automate the build of ja-dic.el. · 982efbcd
      Paul Eggert authored
      ja-dic.el no longer needs to be in the repository: it's now
      generated as part of the build from bzr.  Also, update SKK-JISYO.L to
      match the upstream source exactly.
      * .bzrignore: Add leim/ja-dic/.
      * leim/ja-dic/ja-dic.el: Remove from repository.  It is still distributed
      as part of the Emacs tarball.
      * leim/Makefile.in ($(srcdir)/ja-dic/ja-dic.el): New rule.
      (compile-main): Depend on it.
      * leim/SKK-DIC/README: Update to reflect new build procedure.
      * leim/SKK-DIC/SKK-JISYO.L: Update to match source exactly.
      This is now the annotated version, to match the upstream file name;
      the unannotated one is built from it automatically.
      * lisp/international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
      from the input, rather than assume that it's been done for us by the
      SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
      the current date into a ja-dic.el comment, as that complicates
      regression testing.
      Fixes: debbugs:13984
  16. 13 Mar, 2013 3 commits
    • Paul Eggert's avatar
      File synchronization fixes. · 47d7532e
      Paul Eggert authored
      * admin/CPP-DEFINES (BSD_SYSTEM, HAVE_FSYNC): Remove.
      * admin/merge-gnulib (GNULIB_MODULES): Add fsync, fdatasync.
      * configure.ac (BSD_SYSTEM, BSD_SYSTEM_AHB): Remove; no longer needed.
      (fsync): Remove check; now done by gnulib.
      * lib/fdatasync.c, lib/fsync.c, m4/fdatasync.m4, m4/fsync.m4:
      New files, from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib-src/Makefile.in (LIB_FDATASYNC): New macro.
      (emacsclient${EXEEXT}): Use it.
      * lib-src/emacsclient.c (main): Use fdatasync, not fsync, since we don't
      care about metadata.  Keep trying if interrupted.
      * lib-src/movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since
      fsync is available everywhere (or there is a substitute).  Don't
      report an error if fsync returns EINVAL.
      * nt/inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
      * src/Makefile.in (LIB_FDATASYNC): New macro.
      (LIBES): Use it.
      * src/conf_post.h (BSD_SYSTEM, BSD_SYSTEM_AHB): Remove; no longer needed.
      * src/fileio.c (Fwrite_region, write_region_inhibit_fsync):
      Don't worry about HAVE_FSYNC, since a substitute fsync is
      available if the system lacks one.
      (Fwrite_regin): Retry fsync if interrupted.
      Fixes: debbugs:13944
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Merge from gnulib. · 5615c9a9
      Paul Eggert authored
      This incorporates:
      2013-03-12 mktime: fix configure typo
      2013-03-11 regex: port to mingw's recent addition of undeclared alarm
      2013-03-11 putenv: avoid compilation warning on mingw
      2013-03-11 unistd: don't prevent Tru64 Unix from using gnulib strtod.
  17. 11 Mar, 2013 1 commit
  18. 05 Mar, 2013 2 commits
  19. 03 Mar, 2013 1 commit
  20. 01 Mar, 2013 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 89bd9d36
      Paul Eggert authored
      2013-02-21 putenv: port better to native Windows
      2013-02-18 extern-inline: avoid compilation error with HP-UX cc
      2013-02-14 putenv: fix heap corruption with mixed putenv/_putenv
  21. 28 Feb, 2013 1 commit
  22. 25 Feb, 2013 1 commit
    • Paul Eggert's avatar
      Simplify data_start configuration. · 1ddc2bd6
      Paul Eggert authored
      This is a followon simplification to the fix for Bug#13650.
      (AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's
      not always needed.
      (HAVE_DATA_START): New macro.
      Remove legacy-systems section, as this stuff is no longer
      applicable with current linking strategies.
      * src/Makefile.in (LD_FIRSTFLAG, LIB_GCC, CRT_DIR, LIB_STANDARD)
      (START_FILES): Remove.  All uses removed.
      (otherobj): Remove $(VMLIMIT_OBJ), as it's now first.
      (ALLOBJS): Move here from autodeps.mk, and with VMLIMITS_OBJ first.
      (buildobj.h): Use it.
      ($(ALLOBJS)): Depend on globals.h.
      (temacs$(EXEEXT)): Use $(ALLOBJS).
      * src/autodeps.mk (ALLOBJS): Move to Makefile.in.
      * src/deps.mk (vm-limit.o):
      * src/makefile.w32-in ($(BLD)/vm-limit.$(O)):
      Do not depend on mem-limits.h.
      * src/emacs.c (__do_global_ctors, __do_global_ctors_aux)
      (__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__)
      [__GNUC__ && !ORDINARY_LINK]: Remove.
      * src/mem-limits.h, src/pre-crt0.c: Remove.
      * src/unexaix.c, src/unexcoff.c: Don't include mem-limits.h.
      * src/unexcoff.c (etext): New decl.
      (make_hdr): Use it instead of start_of_data.
      * src/vm-limit.c: Move most of mem-limits.h's contents here.
      (data_start): New decl.  It's OK if this is approximate,
      so simplify-away some unnecessary exactness.
      (POINTER): Remove; all uses removed.
      (data_space_start): Now char *, to avoid casts.
      (exceeds_lisp_ptr): New function, replacing the old
      EXCEEDS_LISP_PTR macro.  All uses changed.
      (check_memory_limits): Simplify and remove casts.
      (start_of_data) [!CANNOT_DUMP || !SYSTEM_MALLOC]: Remove.
      (memory_warnings): Use data_start instead of start_of_data.
      Fixes: debbugs:13783
  23. 24 Feb, 2013 1 commit
  24. 21 Feb, 2013 1 commit
    • Paul Eggert's avatar
      Parallelize documentation builds. · b59a2e9e
      Paul Eggert authored
      This speeds up building of documentation on multiprocessor
      platforms, and is motivated by Texinfo 5.0, which is much slower.
      Add a toplevel rule 'make docs' to make all the documentation.
      * .bzrignore: Add .dvi, .html, .ps.
      * Makefile.in (DVIS, HTMLS, INFOS, PSS, DOCS): New macros.
      ($(DOCS), docs, vi, html, pdf, ps): New rules.
      (info-real): Depend on $(INFOS) rather than doing it sequentially.
      (dvi): Depend on $(DVIS) rather than doing it sequentially.
      * doc/misc/Makefile.in (html): New rule.
  25. 18 Feb, 2013 1 commit
  26. 14 Feb, 2013 1 commit
    • Paul Eggert's avatar
      Fix AIX port. · 35b3a27e
      Paul Eggert authored
      * configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX.
      (GC_MARK_STACK): Do not set to GC_USE_GCPROS_AS_BEFORE, as that
      runs afoul of some other bug in Emacs, and the default value
      GC_MAKE_GCPROS_NOOPS has been tested and works.
      * src/lisp.h (XPNTR) [!USE_LSB_TAG && DATA_SEG_BITS]:
      Fix bug introduced in 2012-07-27 change.  DATA_SEG_BITS, if set,
      was #undeffed earlier, so it cannot be used as a macro here.
      Use the constant and not the macro.  Tested on AIX.
      * src/unexaix.c: Revert 2013-02-11 and 2013-02-12 changes to this
      file.  They're almost surely OK but we're just before a release so
      we should avoid changes unless they're clearly needed.  Instead,
      make the following minor change:
      (ADDR_CORRECT): New macro.
      Fixes: debbugs:13650
  27. 12 Feb, 2013 1 commit
  28. 11 Feb, 2013 3 commits
    • Paul Eggert's avatar
      Tune by using memchr and memrchr. · a84b7c53
      Paul Eggert authored
      * .bzrignore: Add string.h.
      * admin/merge-gnulib (GNULIB_MODULES): Add memrchr.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/memrchr.c, lib/string.in.h, m4/memrchr.m4, m4/string_h.m4:
      New files, from gnulib.
      * src/doc.c (Fsnarf_documentation):
      * src/fileio.c (Fsubstitute_in_file_name):
      * src/search.c (find_newline, scan_newline):
      * src/xdisp.c (pos_visible_p, display_count_lines):
      Use memchr and memrchr rather than scanning byte-by-byte.
      * src/search.c (find_newline): Rename from scan_buffer.
      Omit first arg TARGET, as it's always '\n'.  All callers changed.
    • Paul Eggert's avatar
      Merge from gnulib. · 71d4202f
      Paul Eggert authored
    • Glenn Morris's avatar
      ChangeLog for previous · 55fe8e64
      Glenn Morris authored
  29. 10 Feb, 2013 1 commit