summaryrefslogtreecommitdiff
path: root/src/w32fns.c
Commit message (Collapse)AuthorAgeFilesLines
* (w32_msg_pump): Disable debug code.Jason Rumney2008-03-011-0/+4
|
* Merge from emacs--rel--22Miles Bader2008-02-251-0/+12
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1081
| * (enum_font_cb2): Don't use raster fonts for Unicode.Jason Rumney2008-02-241-0/+12
| |
* | Merge from emacs--rel--22Miles Bader2008-02-241-1/+4
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
| * (Fw32_shell_execute): Encode parameters.Jason Rumney2008-02-181-1/+4
| |
* | Consolidate the image_cache to the terminal struct.Stefan Monnier2008-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * termhooks.h (P_): Remove redundant def. (struct terminal): New field `image_cache'. * frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place of FRAME_X_IMAGE_CACHE. * xterm.h (struct x_display_info): Remove image_cache field. (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. * w32term.h (struct w32_display_info): Remove image_cache field. (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. * macterm.h (struct mac_display_info): Remove image_cache field. (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. * xterm.c (x_term_init): * w32term.c (w32_term_init): * macterm.c (mac_term_init): Set the image_cache in the terminal. * dispextern.h (clear_image_cache, forall_images_in_image_cache): Remove declarations. (clear_image_caches, mark_image_cache): New declarations. * xfaces.c (clear_face_cache): * xdisp.c (redisplay_internal): Use clear_image_caches. * image.c (clear_image_cache): Don't check that a frame is on a window-system before checking if it shares the same cache. (clear_image_caches): New function. (Fclear_image_cache): Use it. (mark_image): Move from allo.c. (mark_image_cache): Move from alloc.c and forall_images_in_image_cache. * alloc.c (mark_image, mark_image_cache): Move to image.c. (mark_object): Don't call mark_image_cache for frames. (mark_terminals): Call mark_image_cache.
* | Merge from emacs--devo--0Miles Bader2008-01-091-1/+2
|\ \ | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
| * | Merge from emacs--rel--22Miles Bader2008-01-081-1/+2
| |\| | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| | * Add 2008 to copyright years.Glenn Morris2008-01-081-1/+2
| | |
* | | Merge from emacs--devo--0Miles Bader2008-01-021-0/+4
|\| | | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-308
| * | Make copy of frame parameters because the original parametersMartin Rudalics2007-12-291-0/+4
| | | | | | | | | | | | are in pure storage now.
* | | Merge from emacs--devo--0Miles Bader2007-12-291-1/+2
|\| | | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-306
| * | Merge from emacs--rel--22Miles Bader2007-12-281-1/+2
| |\| | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
| | * (w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned before passing as wParam.Jason Rumney2007-12-171-1/+2
| | |
* | | Merge from emacs--devo--0Miles Bader2007-12-161-4/+4
|\| | | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
| * | Merge from emacs--rel--22Miles Bader2007-12-161-4/+4
| |\| | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-956
| | * (w32_wnd_proc, Fw32_reconstruct_hot_key): Range checkJason Rumney2007-12-131-4/+4
| | | | | | | | | | | | | | | before dereferencing array. (lookup_vk_code): Remove zero comparison.
| | * (Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,Juanma Barranquero2007-11-151-15/+15
| | | | | | | | | | | | | | | | | | | | | Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size, Fx_server_vendor, Fx_server_version, Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width, Fx_display_backing_store, Fx_display_visual_class, Fw32_select_font, Fx_display_save_under): Fix typos in docstrings.
| | * (Fw32_registered_hot_keys): Don't return the nil values correspondingJuanma Barranquero2007-11-141-110/+103
| | | | | | | | | | | | | | | | | | | | | | | | to deleted entries; they are an implementation detail. (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits): Remove variables. (Fw32_define_rgb_color, Fw32_load_color_file): Fix typos in docstrings. (Fx_server_version): Reflow docstring. (Fw32_shell_execute): Doc fixes.
| | * (Fw32_register_hot_key): Don't try to registerJuanma Barranquero2007-11-131-1/+1
| | | | | | | | | | | | hot key if w32_parse_hot_key returned nil.
| | * Include math.h.Jason Rumney2007-10-241-0/+1
| | |
* | | (w32_to_x_font): Fix bad merge.Jason Rumney2007-12-061-3/+0
| | |
* | | Merge from emacs--devo--0Miles Bader2007-12-061-138/+133
|\| | | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
| * | (Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,Juanma Barranquero2007-11-141-14/+14
| | | | | | | | | | | | | | | | | | | | | Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size, Fx_server_vendor, Fx_server_version, Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width, Fx_display_backing_store, Fx_display_visual_class, Fw32_select_font): Fix typos in docstrings.
| * | (Fw32_define_rgb_color, Fw32_load_color_file, Fx_display_save_under):Juanma Barranquero2007-11-141-13/+14
| | | | | | | | | | | | | | | | | | Fix typos in docstrings. (Fx_server_version): Reflow docstring. (Fw32_shell_execute): Doc fixes.
| * | Remove leftover comment.Juanma Barranquero2007-11-141-4/+0
| | |
| * | (Fw32_registered_hot_keys): Don't return the nil values correspondingJuanma Barranquero2007-11-141-110/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to deleted entries; they are an implementation detail. (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits): Remove variables. (w32_pass_extra_mouse_buttons_to_system, w32_strict_fontnames, w32_pass_multimedia_buttons_to_system, w32_strict_painting, Vw32_charset_info_alist, w32_to_x_color, w32_init_class, w32_createscrollbar, w32_createwindow, my_post_msg, w32_get_modifiers, w32_grabbed_keys, cancel_all_deferred_msgs): Make static. (syms_of_w32fns) <w32-pass-multimedia-buttons-to-system>: Fix typo in docstring.
| * | (Fw32_register_hot_key): Don't try to registerJuanma Barranquero2007-11-131-1/+1
| | | | | | | | | | | | hot key if w32_parse_hot_key returned nil.
* | | Include imm.h.Jason Rumney2007-11-171-2/+75
| | | | | | | | | | | | | | | | | | | | | (get_composition_string_fn, get_ime_context_fn): New optional system functions. (globals_of_w32fns): Load them from imm32.dll. (ignore_ime_char): New flag. (w32_wnd_proc): Handle WM_UNICHAR, WM_IME_CHAR and WM_IME_ENDCOMPOSITION.
* | | Merge from emacs--devo--0Miles Bader2007-11-111-0/+31
|\| | | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-283
| * | (w32_pass_multimedia_buttons_to_system): New user option.Jason Rumney2007-11-091-0/+31
| | | | | | | | | | | | | | | (syms_of_w32fns): Export and initialize it. (w32_wnd_proc): Pass WM_APPCOMMAND on to w32_read_socket.
* | | Merge from emacs--devo--0Miles Bader2007-10-271-6/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 902-908) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 131-137) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 261-262) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-278
| * | Make `window-system' into a keyboard-local variable (rather thanStefan Monnier2007-10-251-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | frame-local as done originally by multi-tty). * startup.el (window-system): Remove. Don't make it frame-local. * keyboard.h (struct kboard): Add Vwindow_system. * keyboard.c (init_kboard): Set a default for Vwindow_system. (mark_kboards): Mark Vwindow_system. * dispnew.c (syms_of_display) <window-system>: Declare terminal-local. (init_display): Don't set the obsolete `window-system' frame-param. * xterm.c (x_term_init): * w32term.c (w32_create_terminal): * term.c (init_tty): Set Vwindow_system. * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the multi-tty merge maybe?), copied from w32term.c. Set Vwindow_system. * xfns.c (Fx_create_frame, x_create_tip_frame): * w32fns.c (Fx_create_frame, x_create_tip_frame): * macfns.c (Fx_create_frame): Don't set the obsolete `window-system' frame-param. * frame.h (Qwindow_system): Remove. * frame.c (Qwindow_system): Remove. In `syms_of_frame' as well. (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
| * | include math.hJason Rumney2007-10-221-0/+1
| | |
| * | (w32_abort): Move declaration to nt/config.nt.Jason Rumney2007-10-221-2/+0
| | |
* | | Merge from emacs--devo--0Miles Bader2007-10-191-4/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 890-898) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 122-128) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 257-258) - Merge from emacs--rel--22 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
| * | * xselect.c (x_own_selection, x_handle_selection_clear)Stefan Monnier2007-10-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (x_clear_frame_selections): * w32menu.c (list_of_panes, list_of_items): * w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list): * textprop.c (validate_plist, interval_has_all_properties) (interval_has_some_properties, interval_has_some_properties_list) (add_properties, text_property_list): * process.c (Fget_buffer_process, list_processes_1, status_notify): * minibuf.c (Fassoc_string): * macselect.c (x_own_selection, x_clear_frame_selections) (Fx_disown_selection_internal): * keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree): Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r.
* | | Merge from emacs--devo--0Miles Bader2007-10-151-12/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 887-889) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 116-121) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
| * | Merge from emacs--rel--22Miles Bader2007-10-151-9/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 116-121) - Update from CVS Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
| | * (set-frame-configuration): Assign name parameter onlyMartin Rudalics2007-10-121-9/+1
| | | | | | | | | | | | if it has been set explicitly before.
| * | Replace `abs' with `eabs'.Eli Zaretskii2007-10-131-3/+3
| | |
* | | Merge from emacs--devo--0Miles Bader2007-10-111-9/+40
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 866-879) - Merge multi-tty branch - Update from CVS - Merge from emacs--rel--22 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
| * | Merge from emacs--rel--22Miles Bader2007-10-091-0/+4
| |\| | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
| | * (globals_of_w32fns): Init common controls.Jason Rumney2007-09-271-0/+4
| | |
| * | (Fx_focus_frame): Rename from Fw32_focus_frame.Jason Rumney2007-09-181-2/+2
| | |
| * | Horizontal mouse wheel support:Jason Rumney2007-09-041-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | (w32_wnd_proc) <WM_DROPFILES>: Merge with WM_MOUSEWHEEL. <WM_MOUSEHWHEEL>: Pass new system message to lisp. MULTI_KBOARD support: (x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from terminal.
| * | Merge from emacs--devo--0Miles Bader2007-07-311-8/+9
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 824-838) - Update from CVS - Merge from emacs--rel--22 - Remove lisp/erc/erc-nicklist.el - Update some .arch-inventory files - Fix void function definition error in cus-edit.el - Restore lisp/emacs-lisp/cl-loaddefs.el * emacs--rel--22 (patch 70-83) - Update from CVS - Remove lisp/erc/erc-nicklist.el - Update some .arch-inventory files - Indicate that emacs--devo--0--patch-834 does not need to be applied - Merge from gnus--rel--5.10 - Restore lisp/emacs-lisp/cl-loaddefs.el * gnus--rel--5.10 (patch 239-241) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-28
| * | Merge from emacs--devo--0Miles Bader2007-07-151-0/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 803-813) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 51-58) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 233-236) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-25
| * \ \ Merge from emacs--devo--0Miles Bader2007-06-111-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 781-792) - Update from CVS - Merge from gnus--rel--5.10 - Merge from emacs--rel--22 * emacs--rel--22 (patch 33-41) * gnus--rel--5.10 (patch 226-228) - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-21
| * | | | * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here.Dan Nicolaescu2007-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * termhooks.h (union display_info): Add mac_display_info. * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD is defined. * macterm.h (struct mac_display_info): Add terminal. * w32term.c (w32_initialize): Make static. * macterm.c (XTset_terminal_modes): Add a terminal parameter. (XTreset_terminal_modes): Likewise. (x_clear_frame): Add a frame parameter. (note_mouse_movement): Get rif from the frame. (mac_term_init): Initialize the terminal. (mac_initialize): Make static and move terminal initialization ... (mac_create_terminal): ... in this new function. * macmenu.c: Reorder includes. (Fx_popup_menu): Use terminal specific mouse_position_hook. * macfns.c (x_set_mouse_color): Get rif from the frame. (x_set_tool_bar_lines): Don't use updating_frame. (mac_window): Add 2 new parameters for consistency with other systems. (Fx_create_frame): Fix doc string. Rename the parameter. (Fx_create_frame): Set the frame parameters following what is done in X11 and w32. (Fx_open_connection): Remove window-system check. (start_hourglass): Likewise. (x_create_tip_frame): Get the keyboard from the terminal. * w32fns.c (Fx_create_frame): Use kboard from the terminal. * term/mac-win.el: Provide mac-win. (mac-initialized): New variable. (mac-initialize-window-system): New function. Move global setup here. (handle-args-function-alist, frame-creation-function-alist): (window-system-initialization-alist): Add mac entries. * loadup.el: Load mac-win on a Mac.