1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Juanma Barranquero
c6d1b44698 (image-library-alist): Moved to image.c.
(image-type-available-p): Doc fix.
2005-05-27 13:17:50 +00:00
Richard M. Stallman
f22c36d3a0 (insert-sliced-image): Add autoload cookie. 2005-03-17 23:56:15 +00:00
Kim F. Storm
82dc617bfb (insert-sliced-image): Use t for line-height property. 2005-01-01 13:08:33 +00:00
Kim F. Storm
b48bc93799 (insert-sliced-image): Add doc string. 2004-09-22 23:12:38 +00:00
Juanma Barranquero
143b8c2731 (image-library-alist): Rewrite docstring in active voice. 2004-06-21 21:52:28 +00:00
Juanma Barranquero
3c3b34d2db (image-library-alist): New variable to map image types to external
libraries.  Initialized to nil, unless system-specific configs change it.
(image-type-available-p): Determine whether an image type is available by
calling `init-image-library'.
2004-06-14 20:58:36 +00:00
Kim F. Storm
3e8b5f3d71 (insert-sliced-image): Use line-height instead of
line-spacing property on newline.
2004-04-26 22:11:36 +00:00
Kim F. Storm
c3ea173da5 (insert-sliced-image): Add line-spacing t property
to newlines separating image lines.
2004-04-24 23:30:05 +00:00
Kim F. Storm
5af275e049 (insert-image): Add optional SLICE arg.
(insert-sliced-image): New defun.
2004-04-20 22:23:08 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
John Paul Wallington
32b3c76642 (image-jpeg-p): Don't search beyond length of data. 2003-08-26 15:38:36 +00:00
Juanma Barranquero
37d4a06e71 (image-type-regexps): Fix typo. 2003-02-04 11:29:35 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Stefan Monnier
5f1fbf6b35 (insert-image): Don't make intangible since
adjust_point_for_property should be sufficient by default.
2002-11-03 08:34:45 +00:00
Richard M. Stallman
9b78a6a3c4 (image-jpeg-p): Accept "Exif" marker. 2002-08-05 16:26:03 +00:00
Pavel Janík
ee485a8387 (image-type-from-file-header): Make temporary buffer unibyte. 2002-03-11 13:32:22 +00:00
Pavel Janík
634f4a678a Add Maintainer header. 2001-12-25 11:03:46 +00:00
Gerd Moellmann
6ea3db8a10 (image-type-regexps): Make sure that the TIFF
pattern is only matched at the beginning of a string.
From Markus Rost <rost@math.ohio-state.edu>.
2001-08-21 08:12:16 +00:00
Gerd Moellmann
26d0c82c1a (image-jpeg-p): Fix call of substring. 2001-08-13 10:16:16 +00:00
Gerd Moellmann
4a9bf8a43f (image-jpeg-p): Test for APPn markers in the range
#xe0..#xef.
2001-08-10 10:59:06 +00:00
Gerd Moellmann
3bdbead3dd (image-type-regexps): Allow whitespace at the start
of the image data for XPM, XBM and Postscript, which are
text files.
(image-jpeg-p): Correct computatino of next field offset.
2001-08-09 09:31:56 +00:00
Gerd Moellmann
8a8ef149d0 (image-type-regexps): Allow predicates. Change the way
JPEG images are recognized.
(image-jpeg-p): New function.
(image-type-from-data): Handle predicates in image-type-regexps.
2001-08-08 10:54:12 +00:00
Gerd Moellmann
1155d48351 (image-type-regexps): For JPEG files, use a regexp
derived from the JPEG spec.
2001-08-07 08:55:12 +00:00
Gerd Moellmann
69ebef1d59 (image-type-regexps): Use \' instead of `^' in
most regular expressions.
2001-08-07 08:03:42 +00:00
Gerd Moellmann
2b8f2f464d (image-type-regexps): Change type for PS files
to `postscript'.
2001-03-28 12:39:45 +00:00
Eli Zaretskii
9ea8de1b79 (create-image): Doc fix; spotted by Per Cederqvist <ceder@lysator.liu.se>. 2000-12-08 17:08:25 +00:00
Miles Bader
77f6105c28 (image): New group. 2000-10-05 07:46:30 +00:00
Gerd Moellmann
d1d3c68562 (create-image): Doc fix. 2000-09-15 11:49:07 +00:00
Dave Love
9bb7a286d4 (find-image): Copy `spec' before using plist-put. 2000-08-18 13:45:36 +00:00
Dave Love
0ad550ba63 Fix last change to be in insert-image as intended. 2000-06-13 18:18:02 +00:00
Dave Love
f290ca08fa (put-image): Default STRING to a space. 2000-06-13 17:55:59 +00:00
Dave Love
0dc91c572f (insert-image): Save a little consing. 2000-06-12 20:36:40 +00:00
Dave Love
cedbd8d02f (find-image): Doc fix. Return nil if image not found.
(put-image, insert-image): Make STRING arg optional.
2000-06-06 14:27:42 +00:00
Eli Zaretskii
249781907d (image-type-available-p): Don't reference image-types
if it isn't bound.
2000-05-17 15:58:11 +00:00
Gerd Moellmann
349c034d9e (find-image): New function.
(defimage): Rewritten to find image at load time.
2000-04-26 17:34:09 +00:00
Gerd Moellmann
7f2283795e (defimage): Look for image files in load-path. 2000-03-01 12:47:15 +00:00
Gerd Moellmann
f64ae86ca6 (create-image, defimage): Don't assume image data is a
string.
2000-01-01 16:42:20 +00:00
Gerd Moellmann
162dec0193 (defimage): Handle specifications containing :data
instead of :file.
(image-type-from-data): New function.
(image-type-from-file-header): Use it.
(create-image): Add parameter DATA-P.
2000-01-01 16:33:32 +00:00
William M. Perry
bc28370787 * image.el (defimage): Images with the :data keyword should be considered valid as well. 1999-12-31 15:54:44 +00:00
Dave Love
10e2102e56 (insert-image): Copy the image spec and add an intangible property. 1999-10-13 17:38:18 +00:00
Dave Love
e43367a0fa Fix footer comment. 1999-10-05 18:41:17 +00:00
Dave Love
0c898dd963 (defimage): Remove redundant code. Substitute file on image plist. 1999-10-03 19:25:32 +00:00
Gerd Moellmann
46655c944b (put-image, insert-image): Add string argument. 1999-09-25 19:57:50 +00:00
Gerd Moellmann
1571b5ff4d (put-image): Remove optional buffer parameter. 1999-09-09 14:54:25 +00:00
Dave Love
04799cf56d Add Keywords. 1999-08-17 14:22:28 +00:00
Gerd Moellmann
7840ced199 New file. 1999-07-21 21:43:52 +00:00