| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | (x_get_foreign_selection): Use x_catch_errors. | Richard M. Stallman | 1993-12-23 | 1 | -0/+7 |
| | | | | | (x_handle_selection_clear): Call prepare_menu_bars. | ||||
| * | (Fx_disown_selection_internal): When making the fake | Richard M. Stallman | 1993-11-23 | 1 | -3/+3 |
| | | | | | event for x_handle_selection_clear, use SELECTION_EVENT_... macros. | ||||
| * | Include <config.h> instead of "config.h". | Roland McGrath | 1993-09-10 | 1 | -1/+1 |
| | | |||||
| * | (struct property_change): New field `arrived'. | Richard M. Stallman | 1993-08-14 | 1 | -74/+79 |
| | | | | | | | | | | | | | | | (expect_property_change): Return struct property_change *. Clear `arrived'. (unexpect_property_change): Take one as argument. (wait_for_property_change): Take one as argument. If `arrived' is set, don't wait. (wait_for_property_change_unwind): Corresponding changes. (receive_incremental_selection): Corresponding changes. (x_reply_selection_request): Corresponding changes. (property_deleted_p): Function deleted. (x_handle_selection_clear): Redisplay. | ||||
| * | (receive_incremental_selection): Use bcopy, not memcpy. | Richard M. Stallman | 1993-08-11 | 1 | -1/+1 |
| | | |||||
| * | (prop_location_identifier): Was named prop_location_tick. | Richard M. Stallman | 1993-07-31 | 1 | -64/+93 |
| | | | | | | | | | | | | | | | | | | | | (property_change_reply_identifier): Renamed from ...-tick. (struct prop_location): Field `identifier' renamed from `tick'. Various functions changed accordingly. (x_handle_selection_request): Delete local struct var `reply'. (wait_for_property_change_unwind): New function. (wait_for_property_change): Add unwind protect. (wait_for_property_change): Eventually time out with error. (x_reply_selection_request): XFlushQueue and UNBLOCK_INPUT before calling wait_for_property_change. (x_get_window_property): Simplify input blocking/unblocking. Don't delete the property here. (receive_incremental_selection): Delete property here. Call XSelectInput to enable and disable PropertyChangeMask. (x_get_window_property_as_lisp_data): And here. | ||||
| * | (lisp_data_to_selection_data): New arg NOFREE_RET. | Richard M. Stallman | 1993-07-25 | 1 | -5/+13 |
| | | | | | | | For a string, just return its data's address. (x_handle_selection_request): Pass new arg. If value comes back 1, don't call xfree. | ||||
| * | Apply typo patches from Paul Eggert. | Jim Blandy | 1993-06-09 | 1 | -1/+1 |
| | | |||||
| * | (x_get_foreign_selection): Handle x_selection_timeout | Richard M. Stallman | 1993-06-05 | 1 | -10/+11 |
| | | | | | | as milliseconds, not as seconds. (syms_of_xselect): Doc fix to match. | ||||
| * | (Fx_store_cut_buffer_internal): Handle empty string right. | Richard M. Stallman | 1993-06-04 | 1 | -0/+6 |
| | | |||||
| * | (x_reply_selection_request): Call XFlushQueue. | Richard M. Stallman | 1993-05-31 | 1 | -0/+1 |
| | | |||||
| * | (x_get_local_selection): If no conversion function | Richard M. Stallman | 1993-05-27 | 1 | -7/+6 |
| | | | | | exists for the requested type, just return nil. | ||||
| * | Updated copyright years. | Jim Blandy | 1993-05-22 | 1 | -6/+6 |
| | | |||||
| * | (Fx_selection_exists_p): Handle nil, t as SELECTION arg. | Richard M. Stallman | 1993-05-15 | 1 | -1/+7 |
| | | | | | Don't die if SELECTION is not recognized. | ||||
| * | long_to_cons and cons_to_long are generally useful things; they're | Jim Blandy | 1993-04-10 | 1 | -30/+0 |
| | | | | | | | | needed whether or not X is defined. * xselect.c (long_to_cons, cons_to_long): Moved from here... * data.c (long_to_cons, cons_to_long): ... to here. * lisp.h (long_to_cons, cons_to_long): Add extern declaration. | ||||
| * | Put interrupt input blocking in a separate file from xterm.h. | Jim Blandy | 1993-03-31 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't specific to X, and it allows us to avoid #including xterm.h in files that don't really have anything to do with X. * blockinput.h: New file. * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h. (x_input_blocked, x_pending_input): Deleted; there are analogs in blockinput.h called interrupt_input_blocked and interrupt_input_pending. * keyboard.c (interrupt_input_blocked, interrupt_input_pending): New variables, used by the macros in blockinput.h. * xterm.c: #include blockinput.h. (x_input_blocked, x_pending_input): Deleted. (XTread_socket): Test and set interrupt_input_blocked and interrupt_input_pending instead of the old variables. * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c: #include blockinput.h. * eval.c: #include blockinput.h instead of xterm.h. * keyboard.c: #include blockinput.h. (input_poll_signal): Just test interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and x_input_blocked. Block the processing of interrupt input while we're manipulating the malloc heap. * alloc.c: (xfree): New function, to make it easy to free things safely. (xmalloc, xrealloc): Block X input while doing the deed. (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree instead of free. (uninterrupt_malloc): New function, to install input-blocking hooks into the GNU malloc routines. * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc on startup. * alloc.c: (make_interval, make_float, Fcons, Fmake_vector, Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect): Use xmalloc instead of malloc; don't bother to check if out of memory here. (Fgarbage_collect): Call xrealloc instead of realloc. * buffer.c: Use xmalloc and xfree instead of malloc and free; don't bother to check if out of memory here. (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around calls to ralloc routines. * insdel.c: Same. * lisp.h (xfree): New extern declaration. * xfaces.c (xfree): Don't #define this to be free; use the definition in alloc.c. * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c, xmenu.c, xterm.c: Use xfree instead of free. * hftctl.c: Use xfree and xmalloc instead of free and malloc. * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc and malloc. * search.c: Since the regexp routines can malloc, BLOCK_INPUT while runing them. #include blockinput.h. * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead of free and malloc. BLOCK_INPUT around routines which we know will call malloc. ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that these depend on blockinput.h. | ||||
| * | * xselect.c (SELECTION_QUANTUM): Don't use XMaxRequestSize on R3; | Jim Blandy | 1993-03-25 | 1 | -2/+5 |
| | | | | | access the display structure directly. | ||||
| * | (cons_to_long, long_to_cons): No longer static. | Richard M. Stallman | 1993-03-19 | 1 | -9/+13 |
| | | |||||
| * | entered into RCS | Richard M. Stallman | 1993-03-14 | 1 | -28/+57 |
| | | |||||
| * | *** empty log message *** | Richard M. Stallman | 1993-03-13 | 1 | -81/+85 |
| | | |||||
| * | Initial revision | Richard M. Stallman | 1993-03-13 | 1 | -0/+1949 |