1. 22 May, 1993 1 commit
  2. 19 May, 1993 1 commit
  3. 14 May, 1993 1 commit
  4. 13 May, 1993 1 commit
  5. 12 May, 1993 1 commit
  6. 10 May, 1993 1 commit
  7. 04 May, 1993 1 commit
  8. 31 Mar, 1993 1 commit
    • Jim Blandy's avatar
      Put interrupt input blocking in a separate file from xterm.h. · 9ac0d9e0
      Jim Blandy authored
      	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.
      	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
      	* 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
      	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
      	(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.
  9. 25 Mar, 1993 1 commit
  10. 24 Mar, 1993 1 commit
  11. 10 Mar, 1993 1 commit
    • Richard M. Stallman's avatar
      (Fdefine_key): Use proper meta-bit to clear. · 0b8fc2d4
      Richard M. Stallman authored
      (access_keymap): Handle ints beyond the ASCII range.
      (store_in_keymap): Likewise.
      (Faccessible_keymaps): Use meta_modifier.
      Use vectors for the key sequences.
      (Fwhere_is_internal): Use meta_modifier.
      (append_key): Always return a vector.
  12. 07 Mar, 1993 1 commit
    • Richard M. Stallman's avatar
      Include termhooks.h. · 6ba6e250
      Richard M. Stallman authored
      (push_key_description): Handle all modifiers.
      Handle large character codes.
      (Fkey_description): Move the meta bit, if arg is string.
      (Fsingle_key_description): Don't alter integer value.
      Make tem long enough.
      (Flookup_key): Use meta_modifier as meta-bit if from vector.
      (Fdefine_key): Likewise.
  13. 22 Feb, 1993 1 commit
  14. 19 Feb, 1993 1 commit
  15. 14 Feb, 1993 1 commit
    • Jim Blandy's avatar
      * keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding, · 7c140252
      Jim Blandy authored
      	Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional
      	argument ACCEPT_DEFAULT, to control whether this function sees
      	bindings for t.
      	(Fwhere_is_internal, describe_map_tree, describe_map_2,
      	describe_vector): Pass the proper arguments to Flookup_key.
  16. 26 Jan, 1993 1 commit
  17. 07 Nov, 1992 1 commit
  18. 31 Oct, 1992 1 commit
    • Jim Blandy's avatar
      * keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume · d09b2024
      Jim Blandy authored
      	that Flength returns an integer.
      	* keymap.c: Deal with autoloaded keymaps properly.
              (get_keymap_1): Renamed to inner_get_keymap; made
      	static.  New argument AUTOLOAD says to pursue autoloads if
      	(Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
      	not to perform autoloads.
      	(Fdefine_key): Ask get_keymap_1 to perform autoloads.  Since
      	autoloading may GC, remember that we have to GCPRO our local
      	variables now.
      	(Fminor_mode_key_binding): Call get_keymap instead of calling
      	get_keymap_1 with equivalent arguments.
  19. 19 Oct, 1992 1 commit
    • Jim Blandy's avatar
      * keymap.c (store_in_keymap): Don't forget to QUIT in the · 0188441d
      Jim Blandy authored
      	keymap-scanning loop.  Don't treat vectors as binding tables if
      	they're the wrong length.
      	* keymap.c (store_in_keymap): Don't forget to QUIT in the
      	keymap-scanning loop.  Don't treat vectors as binding tables if
      	they're the wrong length.
  20. 11 Oct, 1992 1 commit
  21. 03 Oct, 1992 1 commit
  22. 29 Sep, 1992 1 commit
  23. 28 Sep, 1992 1 commit
  24. 23 Sep, 1992 1 commit
    • Jim Blandy's avatar
      * keymap.c (DENSE_TABLE_SIZE): Doc fix. · f5b79c1c
      Jim Blandy authored
      	(keymap_table): Function removed; this function exists only to
      	support an incorrect understanding of the format of keymaps.
      	(access_keymap, store_in_keymap, Fcopy_keymap,
      	Faccessible_keymaps): Correctly handle vectors at any point in the
      	keymap; don't assume it must be at the front.
      	(describe_map): Instead of calling describe_vector on the vector
      	in the cadr of the keymap (if present) and then calling
      	describe_alist to do the rest, just call describe_map_2.
      	(describe_alist): Renamed to describe_map_2; call describe_vector
      	when we encounter a vector in the list.
      	* keymap.c (access_keymap, store_in_keymap): Clarify error message
      	for non-ASCII characters.
      	* keymap.c (access_keymap): Return the binding of Qt as the
      	binding for all unbound characters.
  25. 18 Sep, 1992 1 commit
  26. 13 Sep, 1992 1 commit
    • Jim Blandy's avatar
      * keymap.c (describe_buffer_bindings): Adjust key_heading to match · 4726a9f1
      Jim Blandy authored
      	the format used by describe_map_tree.  Also, don't reprint the
      	"key    binding" header above the global bindings if we've already
      	printed it for the local bindings; it's clear enough that the
      	columns mean the same thing as above.
      	* keymap.c (describe_buffer_bindings): Declare buf and bufend...
      	* keymap.c (describe_buffer_bindings): Set the current buffer to
      	descbuf before calling current_minor_maps; that function's value
      	depends on the values of buffer-local variables.  Don't set the
      	current buffer to Vstandard_output until afterwards.
      	* keymap.c (describe_buffer_bindings): If
      	Vkeyboard_translate_table is in effect, describe its effects.
  27. 11 Sep, 1992 1 commit
  28. 18 May, 1992 1 commit
  29. 28 Jan, 1992 1 commit
  30. 13 Jan, 1992 1 commit
  31. 20 Dec, 1991 1 commit
  32. 31 Jul, 1991 1 commit
  33. 28 Jul, 1991 1 commit
  34. 06 May, 1991 1 commit