summaryrefslogtreecommitdiff
path: root/src/blockinput.h
Commit message (Collapse)AuthorAgeFilesLines
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * nsterm.m (ns_read_socket): Copy 2009-01-29 and 2009-01-30Adrian Robert2009-02-011-11/+0
| | | | | | | XT,w32read_socket changes to ns_read_socket. * keyboard.c (handle_interrupt): Don't call quit_throw_to_read_char() under NS. * blockinput.h: Remove NS-specific code.
* add parens in a defined statementAdrian Robert2009-01-281-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* merging Emacs.app (NeXTstep port)Adrian Robert2008-07-151-0/+12
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-151-6/+4
|
* Add 2008 to copyright years.Glenn Morris2008-01-081-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (interrupt_input_blocked): Declare volatile.YAMAMOTO Mitsuharu2007-01-261-1/+1
|
* Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-141-2/+2
| | | | 2001).
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (TOTALLY_UNBLOCK_INPUT): Avoid dangling else.Kim F. Storm2005-03-071-2/+2
|
* (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT.Andreas Schwab2005-03-071-3/+1
|
* (UNBLOCK_INPUT_TO): New macro.Richard M. Stallman2005-03-061-1/+24
| | | | (TOTALLY_UNBLOCK_INPUT): Handle a pending signal if any.
* Update copyright.Kim F. Storm2004-06-161-1/+1
|
* (INPUT_BLOCKED_P): New macro.Kim F. Storm2004-05-171-0/+3
|
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-1/+1
|
* Protect against multiple inclusion. IncludeDave Love2000-06-251-0/+6
| | | | atimer.h.
* (pending_atimers): Add extern declaration.Gerd Moellmann2000-01-251-6/+22
| | | | (UNBLOCK_INPUT): Rewritten. Handle pending atimers.
* (reinvoke_input_signal): Don't use prototype decl.Richard M. Stallman1998-04-281-1/+2
|
* Add more prototypes.Andreas Schwab1998-04-141-0/+3
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* * blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO isJim Blandy1993-05-101-10/+15
| | | | | | | | defined everywhere this file is #included; merge the two definitions for defined (SIGIO) and ! defined (SIGIO) into one, which calls reinvoke_input_signal if interrupt_input_pending is set. * keyboard.c (reinvoke_input_signal): New function.
* (interrupt_input_blocked): Make this signed int.Richard M. Stallman1993-04-071-1/+1
|
* (UNBLOCK_INPUT): Fix typo.Richard M. Stallman1993-04-071-1/+1
|
* Put interrupt input blocking in a separate file from xterm.h.Jim Blandy1993-03-311-1/+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.
* Initial revisionJim Blandy1993-03-311-0/+72