1 |
|
2004-06-14 Juanma Barranquero <lektu@terra.es> |
2 |
|
|
3 |
|
* dispextern.h (Vimage_types): Make it conditional on |
4 |
|
HAVE_WINDOW_SYSTEM. |
5 |
|
|
6 |
|
* image.c (Vimage_types): Move from xdisp.c. |
7 |
|
(Vimage_type_cache): New variable. |
8 |
|
(define_image_type): New argument indicating whether an image |
9 |
|
library was loaded; cache loaded status and return t on success, |
10 |
|
nil otherwise. |
11 |
|
(CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. |
12 |
|
(w32_delayed_load): New function to load an image library from a |
13 |
|
list of possible filenames. |
14 |
|
(init_xpm_functions, init_png_functions, init_jpeg_functions) |
15 |
|
(init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. |
16 |
|
(CHECK_LIB_AVAILABLE): Call `define_image_library' with new |
17 |
|
argument. |
18 |
|
(Finit_image_library): New function, extracted from `init_image'. |
19 |
|
Try to initialize an image library on demand and cache whether we |
20 |
|
were successful or not. |
21 |
|
(syms_of_image): Initialize `Vimage_types' and |
22 |
|
`Vimage_type_cache'. Add recognized image types to Vimage_types. |
23 |
|
Export `init-image-library'. |
24 |
|
(init_image): Remove initialization of all image types, except xbm |
25 |
|
and pbm. |
26 |
|
|
27 |
|
* xdisp.c (Vimage_types): Delete (moved to image.c). |
28 |
|
|
29 |
2004-06-14 Andreas Schwab <schwab@suse.de> |
2004-06-14 Andreas Schwab <schwab@suse.de> |
30 |
|
|
31 |
* minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): |
* minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): |
36 |
* regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) |
* regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) |
37 |
(re_wctype, re_iswctype, re_wctype_to_bit): |
(re_wctype, re_iswctype, re_wctype_to_bit): |
38 |
Non-function definitions moved here from regex.c. |
Non-function definitions moved here from regex.c. |
39 |
|
|
40 |
* regex.c (re_wctype, re_iswctype): Function defs longer static. |
* regex.c (re_wctype, re_iswctype): Function defs longer static. |
41 |
(CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) |
(CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) |
42 |
(re_wctype, re_iswctype, re_wctype_to_bit): |
(re_wctype, re_iswctype, re_wctype_to_bit): |