emacs/test/src
Stefan Kangas bc2a5c1127 Add WebP image format support (Bug#51296)
* configure.ac (--with-webp): New option.
(HAVE_WEBP): New variable.
(emacs_config_features): Add webp.
* src/image.c (enum webp_keyword_index) [HAVE_WEBP]: New enum.
(webp_format) [HAVE_WEBP]: New variable.
(webp_image_p, init_webp_functions, webp_load) [HAVE_WEBP]: New
functions for WebP support.
(image_types) [HAVE_WEBP]: Define WebP format.
(syms_of_image) <Qwebp> [HAVE_WEBP]: New DEFSYM.  Add image type Qwebp.
* src/Makefile.in (LIBIMAGE): Add WEBP_LIBS.

* lisp/files.el (auto-mode-alist):
* lisp/image-file.el (image-file-name-extensions):
* lisp/image.el (image-type-header-regexps)
(image-type-file-name-regexps, image-type-auto-detectable): Add WebP
support.
* lisp/term/w32-win.el (dynamic-library-alist): Add the libwebp DLL.

* INSTALL:
* admin/CPP-DEFINES:
* doc/lispref/display.texi (Image Formats, Other Image Types):
* nt/INSTALL: Document WebP support.

* test/lisp/image-tests.el (image-find-image)
(image-type-from-file-name): Expand tests.
* test/src/image-tests.el (image-tests--files): Add WebP.
(image-tests-image-size/webp, image-tests-image-mask-p/webp)
(image-tests-image-metadata/webp): New tests.
* test/data/image/black.webp: New file.
2021-10-22 10:59:01 +02:00
..
comp-resources Fix checkdoc-related test failure 2021-09-27 09:33:56 +02:00
emacs-module-resources Fix test bug when calloc returns null 2021-10-12 17:22:07 -07:00
lread-resources Move some test data to follow our conventions 2020-10-23 16:29:46 +02:00
regex-resources ; Fix more typos 2020-10-03 12:53:51 +02:00
syntax-resources Enhance syntax-tests.el to test nestable comments (Lisp style) 2020-11-17 16:51:49 +00:00
alloc-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
buffer-tests.el Add new variable 'kill-buffer/delete-auto-save-files' 2021-08-23 15:56:54 +02:00
callint-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
callproc-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
casefiddle-tests.el Add a comment to the Turkish casefiddle test 2021-10-21 04:41:35 +02:00
character-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
charset-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
chartab-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cmds-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
coding-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
comp-tests.el Fix two doc-related test failures 2021-09-27 09:28:58 +02:00
data-tests.el ; Fix typo 2021-10-20 20:53:17 +02:00
decompress-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
editfns-tests.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
emacs-module-tests.el ; * test/src/emacs-module-tests.el: Instrument for bug#50902. 2021-10-11 18:44:28 +02:00
emacs-tests.el Don't use symbolic links in the test resource directory. 2021-05-07 18:36:57 +02:00
eval-tests.el Renege on anonymous &rest (bug#50268, bug#50720) 2021-09-25 20:25:01 +02:00
fileio-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
filelock-tests.el File unlock errors now issue warnings (Bug#46397) 2021-03-27 12:17:31 +03:00
floatfns-tests.el Add some tests for floatfns.c 2021-10-20 20:54:29 +02:00
fns-tests.el Add some tests for fns.c 2021-10-20 03:31:01 +02:00
font-tests.el Add XLFD font parsing tests 2021-08-12 14:18:08 +02:00
image-tests.el Add WebP image format support (Bug#51296) 2021-10-22 10:59:01 +02:00
indent-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
inotify-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
json-tests.el Use string-replace instead of replace-regexp-in-string 2021-08-08 19:25:26 +02:00
keyboard-tests.el * test/lisp/emacs-lisp/edebug-tests.el: Adjust to new edebug-eval-defun. 2021-02-19 12:08:00 -05:00
keymap-tests.el Make `lookup-key' understand the new key sequence syntax 2021-10-19 05:07:51 +02:00
lcms-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
lread-tests.el Fix lexing of numbers with trailing decimal point and exponent 2021-05-27 14:16:28 +02:00
marker-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
minibuf-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
print-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
process-tests.el New function num-processors 2021-10-10 14:00:26 -07:00
regex-emacs-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
search-tests.el Adjust how `replace-match' runs modification hooks 2021-07-31 17:44:43 +02:00
syntax-tests.el Make parse-partial-sexp signal an error if TO is smaller than FROM 2021-08-21 15:24:15 +02:00
textprop-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
thread-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
timefns-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
undo-tests.el Fix a warning due to not preloading facemenu.el 2021-03-19 02:12:01 +01:00
xdisp-tests.el * test/src/xdisp-tests.el: Fix tests to work in batch mode 2021-01-18 19:03:01 +02:00
xfaces-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
xml-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00