1. 31 May, 2012 3 commits
  2. 25 May, 2012 1 commit
  3. 26 Apr, 2012 1 commit
  4. 16 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Call imagemagick-register-types automatically. · c505aaeb
      Chong Yidong authored
      * lisp/image.el (imagemagick--extension-regexp): New variable.
      (imagemagick-register-types): Use it.
      (imagemagick-types-inhibit): Add :set function.  Allow new value
      of t to inhibit all types.
      
      * lisp/loadup.el (fboundp): Preload regexp-opt, needed by
      imagemagick-register-types.
      
      * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
      so we can preload it.
      c505aaeb
  5. 10 Apr, 2012 1 commit
    • Lars Magne Ingebrigtsen's avatar
      Make `put-image' return the overlay created · bc72b5d9
      Lars Magne Ingebrigtsen authored
      * image.el (put-image): Return the overlay created instead of the
      optional input string.  Note that this may break code
      that is (for some reason or other) depending on `put-image'
      returning the string.
      
      Fixes: debbugs:7834
      bc72b5d9
  6. 30 Mar, 2012 1 commit
    • Chong Yidong's avatar
      Updates for Display chapter of Lisp manual. · 5319014e
      Chong Yidong authored
      * doc/lispref/display.texi (Image Formats): Add imagemagick type.
      (Image Descriptors): Mention how they are used.
      (ImageMagick Images): Clarify role of imagemagick-register-types.
      (Character Display): Don't mention glyph tables.
      (Display Tables): Use make-glyph-code in example.
      (Glyphs): Avoid "simple glyph code" terminology.  Note that glyph
      tables are semi-obsolete.  De-document create-glyph.
      (Glyphless Chars): Note that display tables override this.
      (Bidirectional Display): Copyedits.  Introduce "bidirectional
      reordering" terminology, and use it.
      
      * doc/emacs/files.texi (File Conveniences): Clarify Imagemagick discussion.
      
      * lisp/image.el (imagemagick-types-inhibit)
      (imagemagick-register-types): Doc fix.
      5319014e
  7. 28 Feb, 2012 1 commit
  8. 08 Feb, 2012 1 commit
  9. 07 Feb, 2012 2 commits
  10. 04 Feb, 2012 1 commit
  11. 03 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Document animated image API · eea14f31
      Glenn Morris authored
      * doc/lispref/display.texi (GIF Images): Mention animation.
      Remove commented-out old example of animation.
      (Animated Images): New subsection.
      * doc/lispref/elisp.texi (Top):
      * doc/lispref/vol1.texi (Top):
      * doc/lispref/vol2.texi (Top): Add Animated Images menu entry.
      
      * lisp/image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
      
      * lisp/image.el (image-animated-p): Doc fix.  Use image-animated-types.
      (image-animate-timeout): Doc fix.
      
      * etc/NEWS: Markup.
      eea14f31
  12. 11 Jan, 2012 1 commit
  13. 05 Jan, 2012 1 commit
  14. 16 Sep, 2011 1 commit
  15. 25 Jul, 2011 1 commit
  16. 17 Jul, 2011 1 commit
  17. 14 Jul, 2011 1 commit
  18. 11 Jun, 2011 1 commit
    • Chong Yidong's avatar
      Handle gif subimage animation delay correctly. · 1100a63c
      Chong Yidong authored
      * lisp/image.el (image-animated-p): Return animation delay in seconds.
      Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
      (image-animate-timeout): Remove DELAY argument.  Use
      image-animated-p to get animation delay for each frame.
      (image-animate): Caller changed.
      
      * src/image.c (gif_load): Add animation frame delay to the metadata.
      (syms_of_image): Use DEFSYM.  New symbol `delay'.
      1100a63c
  19. 07 Jun, 2011 1 commit
    • Chong Yidong's avatar
      Some changes and re-organization for animated gif support. · 18af70d0
      Chong Yidong authored
      * lisp/image.el (image-animate-max-time): Moved to image-mode.el.
      (create-animated-image): Remove unnecessary function.
      (image-animate): Rename from image-animate-start.  New arg.
      (image-animate-stop): Removed; just use image-animate-timer.
      (image-animate-timer): Use car-safe.
      (image-animate-timeout): Rename argument.
      
      * lisp/image-mode.el (image-toggle-animation): New command.
      (image-mode-map): Bind it to RET.
      (image-mode): Update message.
      (image-toggle-display-image): Avoid a spurious cache flush.
      (image-transform-rotation): Doc fix.
      (image-transform-properties): Return quickly in the normal case.
      (image-animate-loop): Rename from image-animate-max-time.
      18af70d0
  20. 29 May, 2011 2 commits
    • Chong Yidong's avatar
      Fix animated gifs (Bug#6981). · e8cbec34
      Chong Yidong authored
      * lisp/image-mode.el (image-toggle-display-image): Ensure that the
      image spec passed to the animate timer is the same object as in
      the the buffer's display property.
      (image-transform-properties): Doc fix.
      
      * lisp/image.el (image-animate-max-time): Default to nil.
      
      * lisp/image.el (image-animate-max-time): Allow nil and t values.
      Default to nil.
      (create-animated-image): Doc fix.
      (image-animate-start): Remove second arg; just use
      image-animate-max-time.
      (image-animate-timeout): Doc fix.  Args changed.
      e8cbec34
    • Chong Yidong's avatar
      Doc fixes for imagemagick support code. · d66c4c7c
      Chong Yidong authored
      * lisp/image.el (imagemagick-types-inhibit)
      (imagemagick-register-types): Doc fix.
      
      * src/image.c: Various fixes to ImageMagick code comments.
      (Fimagemagick_types): Doc fix.
      d66c4c7c
  21. 22 Mar, 2011 1 commit
    • Juanma Barranquero's avatar
      lisp/image.el: Avoid some warnings. · 5fd62452
      Juanma Barranquero authored
      * image.el (image-type-file-name-regexps): Make it variable.
        `imagemagick-register-types' modifies it, and the user may want
        to add new extensions for known image types.
        (imagemagick-register-types): Throw error if not using ImageMagick.
      5fd62452
  22. 25 Jan, 2011 1 commit
  23. 16 Jan, 2011 1 commit
  24. 15 Jan, 2011 1 commit
  25. 02 Jan, 2011 1 commit
  26. 24 Oct, 2010 1 commit
    • Chong Yidong's avatar
      Avoid inline image variables for checkboxes (Bug#7222). · 01898dc2
      Chong Yidong authored
      * etc/images/checked.xpm:
      * etc/images/unchecked.xpm: New images.
      
      * image.el (image-checkbox-checked, image-checkbox-unchecked):
      Deleted (Bug#7222).
      
      * startup.el (fancy-startup-tail): Instead of using inline images,
      refer to image files from etc/.
      
      * wid-edit.el (checkbox): Likewise.
      (widget-image-find): Center image specs.
      01898dc2
  27. 13 Oct, 2010 1 commit
    • Juanma Barranquero's avatar
      Rename `image-library-alist' to `dynamic-library-alist'. · 2e288d54
      Juanma Barranquero authored
      * etc/NEWS: Mention `dynamic-library-alist'.
      
      * lisp/image.el (image-library-alist): Declare as obsolete alias.
        (image-type-available-p): Use `dynamic-library-alist'.
      
      * lisp/term/w32-win.el (dynamic-library-alist):
        Use instead of `image-library-alist'.
      
      * nt/INSTALL: Refer to `dynamic-library-alist'.
      
      * src/image.c (Vimage_library_alist)
        (syms_of_image) <image-library-alist>: Move to src/emacs.c and rename.
        (lookup_image_type): Use Vdynamic_library_alist.
        (Finit_image_library): Doc fix.
      
      * src/emacs.c (Vdynamic_library_alist)
        (syms_of_emacs) <dynamic-library-alist>: Move from src/image.c and rename.
        Doc fix.
      
      * src/lisp.h (Vdynamic_library_alist): Declare extern.
      2e288d54
  28. 11 Oct, 2010 1 commit
    • Chong Yidong's avatar
      More cleanups and minor fixes for Customize. · 05d22d02
      Chong Yidong authored
      * cus-edit.el (custom-face-edit-fix-value): Use
      custom-fix-face-spec.
      
      * custom.el (custom-push-theme): Cleanup (use cond).
      (disable-theme): Recompute the saved-face property.
      (custom-theme-recalc-face): Follow face alias before setting prop.
      
      * custom.el (custom-fix-face-spec): New function; code moved from
      custom-face-edit-fix-value.
      (custom-push-theme): Use it when checking if a face has been
      changed outside customize.
      (custom-available-themes): New function.
      (load-theme): Use it.
      
      * image.el (image-checkbox-checked, image-checkbox-unchecked): New
      variables, containing checkbox images.
      
      * startup.el (fancy-startup-tail):
      * wid-edit.el (checkbox): Use them.
      05d22d02
  29. 09 Sep, 2010 1 commit
    • Glenn Morris's avatar
      Tiny image.el fixes. · 399653d6
      Glenn Morris authored
      * lisp/image.el (imagemagick-types-inhibit): Add :type, :version, :group.
      (imagemagick-register-types): Doc fix.
      399653d6
  30. 29 Aug, 2010 1 commit
  31. 18 Aug, 2010 1 commit
  32. 14 Jun, 2010 3 commits
  33. 25 May, 2010 1 commit
  34. 22 May, 2010 1 commit
    • Chong Yidong's avatar
      Rename image-refresh to image-flush. · 110683ad
      Chong Yidong authored
      * 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.
      110683ad