1. 13 Aug, 2013 2 commits
  2. 30 May, 2013 1 commit
  3. 20 Feb, 2013 1 commit
    • Glenn Morris's avatar
      Rework recent image-multi-frame stuff a little · dc504515
      Glenn Morris authored
      * image.el (image-current-frame): Change from variable to function.
      (image-show-frame): Rename from image-nth-frame.  Update callers.
      
      * image-mode.el (image-multi-frame): New variable.
      (image-mode-map, image-mode, image-goto-frame):
      Use image-multi-frame rather than image-current-frame.
      (image-mode, image-goto-frame):
      Use image-current-frame as function rather than as variable.
      dc504515
  4. 16 Feb, 2013 4 commits
    • Glenn Morris's avatar
      Generalize "animated" images to "multi-frame" images · ed8d7fca
      Glenn Morris authored
      * lisp/image.el (image-animated-types): Remove.
      (image-multi-frame-p): Rename from image-animated-p, and generalize.
      (image-animated-p): Make obsolete alias.
      (image-animate, image-nth-frame, image-animate-timeout):
      Use image-multi-frame-p.
      (image-animate-timeout): If no delay, use image-default-frame-delay.
      
      * lisp/image-mode.el (image-mode, image-toggle-animation):
      Use image-multi-frame-p.
      (image-mode): Adjust startup message for a multi-frame image.
      
      * lisp/gnus/shr.el (shr-put-image): Only animate images that specify a delay.
      This is consistent with the old image-animated-p behavior.
      
      * etc/NEWS: Add placeholder for this.
      
      Fixes: debbugs:10739
      ed8d7fca
    • Glenn Morris's avatar
      Add variables for default/minimum animated image frame delay · 99e619b6
      Glenn Morris authored
      * lisp/image.el (image-default-frame-delay): New variable.
      (image-animated-p): Use image-default-frame-delay.
      (image-minimum-frame-delay): New constant.
      (image-animate-timeout): Use image-minimum-frame-delay.
      99e619b6
    • Glenn Morris's avatar
      Add commands for navigating multi-frame images · c0211c4e
      Glenn Morris authored
      * lisp/image.el (image-nth-frame): New, split from image-animate-timeout.
      (image-animate-timeout): Use image-nth-frame.
      
      * lisp/image-mode.el (image-goto-frame, image-next-frame)
      (image-previous-frame): New commands.
      (image-mode-map): Add new frame commands.
      
      * etc/NEWS: Mention this.
      c0211c4e
    • Glenn Morris's avatar
      Display a mode-line frame counter for animated images · bb9dfee1
      Glenn Morris authored
      * lisp/image.el (image-current-frame): New variable.
      (image-animate-timeout): Set image-current-frame.
      
      * lisp/image-mode.el (image-mode): For animated images,
      display a frame counter via mode-line-process.
      bb9dfee1
  5. 01 Jan, 2013 1 commit
  6. 18 Nov, 2012 1 commit
  7. 02 Nov, 2012 1 commit
  8. 23 Oct, 2012 1 commit
  9. 22 Oct, 2012 1 commit
  10. 23 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Remove LIBRARIES arg from w32_delayed_load and friends. · d07ff9db
      Chong Yidong authored
      These always use Vdynamic_library_alist anyway.
      
      * src/image.c (Finit_image_library, lookup_image_type)
      (define_image_type): Remove now-unneeded second arg.
      (init_xpm_functions, init_png_functions, init_jpeg_functions)
      (init_tiff_functions, init_gif_functions, init_svg_functions):
      Arglist and w32_delayed_load calling convention changed.
      (gs_type): Remove init_gs_functions; there is no such function.
      
      * src/gnutls.c (init_gnutls_functions): Caller changed; remove arg.
      (Fgnutls_available_p): Caller changed.
      
      * src/xml.c (init_libxml2_functions, Flibxml_parse_html_region)
      (Flibxml_parse_xml_region): Likewise.
      
      * src/dispextern.h (struct image_type): Remove arg from init function.
      
      * src/w32.c (w32_delayed_load): Remove LIBRARIES argument; always use
      Vdynamic_library_alist.
      
      * lisp/image.el (image-type-available-p): Change caller to
      init-image-library.
      d07ff9db
  11. 13 Sep, 2012 1 commit
    • Paul Eggert's avatar
      Fix glitches caused by addition of psec to timers. · 72eac303
      Paul Eggert authored
      * etc/NEWS: Document timer format change.
      * lisp/image.el (image-animate-timer):
      * lisp/time.el (display-time-world-timer):
      Use timer--function and timer--args rather than raw access to
      timer vector.
      * lisp/gnus/gnus-art.el (gnus-article-stop-animations):
      Use timer--function rather than raw access to timer vector.
      
      Fixes: debbugs:12430
      72eac303
  12. 15 Aug, 2012 1 commit
  13. 11 Jun, 2012 1 commit
  14. 04 Jun, 2012 2 commits
  15. 03 Jun, 2012 1 commit
  16. 02 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Add more enabled ImageMagick types. · 95f520b5
      Chong Yidong authored
      * lisp/image.el (imagemagick-enabled-types): Rename from
      imagemagick-types-enable.  Add many more types.
      (imagemagick-types-inhibit): Change default to nil.
      (imagemagick-filter-types): Caller changed.
      95f520b5
  17. 31 May, 2012 3 commits
  18. 25 May, 2012 1 commit
  19. 26 Apr, 2012 1 commit
  20. 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
  21. 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
  22. 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
  23. 28 Feb, 2012 1 commit
  24. 08 Feb, 2012 1 commit
  25. 07 Feb, 2012 2 commits
  26. 04 Feb, 2012 1 commit
  27. 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
  28. 11 Jan, 2012 1 commit
  29. 05 Jan, 2012 1 commit
  30. 16 Sep, 2011 1 commit
  31. 25 Jul, 2011 1 commit
  32. 17 Jul, 2011 1 commit