1. 12 Feb, 2016 1 commit
  2. 11 Feb, 2016 7 commits
  3. 10 Feb, 2016 11 commits
    • Paul Eggert's avatar
      make-docfile cleanup for I/O, etc. · 456c0a31
      Paul Eggert authored
      * lib-src/make-docfile.c (progname, generate_globals, num_globals)
      (num_globals_allocated, globals): Now static.
      (generate_globals, struct rcsoc_state, read_c_string_or_comment):
      (write_c_args, scan_c_stream, search_lisp_doc_at_eol, scan_lisp_file):
      Use bool for boolean.
      (verror): New function.
      (fatal, error): Use it.  API is now like printf.  All callers changed.
      (main): Remove err_count local that was always 0.
      (main, scan_c_stream, scan_lisp_file): Check for I/O error.
      (scan_file, scan_c_file, scan_c_stream, scan_lisp_file):
      Return void, not 0.
      (put_char, scan_keyword_or_put_char, scan_c_file): Use char for byte.
      (scan_keyword_or_put_char): Check for missing ( and unexpected EOF.
      (close_emacs_globals): Use ptrdiff_t for index, not int.
      (scan_c_file, scan_lisp_file): Exit with failure if file cannot be
      opened, rather than diagnosing but exiting with status 0.
      (search_lisp_doc_at_eol): Don't worry about ungetc of EOF; it's
      portable now.
      456c0a31
    • Paul Eggert's avatar
      Memory-management cleanup in make-docfile · 25ec995c
      Paul Eggert authored
      I compiled it with -fsanitize=address and fixed the leaks it detected.
      Also, I changed it to prefer signed to unsigned integer types,
      and to check for integer overflow.
      * lib-src/make-docfile.c:
      Include <stddef.h>, <stdint.h>, <intprops.h>, <min-max.h>.
      (memory_exhausted): New function.
      (xmalloc, xrealloc): Use it.
      (xmalloc, xrealloc, scan_file, struct rcsoc_state, write_c_args)
      (uncompiled, scan_lisp_file):
      Prefer signed integer types to unsigned.
      (xstrdup): Remove.  All uses removed.
      (num_globals, num_globals_allocated, write_globals, scan_c_stream):
      Use ptrdiff_t, not int, for indexes that in theory could exceed INT_MAX.
      (add_global): Use const to pacify --enable-gcc-warnings.
      Make a copy here, rather than relying on strdup calls later.
      (add_global, write_globals, scan_c_stream):
      Avoid integer overflow when calculating sizes.
      (write_globals, scan_c_stream, scan_lisp_file): Avoid memory leak.
      (scan_c_stream): Check for add_global failure.
      25ec995c
    • Kevin Gallagher's avatar
      Kevin Gallagher has new email address · 02d925e9
      Kevin Gallagher authored
      * lisp/emulation/edt.el:
      * lisp/emulation/edt-lk201.el:
      * lisp/emulation/edt-mapper.el:
      * lisp/emulation/edt-pc.el:
      * lisp/emulation/edt-vt100.el:
      * etc/edt-user.el:
      * doc/misc/edt.texi: Update Kevin Gallagher's email address.
      02d925e9
    • Eli Zaretskii's avatar
      Improve doc strings of 'forward/backward-word-strictly' · 4ef153b5
      Eli Zaretskii authored
      * lisp/simple.el (backward-word): Refer to 'backward-word-strictly'
      in the doc string.  Suggested by Glenn Morris <rgm@gnu.org>.
      * lisp/subr.el (forward-word-strictly, backward-word-strictly):
      Mention 'subword-mode' in the doc strings.
      
      * src/syntax.c (Fforward_word): Refer to 'forward-word-strictly'
      in the doc string.  (Bug#22560)
      4ef153b5
    • Michael Albinus's avatar
      Describe Makefile test targets in test/README · 3ad05a0d
      Michael Albinus authored
      * CONTRIBUTE: Move Makefile test targets to test/README.
      
      * Makefile.in:
      * test/README: Describe Makefile test targets.
      3ad05a0d
    • Artur Malabarba's avatar
      Backport: * lisp/isearch.el: Turn char-folding off by default · 12c50e82
      Artur Malabarba authored
      (search-default-mode): Set default value to nil.
      12c50e82
    • Lars Ingebrigtsen's avatar
      Document EXIF image rotation · 10b8ed27
      Lars Ingebrigtsen authored
      * doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.
      10b8ed27
    • Dima Kogan's avatar
      Support integer image rotation and respect EXIF rotations · 0f600496
      Dima Kogan authored
      * src/image.c (imagemagick_load_image): Allow integer rotations in
      addition to floating point rotations (bug#22591).
      * src/image.c (imagemagick_load_image): Images that have an
      orientation given in EXIF and have no explicit :rotation tag are now
      pre-rotated.  All information such as width/height is reported for the
      rotated image.
      0f600496
    • Matthew Carter's avatar
      Quote table names for postgres listings (sql-mode) · 7dd45b61
      Matthew Carter authored
      * lisp/progmodes/sql.el (sql-postgres-completion-object): Avoid passing
        unquoted table names to the completion list.
      7dd45b61
    • Juri Linkov's avatar
      * lisp/replace.el (replace-match-maybe-edit): Make arg `backward' optional. · 6bac035d
      Juri Linkov authored
      Doc fix.
      (replace-search, replace-highlight): Make arg `backward' optional.
      (Bug#18388)
      6bac035d
    • Juri Linkov's avatar
      * lisp/simple.el (next-line-or-history-element): Reset temporary-goal-column. · ee909aa2
      Juri Linkov authored
      (previous-line-or-history-element): Reset temporary-goal-column.
      Use end-of-visual-line instead of line-end-position.  (Bug#22544)
      ee909aa2
  4. 09 Feb, 2016 15 commits
  5. 08 Feb, 2016 6 commits
    • Lars Ingebrigtsen's avatar
      Fix message-cross-post-followup-to group names · 435af801
      Lars Ingebrigtsen authored
      * lisp/gnus/message.el (message-cross-post-followup-to): Don't
      insert group names like "nntp+foo:zot", because those aren't valid.
      435af801
    • David Edmondson's avatar
      Compare recipient and keys case-insensitively · 22e239cb
      David Edmondson authored
      * lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
      recipient address with that from a key, do so in a case insensitive
      manner (bug#22603).
      22e239cb
    • Glenn Morris's avatar
      e85055c9
    • Katsumi Yamaoka's avatar
      Refactor HTML images handling of Gnus and mm-* (a part of bug#21650) · 0a4c102a
      Katsumi Yamaoka authored
      * doc/misc/emacs-mime.texi (Display Customization):
      Remove mm-inline-text-html-with-images; add documentations for
      mm-html-inhibit-images and mm-html-blocked-images.
      
      * lisp/gnus/gnus-art.el (gnus-article-show-images):
      No need to bind mm-inline-text-html-with-images.
      (gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
      (gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
      bind mm-html-inhibit-images and mm-html-blocked-images.
      (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
      (gnus-mm-display-part, gnus-mime-display-single)
      (gnus-mime-display-alternative): Use gnus-bind-mm-vars.
      
      * lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
      (mm-html-inhibit-images, mm-html-blocked-images): New user options.
      (mm-shr): Bind shr-inhibit-images and shr-blocked-images with
      mm-html-inhibit-images and mm-html-blocked-images respectively
      instead of gnus-inhibit-images and gnus-blocked-images.
      
      * lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
      instead of mm-inline-text-html-with-images.
      0a4c102a
    • Paul Eggert's avatar
      Port to FreeBSD 11-CURRENT i386 · 463a8eae
      Paul Eggert authored
      Problem reported by Herbert J. Skuhra in:
      http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
      Instead of trying
      * src/alloc.c (lmalloc, lrealloc, laligned): New functions.
      (xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
      (__alignof__) [!__GNUC__ && !__alignof__]: New macro.
      (MALLOC_IS_GC_ALIGNED): New macro.
      * src/lisp.h (NONPOINTER_BITS): Remove.  All uses removed.
      No longer needed now that alloc.c uses lmalloc and lrealloc.
      463a8eae
    • Michael Albinus's avatar
      Some fixes in file-notify-tests.el · 37eae517
      Michael Albinus authored
      * test/automated/file-notify-tests.el
      (file-notify--test-with-events-check)
      (file-notify--test-with-events-explainer): New defuns.
      (file-notify--test-with-events): Use it.
      (file-notify-test07-backup): Fix docstring.  Some of the
      backends fire two `changed' events.  Backup by rename doesn't
      work for kqueue.
      37eae517