1. 02 Jul, 2019 13 commits
  2. 01 Jul, 2019 7 commits
    • Michael Albinus's avatar
      Minor changes in tramp.texi · 23d0620f
      Michael Albinus authored
      * doc/misc/tramp.texi (Obtaining Tramp): Mention file INSTALL.
      (Cleanup remote connections): The session timer is also deleted.
      23d0620f
    • Eli Zaretskii's avatar
      More XFIXNUM fixes · 0f830340
      Eli Zaretskii authored
      * src/hbfont.c (hbfont_shape): Don't assume LGLYPH_TO is
      always a fixnum.
      * src/fontset.c (fontset_find_font): A cleaner test for
      matching charset_id.
      0f830340
    • Eli Zaretskii's avatar
      Fix assertion violations in fontset_find_font · 50c98fdc
      Eli Zaretskii authored
      * src/fontset.c (fontset_find_font): Don't assume REPERTORY
      must be a fixnum.
      50c98fdc
    • Eli Zaretskii's avatar
      Adjust return value of image-transforms-p · 6b7136a8
      Eli Zaretskii authored
      * src/image.c (Fimage_transforms_p):
      * doc/lispref/display.texi (Image Descriptors):
      image-transforms-p now returns at most (scale rotate90), even
      if ImageMagick is available.
      6b7136a8
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · 8d963ba2
      Glenn Morris authored
      8d963ba2
    • Sam Steingold's avatar
      Extract gnus-collect-urls from gnus-summary-browse-url · db83df1e
      Sam Steingold authored
      * lisp/gnus/gnus-sum.el (gnus-collect-urls): Extract from ...
      (gnus-summary-browse-url): Use it here.
      Extracting URLs from an article will be useful in BBDB interaction.
      db83df1e
    • YAMAMOTO Mitsuharu's avatar
      Implement the otf_capability method for HarfBuzz · 6cabb698
      YAMAMOTO Mitsuharu authored
      * src/hbfont.c: Include hb-ot.h.
      [HAVE_NTGUI]: Add DEF_DLL_FN and #define for hb_tag_to_string,
      hb_font_get_face, hb_ot_layout_table_get_script_tags,
      hb_ot_layout_table_get_feature_tags, hb_ot_layout_script_get_language_tags,
      and hb_ot_layout_language_get_feature_tags.
      (hbfont_init_w32_funcs) [HAVE_NTGUI]: Add LOAD_DLL_FN for them.
      (hbfont_otf_features, hbfont_otf_capability): New functions.
      
      * src/font.h (hbfont_otf_capability) [HAVE_HARFBUZZ]: Add extern.
      
      * src/ftcrfont.c (syms_of_ftcrfont_for_pdumper) [HAVE_HARFBUZZ]:
      * src/ftfont.c (syms_of_ftfont_for_pdumper) [HAVE_HARFBUZZ]:
      * src/w32uniscribe.c (syms_of_w32uniscribe_for_pdumper) [HAVE_HARFBUZZ]:
      * src/xftfont.c (syms_of_xftfont_for_pdumper) [HAVE_HARFBUZZ]: Populate
      otf_capability method with hbfont_otf_capability.
      6cabb698
  3. 30 Jun, 2019 10 commits
  4. 29 Jun, 2019 10 commits
    • Paul Eggert's avatar
      Pacify gcc and other image rotation tweaks · f5b2fd5e
      Paul Eggert authored
      * src/image.c: No need to include <float.h> as lisp.h does that.
      (matrix3x3_copy): Remove; no longer needed.
      (divide_double): New function, to avoid undefined behavior
      when dividing by zero on non-IEEE hosts.
      (image_set_transform): Simplify transformation computation
      by avoiding the need to copy a matrix.  Pacify
      gcc 9 -Wdouble-promotion and -Wmaybe-uninitialized.
      Avoid unnecessary assignment of width and height.
      Improve error reporting for unsupported native image rotation.
      f5b2fd5e
    • Ken Brown's avatar
      Simplify workaround for Cygwin O_PATH bug · 0b2841f9
      Ken Brown authored
      Suggested by Paul Eggert (Bug#36405#22).
      * configure.ac (HAVE_CYGWIN_O_PATH_BUG): New AC_DEFINE, for Cygwin
      versions 3.0.0 through 3.0.7.
      * src/dired.c (O_PATH) [__CYGWIN__]: Remove #undef.
      (file_attributes) [HAVE_CYGWIN_O_PATH_BUG]: Don't use O_PATH.
      0b2841f9
    • 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
      https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00242.html
      
      * 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
      image_set_transform.
      (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.
      74a5a332
    • Shuguang Sun's avatar
      Fix recent change in Tramp · 67b50770
      Shuguang Sun authored
      * lisp/net/tramp-adb.el:
      * lisp/net/tramp-archive.el:
      * lisp/net/tramp-integration.el: Remove superfluous `progn' in
      `with-eval-after-load'.
      67b50770
    • Lars Ingebrigtsen's avatar
      Cosmetic fix-up of message-forward-included-headers · 497c1206
      Lars Ingebrigtsen authored
      * lisp/gnus/message.el (message-forward-included-headers): Use
      consistent capitalization in the regexps.
      497c1206
    • Eli Zaretskii's avatar
      Fix display of fringe bitmaps for tooltips in echo area · ca203155
      Eli Zaretskii authored
      * src/xdisp.c (display_line): Force redrawing of fringe
      bitmaps when redisplaying a minibuffer window with
      truncate-lines set to a non-nil value.  (Bug#36308)
      ca203155
    • Mattias Engdegård's avatar
      Allow empty argument to `regexp-opt-charset' · f1d414b9
      Mattias Engdegård authored
      * test/lisp/emacs-lisp/regexp-opt-tests.el (regexp-opt-charset):
      Handle nil argument, and use regexp-quote for singletons.
      * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Expand tests.
      f1d414b9
    • Paul Eggert's avatar
      Revert O_PATH change to fileio.c · 1dfb2f36
      Paul Eggert authored
      Ken Brown pointed out it wasn’t needed (Bug#36405#16):
      * src/fileio.c (O_PATH) [__CYGWIN__]: Remove #undef.
      1dfb2f36
    • Andreas Schwab's avatar
    • Pip Cet's avatar
      Fix json-serialize/object test failure · bc87ee92
      Pip Cet authored
      * test/src/json-tests.el (json-serialize/object):
      Accept failure with different code.
      bc87ee92