aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32fns.c
Commit message (Collapse)AuthorAgeFilesLines
* (my_set_window_pos, my_show_window): Don't declare.Juanma Barranquero2005-07-281-4/+4
| | | | (my_create_window, my_create_tip_window): Make static.
* (Vx_hand_shape): Variable removed.Kim F. Storm2005-07-191-1/+3
| | | | (syms_of_w32fns): Intern and staticpro Qw32_charset_default.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (Fx_show_tip): Pass new arg to try_window.Richard M. Stallman2005-06-251-1/+1
|
* (check_x_frame, check_x_display_info): Follow error conventions.Juanma Barranquero2005-06-231-4/+4
|
* (NEWOPENFILENAME): New struct.Jason Rumney2005-06-121-16/+43
| | | | | | (Fx_file_dialog): Use it to trick the system into giving us up to date dialogs on systems that are documented to support it. Do not set OFN_FILEMUSTEXIST flag if looking for a directory.
* (w32_abort): Use the MB_YESNO dialog instead ofEli Zaretskii2005-06-121-7/+8
| | | | MB_ABORTRETRYIGNORE. Never return, even if DebugBreak does.
* (Fx_file_dialog): Unblock input before falling back to minibuffer.Jason Rumney2005-06-101-2/+6
|
* (syms_of_w32fns): Fix spellings.Juanma Barranquero2005-06-101-1/+1
|
* (w32_load_system_font): Set FONT_WIDTH to maximum, notJason Rumney2005-01-031-1/+20
| | | | | average width. Set fontp->average_width and fontp->space_width to their appropriate values.
* Use fast_string_match_ignore_case for comparing font names.Jason Rumney2004-11-021-7/+5
|
* * fileio.c (Fread_file_name): Pass Qt as fifth parameter toJan Djärv2004-11-021-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fx_file_dialog if only directories should be read. * lisp.h: Fx_file_dialog takes 5 parameters. * xfns.c (Fx_file_dialog): Both Motif and GTK version: Add parameter only_dir_p. In Motif version, don't put DEFAULT_FILENAME in filter part of the dialog, just text field part. Do not add DEFAULT_FILENAME to list of files if it isn't there. In GTK version, pass only_dir_p parameter to xg_get_file_name. * macfns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". When using a save dialog, add option kNavDontConfirmReplacement, change title to "Enter name", change text for save button to "Ok". * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". * gtkutil.c (xg_get_file_with_chooser) (xg_get_file_with_selection): New functions, only defined ifdef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW respectively. (xg_get_file_name): Add parameter only_dir_p. Call xg_get_file_with_chooser or xg_get_file_with_selection depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
* (Fx_server_vendor, Fx_server_version): Doc fixes.Richard M. Stallman2004-10-281-2/+2
|
* (w32_font_match): Encode font name being matched.Jason Rumney2004-10-161-5/+7
|
* (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: HandleJason Rumney2004-09-071-8/+24
| | | | Unicode menu titles.
* Fix typo in last checkinJason Rumney2004-08-311-1/+1
|
* 2004-08-31 NAKAMURA Toshikazu <[email protected]> (tiny change)Jason Rumney2004-08-311-0/+12
| | | | | * w32fns.c (w32_load_font): If a BDF font is already loaded, do not reload it.
* 2004-07-19 KOBAYASHI Yasuhiro <[email protected]> (tiny change)Jason Rumney2004-07-191-2/+2
| | | | | * w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of ENCODE_SYSTEM for filenames.
* (Fx_file_dialog): Encode strings in system coding system beforeJason Rumney2004-07-151-2/+2
| | | | passing them to OS functions for display.
* (file_dialog_callback): Disable edit control if setJason Rumney2004-06-271-7/+18
| | | | | | to directories only on CDN_INITDONE message. (Fx_file_dialog): Default to directories only when prompt starts with "Dired".
* (Fx_display_grayscale_p, Fw32_send_sys_command, Vw32_color_map):Juanma Barranquero2004-06-021-56/+57
| | | | | | | Fix typo in docstring. (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip) (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key): Make argument names match their use in docstring.
* Fix last change for non USE_LISP_UNION_TYPE case.Jason Rumney2004-05-181-2/+2
|
* (Fw32_register_hot_key, Fw32_unregister_hot_key)Jason Rumney2004-05-171-63/+89
| | | | | | | | | | | | (Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from Lisp_Object using i member. (w32_quit_key): Rename from Vw32_quit_key, and make an int. (syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int consistently. (w32_color_map_lookup): Return a Lisp_Object. (x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets): Use EQ to compare Lisp_Objects. (w32_parse_hot_key): Use int for lisp_modifiers consistently. (w32_wnd_proc): Use w32_num_mouse_buttons.
* (Fw32_define_rgb_color): Avoid XSET.Stefan Monnier2004-05-141-2/+2
|
* (x_create_tip_frame): Bind inhibit-read-only andKenichi Handa2004-05-101-0/+2
| | | | | inhibit-modification-hooks to t temporarily before calling Ferase_buffer.
* (Vw32_ansi_code_page): New Lisp variable.Jason Rumney2004-05-091-0/+8
| | | | (globals_of_w32fns): Set it.
* Image consolidation:Kim F. Storm2004-03-111-5858/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Vx_bitmap_file_path, Vimage_cache_eviction_delay) (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) (x_reference_bitmap, x_create_bitmap_from_data) (x_create_bitmap_from_file, x_destroy_bitmap) (x_destroy_all_bitmaps, x_create_bitmap_mask) (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) (define_image_type, lookup_image_type, valid_image_p) (image_error, enum image_value_type, struct image_keyword) (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) (make_image, free_image, prepare_image_for_display, image_ascent) (four_corners_best, image_background, image_background_transparent) (x_clear_image_1, x_clear_image, x_alloc_image_color) (make_image_cache, free_image_cache, clear_image_cache) (Fclear_image_cache, postprocess_image, lookup_image, cache_image) (forall_images_in_image_cache, x_create_x_image_and_pixmap) (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) (struct ct_color, init_color_table, free_color_table) (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) (cross_disabled_images, x_to_xcolors, x_from_xcolors) (x_detect_edges, x_emboss, x_laplace, x_edge_detection) (x_disable_image, x_build_heuristic_mask) (XBM support, XPM support, PBM support, PNG support, JPEG support) (TIFF support, GIF support, Ghostscript support): Merge with image code from xfns.c and macfns.c into image.c. (syms_of_xfns): Move image related symbols to image.c. (init_external_image_libraries, init_xfns): Remove; initialization moved to init_image in image.c.
* (slurp_file, xbm_scan, xbm_load_image)Jason Rumney2004-02-241-13/+13
| | | | (xbm_read_bitmap_data): Use unsigned char for image data.
* macfns.c, w32fns.c (Fx_change_window_property):Jan Djärv2004-02-071-5/+18
| | | | Make doc string and parameters same as for X version.
* * w32select.c (Fw32_set_clipboard_data): Make coding iso2022 safe.Jason Rumney2004-02-031-0/+5
| | | | * w32fns.c (x_to_w32_font): Likewise.
* * makefile.w32-in, w32fns.c: Add `default-printer-name' function.Jason Rumney2004-01-281-0/+72
|
* (Qimage): Remove extern (now in lisp.h).Kim F. Storm2003-12-281-7/+2
| | | | (valid_image_p, parse_image_spec): Use IMAGEP macro.
* Remove period at end of error message.Jan Djärv2003-11-161-1/+1
|
* * w32fns.c (w32_load_system_font): Clear all members of FONTP beforeJason Rumney2003-10-021-0/+1
| | | | | filling them. * w32bdf.c (w32_load_bdf_font): Likewise.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (syms_of_w32fns): Remove non-existent functions.Jason Rumney2003-08-271-5/+0
|
* (clipboard_sequence_fn): New variable.Jason Rumney2003-07-061-8/+12
| | | | (globals_of_w32fns): Initialize it.
* Remove #ifdefs from comments, as they are ignored there.Jason Rumney2003-07-061-4/+0
|
* (add_system_logical_colors_to_map): New function.Jason Rumney2003-06-051-1/+57
| | | | (Fx_open_connection): Use it.
* Make (many) trivial substitutions for renamed andKim F. Storm2003-05-241-59/+58
| | | | new macros in dispextern.h, frame.h and window.h.
* (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.