Commit graph

17809 commits

Author SHA1 Message Date
Jan Djärv
69eff41f7e Added C support for drag and drop (xterm.h, xterm.c, xfns.c and xselect.c) 2004-02-03 16:36:29 +00:00
Jan Djärv
b4715a7293 * xfns.c (x-send-client-message): Moved to xselect.c
(Fx_change_window_property): Add optional arguments TYPE, FORMAT and
OUTER_P.
(Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P,
VECTOR_RET_P.  Handle AnyPropertyType.  Call x_property_data_to_lisp
if vector_ret_p is true.
(syms_of_xfns): Sx_send_client_message moved to xselect.c.
2004-02-03 16:35:38 +00:00
Jan Djärv
1fb3821bbd * xselect.c: Include termhooks.h and X11/Xproto.h
(x_check_property_data, x_fill_property_data)
(x_property_data_to_lisp, mouse_position_for_drop)
(Fx_get_atom_name, x_handle_dnd_message): New functions for DND support.
(Fx_send_client_event): Moved here from xfns.c.
(syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message.
2004-02-03 16:34:57 +00:00
Jan Djärv
e69745bba5 * xterm.c (handle_one_xevent): Call x_handle_dnd_message for
ClientMessages.
2004-02-03 16:34:26 +00:00
Jan Djärv
8998a957ba * xterm.h: Add x_handle_dnd_message, x_check_property_data,
x_fill_property_data, x_property_data_to_lisp and check_x_display_info.
2004-02-03 16:33:53 +00:00
Eli Zaretskii
dcdbbb5dc5 (Fcopy_file): If NEWNAME is a directory, expand the
basename of FILE relative to it, not FILE itself.
2004-02-02 20:52:20 +00:00
Kenichi Handa
09721b316c (coding_restore_composition): Check invalid
composition data more rigidly.
2004-02-02 12:09:36 +00:00
Luc Teirlinck
eb99610125 *** empty log message *** 2004-01-31 04:41:35 +00:00
Luc Teirlinck
238aedc973 (Fread_file_name_internal): Correctly handle the case where
insert-default-directory is nil.
(Fread_file_name): Always return an empty string if the user exits
with an empty minibuffer.  Adapt the docstring accordingly.
(syms_of_fileio): Adapt the docstring of insert-default-directory to
the change in Fread_file_name.
2004-01-31 04:24:23 +00:00
Eli Zaretskii
a0367d423d Fix the prototype for xfree. 2004-01-30 17:12:40 +00:00
Kenichi Handa
13f52ed814 (string_char_to_byte): Optimize for ASCII only string.
(string_byte_to_char): Likewise.
2004-01-29 02:54:22 +00:00
Jason Rumney
d57625a021 *** empty log message *** 2004-01-28 23:33:32 +00:00
Jason Rumney
39a0e1353f * makefile.w32-in, w32fns.c: Add `default-printer-name' function. 2004-01-28 23:31:03 +00:00
Steven Tamm
911c78b4aa unexecmacos.x (unexec_copy): Do not copy more than was requested (count)
to prevent overwriting during unexec.
2004-01-28 06:07:36 +00:00
Jan Djärv
ce38070aa2 * process.c (sigchld_handler): Add comment about not calling malloc 2004-01-27 21:34:43 +00:00
Jan Djärv
eb37b8fd09 * process.h: Add extern to synch_process_termsig. 2004-01-27 09:40:23 +00:00
Steven Tamm
21a3e65787 Move setting of scroll bars from make_mac_frame to
make_mac_terminal_frame to prevent clobbering of
scroll-bar-mode.
2004-01-27 07:32:41 +00:00
Richard M. Stallman
d62a265d18 *** empty log message *** 2004-01-27 04:57:18 +00:00
Richard M. Stallman
5fbbc83b2b (Freplace_match): Handle nonexistent back-references properly. 2004-01-27 04:52:09 +00:00
Jan Djärv
ff23641911 Do not call strsignal in signal handler, it calls malloc.
New variable synch_process_termsig that callproc checks and calls
strsignal outside signal handler.
2004-01-26 23:41:09 +00:00
Jan Djärv
6b0824c950 (mkdir, rmdir): Also check synch_process_termsig. 2004-01-26 23:40:08 +00:00
Jan Djärv
b0c681e2ef synch_process_termsig new variable. 2004-01-26 23:39:50 +00:00
Jan Djärv
c22aeff8e8 (sigchld_handler): Set synch_process_termsig
if terminated by a signal.  synch_process_death setting removed.
2004-01-26 23:39:30 +00:00
Jan Djärv
ca4981285f Define synch_process_termsig.
(Fcall_process): Initiate synch_process_termsig to zero and
check if non-zero and get signal name after subprocess has ended.
2004-01-26 23:39:08 +00:00
Andreas Schwab
41b867eace (Fpurecopy): Declare size as EMACS_INT to not lose bits. 2004-01-26 11:54:36 +00:00
Andreas Schwab
3164abe6d1 (print_preprocess): Declare size as EMACS_INT to not lose bits.
(print_object): Likewise.
2004-01-26 11:53:59 +00:00
Luc Teirlinck
29a831f8ba (Fwindow_minibuffer_p): Doc fix. 2004-01-26 03:27:33 +00:00
Luc Teirlinck
a08084fff1 *** empty log message *** 2004-01-26 03:25:37 +00:00
Jonathan Yavner
b19ac4751a *** empty log message *** 2004-01-24 17:40:21 +00:00
Jonathan Yavner
728345f8b1 For `format', make source and documentation match. 2004-01-24 17:39:47 +00:00
Kenichi Handa
fe905025d0 (Fmd5): If OBJECT is a buffer different from the current
one, set buffer to OBJECT temporarily.
2004-01-23 00:14:48 +00:00
Stefan Monnier
455316e213 *** empty log message *** 2004-01-22 15:28:25 +00:00
Stefan Monnier
d92f48d3ab (kbd_buffer_gcpro): Remove.
(kbd_buffer_store_event, clear_event, Fdiscard_input)
(stuff_buffered_input, init_keyboard, syms_of_keyboard):
Don't intitialize and/or maintain the variable any more.  It was made
redundant by my commit of 2003-06-15.
2004-01-21 20:19:41 +00:00
Stefan Monnier
438fc6c0c0 *** empty log message *** 2004-01-21 19:36:00 +00:00
Stefan Monnier
1b35bdf447 [USE_LSB_TAG && !DECL_ALIGN]: Signal an error. 2004-01-21 19:32:49 +00:00
Jan Djärv
5335a4eeb8 lisp.h: Add undef DECL_ALIGN 2004-01-21 15:30:28 +00:00
Stefan Monnier
371b1542e5 Add .gdb_history 2004-01-21 05:47:54 +00:00
Stefan Monnier
dcdaeebcaf *** empty log message *** 2004-01-21 05:46:48 +00:00
Stefan Monnier
43ff45a00d (wait_reading_process_input) [SYNC_INPUT]: Check interrupt_input_pending. 2004-01-21 05:27:58 +00:00
Stefan Monnier
35d3b513d3 (QUIT) [SYNC_INPUT]: Check interrupt_input_pending as well. 2004-01-21 05:24:01 +00:00
Stefan Monnier
b65c1b4489 (handle_async_input): New fun, extracted from input_available_signal.
(input_available_signal, reinvoke_input_signal): Use it.
2004-01-21 05:15:12 +00:00
Stefan Monnier
d710758638 *** empty log message *** 2004-01-21 05:03:24 +00:00
Stefan Monnier
d4f8198baf (buffer_defaults, buffer_local_symbols): Use DECL_ALIGN. 2004-01-21 04:32:19 +00:00
Stefan Monnier
9aa0928de7 [USE_LSB_TAG]: Add definitions for Lisp_Object value
manipulation macros for when tags are in the lower bits.
(struct Lisp_Free) [USE_LSB_TAG]: Add padding.
(DECL_ALIGN): New macro.
(DEFUN): Use it.
2004-01-21 04:31:21 +00:00
Stefan Monnier
39eec98ffd [ENABLE_CHECKING]: Don't force union type. 2004-01-21 04:19:21 +00:00
Stefan Monnier
4fa2eaa05c (__attribute__): Remove outdated workaround. 2004-01-21 04:04:01 +00:00
Stefan Monnier
6839cd1500 (main) [USE_LSB_TAG]: Don't range check the ram. 2004-01-21 04:02:39 +00:00
Stefan Monnier
831b476c5a (lisp_malloc, lisp_align_malloc) [USE_LSB_TAG]:
Don't check range of malloc address.
(pure_alloc) [USE_LSB_TAG]: Enforce alignment.
2004-01-21 03:34:32 +00:00
Stefan Monnier
9076a82311 (wait_reading_process_input): Lisp_Object/int mixup. 2004-01-20 21:19:33 +00:00
Stefan Monnier
45c7d781c6 (Ffile_attributes): Lisp_Object/int mixup. 2004-01-20 21:18:31 +00:00