1. 05 Apr, 2018 1 commit
  2. 18 Jan, 2018 1 commit
  3. 12 Jan, 2018 1 commit
  4. 01 Jan, 2018 2 commits
  5. 30 Nov, 2017 1 commit
    • Paul Eggert's avatar
      Port better to QNX · 93dc7ae4
      Paul Eggert authored
      Problem reported by Elad Lahav on emacs-devel.
      * configure.ac: On QNX, default CC to qcc (a GCC wrapper),
      and default LDFLAGS to -N2MB so that the initial stack size
      is not too small.  Also, fix misspelling of ‘qnxnto’.
      93dc7ae4
  6. 26 Nov, 2017 1 commit
  7. 13 Nov, 2017 1 commit
    • Paul Eggert's avatar
      Simplify by removing HAVE_STRUCT_ATTRIBUTE_ALIGNED · d1495609
      Paul Eggert authored
      * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Remove.  No longer
      needed, since we no longer rely on __attribute__ ((aligned (8))).
      All uses removed.
      * src/emacs-module.c (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Remove.
      (lisp_to_value): Simplify now that we no longer need to worry
      whether HAVE_STRUCT_ATTRIBUTE_ALIGNED is false.
      d1495609
  8. 04 Nov, 2017 1 commit
    • Noam Postavsky's avatar
      Use hybrid malloc for FreeBSD (Bug#28308) · 918a2dda
      Noam Postavsky authored
      FreeBSD aarch64 does not provide sbrk, so gmalloc cannot be used; when
      using system malloc dumping does not work correctly (allocated data is
      invalid after dumping).
      * configure.ac: Set hybrid_malloc for freebsd.
      * src/gmalloc.c (gdefault_morecore) [!HAVE_SBRK]: Don't call sbrk.
      918a2dda
  9. 26 Oct, 2017 1 commit
  10. 24 Oct, 2017 2 commits
  11. 23 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Port to OpenIndiana · 63606114
      Paul Eggert authored
      Problem reported by Nelson H. F. Beebe (Bug#28893).
      Also see Bug#23748, Bug#9736, and Bug#5735.
      * configure.ac (tputs_library): Prefer libcurses to libtermcap,
      since OpenIndiana libtermcap lacks tparm.
      63606114
  12. 11 Oct, 2017 1 commit
  13. 03 Oct, 2017 2 commits
  14. 02 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to HTTP for gnu.org · 5172fa02
      Paul Eggert authored
      This fixes some URLs I omitted from my previous pass,
      notably those in lists.gnu.org.  Although lists.gnu.org
      does not yet support TLS 1.1, TLS 1.0 is better than nothing.
      * lisp/erc/erc.el (erc-official-location):
      * lisp/mail/emacsbug.el (report-emacs-bug):
      Use https:, not http:.
      5172fa02
  15. 19 Sep, 2017 1 commit
  16. 16 Sep, 2017 1 commit
    • Eli Zaretskii's avatar
      Start emacs-26 release branch · 625cee53
      Eli Zaretskii authored
      * configure.ac:
      * nt/README.W32:
      * README:
      * msdos/sed2v2.inp: Increment Emacs version to 26.0.60.
      
      * lisp/cus-edit.el (customize-changed-options-previous-release):
      Update value to "25.3".
      625cee53
  17. 14 Sep, 2017 2 commits
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Support lcms2 in MS-Windows builds · 56ab0c4a
      Eli Zaretskii authored
      * lisp/term/w32-win.el (dynamic-library-alist): Include
      association for the lcms2 library.
      
      * src/lcms.c [WINDOWSNT]: Include windows.h and w32.h.  Use
      DEF_DLL_FN to define pointers to dynamically loaded lcms2
      functions.
      (cmsCIE2000DeltaE, cmsCIECAM02Init, cmsCIECAM02Forward)
      (cmsCIECAM02Done): New macros.
      (init_lcms_functions, Flcms2_available_p): New functions.
      (Flcms_cie_de2000, Flcms_cam02_ucs) [WINDOWSNT]: Call
      init_lcms_functions.
      (syms_of_lcms2): Defsubr lcms2-available-p.
      * src/w32fns.c (syms_of_w32fns): DEFSYM Qlcms2.
      
      * configure.ac: Include lcms2 in the final report and in
      emacs_config_features.
      
      * nt/INSTALL:
      * nt/INSTALL.W64: Update with the information about lcms2 library.
      56ab0c4a
  18. 13 Sep, 2017 2 commits
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
    • Mark Oteiza's avatar
      Add lcms2 interface · 5d4c539b
      Mark Oteiza authored
      configure.ac: Add boilerplate for configuring and detecting liblcms2.
      etc/NEWS: Mention new configure option and color-distance change.
      src/Makefile.in: Add references to lcms.c and liblcms.
      src/emacs.c: Define lcms2 symbols.
      src/lcms.c: New file.
      src/lisp.h: Add declaration for lcms2.
      src/xfaces.c: Add optional METRIC argument.
      5d4c539b
  19. 10 Sep, 2017 2 commits
  20. 08 Sep, 2017 1 commit
  21. 05 Sep, 2017 1 commit
  22. 30 Aug, 2017 1 commit
  23. 29 Aug, 2017 2 commits
    • Paul Eggert's avatar
      Be more conservative in link time optimization doc · 9b4b2e9f
      Paul Eggert authored
      While testing --enable-link-time-optimization with GCC 7.1.1
      I ran into a serious GCC code-generation bug which makes me
      think that --enable-link-time-optimization should be
      discouraged for typical installs (Bug#28213).  See:
      https://bugzilla.redhat.com/show_bug.cgi?id=1486455
      9b4b2e9f
    • Paul Eggert's avatar
      Improve stack-top heuristic · 9baeed35
      Paul Eggert authored
      This is needed for gcc -Os -flto on x86-64; otherwise, GC misses part
      of the stack when scanning for heap roots, causing Emacs to crash
      later (Bug#28213).  The problem is that Emacs's hack for getting an
      address near the stack top does not work when link-time optimization
      moves stack variables around.
      * configure.ac (HAVE___BUILTIN_FRAME_ADDRESS): New macro.
      * lib-src/make-docfile.c (DEFUN_noinline): New constant.
      (write_globals, scan_c_stream): Support noinline.
      * src/alloc.c (NEAR_STACK_TOP): New macro.
      (SET_STACK_TOP_ADDRESS): Use it.
      (flush_stack_call_func, Fgarbage_collect): Now noinline.
      9baeed35
  24. 15 Aug, 2017 1 commit
    • Noam Postavsky's avatar
      Speed up ./configure with more caching (Bug#27960) · e88bbd22
      Noam Postavsky authored
      * configure.ac: Cache the 'GTK compiles', 'GSettings is in gio',
      'LN_S', '-znocombreloc', 'sysinfo', 'gcc autodepends', '-b link',
      'Xkb', 'Xpm preprocessor', 'tputs library' 'GLib', 'signals via
      characters', and 'Windows API header' checks.  Remove pause after
      warning about GTK bug.
      e88bbd22
  25. 12 Aug, 2017 1 commit
    • Paul Eggert's avatar
      Improve make-temp-file performance on local files · a6ad98ad
      Paul Eggert authored
      For the motivation behind this patch, please see Bug#28023 and:
      http://emacshorrors.com/posts/make-temp-name.html
      Although, given the recent changes to Tramp, the related security
      problem in make-temp-file is already fixed, make-temp-file still has
      several unnecessary system calls.  In the typical case on GNU/Linux,
      this patch replaces 8 syscalls (symlink, open, close, readlinkat, uname,
      getpid, unlink, umask) by 2 (open, close).
      * admin/merge-gnulib (GNULIB_MODULES): Add tempname, now
      that Emacs is using it directly.
      * configure.ac (AUTO_DEPEND): Remove AC_SYS_LONG_FILE_NAMES;
      no longer needed.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lisp/files.el (files--make-magic-temp-file): Rename from
      make-temp-file.
      (make-temp-file): Use make-temp-file-internal for
      non-magic file names.
      * src/fileio.c: Include tempname.h.
      (make_temp_name_tbl, make_temp_name_count)
      (make_temp_name_count_initialized_p, make_temp_name): Remove.
      (Fmake_temp_file_internal): New function.
      (Fmake_temp_name): Use it.
      * src/filelock.c (get_boot_time): Use Fmake_temp_file_internal
      instead of make_temp_name.
      a6ad98ad
  26. 03 Aug, 2017 2 commits
  27. 29 Jul, 2017 1 commit
    • Paul Eggert's avatar
      Do not worry about paxctl on newer NetBSD · 920afa22
      Paul Eggert authored
      Problem reported privately by Thomas Klausner.
      * configure.ac (emacs_uname_r): New var.  Use it to avoid paxctl
      on newer NetBSD platforms, where it is not needed.  Also use it to
      simplify Cygwin diagnostic.
      920afa22
  28. 24 Jul, 2017 2 commits
  29. 23 Jul, 2017 2 commits
  30. 14 Jul, 2017 1 commit
    • Paul Eggert's avatar
      GnuTLS integer-overflow and style fixes · 05b8b866
      Paul Eggert authored
      This tweaks the recently-added GnuTLS improvements so that
      they avoid some integer-overflow problems and follow typical
      Emacs style a bit better.
      * configure.ac (HAVE_GNUTLS3_HMAC, HAVE_GNUTLS3_AEAD)
      (HAVE_GNUTLS3_CIPHER): Use AC_CACHE_CHECK so that the
      configure-time results are displayed.
      * src/fns.c (extract_data_from_object): Return char *, not char
      const *, since one gnutls caller wants a non-const pointer.  Use
      CONSP rather than !NILP when testing for conses.  Use CAR_SAFE
      instead of rolling our own code.  Prefer signed types to unsigned
      when either will do.  Report problems for lengths out of range,
      instead of silently mishandling them.
      * src/gnutls.c (emacs_gnutls_strerror): New function, to simplify
      callers.  All callers of gnutls_sterror changed.
      (Fgnutls_boot): Check for integers out of range rather than
      silently truncating them.
      (gnutls_symmetric_aead): Check for integer overflow in size
      calculations.
      (gnutls_symmetric_aead, Fgnutls_macs, Fgnutls_digests):
      Prefer signed to unsigned integers where either	will do.
      (gnutls_symmetric_aead, gnutls_symmetric):
      Work even if ptrdiff_t is wider than ‘long’.
      (gnutls_symmetric, Fgnutls_hash_mac, Fgnutls_hash_digest):
      Check for integer overflow in algorithm selection.
      05b8b866