Commit graph

21399 commits

Author SHA1 Message Date
Eli Zaretskii
e6b8d66282 *** empty log message *** 2006-08-12 12:34:47 +00:00
Eli Zaretskii
d0cd961e58 (Fmouse_position, Fmouse_pixel_position)
(Fset_mouse_position, Fset_mouse_pixel_position): Doc fix.
2006-08-12 11:36:15 +00:00
Jan Djärv
0c584069b6 * xselect.c (Fx_register_dnd_atom): New function.
(syms_of_xselect): Defsubr it.
	(x_handle_dnd_message): Check that message_type is in
	dpyinfo->x_dnd_atoms before generating lisp event.

	* xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track
	of drag and drop Atoms.

	* xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
2006-08-11 07:31:14 +00:00
Jan Djärv
93acf8f34d * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms* 2006-08-11 07:30:56 +00:00
Jan Djärv
9f562c51d6 * xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track
of drag and drop Atoms.
2006-08-11 07:30:36 +00:00
Jan Djärv
9fc68699c6 * xselect.c (Fx_register_dnd_atom): New function.
(syms_of_xselect): Defsubr it.
 (x_handle_dnd_message): Check that message_type is in
 dpyinfo->x_dnd_atoms before generating lisp event.
2006-08-11 07:30:14 +00:00
Jan Djärv
abef1dd799 * keyboard.c: Define in_sighandler.
(input_available_signal): Set in_sighandler.
 (init_keyboard): Initialize in_sighandler.

 * keyboard.h: Declare in_sighandler.

 * alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler
 to check if mutex should be locked or not.
2006-08-10 06:09:57 +00:00
Jan Djärv
0d3e774694 * alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler
to check if mutex should be locked or not.
2006-08-10 06:09:30 +00:00
Jan Djärv
90b03d5896 * keyboard.c: Define in_sighandler.
(input_available_signal): Set in_sighandler.
2006-08-10 06:07:15 +00:00
Jan Djärv
0e94a24a87 * keyboard.h: Declare in_sighandler. 2006-08-10 06:06:48 +00:00
Richard M. Stallman
c2028ac64f (keyremap_step): No-op if fkey->parent = nil.
(read_key_sequence): Always start fkey.start and fkey.end at 0,
and likewise for keytran.
2006-08-09 04:55:10 +00:00
Kenichi Handa
bb0825cb7d *** empty log message *** 2006-08-09 01:25:59 +00:00
Kenichi Handa
2c53e699a1 (syms_of_coding): Improve the docstring
file-coding-system-alist.
2006-08-09 01:25:03 +00:00
Andreas Schwab
6148699930 (BASE_PURESIZE): Increase to 1120000. 2006-08-07 16:39:36 +00:00
Chong Yidong
43ed3b8da0 * buffer.c (Vchange_major_mode_hook, Qchange_major_mode_hook): New vars.
(Fkill_all_local_variables): Use it.
	(syms_of_buffer): Defvar it.
