aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/image.el
Commit message (Collapse)AuthorAgeFilesLines
* (image-type-header-regexps): Use only JPEG magic numberJuri Linkov2009-08-281-1/+1
| | | | | to determine JPEG images, and don't use `image-jpeg-p' because Emacs can display non-JFIF non-Exif JPEG images.
* * image.el (image-load-path-for-library, insert-sliced-image):Juanma Barranquero2009-02-241-3/+3
| | | | Fix typos in docstrings.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (image-type-header-regexps): Recognize more xbm formatAndreas Schwab2008-11-241-3/+5
| | | | variants.
* (image-jpeg-p): Don't fail if the arg cannot be converted to unibyte.Juanma Barranquero2008-06-271-7/+7
| | | | | | 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'.
* (image-jpeg-p): Convert DATA to unibyte at first.Kenichi Handa2008-06-251-0/+1
|
* Add some compiler declarations, for builds without X.Glenn Morris2008-06-121-0/+2
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: [email protected]/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | (image-type): Check if image-types is bound to not fail on tty.Juri Linkov2007-10-061-1/+1
| |
* | Simplify previous change (auto can only be non-nil if type is).Glenn Morris2007-09-271-1/+1
| |
* | (image-type-auto-detected-p): Doc fix. Don't detect an image if it isGlenn Morris2007-09-271-2/+4
| | | | | | | | not in image-type-auto-detectable, or is there with a nil value.
* | (image-type-header-regexps): Use more complex regexp for svg.Juri Linkov2007-08-251-3/+13
| | | | | | | | | | (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg). (image-type-auto-detectable): Add (svg . maybe).
* | (create-image): Doc fix.Glenn Morris2007-08-221-1/+6
| |
* | Paul Pogonyshev <pogonyshev at gmx.net>Glenn Morris2007-08-221-1/+2
| | | | | | | | (image-type-header-regexps): Add svg entry.
* | Merge from emacs--rel--22Miles Bader2007-08-131-1/+1
|\| | | | | | | Revision: [email protected]/emacs--devo--0--patch-851
| * Replace `iff' in doc-strings and comments.Glenn Morris2007-08-081-1/+1
| |
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <[email protected]> * Relicense all FSF files to GPLv3 or later. Revision: [email protected]/emacs--devo--0--patch-828
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
| * (image-type-auto-detected-p): Don't scan auto-mode-alist.Chong Yidong2007-06-041-21/+6
| |
* | (image-type-from-file-name, image-type): Simplify.Chong Yidong2007-05-211-51/+21
|/ | | | (image-type-auto-detected-p): Don't scan auto-mode-alist.
* (image-type-auto-detectable): Don't autodetect x[pb]m.Chong Yidong2007-02-091-8/+26
| | | | | (image-type-auto-detected-p): Fail if another match is found in auto-mode-alist.
* (image-type-header-regexps): Make GIF regex more specific.Richard M. Stallman2007-01-281-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (image-type-header-regexps): Recognize xbm more strictly.Richard M. Stallman2007-01-051-1/+3
|
* (image-type-header-regexps, image-type-from-data, image-type-from-buffer,Juanma Barranquero2006-12-301-35/+53
| | | | | | image-type-from-file-header): Revert changes from 2006-12-26. (image-type-auto-detectable): New variable. (image-type-auto-detected-p): New function.
* (image-type-header-regexps): Change element formatRichard M. Stallman2006-12-261-20/+35
| | | | | | | 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.
* (image-type-header-regexps): Be more specific detecting `pbm' and `png' files.Juanma Barranquero2006-12-191-3/+3
| | | | Use non-capturing parenthesis for `tiff' regexp.
* (image-type): New defun split out of create-image.Kim F. Storm2006-04-211-16/+28
| | | | (create-image): Use it.
* (image-load-path-for-library): Shorten first line in docstring.Bill Wohler2006-03-191-1/+1
|
* (image-load-path-for-library): Minor docstring fix.Bill Wohler2006-03-171-2/+2
|
* (image-load-path-for-library): Prefer user's images inBill Wohler2006-03-161-27/+43
| | | | image-load-path.
* (image-load-path-for-library): Fix example by not recommending thatBill Wohler2006-03-151-3/+5
| | | | | one binds image-load-path. Just defvar it to placate compiler and only use it if previously defined.
* (image-load-path-for-library): Pass value of path rather than symbol.Bill Wohler2006-03-141-30/+22
| | | | | Always return list of directories. Guarantee that image directory comes first.
* (image-load-path-for-library): Merged changes from Reiner. AddBill Wohler2006-03-111-5/+17
| | | | no-error argument. If path t, just return directory.
* (image-load-path-for-library): Merge at least three functions fromBill Wohler2006-03-101-0/+74
| | | | Gnus and MH-E into this one function that can now be shared.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (defimage): Add `doc-string' declaration.Stefan Monnier2005-10-241-1/+2
|
* (image-load-path): Use eval-at-startup to initialize.Richard M. Stallman2005-10-221-3/+6
|
* (image-type-header-regexps): Rename from image-type-regexps.Kim F. Storm2005-10-211-26/+91
| | | | | | | | | | | | Change uses. (image-type-file-name-regexps): New defconst. (image-type-from-data): Simplify loop. (image-type-from-buffer): New defun. (image-type-from-file-header): Use it instead of image-type-from-data. Use image-search-load-path instead of only looking in data-directory. (image-type-from-file-name): New defun. (image-search-load-path): Make PATH arg optional, default to image-load-path. Change `pathname' to `filename'.
* * image.el (create-image, find-image): Mention max-image-size inChong Yidong2005-10-191-2/+6
| | | | docstring.
* (image-load-path): Use symbol `data-directory' instead of its value,Chong Yidong2005-09-181-11/+20
| | | | | | for backward compatibility with packages that bind it during `find-image'. Suggested by Katsumi Yamaoka. (image-search-load-path): Handle symbols whose values are strings.
* 2005-09-15 Chong Yidong <[email protected]>Chong Yidong2005-09-151-15/+28
| | | | | | * image.el (image-load-path): New variable. (image-search-load-path): New function. (find-image): Search for images in `image-load-path'.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (image-library-alist): Moved to image.c.Juanma Barranquero2005-05-271-15/+1
| | | | (image-type-available-p): Doc fix.
* (insert-sliced-image): Add autoload cookie.Richard M. Stallman2005-03-171-0/+1
|
* (insert-sliced-image): Use t for line-height property.Kim F. Storm2005-01-011-1/+1
|
* (insert-sliced-image): Add doc string.Kim F. Storm2004-09-221-0/+9
|