1. 12 Aug, 2018 11 commits
    • Eli Zaretskii's avatar
      ; Avoid compilation warnings under -Og · d9806a55
      Eli Zaretskii authored
      * src/w32.c (w32_read_registry):
      * src/font.c (font_parse_fcname):
      * src/fns.c (Fnconc):
      * src/editfns.c (tzlookup):
      * src/frame.c (x_set_frame_parameters): Avoid compiler warnings
      about maybe-uninitialized variables.
      d9806a55
    • Michael Albinus's avatar
      ; Remove instrumentation for Bug#32226 · 4532def3
      Michael Albinus authored
      4532def3
    • João Távora's avatar
      jsonrpc-shutdown's cleanup also kills stderr buffer · 6a7c84d0
      João Távora authored
      * lisp/jsonrpc.el
      (Version): Bump to 1.0.6
      (jsonrpc-shutdown): Also kill stderr buffer
      6a7c84d0
    • João Távora's avatar
      Revert "Make jsonrpc-shutdown a noop if process isn't running" · a5cd6cb2
      João Távora authored
      This reverts commit c5804433.  It
      leads to situations where the sentinel hasn't run yet, which brings
      problems if the normal process isn't running, but the stderr
      pseudo-process still is.
      
      * lisp/jsonrpc.el (jsonrpc-shutdown): Always enter loop.
      a5cd6cb2
    • Andreas Schwab's avatar
      Ensure no padding after union vectorlike_header · a04829d1
      Andreas Schwab authored
      Instead of increasing GCALIGNMENT align union vectorlike_header by
      adding a Lisp_Object member.
      
      * src/lisp.h (GCALIGNMENT): Revert last change.
      (union vectorlike_header): Add align member.
      (header_size): Verify the same as sizeof (union
      vectorlike_header)
      a04829d1
    • Andreas Schwab's avatar
      Avoid padding after union vectorlike_header · 3d0a0ca7
      Andreas Schwab authored
      The PSEUDOVECTORSIZE macro requires that the first member after union
      vectorlike_header has the same offset in all pseudo vector structures.
      
      * src/lisp.h (GCALIGNMENT) [!USE_LSB_TAG]: Use alignment of
      Lisp_Object.
      3d0a0ca7
    • Paul Eggert's avatar
      New 'configure' arg --with-mini-gmp · 3fc948a3
      Paul Eggert authored
      * configure.ac: It lets the builder override default of whther
      mini-gmp is used.  Use AC_SEARCH_LIBS as per Autoconf manual.
      3fc948a3
    • Paul Eggert's avatar
      Update from Gnulib · d64c1be9
      Paul Eggert authored
      This incorporates:
      2018-08-11 verify: port 'assume' to traditional tools
      * build-aux/config.sub, lib/regcomp.c, lib/verify.h:
      Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
      d64c1be9
    • Paul Eggert's avatar
      1145bd0e
    • Paul Eggert's avatar
      Simplify mark_object for pseudovectors · 6c12f4e6
      Paul Eggert authored
      Suggested by Pip Cet (Bug#32405#14).
      * src/alloc.c (mark_object): Remove unnecessary special cases for
      PVEC_MARKER, PVEC_BOOL_VECTOR, PVEC_MISC_PTR, PVEC_USER_PTR, and
      PVEC_FINALIZER.
      
      change is to free up an enum Lisp_Type tag value, a scarce
      6c12f4e6
    • Paul Eggert's avatar
      Turn misc objects into pseudovectors · d614e4a8
      Paul Eggert authored
      Eliminate the category of miscellaneous objects, and turn all
      such objects into pseudovectors.  The immediate motivation
      for this change is to free up an enum Lisp_Type tag value, a
      scarce resource that can be better used elsewhere.  However,
      this change is worthwhile in its own right, as it improves
      performance slightly on my platform, 0.3% faster for 'make
      compile-always' on Fedora 28, and it simplifies the garbage
      collector and interpreter (Bug#32405).
      * doc/lispref/internals.texi (Garbage Collection):
      * etc/NEWS:
      Document change to garbage-collect return value.
      * src/alloc.c (total_markers, total_free_markers):
      (union aligned_Lisp_Misc, MARKER_BLOCK_SIZE)
      (struct marker_block, marker_block, marker_block_index)
      (misc_free_list, allocate_misc, live_misc_holding)
      (live_misc_p, sweep_misc):
      * src/lisp.h (lisp_h_MARKERP, lisp_h_MISCP, MARKERP, MISCP)
      (Lisp_Misc, enum Lisp_Misc_Type, Lisp_Misc_Free)
      (Lisp_Misc_Marker, Lisp_Misc_Overlay, Lisp_Misc_Finalizer)
      (Lisp_Misc_Ptr, Lisp_Misc_User_Ptr, Lisp_Misc_Limit)
      (Lisp_Misc_Bignum)
      (XSETMISC, struct Lisp_Misc_Any, XMISCANY, XMISCTYPE)
      (struct Lisp_Free, union Lisp_Misc, XMISC):
      Remove.  All uses removed.
      (cleanup_vector): Clean up objects that were formerly misc
      and are now pseudovectors.
      (make_misc_ptr, build_overlay, Fmake_marker, build_marker)
      (make_bignum_str, make_number, make_pure_bignum)
      (make_user_ptr, Fmake_finalizer):
      Build as pseudovectors, not as misc objects.
      (mark_finalizer_list, queue_doomed_finalizers)
      (compact_undo_list, mark_overlay, mark_object)
      (unchain_dead_markers):
      Mark as vector-like objects, not as misc objects.
      (mark_maybe_object, mark_maybe_pointer, valid_lisp_object_p)
      (total_bytes_of_live_objects, survives_gc_p):
      * src/fns.c (sxhash):
      No need to worry about misc objects.
      (garbage_collect_1): Do not generate a 'misc' component.
      (syms_of_alloc): No need for 'misc' symbol.
      * src/buffer.c (overlays_at, overlays_in, overlay_touches_p)
      (overlay_strings, recenter_overlay_lists)
      (fix_start_end_in_overlays, fix_overlays_before)
      (Foverlay_lists, report_overlay_modification)
      (evaporate_overlays):
      * src/editfns.c (overlays_around):
      * src/data.c (Ftype_of):
      * src/fns.c (internal_equal):
      * src/lisp.h (mint_ptrp, xmint_pointer, FINALIZERP)
      (XFINALIZER, MARKERP, XMARKER, OVERLAYP, XOVERLAY, USER_PTRP)
      (XUSER_PTR, BIGNUMP, XBIGNUM):
      * src/print.c (print_vectorlike, print_object):
      * src/undo.c (record_marker_adjustments):
      * src/xdisp.c (load_overlay_strings):
      Formerly misc objects are now pseudovectors.
      * src/lisp.h (PVEC_MARKER, PVEC_OVERLAY, PVEC_FINALIZER)
      (PVEC_BIGNUM, PVEC_MISC_PTR, PVEC_USER_PTR):
      New constants, replacing their misc versions.  All uses changed.
      (struct Lisp_Marker, struct Lisp_Overlay, struct Lisp_Misc_Ptr)
      (struct Lisp_Bignum, struct Lisp_User_Ptr, struct Lisp_Finalizer):
      Make usable as a pseudovector by using a pseudovector header,
      replacing any DIY components, and putting Lisp_Object members
      first.  All uses changed.
      d614e4a8
  2. 11 Aug, 2018 20 commits
  3. 10 Aug, 2018 9 commits
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 110a7d1a
      Glenn Morris authored
      The following commit was skipped:
      
      5e42c349 (origin/emacs-26) Fix bugs in `auth-source-netrc-parse-one'.
      110a7d1a
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · bd6b6cdb
      Glenn Morris authored
      71c92d89 Fix copying text properties by 'format'
      96be6b6e Improve error messages regarding initial-buffer-choice (Bug#2...
      00fb1270 * test/lisp/wdired-tests.el (wdired-test-unfinished-edit-01):...
      
      Conflicts:
      	lisp/startup.el
      bd6b6cdb
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 506ea8a2
      Glenn Morris authored
      The following commit was skipped:
      
      18588bce Make async :family 'local failures fail correctly again
      506ea8a2
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · caa4d9c4
      Glenn Morris authored
      5afbf626 Fix emacsclient check for term.el buffer (Bug#21041)
      5132a585 Improve documentation of 'set-fontset-font'
      cd903253 Improve documentation of M-?
      155a8851 Reinterpret Esperanto characters in iso-transl as iso-8859-3.
      a0ef7338 Fix Flyspell mode when several languages are mixed in a buffer
      caa4d9c4
    • Filipp Gunbin's avatar
      Fix bugs in `auth-source-netrc-parse-one'. · 5e42c349
      Filipp Gunbin authored
      * lisp/auth-source.el (auth-source-netrc-parse-one): Ensure that match
        data is not overwritten in `auth-source-netrc-parse-next-interesting'.
        Ensure that blanks are skipped before and after going over comments
        and eols.
      * test/lisp/auth-source-tests.el (auth-source-test-netrc-parse-one): New test.
      
      (cherry picked from commit 60ff8101)
      5e42c349
    • Michael Albinus's avatar
      ; More instrumentation for shadowfile-tests.el and files.el · 243b68f7
      Michael Albinus authored
      * test/lisp/shadowfile-tests.el (shadow-test06-literal-groups)
      (shadow-test07-regexp-groups, shadow-test08-shadow-todo)
      (shadow-test09-shadow-copy-files): Use `set-visited-file-name'
      instead of setting the value in `buffer-file-name' directly.
      (Bug#32226)
      243b68f7
    • Michael Albinus's avatar
      Another try to fix Bug#32226 · 7fbf1247
      Michael Albinus authored
      * test/lisp/shadowfile-tests.el (shadow-test06-literal-groups)
      (shadow-test07-regexp-groups, shadow-test08-shadow-todo)
      (shadow-test09-shadow-copy-files): Use `set-visited-file-name'
      instead of setting the value in `buffer-file-name' directly.
      (Bug#32226)
      7fbf1247
    • Michael Albinus's avatar
      ; More instrumentation for files.el · 9905c927
      Michael Albinus authored
      9905c927
    • João Távora's avatar
      Allow completely disabling event logging in jsonrpc.el · 9bb52a8e
      João Távora authored
      Pretty printing the event sexp can be very slow when very big messages
      are involved.
      
      * lisp/jsonrpc.el (Version): Bump to 1.0.3
      (jsonrpc-connection): Tweak docstring for
      jsonrpc--event-buffer-scrollback-size.
      (jsonrpc--log-event): Only log if max size is positive.
      9bb52a8e