2006-08-06 14:22:24 +00:00
Eli Zaretskii
0a3297f7bb *** empty log message *** 2006-08-05 13:31:11 +00:00
Eli Zaretskii
f892cf9c9d Include w32.h.
(valid_lisp_object_p) [WINDOWSNT]: Call w32_valid_pointer_p to do the job.
2006-08-05 13:01:50 +00:00
Eli Zaretskii
0c5c0e3dfe Add prototype for w32_valid_pointer_p. 2006-08-05 13:01:25 +00:00
Eli Zaretskii
ed91b2add3 (w32_valid_pointer_p): New function. 2006-08-05 13:01:10 +00:00
Eli Zaretskii
6b657e423e (kbd_buffer_get_event): Return Qnil when current time is exactly equal to
end_time, not only when it is past that.
2006-08-05 12:00:32 +00:00
Chong Yidong
42ec1561cf * process.c: Reapply 2006-08-01 change. 2006-08-05 01:38:42 +00:00
Chong Yidong
092869b973 * keyboard.c (read_char): Rebalance specpdl after receiving jump. 2006-08-05 01:38:21 +00:00
Eli Zaretskii
3046c3f924 (w32_query_font): Fix last change: use stricmp. 2006-08-04 17:22:18 +00:00
Stefan Monnier
0f2e2a3bbc (Fsubst_char_in_region): Redo the setup work after running
the before-change-functions since they may have altered the buffer.
2006-08-04 15:22:09 +00:00
Eli Zaretskii
316a275a1e *** empty log message *** 2006-08-04 11:43:45 +00:00
Eli Zaretskii
df70725f7a (w32_createwindow): Handle -geometry command line option and the geometry
settings in the Registry.
2006-08-04 11:36:02 +00:00
Kenichi Handa
6f64cebf16 (w32_query_font): Compare names by ignoring case. 2006-08-04 02:50:10 +00:00
Kenichi Handa
ef8f7cddb3 *** empty log message *** 2006-08-04 01:49:05 +00:00
Kenichi Handa
dc3ca1078f (x_query_font): Compare names by ignoring case. 2006-08-04 01:41:14 +00:00
Jason Rumney
f3e0a6de08 (w32_menu_show, w32_dialog_show): Call Fsignal to quit
when no option selected except when for_click.
2006-08-03 22:08:09 +00:00
Chong Yidong
d634a67054 * process.c: Revert last change. 2006-08-03 15:19:20 +00:00
Kim F. Storm
2beb96f9cc (wait_reading_process_output_unwind): New function.
Restores waiting_for_user_input_p to saved value.
(wait_reading_process_output): Unwind protect waiting_for_user_input_p
instead of save/restore old value on stack.
2006-08-01 00:13:08 +00:00
Kim F. Storm
0885202f72 *** empty log message *** 2006-08-01 00:12:55 +00:00
Thien-Thi Nguyen
0f42ea765f *** empty log message *** 2006-07-30 12:45:36 +00:00
Thien-Thi Nguyen
f554db0f96 Undo 2006-06-28 change. 2006-07-30 12:43:09 +00:00
Richard M. Stallman
4f213bd48d Comment change. 2006-07-29 22:03:14 +00:00
Eli Zaretskii
cfb37af8b1 *** empty log message *** 2006-07-29 11:20:42 +00:00
Eli Zaretskii
0ef973bb13 (Ffind_operation_coding_system): Revert the change from 2006-05-29. 2006-07-29 10:59:50 +00:00
Eli Zaretskii
69666f776a [WINDOWSNT]: Include fcntl.h, to fix last change. 2006-07-29 10:18:48 +00:00
Richard M. Stallman
0de8dcc977 *** empty log message *** 2006-07-29 02:27:00 +00:00
Richard M. Stallman
418ca4d22a (lookup_named_face, Fdisplay_supports_face_attributes_p):
Add conditional aborts for clarity.
2006-07-29 01:57:38 +00:00
Richard M. Stallman
9e62c96292 (update_menu_bar): New arg HOOKS_RUN. Callers changed.
Used to avoid running the hooks over and over for each frame.
(prepare_menu_bars): Pass value from update_menu_bar as HOOKS_RUN of next call.
2006-07-29 01:56:35 +00:00
Richard M. Stallman
5e093f4432 (safe_run_hooks_1): Don't crash if Vrun_hooks is nil. 2006-07-29 01:54:16 +00:00
Richard M. Stallman
69b9efaa09 Whitespace change. 2006-07-29 01:53:31 +00:00
Kim F. Storm
7ffb6955ce (valid_pointer_p): New function (from valid_lisp_object_p).
(valid_lisp_object_p): Use it to check for valid SUBRP obj.
2006-07-28 11:12:23 +00:00
Kim F. Storm
4dbdb9eb93 *** empty log message *** 2006-07-28 11:11:51 +00:00
Chong Yidong
2f1950bfb6 * keyboard.c (read_char): New arg END_TIME specifying timeout.
All callers changed.  Turn off echoing if END_TIME is non-NULL.
	(kbd_buffer_get_event): New arg END_TIME.

	* lread.c (read_filtered_event): New arg SECONDS to wait until.
	(Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS.

	* lisp.h: Update read-char, read-event, and read_filtered_event
	prototypes.

	* keyboard.h: Include systime.h.  Update read_char prototype.
2006-07-26 18:16:32 +00:00
Chong Yidong
d5f1215543 (Fy_or_n_p): Change call to read_filtered_event to use new arg. 2006-07-26 18:16:14 +00:00
Chong Yidong
43811b4e74 Change callers of read_char. 2006-07-26 18:15:08 +00:00
Chong Yidong
4392dfe315 * keyboard.h: Include systime.h. Update read_char prototype. 2006-07-26 18:14:16 +00:00