1. 05 Jan, 2020 6 commits
  2. 04 Jan, 2020 7 commits
  3. 03 Jan, 2020 15 commits
    • Glenn Morris's avatar
    • Philipp Stephani's avatar
      Implement finalizers for module functions (Bug#30373) · 48ffef5e
      Philipp Stephani authored
      * src/module-env-28.h: Add new module environment functions to
      module environment for Emacs 28.
      * src/emacs-module.h.in: Document that 'emacs_finalizer' also works
      for function finalizers.
      * src/emacs-module.c (CHECK_MODULE_FUNCTION): New function.
      (struct Lisp_Module_Function): Add finalizer data member.
      (module_make_function): Initialize finalizer.
      (module_set_function_finalizer): New module environment functions.
      (module_finalize_function): New function.
      (initialize_environment): Initialize new environment functions.
      * src/alloc.c (cleanup_vector): Call potential module function
      finalizer during garbage collection.
      * test/data/emacs-module/mod-test.c (signal_error): New helper
      (memory_full): Use it.
      (finalizer): New example function finalizer.
      (Fmod_test_function_finalizer_calls): New test module functions.
      (emacs_module_init): Define them.
      * test/src/emacs-module-tests.el (module/function-finalizer): New unit
      * doc/lispref/internals.texi (Module Functions): Document new
      (Module Misc): Move description of 'emacs_finalizer' type to 'Module
      Functions' node, and add a reference to it.
      * etc/NEWS: Mention new functionality.
    • Eli Zaretskii's avatar
      Fix the MS-Windows build broken by "Let the OS clear large new objects" · 2b6d702e
      Eli Zaretskii authored
      * src/w32heap.c (sys_calloc): New function, implements calloc
      in terms of our private implementations of malloc.
      * nt/inc/ms-w32.h (calloc): Redirect to sys_calloc.
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · fa7148fd
      Glenn Morris authored
      06364316 (origin/emacs-27) * lisp/net/tramp.el (tramp-file-local-na...
      d3884f50 Adapt commentary in Tramp persistency file
      2d82f5a4 Change Tramp version to
      09b65707 ; * src/dispnew.c (adjust_glyph_matrix): Fix last change.
      37f9182b Fix redisplay when mode-line-format changes mode-line's he...
      1420906b * src/fileio.c (Fwrite_region): Improve the doc string.
      01dfcb7c Fix removal of frame decorations on Windows (Bug#38705)
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · 2ab5bc32
      Glenn Morris authored
      The following commit was skipped:
      33815424 Fix compilation with GTK versions older than 3
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 6654ace8
      Glenn Morris authored
      071483b6 Fix reverting customizations
      43203d50 * lisp/loadup.el: Set max-specpdl-size to 1800 when loadin...
      fab3674b Revert "Raise default max-specpdl-size value"
      42f66aa5 ; Fix NEWS.24
      bb9402e6 Raise default max-specpdl-size value
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · ef40d523
      Glenn Morris authored
      The following commit was skipped:
      4011b179 (emacs-27) ; Auto-commit of loaddefs files.
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 00ddb494
      Glenn Morris authored
      138e9051 Update distribution documentation
    • Mattias Engdegård's avatar
    • Michael Albinus's avatar
    • Michael Albinus's avatar
      Adapt commentary in Tramp persistency file · d3884f50
      Michael Albinus authored
      * lisp/net/tramp-cache.el (tramp-dump-connection-properties):
      Adapt commentary in `tramp-persistency-file-name'.
    • Michael Albinus's avatar
      Change Tramp version to · 2d82f5a4
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "".
      (customize-package-emacs-version-alist): Add Tramp version
      integrated in Emacs 27.1.
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix redisplay when mode-line-format changes mode-line's height · 37f9182b
      Eli Zaretskii authored
      * lisp/frame.el (top-level): Add mode-line-format,
      tab-line-format, and header-line-format to the list of variables
      that should trigger an immediate redisplay of the buffer's
      window.  This fixes redisplay of windows when the mode line
      changes its height.
      * src/xdisp.c (window_box_height): Use the window's
      mode_line_height, tab_line_height, and header_line_height fields
      in preference to CURRENT_MODE_LINE_HEIGHT,
      respectively.  This fixes display of vertical scroll bar when the
      height of the window's mode line changes.
      * src/dispnew.c (adjust_glyph_matrix): When resizing a window's
      matrix, reset the mode_line_p flag of the previous mode-line row,
      so that the window_box_height, CURRENT_MODE_LINE_HEIGHT, and their
      ilk won't use stale info.  (Bug#38828)
    • Paul Eggert's avatar
      Let the OS clear large new objects · dd0e4d4e
      Paul Eggert authored
      Prefer calloc to malloc+memset when allocating large zeroed objects.
      This avoids page thrashing when (make-vector 1000000000 nil)
      allocates a large nil vector, as Emacs need not touch the
      vector’s pages.  This wins on platforms like GNU/Linux where
      calloc can fiddle with page tables to create a block of memory
      that is lazily zeroed.
      * src/alloc.c (lisp_malloc, lmalloc, allocate_vectorlike):
      New arg CLEARIT to tell callee whether to use malloc or calloc.
      All callers changed.
      (allocate_clear_vector, allocate_nil_vector): New functions.
      * src/alloc.c (xzalloc, make_vector):
      * src/lisp.h (make_nil_vector):
      Prefer calloc to malloc + memset(...,0,...).
  4. 02 Jan, 2020 2 commits
  5. 01 Jan, 2020 10 commits