aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Fix last change.Eli Zaretskii2018-12-171-1/+1
| | | | | |
| * | | | | * src/ftcrfont.c (ftcrfont_driver): Really commit last change.Mike Kupfer2018-12-171-1/+1
| | | | | |
| * | | | | More fixes for build without libotfMike Kupfer2018-12-173-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xftfont.c (xftfont_driver): * src/ftxfont.c (ftxfont_driver): * src/ftcrfont.c (ftcrfont_driver): Set the .shape member only if HAVE_LIBOTF is defined. (Bug#33771)
| * | | | | Fix compilation errors when building without libotfEli Zaretskii2018-12-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/ftfont.c (ftfont_shape): Only compile if HAVE_LIBOTF is defined. (ftfont_driver): Set the .shape member only if HAVE_LIBOTF is defined. (Bug#33771)
| * | | | | Assume hb_ft_font_create_referenced if HarfBuzzPaul Eggert2018-12-142-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (HAVE_HB_FT_FONT_CREATE_REFERENCED): Remove test, since we now require 0.9.42 and hb_ft_font_create_referenced has been present since 0.9.38. * src/ftfont.c (ft_face_destroy, hb_ft_font_create_referenced): Remove; no longer needed.
| * | | | | * configure.ac: Guess at minimum harfbuzz version. (Bug#33748)Glenn Morris2018-12-141-1/+1
| | | | | |
| * | | | | Fix crash in the Cairo buildAri Roponen2018-12-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/ftcrfont.c (struct ftcrfont_info) [HAVE_HARFBUZZ]: New member 'hb_font'. (Bug#33739)
| * | | | | Default to --with-harfbuzzPaul Eggert2018-12-132-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: By default, configure with HarfBuzz if available.
| * | | | | Simplify mainline Harfbuzz-using codePaul Eggert2018-12-131-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/ftfont.c (ft_face_destroy): Omit unnecessary cast. (hb_ft_font_create_referenced) [!HAVE_HB_FT_FONT_CREATE_REFERENCED]: New function. (ftfont_get_hb_font): Use it.
| * | | | | Fix uni_combining()Khaled Hosny2018-12-101-10/+8
| | | | | |
| * | | | | WIP: implement some Unicode callback functionsKhaled Hosny2018-12-101-0/+149
| | | | | |
| * | | | | Set cluster level to oneKhaled Hosny2018-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes to possible to edit combining marks separately as now they get a different cluster value from the base glyph.
| * | | | | Cache hb_font_tKhaled Hosny2018-12-102-20/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not sure if the xftfont.c changes are really needed, but followed the libotf code just in case.
| * | | | | Allow turning HarfBuzz off at run timeKhaled Hosny2018-12-101-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | Useful for comparing the shaping result with that of m17n.
| * | | | | First attempt at HarfBuzz shapingKhaled Hosny2018-12-105-35/+195
| | | | | | | | | | | | | | | | | | | | | | | | Barely works, and unoptimized!
| * | | | | Add support for building with HarfBuzzKhaled Hosny2018-12-102-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | Not used yet.
* | | | | | Fix failures of term-tests on MS-WidowsEli Zaretskii2019-06-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/term-tests.el (term-simple-lines) (term-carriage-return, term-line-wrap, term-cursor-movement) (term-scrolling-region, term-set-directory) (term-line-wrapping-then-motion, term-to-margin): Skip tests on MS-Windows and MS-DOS.
* | | | | | Consider line spacing and font height when deriving proc window sizeJohn Shahid2019-06-072-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (window-adjust-process-window-size): Use window-screen-lines instead of window-body-height. * lisp/term.el (term-mode): Use window-screen-lines to set the initial window height.
* | | | | | Fix image_set_crop yet againYAMAMOTO Mitsuharu2019-06-071-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/image.c (image_set_crop) [HAVE_NATIVE_TRANSFORMS]: Don't call compute_image_size, as it is already called from image_set_size. (image_set_size, image_set_crop) [HAVE_NATIVE_TRANSFORMS]: Use harmless matrix transformation code also for USE_CAIRO and HAVE_NTGUI cases, though image_set_transform is not yet implemented on them.
* | | | | | Avoid compiler warning in copy-file-range.c on MS-WindowsEli Zaretskii2019-06-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nt/mingw-cfg.site (gl_cv_func_copy_file_range): Set to "yes", to avoid compiling lib/copy-file-range.c on MS-Windows.
* | | | | | Fix recently-introduced image_set_crop typoPaul Eggert2019-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/image.c (image_set_crop) [!HAVE_NATIVE_TRANSFORMS]: Don’t call compute_image_size, as it does not exist and its result is not needed.
* | | | | | Use copy_file_range to copy filesPaul Eggert2019-06-076-9/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The copy_file_range syscall (introduced in Linux kernel version 4.5) can copy files more efficiently via server-side copy etc. * admin/merge-gnulib (GNULIB_MODULES): Add copy-file-range. * lib/copy-file-range.c, m4/copy-file-range.m4: New files, copied from Gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * src/fileio.c (Fcopy_file): Try copy_file_range first, falling back on read+write only if copy_file_range failed or if the input is empty and so could be a /proc file.
* | | | | | Update from GnulibPaul Eggert2019-06-076-21/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-06-04 copy-file-range: new module 2019-05-28 binaty-io: O_BINARY on consoles no longer fails * doc/misc/texinfo.tex, lib/binary-io.c, lib/binary-io.h: * lib/unistd.in.h, m4/unistd_h.m4: Copy from Gnulib. * lib/gnulib.mk.in: Regenerate.
* | | | | | Add "pin" to password-word-equivalents (Bug#35523)Noam Postavsky2019-06-062-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/mule-conf.el (password-word-equivalents): Add "pin". * test/lisp/comint-tests.el (comint-testsuite-password-strings): Add test case.
* | | | | | Fix overflow issues in image rotationPaul Eggert2019-06-062-93/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, do some refactoring to simplify code. * src/dispextern.h (INIT_MATRIX, COPY_MATRIX, MULT_MATRICES): Remove. * src/image.c (matrix3x3): New type, replacing all uses of 3x3 double. (matrix3x3_copy, matrix3x3_mult): New functions, replacing COPY_MATRIX, MULT_MATRICES. Replace INIT_MATRIX by C initializers. (image_set_rotation): Use Fmod to avoid undefined behavior on double-to-int conversion and to reduce bignum rotations correctly. (image_set_crop): Finish up previous correction, by not re-setting width and height if compute_image_size has set them. Prefer shifting right by 1 to dividing by 2 if either will do.
* | | | | | Fix redisplay glitches with RTL composed textEli Zaretskii2019-06-061-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (init_to_row_end): Fail if the first visible position on the line following ROW is bidi-reordered and could be composed. (Bug#35811)
* | | | | | lisp/gnus/message.el (message--send-mail-maybe-partially): ExtractOleh Krehel2019-06-061-30/+33
| | | | | |
* | | | | | lisp/gnus/message.el (message--check-continuation-headers): ExtractOleh Krehel2019-06-061-21/+13
| | | | | |
* | | | | | lisp/gnus/message.el (message--fold-long-headers): Add docstringOleh Krehel2019-06-061-3/+3
| | | | | |
* | | | | | Restore height and with from that were accidentally removedMark A. Hershberger2019-06-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See 610fb73ab6d7a22b722f523d6ebc4aa8fa1db7c9 USE_CARIO needs these.
* | | | | | Check rcirc-server for auto authentication (Bug#10162)Steve Scott2019-06-051-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the hostname returned by irc.freenode.net can be something other than irc.freenode.net, e.g. niven.freenode.net, the entries for rcirc-authinfo and rcirc-server-alist will not match. * lisp/net/rcirc.el (rcirc-handler-001): Check rcirc-server (the hostname connected to) instead of rcirc-server-name (the hostname returned), this corresponds with what rcirc-authenticate does. Moreover, if rcirc-auto-authenticate-flag is set, check the corresponding rcirc-authinfo, regardless of whether the rcirc-authenticate-before-join must happen. Copyright-paperwork-exempt: yes
* | | | | | Keep nxml prolog updated via syntax-propertizeNoam Postavsky2019-06-053-26/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using after-change-functions. Also, stop consulting nxml-prolog-regions during syntax-propertize. It turns out the problems fixed by using prolog information are actually due to using the wrong syntax table during propertizing. This was fixed in 2019-06-04 "* lisp/emacs-lisp/syntax.el: Use syntax-ppss-table for syntax-propertize." so consulting the prolog data is no longer needed. * lisp/nxml/nxml-rap.el (nxml-maybe-rescan-prolog): Remove. * lisp/nxml/nxml-mode.el (nxml-mode): Stop using it. (nxml-syntax-propertize): Don't use nxml-prolog-regions, just call nxml-scan-prolog if needed before delegating to sgml-syntax-propertize. * test/lisp/nxml/nxml-mode-tests.el (nxml-mode-edit-prolog): New test.
* | | | | | Add native image rotation and croppingAlan Third2019-06-059-109/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/image.el (image--get-imagemagick-and-warn): Only fallback to ImageMagick if native transforms aren't available. * src/dispextern.h (INIT_MATRIX, COPY_MATRIX, MULT_MATRICES): New macros for matrix manipulation. (HAVE_NATIVE_SCALING, HAVE_NATIVE_TRANSFORMS): Rename and change all relevant locations. * src/image.c (x_set_image_rotation): (x_set_transform): New functions. (x_set_image_size): Use transform matrix for resizing under X and NS. (x_set_image_crop): New function. (lookup_image): Use the new transform functions. (Fimage_scaling_p, Fimage_transforms_p): Rename and update all callers. * src/nsimage.m (ns_load_image): Remove rotation code. (ns_image_set_transform): New function. ([EmacsImage dealloc]): Release the saved transform. ([EmacsImage rotate:]): Remove unneeded method. ([EmacsImage setTransform:]): New method. * src/nsterm.h (EmacsImage): Add transform property and update method definitions. * src/nsterm.m (ns_dumpglyphs_image): Use the transform to draw the image correctly. * src/xterm.c (x_composite_image): Use PictOpSrc as we don't care about alpha values here. * doc/lispref/display.texi (Image Descriptors): Add :rotation. (ImageMagick Images): Remove :rotation.
* | | | | | No longer add debug symbols to release buildPhillip Lord2019-06-051-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/nt/dist-build/build-zips.sh: Remove -g3 from release build and install with install-strip
* | | | | | * lisp/wid-edit.el (widget-choose): Use display-buffer-in-directionJuri Linkov2019-06-052-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to display buffer in bottom direction with fit-window-to-buffer. * lisp/proced.el (proced-with-processes-buffer): Idem. (Bug#35592)
* | | | | | * doc/misc/tramp.texi (Obtaining Tramp): Explain version scheme.Michael Albinus2019-06-051-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | (Traces and Profiles): Add `tramp-verbose' to @vindex.
* | | | | | ; Add test for Bug#36092Noam Postavsky2019-06-051-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/nxml/nxml-mode-tests.el (nxml-mode->-after-quote): New test.
* | | | | | Do not use syntax-ppss-table in syntax-propertize when nil (Bug#36095)Dario Gjorgjevski2019-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/syntax.el (syntax-propertize): Use (syntax-table) instead of syntax-ppss-table when the latter is nil.
* | | | | | * lisp/emacs-lisp/syntax.el: Use syntax-ppss-table for syntax-propertize.Stefan Monnier2019-06-041-39/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `syntax-ppss` uses `syntax-ppss-table` while parsing the buffer as well as when it calls `syntax-propertize`, but `syntax-propertize` can also be called directly rather than via `syntax-ppss` so it needs to explicitly use `syntax-ppss-table` as well in order to avoid using sometimes one table and sometimes another. (syntax-ppss-table): Move before new use. (syntax-propertize): Use it.
* | | | | | Remove retired maintainers from commentsPaul Eggert2019-06-0414-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/quail.el, lisp/language/ind-util.el: * lisp/language/indian.el, lisp/mail/smtpmail.el, lisp/mwheel.el: * lisp/obsolete/longlines.el, lisp/progmodes/idlw-complete-structtag.el: * lisp/progmodes/idlw-help.el, lisp/progmodes/idlw-shell.el: * lisp/progmodes/idlw-toolbar.el, lisp/progmodes/idlwave.el: * lisp/progmodes/simula.el, lisp/ps-print.el, lisp/ps-samp.el: Remove Maintainer: lines for maintainers who have retired.
* | | | | | * lisp/emacs-lisp/thunk.el (thunk-delay): Fix memory leakStefan Monnier2019-06-041-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Get rid of references to the free variables of `body` once the thunk has been forced (bug#30626).
* | | | | | * sgml-mode.el (sgml-syntax-propertize-rules): More verbose commentsStefan Monnier2019-06-041-2/+15
| | | | | |
* | | | | | Specify the matching chars for JSX open/close parenthesisJackson Ray Hamilton2019-06-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/js.el (js-jsx--syntax-propertize-tag): Indicate the matching parenthesis character (since JSX’s < and > aren’t typical parenthesis) for the sake of packages like rainbow-delimiters which need that information.
* | | | | | Revert "Add extra text property to fix issue with js2-mode integration"Jackson Ray Hamilton2019-06-041-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 382a508ed21e4f12ace9f8871818e25235e8f05e. We ended up deciding against using this in js2-mode. Instead, js2-mode may eventually use js-mode’s syntax-propertize-function to set syntax-table text properties.
* | | | | | Update lispref spellfilePaul Eggert2019-06-041-196/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/spellfile: Omit words no longer in the manual. How is this spellfile used? Does anybody use it any more?
* | | | | | Adjust comments/debug to match C bignum codePaul Eggert2019-06-043-25/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispintro/emacs-lisp-intro.texi (Digression into C): Adjust to match current C code. * lisp/emacs-lisp/ert.el (ert--force-message-log-buffer-truncation): Simplify. * src/.gdbinit (Lisp_Object_Printer.to_string): Return a string that says "make_fixnum", not "make_number".
* | | | | | Always allow at least double-precision bignumsPaul Eggert2019-06-043-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this fix, Emacs can get into a tight loop reporting a range error when calculating timestamps. * doc/lispref/numbers.texi (Integer Basics): * src/alloc.c (syms_of_alloc): Document this. * src/bignum.c (make_bignum_bits): Always allow bignums of at least twice the width of (u)intmax_t.
* | | | | | * lisp/gnus/message.el (message-send-mail): Tweak last commitStefan Monnier2019-06-041-1/+1
| | | | | |
* | | | | | Keep nxml-prolog-end up to date (Bug#18871)Noam Postavsky2019-06-042-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change on 2016-01-16 "lisp/nxml: Use syntax-tables for comments" removed the update of nxml-prolog-end, although it already failed to work correctly after 2013-10-07 "* lisp/nxml/nxml-mode.el: Use lexical-binding and syntax-propertize." * lisp/nxml/nxml-rap.el: New function. * lisp/nxml/nxml-mode.el (nxml-mode): Add it to after-change-functions.
* | | | | | Don't sgml-syntax-propertize-inside XML prolog (Bug#32823)Noam Postavsky2019-06-042-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/nxml/nxml-mode.el (nxml-syntax-propertize): New function. (nxml-mode): Use it as the syntax-propertize-function. * test/lisp/nxml/nxml-mode-tests.el (nxml-mode-doctype-and-quote-syntax) (nxml-mode-prolog-comment): New tests.