Commit Graph

15348 Commits

Author SHA1 Message Date
Juanma Barranquero
804d894aa5 (syms_of_ntproc): Doc fix. 2002-02-26 10:01:38 +00:00
Pavel Janík
0277b535be Include "dispextern.h" unconditionally. 2002-02-24 20:37:24 +00:00
Jason Rumney
82a399d298 *** empty log message *** 2002-02-24 18:40:25 +00:00
Jason Rumney
6e860d159d (lisp): Add emacs-lisp/backquote.elc. 2002-02-24 18:31:35 +00:00
Jason Rumney
1f1bce0ece (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc and disp-table.elc. 2002-02-24 18:02:49 +00:00
Jason Rumney
4143f98bef (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc. 2002-02-24 17:42:49 +00:00
Kim F. Storm
5f24537118 (Flookup_key): Fixed problem in 2001-12-28 patch:
The validation of the event type was too strict as it didn't
allow string events; buffer names are used in bindings for
menu-bar-select-buffer (see `menu-bar-update-buffers').
2002-02-24 00:24:37 +00:00
Kim F. Storm
b66bc4a416 *** empty log message *** 2002-02-23 22:32:39 +00:00
Kim F. Storm
a34cb674af (command_loop_1): Use Fremap_command for command remapping;
now try command remapping for all symbols.
2002-02-23 22:03:17 +00:00
Kim F. Storm
8160700003 (Fremap_command): Declare extern.
(is_command_symbol): Remove extern.
2002-02-23 22:01:16 +00:00
Kim F. Storm
a1df473f03 The following changes rework my patch of 2002-02-06 which
added command remapping by entering the commands directly into
the keymaps.  Now, command remapping uses an explicit `remap'
prefix in the keymaps, i.e. [remap COMMAND].

(Qremap, remap_command_vector): New variables.
(is_command_symbol): Removed function.
(Fdefine_key): No longer accept a symbol for KEY.  Added
validation of [remap COMMAND] argument for KEY.  The DEF is no
longer required to be a symbol when remapping a command.
(Fremap_command): New function to remap command through keymaps.
(Flookup_key): Perform command remapping initiated by
Fremap_command directly for speed.
(Fkey_binding): Use Fremap_command for command remapping.
(where_is_internal): Handle new command remapping representation.
(syms_of_keymap): Intern Qremap, initialize remap_command_vector,
staticpro them.  Defsubr Fremap_command.
2002-02-23 22:00:37 +00:00
Eli Zaretskii
f227fdedfb (run_pre_post_conversion_on_str): Add prototype. 2002-02-23 18:39:29 +00:00
Jason Rumney
54a0c8a620 *** empty log message *** 2002-02-23 18:24:55 +00:00
Jason Rumney
27605fa7b6 (w32_wnd_proc) <WM_TIMER>: Fix last change. 2002-02-23 18:14:06 +00:00
Jason Rumney
aab7e392f5 (Fw32_set_clipboard_data): Run pre-write-conversion
on the string before encoding it.
(Fw32_get_clipboard_data): Run post-read-conversion on the string
after decoding it.
2002-02-23 18:12:30 +00:00
Pavel Janík
042c33d318 (enter_timestamp): Put in #if 0 to prevent warning. 2002-02-23 16:36:30 +00:00
Pavel Janík
aa2289381b (enter_timestamp): Remove unused static variable to prevent warning. 2002-02-23 16:28:28 +00:00
Eli Zaretskii
b72d987068 (Fw16_get_clipboard_data): Fix last change. 2002-02-23 08:55:52 +00:00
Eli Zaretskii
ecb7ac215a (selection_data_to_lisp_data): Fix last change. 2002-02-23 08:53:27 +00:00
Jason Rumney
48094ace89 (mouse_move_timer, mouse_button_timer): Initialize.
(menu_free_timer): New variable.
(MENU_FREE_ID, MENU_FREE_DELAY): New constants.
(w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer.
<WM_EXITMENULOOP>: Delay before freeing menu.  Do nothing if a
menu command is in progress.
<WM_COMMAND>: Set the menu_command_in_progress flag.  Kill
any menu_free_timer that is running.
2002-02-23 00:07:22 +00:00
Jason Rumney
71f6b29519 (menubar_selection_callback): Free the menu and
clear the menu_command_in_progress flag.
2002-02-23 00:01:34 +00:00
Jason Rumney
1cb8c82e46 (w32_text_out): Renamed from W32_TEXTOUT.
Call ExtTextOutA rather than ExtTextOut.
2002-02-22 23:59:50 +00:00
Jason Rumney
823b64b024 (struct w32_output): New member menu_command_in_progress. 2002-02-22 23:58:11 +00:00
Eli Zaretskii
9feba28107 *** empty log message *** 2002-02-22 14:43:53 +00:00
Eli Zaretskii
dabc65bc2c (BASE_PURESIZE): Increase to 755000. 2002-02-22 14:43:39 +00:00
Eli Zaretskii
3276b4fe6e (Fw16_set_clipboard_data): Run pre-write-conversion
on the string before encoding it.
(Fw16_get_clipboard_data): Run post-read-conversion on the string
after decoding it.
2002-02-22 14:09:07 +00:00
Eli Zaretskii
23e16093ec Fix last change. 2002-02-22 13:20:00 +00:00
Eli Zaretskii
fbbe0aceda <Qcompound_text_with_extensions>: New variable.
(syms_of_xselect): Intern and staticpro it.
(selection_data_to_lisp_data): Run post-read-conversion on decoded
selection text.
(lisp_data_to_selection_data): If next-selection-coding-system is
compound-text-with-extensions, set the type of selection to be
compound-text.
2002-02-22 13:16:35 +00:00
Eli Zaretskii
b443e0bd7d (x_encode_text): Update prototype. 2002-02-22 13:15:02 +00:00
Eli Zaretskii
37323f344c (x_encode_text): Accept additional arg SELECTIONP; all
callers changed.  If SELECTIONP is non-zero, run the
pre-write-conversion function before encoding the selection text.
2002-02-22 13:14:27 +00:00
Kim F. Storm
2a28d4719c (syms_of_frame): Change mouse-highlight default to t. 2002-02-20 23:45:51 +00:00
Kim F. Storm
15fdc2e38b (kbd_buffer_get_event) [WINDOWSNT]: Corrected
composing of language-change event.
2002-02-20 23:01:48 +00:00
Kim F. Storm
9de461813d (menu_bar_items): Don't include keymap or local-map
bindings at PT when building menu (the menu is not updated often
enough for this to work reliable).
(tool_bar_items): Likewise.
(current_active_maps): Removed unused (and faulty) function.
2002-02-20 14:52:54 +00:00
Pavel Janík
c7f07c4c35 (gif_load): Use correct width and height for GIF images. 2002-02-20 10:27:06 +00:00
Eli Zaretskii
f856528037 *** empty log message *** 2002-02-19 11:22:16 +00:00
Eli Zaretskii
250ffca65e (Fatan): Accept an optional second arg and call atan2 if passed 2 args. 2002-02-19 10:58:07 +00:00
Jason Rumney
5be86f5441 *** empty log message *** 2002-02-18 23:45:18 +00:00
Jason Rumney
1e2eddb435 (glyph_rect): Determine the row and glyph more precisely. 2002-02-18 23:31:06 +00:00
Jason Rumney
f7b9d4d15e *** empty log message *** 2002-02-18 00:04:14 +00:00
Jason Rumney
549808dbb6 * w32term.c (x_autoselect_window_p): New variable.
(syms_of_w32term): DEFVAR_BOOL and initialize it.
(note_mouse_movement): Use it.

* w32term.c (x_check_fullscreen, x_check_fullscreen_move)
(x_fullscreen_adjust): New functions.
(w32_read_socket) <WM_WINDOWPOSCHANGED>:  Don't	resize to
fullscreen.  Call x_check_fullscreen_move, and set the
want_fullscreen member of output_data.w32
<WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
2002-02-17 23:42:40 +00:00
Jason Rumney
01f323c6e9 New enum for FULLSCREEN_* constants.
(struct w32_output): New members want_fullscreen, x_pixels_diff,
y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff.
(x-fullscreen-adjust): New prototype.
2002-02-17 23:41:06 +00:00
Kim F. Storm
ce16e8d9a2 Added mouse-highlight variable to turn off mouse highlight or
only show it after mouse movement.
2002-02-17 00:01:15 +00:00
Kim F. Storm
3d26a7c2f0 (disable_mouse_highlight): Removed variable.
(note_mouse_highlight): Disable highlight if Vmouse_highlight is nil.
(show_mouse_face): Don't show highlight if mouse_face_hidden is	set.
(w32_read_socket): Turn mouse_face_hidden off after mouse movement,
and on after keyboard input.
(w32_initialize_display_info): Initialize mouse_face_hidden.
2002-02-16 23:59:22 +00:00
Kim F. Storm
f16c05f28c (struct w32_display_info): Add mouse_face_hidden. 2002-02-16 23:58:23 +00:00
Kim F. Storm
abf10ed700 (disable_mouse_highlight): Removed variable.
(show_mouse_face): Don't show highlight if mouse_face_hidden is	set.
(IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
(internal_terminal_init): Initialize mouse_face_hidden.
(dos_rawgetc): Turn mouse_face_hidden off after mouse movement,
and on after keyboard input.
2002-02-16 23:57:34 +00:00
Kim F. Storm
11690c8e1b (struct display_info): Add mouse_face_hidden. 2002-02-16 23:56:41 +00:00
Kim F. Storm
663010611d (disable_mouse_highlight): Removed variable.
(note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
(show_mouse_face): Don't show highlight if mouse_face_hidden is	set.
(XTread_socket): Turn mouse_face_hidden off after mouse movement,
and on after keyboard input.
(x_term_init): Initialize mouse_face_hidden.
2002-02-16 23:55:57 +00:00
Kim F. Storm
64421b63fc (struct x_display_info): Add mouse_face_hidden. 2002-02-16 23:54:42 +00:00
Kim F. Storm
0349c9af75 (Vmouse_highlight): Declare extern. 2002-02-16 23:54:04 +00:00
Kim F. Storm
6018080fa7 (Vmouse_highlight): New variable.
(syms_of_frame): DEFVAR_LISP it.
2002-02-16 23:53:22 +00:00