Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Joakim Verona
432c975420
merge from trunk, no conflicts
2010-08-18 13:11:01 +02:00
Katsumi Yamaoka
1075cd6169
create-animated-image: Don't add heuristic mask to image (Bug#6839).
2010-08-18 07:45:14 +00:00
Joakim Verona
d2a2d27736
cosmetics, and changing of defconst to defcustom
2010-06-14 23:27:03 +02:00
Joakim Verona
4917006be4
mostly cosmetic, moving { instances, changing indentation accordingly.
2010-06-14 15:57:48 +02:00
Joakim Verona
c05c21ed10
merged from trunk
2010-06-14 11:48:51 +02:00
Joakim Verona
69fd80388b
changed looping according to feedback from stefan monnier
2010-06-14 11:16:39 +02:00
Juri Linkov
fc93792445
* image.el (image-animated-p): When delay between animated images is 0,
...
set it to 10 (0.1 sec). (Bug#6258)
2010-05-25 18:54:53 +03:00
Chong Yidong
110683addc
Rename image-refresh to image-flush.
...
* image.c (Fimage_flush): Rename from image-refresh.
* image.el (image-refresh): Define as an alias for image-flush.
* image-mode.el (image-toggle-display-image): Caller changed.
* display.texi (Image Cache): Update documentation about image
caching.
2010-05-22 12:48:01 -04:00
Joakim Verona
ce07fa9adc
merge and fixes
2010-05-13 15:13:52 +02:00
Joakim Verona
3de2547921
imagemagick patch5 + minor mods
2010-04-02 23:09:13 +02:00
Juri Linkov
1546c55901
Rename image-extension-data' to
image-metadata'.
...
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01456.html
* image.c: Add `Qextension_data'.
(syms_of_image): Initialize and staticpro `Qextension_data'.
(Fimage_metadata): Rename from `Fimage_extension_data'.
(gif_load): Put GIF extension data to the property
`Qextension_data'.
* image.el (image-animated-p): Use `image-metadata' instead of
`image-extension-data'. Get GIF extenstion data from metadata
property `extension-data'.
2010-03-31 17:55:01 +03:00
Glenn Morris
3e5b700910
Minor animated image housekeeping.
...
* image.el (image-animate-max-time): Fix :version tag.
* NEWS: Add animated image placeholder entry.
2010-03-10 22:17:08 -08:00
Kim F. Storm
0608aa457f
Animated image API.
...
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
* image.el (image-animate-max-time): New defcustom.
(image-animated-types): New defconst.
(create-animated-image, image-animate-timer)
(image-animate-start, image-animate-stop, image-animate-timeout)
(image-animated-p): New functions.
* image-mode.el (image-toggle-display-image):
Replace `create-image' with `create-animated-image'.
2010-03-07 21:02:20 +02:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Stefan Monnier
45448e641a
* startup.el (tutorial-directory): Make it a defcustom.
...
Use custom-initialize-delay rather than eval-at-startup to set it.
* image.el (image-load-path): Make it a defcustom.
Use custom-initialize-delay rather than eval-at-startup to set it.
* subr.el (eval-at-startup): Remove.
* font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
2009-09-12 03:55:46 +00:00
Juri Linkov
d30a05d164
(image-type-header-regexps): Use only JPEG magic number
...
to determine JPEG images, and don't use `image-jpeg-p' because
Emacs can display non-JFIF non-Exif JPEG images.
2009-08-28 23:49:32 +00:00
Juanma Barranquero
68ba6c4956
* image.el (image-load-path-for-library, insert-sliced-image):
...
Fix typos in docstrings.
2009-02-24 10:28:57 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Andreas Schwab
fa4354c117
(image-type-header-regexps): Recognize more xbm format
...
variants.
2008-11-24 17:21:57 +00:00
Juanma Barranquero
24c23999e1
(image-jpeg-p): Don't fail if the arg cannot be converted to unibyte.
...
Just assume it is not a JPEG. Use `string-match-p'.
(image-type-from-data, image-type-from-file-name): Use `string-match-p'.
(image-type-from-buffer): Use `looking-at-p'.
2008-06-27 15:58:36 +00:00
Kenichi Handa
9a9d8a8fa7
(image-jpeg-p): Convert DATA to unibyte at first.
2008-06-25 02:48:03 +00:00
Glenn Morris
aa360da10d
Add some compiler declarations, for builds without X.
2008-06-12 03:56:20 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Juri Linkov
28681e350c
(image-type): Check if image-types is bound to not fail on tty.
2007-10-06 22:17:49 +00:00
Glenn Morris
d567be222c
Simplify previous change (auto can only be non-nil if type is).
2007-09-27 16:41:34 +00:00
Glenn Morris
1e83e2caf7
(image-type-auto-detected-p): Doc fix. Don't detect an image if it is
...
not in image-type-auto-detectable, or is there with a nil value.
2007-09-27 06:38:29 +00:00
Juri Linkov
62564fc7e8
(image-type-header-regexps): Use more complex regexp for svg.
...
(image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg).
(image-type-auto-detectable): Add (svg . maybe).
2007-08-25 14:05:49 +00:00
Glenn Morris
2467875c22
(create-image): Doc fix.
2007-08-22 07:50:47 +00:00
Glenn Morris
9c818156d9
Paul Pogonyshev <pogonyshev at gmx.net>
...
(image-type-header-regexps): Add svg entry.
2007-08-22 04:05:28 +00:00
Miles Bader
37cc095b6a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
4837b516ea
Replace `iff' in doc-strings and comments.
2007-08-08 07:40:09 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Chong Yidong
ada9718d0f
(image-type-auto-detected-p): Don't scan auto-mode-alist.
2007-06-04 20:40:53 +00:00
Chong Yidong
7d88e015c4
(image-type-from-file-name, image-type): Simplify.
...
(image-type-auto-detected-p): Don't scan auto-mode-alist.
2007-05-21 16:43:13 +00:00
Chong Yidong
a9bb04bb53
(image-type-auto-detectable): Don't autodetect x[pb]m.
...
(image-type-auto-detected-p): Fail if another match is found in
auto-mode-alist.
2007-02-09 16:50:16 +00:00
Richard M. Stallman
3205431dd0
(image-type-header-regexps): Make GIF regex more specific.
2007-01-28 07:09:44 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Richard M. Stallman
2dca7106aa
(image-type-header-regexps): Recognize xbm more strictly.
2007-01-05 22:54:11 +00:00
Juanma Barranquero
6642c904c4
(image-type-header-regexps, image-type-from-data, image-type-from-buffer,
...
image-type-from-file-header): Revert changes from 2006-12-26.
(image-type-auto-detectable): New variable.
(image-type-auto-detected-p): New function.
2006-12-30 01:51:24 +00:00
Richard M. Stallman
6137433cad
(image-type-header-regexps): Change element format
...
to include third item NOT-ALWAYS.
(image-type-from-data): Handle new format.
(image-type-from-buffer): Handle new format. New arg INCLUDE-MAYBES.
(image-type-from-file-header): Pass t for INCLUDE-MAYBES.
2006-12-26 18:01:40 +00:00
Juanma Barranquero
4753bc5085
(image-type-header-regexps): Be more specific detecting pbm' and
png' files.
...
Use non-capturing parenthesis for `tiff' regexp.
2006-12-19 16:42:54 +00:00
Kim F. Storm
e796837385
(image-type): New defun split out of create-image.
...
(create-image): Use it.
2006-04-21 20:56:06 +00:00
Bill Wohler
ae77c7ff55
(image-load-path-for-library): Shorten first line in docstring.
2006-03-19 18:19:12 +00:00
Bill Wohler
40db64d23e
(image-load-path-for-library): Minor docstring fix.
2006-03-17 17:26:58 +00:00
Bill Wohler
c0696e1b95
(image-load-path-for-library): Prefer user's images in
...
image-load-path.
2006-03-16 16:55:26 +00:00
Bill Wohler
9f036d338a
(image-load-path-for-library): Fix example by not recommending that
...
one binds image-load-path. Just defvar it to placate compiler and only
use it if previously defined.
2006-03-15 17:06:16 +00:00