1. 13 Aug, 2019 6 commits
    • Paul Eggert's avatar
      Don’t increase consing_until_gc when out of memory · f4974d6f
      Paul Eggert authored
      * src/alloc.c (memory_full): Don’t increase consing_until_gc.
      Suggested by Eli Zaretskii (Bug#37006#46).
      f4974d6f
    • Paul Eggert's avatar
      Let consing_until_gc exceed EMACS_INT_MAX · b80559be
      Paul Eggert authored
      This builds on the previous patch.
      * src/alloc.c (consing_until_gc): Now of type intmax_t,
      since gc-cons-threshold can be up to INTMAX_MAX.  All uses changed.
      * src/lisp.h (CONSING_CT_MAX, consing_ct): Remove.
      b80559be
    • Paul Eggert's avatar
      Let consing_until_gc exceed INTPTR_MAX · a354736e
      Paul Eggert authored
      Suggested by Eli Zaretskii (Bug#37006#46).
      * src/alloc.c (consing_until_gc): Now of type consing_ct.
      All uses changed, so gc-cons-threshold no longer saturates
      against OBJECT_CT_MAX.
      (object_ct): Move typedef here from lisp.h.
      * src/lisp.h (consing_ct, CONSING_CT_MAX): New type and macro.
      (OBJECT_CT_MAX): Remove.  Replace all uses with CONSING_CT_MAX.
      a354736e
    • Paul Eggert's avatar
      Fix GC threshold typo · 88827614
      Paul Eggert authored
      Problem reported by Eli Zaretskii (Bug#37006#25).
      * src/alloc.c (garbage_collect_1): Fix typo in threshold calc.
      Go back to dividing by 10 since the numerator’s a constant now.
      Problem introduced in 2019-07-21T02:40:03Z!eggert@cs.ucla.edu.
      88827614
    • Eli Zaretskii's avatar
      Improve documentation of 'diff-font-lock-prettify' · c0e720cd
      Eli Zaretskii authored
      * lisp/vc/diff-mode.el (diff-font-lock-prettify): Doc fix.
      
      * etc/NEWS: Minor copyedits.
      c0e720cd
    • Eli Zaretskii's avatar
      Fix initialization of user-defined fringe bitmaps in daemon mode · c90975f9
      Eli Zaretskii authored
      * src/fringe.c (gui_init_fringe): Rename from w32_init_fringe
      or x_cr_init_fringe, and make unconditionally compiled; all
      callers changed.  Do nothing if the frame's
      redisplay_interface doesn't implement the define_fringe_bitmap
      method.  Set up any user-defined fringe bitmaps in addition to
      the standard bitmaps.
      Suggested by Liam Quinlan <liamkquinlan@gmail.com> in
      https://lists.gnu.org/archive/html/emacs-devel/2019-08/msg00259.html.
      
      (w32_reset_fringes) [HAVE_NTGUI]: Do nothing if the frame's
      redisplay_interface doesn't implement the
      destroy_fringe_bitmap method.
      
      * src/w32fns.c (Fx_create_frame): Call gui_init_fringe when
      the first GUI frame is created for this session.
      * src/dispextern.h (w32_init_fringe): Rename to
      gui_init_fringe and make unconditional.
      (x_cr_init_fringe): Remove prototype.
      c90975f9
  2. 12 Aug, 2019 6 commits
    • Eli Zaretskii's avatar
      ; Add commentary to recent changes · 2b329ed4
      Eli Zaretskii authored
      * src/image.c (png_load_body):
      * src/editfns.c (styled_format):
      * src/casefiddle.c (do_casify_multibyte_string):
      * src/alloc.c (free_cons): Comment why we use a signed
      temporary integer variable.  (Bug#37006)
      2b329ed4
    • Óscar Fuentes's avatar
    • Michael Albinus's avatar
      Quote file names properly in Tramp · 88006cf5
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-file-truename)
      (tramp-handle-insert-directory):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
      (tramp-sh-handle-insert-directory):
      * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename):
      Use `tramp-compat-directory-name-p'.
      
      * lisp/net/tramp.el (tramp-drop-volume-letter)
      (tramp-handle-file-truename):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
      (tramp-sh-handle-file-truename):
      * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename):
      (tramp-sudoedit-handle-make-symbolic-link): Quote properly.
      
      * lisp/net/tramp-compat.el (tramp-compat-file-name-quote)
      (tramp-compat-file-name-unquote): Add optional argument TOP.
      88006cf5
    • Michael Albinus's avatar
      Handle symbolic links properly in Tramp gfvs methods · f7b5e7d7
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-readable-p):
      Handle symbolic links.
      f7b5e7d7
    • Michael Albinus's avatar
      Fix caching problem in Tramp smb method · 55d82625
      Michael Albinus authored
      * lisp/net/tramp-cache.el (tramp-flush-file-upper-properties):
      Add "file-entries",
      55d82625
    • Paul Eggert's avatar
      Prefer signed when testing for signed overflow · 57fc1a5f
      Paul Eggert authored
      * src/alloc.c (free_cons):
      * src/casefiddle.c (do_casify_multibyte_string):
      * src/editfns.c (styled_format):
      * src/image.c (png_load_body):
      Use signed arguments to INT_MULTIPLY_WRAPV etc.  This doesn’t fix
      any bugs, but GCC emits better code when all args are signed.
      Also, this removes the need for an if in free_cons (Bug#37006).
      57fc1a5f
  3. 11 Aug, 2019 5 commits
  4. 10 Aug, 2019 12 commits
  5. 09 Aug, 2019 8 commits
  6. 08 Aug, 2019 3 commits
    • Noam Postavsky's avatar
      Say how to enable event designators in the eshell manual · b055ec0d
      Noam Postavsky authored
      * doc/misc/eshell.texi (History): Mention that event designators need
      to be enabled.
      * etc/NEWS: Mark corresponding entry as documented in manual.
      b055ec0d
    • Mauro Aranda's avatar
      Fix octave-mode ElDoc support · cb0403d7
      Mauro Aranda authored
      * lisp/progmodes/octave.el (octave-eldoc-function-signatures): Fix the
      regexp used, so no match happens when there is no defined function FN.
      Also, tweak the regexp to support GNU Octave 4.2.x and newer.  (Bug#36459)
      cb0403d7
    • Michael Albinus's avatar
      Work on Tramp backward compatibility · f9beb2bf
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file)
      (tramp-adb-handle-rename-file):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
      * lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file):
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-file)
      (tramp-smb-handle-rename-file):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file):
      Use `tramp-compat-directory-name-p'.
      f9beb2bf