# HG changeset patch # User Juanma Barranquero # Date 1087247845 0 # Node ID e6ffb245895356f8847780e06899bde14d06668d # Parent 53374ab0a92dddba871292aae2276b9c671b73db *** empty log message *** diff -r 53374ab0a92d -r e6ffb2458953 etc/NEWS --- a/etc/NEWS Mon Jun 14 21:11:21 2004 +0000 +++ b/etc/NEWS Mon Jun 14 21:17:25 2004 +0000 @@ -16,6 +16,11 @@ * Installation Changes in Emacs 21.4 +** Emacs includes now support for loading image libraries on demand. +(Currently this feature is only used on MS Windows.) You can configure +the supported image types and their associated dynamic libraries by +setting the variable `image-library-alist'. + --- ** A Bulgarian translation of the Emacs Tutorial is available. diff -r 53374ab0a92d -r e6ffb2458953 lisp/ChangeLog --- a/lisp/ChangeLog Mon Jun 14 21:11:21 2004 +0000 +++ b/lisp/ChangeLog Mon Jun 14 21:17:25 2004 +0000 @@ -39,7 +39,7 @@ * files.el (before-save-hook): Add `time-stamp' to the options. * time-stamp.el (time-stamp): Recommend adding it to - `before-save-hook', rather than `write-file-functions' + `before-save-hook', rather than `write-file-functions'. Make a similar change in `Commentary' section. 2004-06-13 Kai Grossjohann diff -r 53374ab0a92d -r e6ffb2458953 lispref/ChangeLog --- a/lispref/ChangeLog Mon Jun 14 21:11:21 2004 +0000 +++ b/lispref/ChangeLog Mon Jun 14 21:17:25 2004 +0000 @@ -1,3 +1,9 @@ +2004-06-14 Juanma Barranquero + + * display.texi (Images): Document new delayed library loading, + variable `image-library-alist' and (existing but undocumented) + function `image-type-available-p'. + 2004-06-05 Richard M. Stallman * minibuf.texi (Minibuffer Completion): For INITIAL arg, @@ -41,7 +47,7 @@ * lists.texi (Cons Cells): Explain dotted lists, true lists, circular lists. (List Elements): Explain handling of circular and dotted lists. - + 2004-05-19 Thien-Thi Nguyen * modes.texi (Search-based Fontification): Fix typo. diff -r 53374ab0a92d -r e6ffb2458953 src/ChangeLog --- a/src/ChangeLog Mon Jun 14 21:11:21 2004 +0000 +++ b/src/ChangeLog Mon Jun 14 21:17:25 2004 +0000 @@ -1,3 +1,31 @@ +2004-06-14 Juanma Barranquero + + * dispextern.h (Vimage_types): Make it conditional on + HAVE_WINDOW_SYSTEM. + + * image.c (Vimage_types): Move from xdisp.c. + (Vimage_type_cache): New variable. + (define_image_type): New argument indicating whether an image + library was loaded; cache loaded status and return t on success, + nil otherwise. + (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. + (w32_delayed_load): New function to load an image library from a + list of possible filenames. + (init_xpm_functions, init_png_functions, init_jpeg_functions) + (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. + (CHECK_LIB_AVAILABLE): Call `define_image_library' with new + argument. + (Finit_image_library): New function, extracted from `init_image'. + Try to initialize an image library on demand and cache whether we + were successful or not. + (syms_of_image): Initialize `Vimage_types' and + `Vimage_type_cache'. Add recognized image types to Vimage_types. + Export `init-image-library'. + (init_image): Remove initialization of all image types, except xbm + and pbm. + + * xdisp.c (Vimage_types): Delete (moved to image.c). + 2004-06-14 Andreas Schwab * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): @@ -8,7 +36,7 @@ * regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) (re_wctype, re_iswctype, re_wctype_to_bit): Non-function definitions moved here from regex.c. - + * regex.c (re_wctype, re_iswctype): Function defs longer static. (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) (re_wctype, re_iswctype, re_wctype_to_bit):