aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32fns.c
Commit message (Collapse)AuthorAgeFilesLines
* (x_set_scroll_bar_default_width): Define return value as void.Juanma Barranquero2003-03-311-1/+1
|
* * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frameKim F. Storm2003-03-311-1406/+51
| | | | | | | | | | | | | | | | | | | | | | parameters now defined in frame.h and frame.c. (Vx_resource_name): Remove. Use generic var. (enum x_frame_parms): Remove (bogus, unused enum). (check_x_display_info): Make non-static (for frame.c). (struct x_frame_parm_table, x_frame_parms): Remove. (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) (x_set_border_width, x_set_internal_border_width, x_set_visibility) (x_change_window_heights, x_set_autoraise, x_set_autolower) (x_set_vertical_scroll_bars, x_set_scroll_bar_width) (validate_x_resource_name, Fx_get_resource, x_get_resource_string) (x_default_parameter, Fx_parse_geometry, x_figure_window_size): Remove. Use generic functions instead. (enum resource_types): Remove. (x_set_scroll_bar_default_width): New global function (for frame.c). (Fx_create_frame): Depend on x_figure_window_size to add space for toolbar and setup size_hint_flags. (w32_frame_parm_handlers): New table for redisplay_interface. (syms_of_w32fns): Don't intern/staticpro removed vars.
* Remove setup of cross_cursor (already has hand_cursor).Kim F. Storm2003-03-211-15/+9
|
* (jpeg_load, png_load, slurp_file): Read image filesJason Rumney2003-03-161-3/+3
| | | | as binary.
* Use generic compute_fringe_widths.Kim F. Storm2003-03-121-3/+2
|
* (Fx_get_resource, x_get_resource_string): Pass xrdb to check for resourcesJuanma Barranquero2003-03-061-2/+3
| | | | passed on the command line.
* (w32_list_bdf_fonts, w32_list_fonts): NegativeJason Rumney2003-02-161-5/+6
| | | | max_fonts parameter means list all.
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-3/+3
|
* (w32_create_pixmap_from_bitmap_data): Use alloca forJason Rumney2003-02-011-17/+94
| | | | | | | | | local malloc. [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel definitions in xpm.h. (init_xpm_functions): New function. (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. (init_external_image_libraries): Try to load libXpm.dll.
* (init_tiff_functions): New function.Juanma Barranquero2003-01-311-19/+53
| | | | | | (tiff_load): Adjust colors for Windows. Disable color table lookups. Call library functions through pointers determined at runtime. (init_external_image_libraries): Try to load libtiff.dll.
* (DrawText): Kludge to avoid a redefinition on Windows when including gif_lib.h.Juanma Barranquero2003-01-311-13/+46
| | | | | | | | (init_gif_functions): New function. (gif_load): Sync with xfns.c version. Adjust colors for Windows. Disable color table lookups. Call gif library functions through pointers determined at runtime. (init_external_image_libraries): Try to load libungif.dll.
* (init_external_image_libraries): Add missing operator.Juanma Barranquero2003-01-301-1/+1
|
* (init_external_image_libraries): Allow jpeg-62.dll asJason Rumney2003-01-291-0/+1
| | | | an alternative name for jpeg.dll.
* (init_external_image_libraries): Try alternate names for the jpeg dll.Juanma Barranquero2003-01-271-35/+36
|
* (init_jpeg_functions, jpeg_resync_to_restart_wrapper):Jason Rumney2003-01-261-54/+103
| | | | | | | | New functions. (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. Disable color table lookups. Call jpeg library functions through pointers determined at runtime. (init_external_image_libraries): Try to load jpeg.dll.
* (XPutPixel): Handle monochrome images; used for masks.Jason Rumney2003-01-251-50/+139
| | | | | | | | | | | | | [HAVE_PNG]: Sync with xfns.c version. (png_load): Adjust colors for Windows. Use Windows bitmaps. Disable color table lookups. (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. (init_png_functions): New function. (png_read_from_memory, png_load): Call png library functions through pointers determined at runtime. (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. (init_external_image_libraries): New function. (init_xfns): Call it.
* (XPutPixel): Handle monochrome images; used for masks.Jason Rumney2003-01-251-76/+102
| | | | | | [HAVE_PNG]: Sync with xfns.c version. (png_load): Adjust colors for Windows. Use Windows bitmaps. Disable color table lookups.
* (x_set_cursor_type): Set cursor_type_changed,Jason Rumney2003-01-221-3/+2
| | | | not update_mode_lines, and always set it to 1.
* 2003-01-21 Jason Rumney <[email protected]>Jason Rumney2003-01-211-2/+47
| | | | | | | | | | | | | | | | | * w32fns.c (IDC_HAND): Define it if system headers don't. 2003-01-21 KOBAYASHI Yasuhiro <[email protected]> * w32fns.c (Vx_hand_shape): New variable. (w32_wnd_proc): Add message entries for WM_SETCURSOR and WM_EMACS_SETCURSOR. (x-create-frame): Setup Cursor types. 2003-01-21 David Ponce <[email protected]> * w32fns.c (w32_load_cursor): New function. (w32_init_class): Use it. (x_put_x_image): Declare all args.
* (syms_of_w32fns) <Vx_bitmap_file_path>: Doc fix.Dave Love2003-01-061-1/+1
|
* Revisited my earlier fix for the following entry in etc/PROBLEMS: 'Emacs ↵Ben Key2002-12-181-31/+24
| | | | built on Windows 9x/ME crashes at startup on Windows XP, or Emacs builtpart of on XP crashes at startup on Windows 9x/ME.' Fixed several Windows API errors detected by BoundsChecker
* (convert_mono_to_color_image): New function.Jason Rumney2002-11-201-5/+58
| | | | | (xbm_load, xbm_load_image): Use it when foreground or background is explicitly set.
* (xpm_format, pbm_format, png_format, jpeg_format, tiff_format)Jason Rumney2002-11-181-30/+16
| | | | | | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent.
* (x_build_heuristic_mask): Filter palette info from color.Jason Rumney2002-11-181-2/+3
| | | | (XPutPixel): Swap blue and red.
* (x_build_heuristic_mask): Filter palette info from color.Jason Rumney2002-11-181-1/+2
|
* Added a partial implementation of play-sound-internal for Windows. Fixed ↵Ben Key2002-11-171-2/+31
| | | | the following entry in etc/PROBLEMS: Emacs built on Windows 9x/ME crashes at startup on Windows XP, or Emacs built on XP crashes at startup on Windows 9x/ME.
* (w32_load_system_font): Don't disable Cleartype.Jason Rumney2002-11-161-3/+1
|
* (x_create_x_image_and_pixmap): Fill in palette forJason Rumney2002-11-151-6/+17
| | | | | | depth of 1. (xbm_read_bitmap_data): Invert bits as xbm is read in. (XPutPixel): Don't invert bits here.
* (w32_defined_color): Adjust RGB values for Emacs.Jason Rumney2002-11-151-95/+128
| | | | | | | | | (x_from_xcolors): Adjust RGB values for W32. (image_background, image_background_transparent) (postprocess_image, x_to_xcolors, x_disable_image) (x_build_heuristic_mask): Adapt for W32 and enable. (x_create_x_image_and_pixmap): Mark images with palettes as such. (xbm_load): Remove unused variable.
* Remove definition of XColor.Juanma Barranquero2002-10-231-10/+0
|
* Fix typo in comment.Juanma Barranquero2002-10-181-322/+322
|
* * frame.c (Vdelete_frame_functions): New variable.John Paul Wallington2002-10-021-0/+5
| | | | | | | | | | | | (syms_of_frame): Initialize and defvar it. (Fdelete_frame): Use it instead of delete-frame-hook. Don't run it when frame's `tooltip' parameter is non-nil. * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. * w32fns.c (x_create_tip_frame): Likewise * macfns.c (x_create_tip_frame): Likewise.
* (Qbox): Make extern.Juanma Barranquero2002-08-301-3/+1
| | | | (syms_of_w32fns): Remove initialization of Qbox.
* (Vblink_cursor_alist): Removed.Kim F. Storm2002-08-301-94/+1
| | | | | | | (Qbar, Qhbar, Qbox, Qhollow): Removed. (syms_of_w32fns): Don't intern, staticpro, or define them. (x_specified_cursor_type): Removed. (x_set_cursor_type): Use set_frame_cursor_types.
* (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR andRichard M. Stallman2002-08-291-4/+42
| | | | | | | | | | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. (Vblink_cursor_alist): New variable. (syms_of_w32fns): Initialize and defvar it. (x_specified_cursor_type): Recognize Qbox for filled box. Exceptions are hollow boxes. (Qbox, Qhollow): New variables. (syms_of_w32fns): Initialize and staticpro them.
* * w32fns.c (validate_x_resource_name): Use SSET.Ken Raeburn2002-07-161-1/+1
|
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-127/+127
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Use macro SPECPDL_INDEX.Juanma Barranquero2002-07-111-1/+1
|
* Rename BINDING_STACK_SIZE to SPECPDL_INDEX.Juanma Barranquero2002-07-101-4/+4
|
* Fix typo.Juanma Barranquero2002-07-091-1/+1
|
* (w32_to_x_font): Disable composition handling.Kenichi Handa2002-06-241-0/+3
|
* (file_dialog_callback): New function.Jason Rumney2002-06-221-45/+87
| | | | (Fx_file_dialog): Allow selecting directories as well as files.
* * w32fns.c (enumfont_t): Remove tail, make pattern a normalJason Rumney2002-05-221-14/+27
| | | | | | | | | Lisp_Object. (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): Use modified enumfont_t struct. * w32fns.c (Qhbar): New variable. (x_specified_cursor_type): Use it.
* * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE forKen Raeburn2002-05-211-1/+1
| | | | now, when the address is needed.
* * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAMEKen Raeburn2002-05-201-2/+2
| | | | and XSTRING instead of XSYMBOL and name field.
* (w32_create_pixmap_from_bitmap_data): New function.Jason Rumney2002-05-181-27/+41
| | | | | | | (xbm_load_image): Use it. (xbm_load): Ditto. (xbm_read_bitmap_data): Reverted to xfns.c version. From David Ponce <[email protected]>.
* (enum_font_cb2): Don't use DBCS raster fonts.Jason Rumney2002-05-101-0/+15
|
* (x_create_bitmap_from_file, x_find_image_file): Update call to openp.Stefan Monnier2002-04-301-2/+2
|
* (Fx_file_dialog): Decode file name before using.Jason Rumney2002-04-161-1/+1
|
* (xbm_scan, xbm_load_image, xbm_read_bitmap_data)Jason Rumney2002-03-241-35/+62
| | | | | | | | | (xbm_file_p): Add prototypes. (xbm_format, xbm_image_p): Sync with xfns.c. (reflect_byte): New function. (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. (xbm_load_image): Create bitmaps with a depth of 1. (init_xfns): Enable XBM images.