1. 15 Apr, 2019 2 commits
    • Alexander Gramiak's avatar
      Bump minimum GTK versions to 2.24 and 3.10 · fc0f469f
      Alexander Gramiak authored
      * configure.ac: Bump required GTK 2 and GTK 3 versions and the
      associated GLib versions. Remove obsolete AC_CHECK_FUNCS calls. These
      check for functions available in later GTK 2 versions. These checks
      and can safely be removed with the exception of
      gtk_window_set_has_resize_grip, which according to a comment in
      gtkutil.c causes an issue in Ubuntu's GTK 2.
      
      * src/gtkutil.c:
      * src/xfns.c:
      * src/xterm.c:
      * src/xterm.h: Remove now unused conditional blocks. Use HAVE_GTK3
      instead of GTK_CHECK_VERSION where now applicable. Remove checks of
      now always true USE_GTK_TOOLTIP.
      fc0f469f
    • Paul Eggert's avatar
      Replace executable’s fingerprint in place · 5c2f94a1
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add memmem-simple.
      (AVOIDED_MODULES): Add memchr.
      * configure.ac (HAVE_PDUMPER): AC_SUBST it, too, for use in makefiles.
      * lib/Makefile.in (libgnu_a_OBJECTS): Add fingerprint.o.
      * lib/fingerprint.c: New file.
      * lib/memmem.c, lib/str-two-way.h, m4/memmem.m4: New files,
      copied from Gnulib.
      * lib/fingerprint.h: Rename from src/fingerprint.h.
      * lib-src/make-fingerprint.c: Include limits.h, sys/stat.h,
      fingerprint.h, intprops.h, min-max.h.
      (SSIZE_MAX): New macro, if not already defined.
      (main): Without -r, Replace the fingerprint in the input file
      instead of generating a fingerprint.c.
      * lib/Makefile.in (libgnu_a_OBJECTS): Add fingerprint.o.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * src/Makefile.in (HAVE_PDUMPER, MAKE_PDUMPER_FINGERPRINT):
      New macros.
      (temacs$(EXEEXT)): Use them to replace the fingerprint instead
      of precalculating it.
      (mostlyclean, ctagsfiles1): Do not worry about fingerprint.c.
      5c2f94a1
  2. 14 Apr, 2019 12 commits
  3. 13 Apr, 2019 15 commits
  4. 12 Apr, 2019 11 commits
    • Dmitry Gutov's avatar
      Add :array-type option to json-parse-string · b41c1ca1
      Dmitry Gutov authored
      * src/json.c (enum json_array_type): New type.
      (struct json_configuration): New field array_type.
      (json_parse_args): Rename the last argument.  Handle the
      :array-type keyword argument (bug#32793).
      (Fjson_parse_string): Update the docstring accordingly.
      (json_to_lisp): Handle the case of :array-type being `list'.  Add
      a call to 'rarely_quit' inside the loop.
      (syms_of_json): Define new symbols.
      (Fjson_serialize, Fjson_insert, Fjson_parse_string)
      (Fjson_parse_buffer): Update the config struct initializers.
      b41c1ca1
    • Alan Mackenzie's avatar
      Analyze C++ method with & or && ref-qualifier as defun, not brace list · cc80eeb4
      Alan Mackenzie authored
      Also firm up detection of beginning of brace list in
      c-looking-at-or-maybe-in-bracelist.
      
      * lisp/progmodes/cc-engine.el (c-looking-at-or-maybe-in-bracelist): On
      detection of such a ref-qualifier, set braceassignp to nil.  When this
      variable has a nil value, return nil as the value of the function.  On
      encountering a } when scanning backwards, recognise this as the end of a
      previous construct and stop the scan.
      cc80eeb4
    • Stefan Monnier's avatar
      * lisp/help-fns.el (help-fns-describe-variable-functions): New hook · 896e5802
      Stefan Monnier authored
      (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete)
      (help-fns--interactive-only): Indent output by 2 spaces.
      (help-fns--side-effects): New function extracted from
      describe-function-1.
      (help-fns-describe-function-functions): Use it.
      (help-fns--first-release, help-fns--mention-first-release): New functions.
      (help-fns-function-description-header): Keymaps and macros can't
      be interactive.
      (help-fns--ensure-empty-line): New function.
      (describe-function-1): Use it.
      (help-fns--var-safe-local, help-fns--var-risky)
      (help-fns--var-ignored-local, help-fns--var-file-local)
      (help-fns--var-watchpoints, help-fns--var-obsolete)
      (help-fns--var-alias, help-fns--var-bufferlocal): New functions,
      extacted from describe-variable.
      (describe-variable): Run help-fns-describe-variable-functions instead.
      896e5802
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 2bc2a3ec
      Glenn Morris authored
      The following commit was skipped:
      
      fd1b34bf (origin/emacs-26) Bump Emacs version to 26.2
      2bc2a3ec
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · a25f4d6e
      Glenn Morris authored
      818a68b1 * etc/HISTORY: Update for Emacs 26.2 release.
      e04aa5af ; ChangeLog.3 update
      8297e97f * etc/AUTHORS: Update.
      85829363 Improve documentation of 'read-command'
      dc81c051 ; * CONTRIBUTE: Mention where to ask for the copyright assign...
      b77723a5 Fix an outdated URL in a comment
      a25f4d6e
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · d4b90e59
      Glenn Morris authored
      The following commits were skipped:
      
      71be83ef Backport: Fix comment-empty-lines docstring (bug#35152)
      559f64a0 Backport: Update documentation for indent-relative functions
      d4b90e59
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · fe6e5af4
      Glenn Morris authored
      cb5a3408 Update nxml-mode.texi: completion now gives xmlns="-!-"
      fe6e5af4
    • Basil L. Contovounesios's avatar
      Move proper-list-p tests to fns-tests.el · 0c4c96d7
      Basil L. Contovounesios authored
      This follows the move of proper-list-p from lisp/subr.el to
      src/fns.c in 2018-07-24T15:58:46-07:00!eggert@cs.ucla.edu.
      * test/lisp/subr-tests.el (subr-tests--proper-list-p): Move from
      here...
      * test/src/fns-tests.el (test-proper-list-p): ...to here.
      0c4c96d7
    • Basil L. Contovounesios's avatar
      Optimize byte-compilation of proper-list-p · 9a54e70c
      Basil L. Contovounesios authored
      For discussion, see thread starting at:
      https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00316.html
      * lisp/emacs-lisp/byte-opt.el: Optimize proper-list-p as a
      predicate.
      * lisp/subr.el: Mark proper-list-p as pure, and side-effect and
      error free.
      9a54e70c
    • Alex Murray's avatar
      Pop to originating erc buffer when clicking desktop notification · 6dc4c722
      Alex Murray authored
      * lisp/erc/erc-desktop-notifications.el: Switch to lexical-binding.
      (erc-notifications-notify): Add a default action to the desktop
      notification which pops to the buffer from which the notification
      originated.  (Bug#35141)
      
      Copyright-paperwork-exempt: yes
      6dc4c722
    • Basil L. Contovounesios's avatar
      Always set gnus-group property to a group name · 2b82c829
      Basil L. Contovounesios authored
      * lisp/gnus/gnus-group.el (gnus-group-prepare-flat-list-dead): Set
      gnus-group property to a group name, not active info. (bug#33653)
      Simplify surrounding logic.
      (gnus-group-prepare-flat, gnus-group-goto-group): Use accessor
      macros.
      (gnus-group-insert-group-line, gnus-group-new-mail)
      (gnus-group-mark-group): Write ?\s instead of ? .
      (gnus-group-group-name, gnus-group-list-active): Simplify.
      2b82c829