1. 11 Jul, 2019 2 commits
  2. 08 Jul, 2019 1 commit
  3. 07 Jul, 2019 1 commit
    • Nick Drozd's avatar
      Handle 'abbr' and 'acronym' tags in shr.el · bda8a571
      Nick Drozd authored
      * lisp/net/shr.el (shr-tag-abbr, shr-tag-acronym): New functions
      handling 'abbr' and 'acronym' tags, respectively.
      * etc/NEWS: Announce change in shr behavior (bug#36475).
  4. 29 Jun, 2019 1 commit
    • Eli Zaretskii's avatar
      Support native image transforms on MS-Windows · 74a5a332
      Eli Zaretskii authored
      This changeset also rearranges native image transform code
      for other platforms to make it cleaner, and also removes
      the support for native cropping.  For the discussions, see
      * src/w32term.c (w32_image_rotations_p, transform): New functions.
      (w32_draw_image_foreground): If image rotation is requested
      and supported, call PlgBlt to transform the image.
      (w32_initialize): Populate the PlgBlt function pointer if it
      is supported.
      * src/w32term.h (w32_image_rotations_p): Add prototype.
      * src/dispextern.h (struct image) [HAVE_NTGUI]: New member xform.
      * src/image.c (compute_image_rotation): Renamed from
      image_set_rotation.  Only compute and returns the rotation
      angle; leave the matrix calculation for later.  Log an error
      message if the :rotation parameter is not a number.
      (image_set_crop): Function deleted.  We no longer support
      native cropping, as one can display an image slice instead.
      (image_set_transform): Compute the transform matrix in its
      entirety here, in two variants: one for XRender and Cairo, the
      other for NS and MS-Windows.  call compute_image_size and
      compute_image_rotation internally.
      (lookup_image) [HAVE_NATIVE_TRANSFORMS]: Call only
      image_set_transform.  No need to pass the transform matrix to
      (Fimage_transforms_p): Return a list of transform capabilities
      rather than a simple boolean.  Support TTY frames as well.
      * src/nsimage.m (setTransform:): Don't invert the matrix, as
      it is already inverted in image.c.
      * test/manual/image-transforms-tests.el (test-cropping): State
      in the text that only ImageMagick supports cropping.
      * doc/lispref/display.texi (Image Descriptors): Update the
      documentation of native image transforms.
      (ImageMagick Images): Move the description of ':crop' here.
      * etc/NEWS: Minor copyedits of the feature announcement.
  5. 27 Jun, 2019 5 commits
  6. 26 Jun, 2019 1 commit
    • Noam Postavsky's avatar
      Support (rx (and (regexp EXPR) (literal EXPR))) (Bug#36237) · b59ffd22
      Noam Postavsky authored
      * lisp/emacs-lisp/rx.el (rx-regexp): Allow non-string forms.
      (rx-constituents): Add literal constituent, which is like a plain
      STRING form, but allows arbitrary lisp expressions.
      (rx-literal): New function.
      (rx-compile-to-lisp): New variable.
      (rx--subforms): New helper function for handling subforms, including
      non-constant case.
      (rx-group-if, rx-and, rx-or, rx-=, rx->=, rx-repeat, rx-submatch)
      (rx-submatch-n, rx-kleene, rx-atomic-p): Use it to handle non-constant
      (rx): Document new form, wrap non-constant forms with concat call.
      * test/lisp/emacs-lisp/rx-tests.el (rx-tests--match): New macro.
      (rx-nonstring-expr, rx-nonstring-expr-non-greedy): New tests.
      * etc/NEWS: Announce changes.
  7. 25 Jun, 2019 6 commits
  8. 24 Jun, 2019 8 commits
  9. 23 Jun, 2019 3 commits
    • Mattias Engdegård's avatar
      Optional space and unit in `file-size-human-readable' (bug#35756) · 866f527d
      Mattias Engdegård authored
      To improve readability of strings produced by
      `file-size-human-readable', add two optional arguments:
      - SPACE, to provide a string (typically a space or non-breaking space)
      to put between the number and unit.  For compatibility, the default is
      an empty string.
      - UNIT, a string to use as unit.  For compatibility, the default is
      "B" in `iec' mode and the empty string otherwise.
      Also fix a glitch with small numbers in `iec' mode which caused a
      stray "i" in the result.
      * lisp/files.el (file-size-human-readable):
      Add optional SPACE and UNIT arguments and handle small numbers correctly.
      (files--ask-user-about-large-file, warn-maybe-out-of-memory):
      Call with `iec' and space.
      * test/lisp/files-tests.el (files-test-file-size-human-readable): New test.
      * lisp/url/url-http.el (url-http-simple-after-change-function)
      (url-http-content-length-after-change-function): Call with `iec' and space.
      * etc/NEWS (Lisp Changes): Mention the change.
    • Eric Abrahamsen's avatar
      Add NEWS entry for new command gnus-summary-browse-url · d8ebb997
      Eric Abrahamsen authored
      * etc/NEWS: It is documented in the manual.
    • Nick Drozd's avatar
      Handle 'code' tag in shr.el · c4bfb5df
      Nick Drozd authored
      * etc/NEWS: Announce change in shr behavior (bug#36247).
      * lisp/net/shr.el: Add 'code' tag handling.
  10. 22 Jun, 2019 2 commits
  11. 21 Jun, 2019 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el (byte-compile-dynamic): Mark obsolete · 436ccc69
      Stefan Monnier authored
      See bug#11649 for an example problem, and emacs-devel discussion
      «Prickliness of the "invalid byte code" stuff».
      * lisp/wid-edit.el, lisp/wdired.el, lisp/vc/pcvs-util.el:
      * lisp/progmodes/executable.el, lisp/mail/sendmail.el:
      * lisp/emacs-lisp/cl-seq.el, lisp/emacs-lisp/cl-macs.el:
      * lisp/emacs-lisp/cl-lib.el, lisp/emacs-lisp/cl-extra.el:
      * lisp/dired-x.el, lisp/dired-aux.el, lisp/calendar/calendar.el:
      Don't use byte-compile-dynamic any more.
  12. 19 Jun, 2019 2 commits
  13. 18 Jun, 2019 2 commits
    • Lars Ingebrigtsen's avatar
      Report progress during custom-make-dependencies instead of file count · 6a02ca0b
      Lars Ingebrigtsen authored
      * lisp/cus-dep.el (custom-make-dependencies): Rewrite to use
      reporter to report progress instead of how many files we've
      * lisp/emacs-lisp/byte-run.el (byte-compile-info-string): New function.
      (byte-compile-info-message): Use it.
    • Roland Winkler's avatar
      * bookmark.el: Watch bookmark file. Use lexical binding. · 0f4d368f
      Roland Winkler authored
      (bookmark-watch-bookmark-file): New user variable.
      (bookmark-alist): Fix docstring.
      (bookmark-bookmarks-timestamp): Renamed from bookmarks-already-loaded.
      (bookmark-maybe-load-default-file, bookmark-save, bookmark-load):
      Use bookmark-bookmarks-timestamp.
      (bookmark-bmenu-mode-map): Define menu bar menu.
      (bookmark-show-annotation, bookmark-show-all-annotations):
      Make bookmarks buffer read-only.
      (bookmark-bmenu-save): Use call-interactively.
  14. 17 Jun, 2019 1 commit
  15. 15 Jun, 2019 1 commit
  16. 14 Jun, 2019 3 commits