1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
emacs/test/lisp
Paul Eggert db9af10394 For SVG, 8192 is the new 256
Prefer librsvg for display of splash.svg
When both librsvg and Imagemagick are available, Emacs should
prefer librsvg to render SVG images.  However, Emacs was using
Imagemagick to render its own splash.svg file because
image-type-from-file-header returned nil for that file.
* lisp/image.el (image-type-from-buffer)
(image-type-from-file-header): Look at the first 8192 bytes of
the image, not just the first 256.  For Emacs’s own splash.svg
file, image-type-header-regexps needs to look at 939 bytes.
8192 bytes is a reasonable number nowadays given typical file
system design.
* test/lisp/image-tests.el (image-tests--emacs-images-directory):
New contant.
(image-type-from-file-header-test): New test.
2019-05-18 10:01:10 -07:00
..
calc Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calendar Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
custom-resources New test custom--test-theme-variables 2019-01-10 13:27:34 +01:00
emacs-lisp * cl-macs-tests.el (cl-macs-test--symbol-macrolet): New test 2019-05-16 17:16:36 -04:00
emulation Update copyright year to 2019 2019-01-01 01:01:13 +00:00
erc Update copyright year to 2019 2019-01-01 01:01:13 +00:00
eshell Update more copyright years 2018-12-31 18:47:22 -08:00
gnus ; Copyright years and license copyedits 2019-04-02 21:40:56 -07:00
international Import Unicode 12.0 data files 2019-03-09 12:41:48 +02:00
mail * lisp/mail/footnote.el: Tweak markers convention 2019-05-02 10:27:42 -04:00
net Suppress compiler warnings for older Emacsen in tramp-tests.el 2019-05-18 16:04:58 +02:00
nxml Recognize single quote attribute values in nxml and sgml (Bug#35381) 2019-05-09 06:42:40 -04:00
org Update copyright year to 2019 2019-01-01 01:01:13 +00:00
progmodes ; Add test for previous change 2019-04-28 16:45:13 -04:00
textmodes * lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-rules): Fix typo 2019-05-15 22:21:36 -04:00
url Update more copyright years 2018-12-31 18:47:22 -08:00
vc Fix diff-mode tests after renaming diff-font-lock-refine 2019-03-04 19:43:25 +01:00
abbrev-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
arc-mode-tests.el * lisp/tar-mode.el (tar-extract): Call tar--try-jka-compr (bug#34251) 2019-02-03 23:00:29 +02:00
auth-source-pass-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
auth-source-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
autorevert-tests.el ; Instrument auto-revert--deftest-remote 2019-05-08 10:49:31 +02:00
buff-menu-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
button-tests.el Distinguish buttons from widgets (bug#34506) 2019-04-07 03:56:27 +01:00
char-fold-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
color-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
comint-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
custom-tests.el New test custom--test-theme-variables 2019-01-10 13:27:34 +01:00
dabbrev-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
descr-text-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
dired-aux-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dired-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dired-x-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
dom-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
electric-tests.el electric-layout-mode kicks in before electric-pair-mode 2019-01-22 16:42:43 +00:00
epg-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
faces-tests.el Fix bug with face-id after restoring from pdump 2019-01-28 17:24:04 +02:00
ffap-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
filenotify-tests.el ; SOme changes in filenotify-tests.el for EMBA 2019-05-05 13:34:26 +02:00
files-tests.el Don't rewrite buffer contents after saving by rename (Bug#35497) 2019-05-08 09:13:58 +02:00
files-x-tests.el Do not hardcode "/bin/sh" in compile. Bug#24338, Bug#29723 2019-03-09 16:44:24 +01:00
font-lock-tests.el Stop splicing anonymous faces in font-lock-append-text-property 2019-05-13 20:41:02 -04:00
help-fns-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hi-lock-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
htmlfontify-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ibuffer-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ido-tests.el Add a new user option 'ido-big-directories'. 2019-04-19 10:31:02 +02:00
image-file-tests.el Replace use of obsolete string-make-unibyte 2019-04-28 16:45:13 -04:00
image-tests.el For SVG, 8192 is the new 256 2019-05-18 10:01:10 -07:00
imenu-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
info-xref-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
isearch-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
jit-lock-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
json-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
jsonrpc-tests.el Update more copyright years 2018-12-31 18:47:22 -08:00
kmacro-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ls-lisp-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
man-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
md4-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
minibuffer-tests.el * test/lisp/minibuffer-tests.el (completion-table-subvert-test): New test 2019-03-20 10:52:30 -04:00
mouse-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
obarray-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ps-print-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
register-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
replace-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
rot13-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ses-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
shadowfile-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
shell-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
simple-tests.el Fix recently extended delete-indentation behavior 2019-03-31 17:08:21 +01:00
sort-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
soundex-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
subr-tests.el Move proper-list-p tests to fns-tests.el 2019-04-12 14:25:36 +01:00
tar-mode-tests.el * lisp/tar-mode.el (tar-extract): Call tar--try-jka-compr (bug#34251) 2019-02-03 23:00:29 +02:00
term-tests.el Fix setting and resetting of scroll-with-delete 2019-05-07 14:51:42 -04:00
thingatpt-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
thread-tests.el Update more copyright years 2018-12-31 18:47:22 -08:00
wdired-tests.el Make wdired-mode ignore ls file indicators 2019-04-25 19:17:23 +02:00
whitespace-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
wid-edit-tests.el Distinguish buttons from widgets (bug#34506) 2019-04-07 03:56:27 +01:00
xdg-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
xml-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
xt-mouse-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00