diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/w32fns.c | 20 |
2 files changed, 9 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ecc99df2de8..af21da83d78 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2002-03-23 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | ||
| 4 | correctly. Do not pass up_modifier to keyboard buffer. | ||
| 5 | |||
| 6 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | ||
| 7 | |||
| 1 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> | 8 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 9 | ||
| 3 | * Makefile.in (bootstrapclean): New target. | 10 | * Makefile.in (bootstrapclean): New target. |
diff --git a/src/w32fns.c b/src/w32fns.c index 4b12861c44b..6712541f094 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -5677,13 +5677,9 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 5677 | 5677 | ||
| 5678 | x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), | 5678 | x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), |
| 5679 | "menuBar", "MenuBar", RES_TYPE_NUMBER); | 5679 | "menuBar", "MenuBar", RES_TYPE_NUMBER); |
| 5680 | #ifdef HAVE_IMAGES | ||
| 5681 | x_default_parameter (f, parms, Qtool_bar_lines, make_number (1), | 5680 | x_default_parameter (f, parms, Qtool_bar_lines, make_number (1), |
| 5682 | "toolBar", "ToolBar", RES_TYPE_NUMBER); | 5681 | "toolBar", "ToolBar", RES_TYPE_NUMBER); |
| 5683 | #else | 5682 | |
| 5684 | x_default_parameter (f, parms, Qtool_bar_lines, make_number (0), | ||
| 5685 | "toolBar", "ToolBar", RES_TYPE_NUMBER); | ||
| 5686 | #endif | ||
| 5687 | x_default_parameter (f, parms, Qbuffer_predicate, Qnil, | 5683 | x_default_parameter (f, parms, Qbuffer_predicate, Qnil, |
| 5688 | "bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL); | 5684 | "bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL); |
| 5689 | x_default_parameter (f, parms, Qtitle, Qnil, | 5685 | x_default_parameter (f, parms, Qtitle, Qnil, |
| @@ -8509,7 +8505,6 @@ image_spec_value (spec, key, found) | |||
| 8509 | } | 8505 | } |
| 8510 | 8506 | ||
| 8511 | 8507 | ||
| 8512 | #ifdef HAVE_IMAGES | ||
| 8513 | DEFUN ("image-size", Fimage_size, Simage_size, 1, 3, 0, | 8508 | DEFUN ("image-size", Fimage_size, Simage_size, 1, 3, 0, |
| 8514 | doc: /* Return the size of image SPEC as pair (WIDTH . HEIGHT). | 8509 | doc: /* Return the size of image SPEC as pair (WIDTH . HEIGHT). |
| 8515 | PIXELS non-nil means return the size in pixels, otherwise return the | 8510 | PIXELS non-nil means return the size in pixels, otherwise return the |
| @@ -8566,7 +8561,6 @@ or omitted means use the selected frame. */) | |||
| 8566 | 8561 | ||
| 8567 | return mask; | 8562 | return mask; |
| 8568 | } | 8563 | } |
| 8569 | #endif | ||
| 8570 | 8564 | ||
| 8571 | 8565 | ||
| 8572 | /*********************************************************************** | 8566 | /*********************************************************************** |
| @@ -10585,7 +10579,6 @@ colors_in_color_table (n) | |||
| 10585 | #endif /* TODO */ | 10579 | #endif /* TODO */ |
| 10586 | 10580 | ||
| 10587 | 10581 | ||
| 10588 | #ifdef HAVE_IMAGES /* TODO */ | ||
| 10589 | /*********************************************************************** | 10582 | /*********************************************************************** |
| 10590 | Algorithms | 10583 | Algorithms |
| 10591 | ***********************************************************************/ | 10584 | ***********************************************************************/ |
| @@ -11019,12 +11012,10 @@ x_build_heuristic_mask (f, img, how) | |||
| 11019 | return 0; | 11012 | return 0; |
| 11020 | #endif | 11013 | #endif |
| 11021 | } | 11014 | } |
| 11022 | #endif | ||
| 11023 | 11015 | ||
| 11024 | /*********************************************************************** | 11016 | /*********************************************************************** |
| 11025 | PBM (mono, gray, color) | 11017 | PBM (mono, gray, color) |
| 11026 | ***********************************************************************/ | 11018 | ***********************************************************************/ |
| 11027 | #ifdef HAVE_PBM | ||
| 11028 | 11019 | ||
| 11029 | static int pbm_image_p P_ ((Lisp_Object object)); | 11020 | static int pbm_image_p P_ ((Lisp_Object object)); |
| 11030 | static int pbm_load P_ ((struct frame *f, struct image *img)); | 11021 | static int pbm_load P_ ((struct frame *f, struct image *img)); |
| @@ -11396,7 +11387,6 @@ pbm_load (f, img) | |||
| 11396 | xfree (contents); | 11387 | xfree (contents); |
| 11397 | return 1; | 11388 | return 1; |
| 11398 | } | 11389 | } |
| 11399 | #endif /* HAVE_PBM */ | ||
| 11400 | 11390 | ||
| 11401 | 11391 | ||
| 11402 | /*********************************************************************** | 11392 | /*********************************************************************** |
| @@ -15260,7 +15250,6 @@ versions of Windows) characters. */); | |||
| 15260 | set_frame_fontset_func = x_set_font; | 15250 | set_frame_fontset_func = x_set_font; |
| 15261 | check_window_system_func = check_w32; | 15251 | check_window_system_func = check_w32; |
| 15262 | 15252 | ||
| 15263 | #ifdef IMAGES | ||
| 15264 | /* Images. */ | 15253 | /* Images. */ |
| 15265 | Qxbm = intern ("xbm"); | 15254 | Qxbm = intern ("xbm"); |
| 15266 | staticpro (&Qxbm); | 15255 | staticpro (&Qxbm); |
| @@ -15292,7 +15281,6 @@ versions of Windows) characters. */); | |||
| 15292 | staticpro (&QCindex); | 15281 | staticpro (&QCindex); |
| 15293 | Qpbm = intern ("pbm"); | 15282 | Qpbm = intern ("pbm"); |
| 15294 | staticpro (&Qpbm); | 15283 | staticpro (&Qpbm); |
| 15295 | #endif | ||
| 15296 | 15284 | ||
| 15297 | #if HAVE_XPM | 15285 | #if HAVE_XPM |
| 15298 | Qxpm = intern ("xpm"); | 15286 | Qxpm = intern ("xpm"); |
| @@ -15319,11 +15307,9 @@ versions of Windows) characters. */); | |||
| 15319 | staticpro (&Qpng); | 15307 | staticpro (&Qpng); |
| 15320 | #endif | 15308 | #endif |
| 15321 | 15309 | ||
| 15322 | #ifdef HAVE_IMAGES | ||
| 15323 | defsubr (&Sclear_image_cache); | 15310 | defsubr (&Sclear_image_cache); |
| 15324 | defsubr (&Simage_size); | 15311 | defsubr (&Simage_size); |
| 15325 | defsubr (&Simage_mask_p); | 15312 | defsubr (&Simage_mask_p); |
| 15326 | #endif | ||
| 15327 | 15313 | ||
| 15328 | #if GLYPH_DEBUG | 15314 | #if GLYPH_DEBUG |
| 15329 | defsubr (&Simagep); | 15315 | defsubr (&Simagep); |
| @@ -15352,9 +15338,7 @@ init_xfns () | |||
| 15352 | image_types = NULL; | 15338 | image_types = NULL; |
| 15353 | Vimage_types = Qnil; | 15339 | Vimage_types = Qnil; |
| 15354 | 15340 | ||
| 15355 | #if HAVE_PBM | ||
| 15356 | define_image_type (&pbm_type); | 15341 | define_image_type (&pbm_type); |
| 15357 | #endif | ||
| 15358 | 15342 | ||
| 15359 | #if 0 /* TODO : Image support for W32 */ | 15343 | #if 0 /* TODO : Image support for W32 */ |
| 15360 | define_image_type (&xbm_type); | 15344 | define_image_type (&xbm_type); |
| @@ -15372,7 +15356,7 @@ init_xfns () | |||
| 15372 | #if HAVE_TIFF | 15356 | #if HAVE_TIFF |
| 15373 | define_image_type (&tiff_type); | 15357 | define_image_type (&tiff_type); |
| 15374 | #endif | 15358 | #endif |
| 15375 | 15359 | ||
| 15376 | #if HAVE_GIF | 15360 | #if HAVE_GIF |
| 15377 | define_image_type (&gif_type); | 15361 | define_image_type (&gif_type); |
| 15378 | #endif | 15362 | #endif |