1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 20:50:52 -08:00
Commit graph

67 commits

Author SHA1 Message Date
Richard M. Stallman
1d718789f5 (OUTPUT_IF, OUTPUT): Cast frame height to int. 1996-09-03 22:22:10 +00:00
Richard M. Stallman
3b12ce121e (term_init): Avoid type-mismatch calling get_frame_size. 1996-09-03 22:00:27 +00:00
Richard M. Stallman
c291d9ef2b (Vring_bell_function): New variable.
(syms_of_term): Set up Lisp variable.
(ring_bell): Use Vring_bell_function.
1996-08-29 20:50:15 +00:00
Richard M. Stallman
2f8d25d5f1 (FRAME_TERMCAP_P) [WINDOWSNT && !HAVE_NTGUI]:
Remove conditional for HAVE_NTGUI.
1996-04-26 19:56:17 +00:00
Richard M. Stallman
db71d41440 (calculate_ins_del_char_costs): Use proper frame's width. 1996-04-10 18:34:37 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
8e6208c5d2 Comment fixes. 1996-01-05 10:03:17 +00:00
Geoff Voelker
6f405bd5e4 [HAVE_NTGUI] (FRAME_TERMCAP_P): Don't redefine. 1995-11-07 07:27:19 +00:00
Richard M. Stallman
37dad45a1a (term_init): Alternative error messages for TERMCAP/TERMINFO. 1995-06-28 10:05:35 +00:00
Karl Heuer
36cae867b9 (cursor_to, clear_to_end_of_line_raw):
If chars_wasted is 0, do nothing.
(clear_end_of_line): Don't die if chars_wasted is 0.
1995-06-05 12:35:17 +00:00
Karl Heuer
e405833872 (term_init): MagicWrap implies AutoWrap. 1995-04-24 17:17:15 +00:00
Karl Heuer
f8c25f1b67 Update copyright. 1995-04-07 02:21:52 +00:00
Richard M. Stallman
7357a6812a Comment change. 1995-03-29 21:46:19 +00:00
Karl Heuer
b03471782d (term_init) [TERMINFO]: Make error message more accurate. 1995-02-25 04:05:46 +00:00
Richard M. Stallman
8dd0c7cbf7 (calculate_costs): Update max_frame_height, max_frame_width.
They determine length of chars_wasted, copybuf and char_ins_del_vector.
1995-02-17 08:42:18 +00:00
Richard M. Stallman
b59ab95c5c (term_get_fkeys_1): Bug fix for function key above f19. 1995-01-19 18:56:43 +00:00
Karl Heuer
9a6b6f9276 (write_glyphs, insert_glyphs): Call checkmagic. 1995-01-17 00:18:55 +00:00
Richard M. Stallman
ee7a2de471 (term_init): Fatal error if screen is too small. 1995-01-04 19:09:36 +00:00
Richard M. Stallman
be7cd44fe1 (scroll_region_cost): New variable.
(calculate_costs): Put scroll region overhead in scroll_region_cost.
1994-12-26 15:37:22 +00:00
Richard M. Stallman
9f732a77fc (calculate_costs): Set FRAME_COST_BAUD_RATE.
Don't test dont_calculate_costs.
(dont_calculate_costs): Variable deleted.
(term_init): Don't set dont_calculate_costs.
1994-12-06 08:49:33 +00:00
Richard M. Stallman
cb28b9c22b (term_init) [WINDOWSNT]: Do some Windows-specific
initialization, then skip the rest of the code.
(FRAME_TERMCAP_P) [WINDOWSNT]: Always return 0.
1994-11-01 08:44:15 +00:00
Richard M. Stallman
7dac35c8ad (calculate_costs): Call x_screen_planes. 1994-10-22 05:39:42 +00:00
Karl Heuer
0a7f697a8d (term_get_fkeys_1): Workaround for IBM's dialect of terminfo. 1994-10-14 02:43:58 +00:00
Karl Heuer
c8951b1855 Declare Fmake_sparse_keymap. 1994-09-19 00:13:35 +00:00
Karl Heuer
759d9005b9 (clear_to_end): Fix reversed condition. 1994-09-16 23:35:43 +00:00
Richard M. Stallman
e4bfb3b6f1 (term_init): Added missing argument to tgetstr.
(tgetstr): Move declarations to top level.
1994-08-24 19:51:01 +00:00
Richard M. Stallman
c892673b75 (term_get_fkeys): Don't redeclare term_get_fkeys_1 here. 1994-06-23 19:30:19 +00:00
Richard M. Stallman
565620a54d Put stdio.h after config.h. 1994-06-15 03:54:06 +00:00
Richard M. Stallman
cc4ee3c7c6 (update_end): Undo previous change. 1994-05-23 06:31:52 +00:00
Karl Heuer
07c57952d8 (system_uses_terminfo): New variable.
(syms_of_term): New function, to initialize it.
1994-04-08 06:59:55 +00:00
Richard M. Stallman
55cc089c5b (frame_up_to_date_hook): Defined. 1994-04-03 18:19:53 +00:00
Roland McGrath
3708523330 (term_get_fkeys_1): Use term_get_fkeys_arg, not term_get_fkeys_address. 1994-03-08 06:48:45 +00:00
Roland McGrath
f778aff2fd (term_get_fkeys_1): New local var ADDRESS, init to term_get_fkeys_address. 1994-03-08 06:45:43 +00:00
Roland McGrath
f2a003428d (term_get_fkeys_data): Variable removed.
(term_get_fkeys_define_1, term_get_fkeys_define): Functions removed.
(term_get_fkeys_address): New variable, to pass arg through condition-case.
(term_get_fkeys): Set that to ADDRESS; just do condition-case around call to
term_get_fkeys_1, ignoring all errors.
(term_get_fkeys_1): New function, containing body of term_get_fkeys.
Don't use term_get_fkeys_define_1; call Fdefine_key directly.
1994-03-08 06:20:26 +00:00
Richard M. Stallman
afd359c4bb (term_init): If no se', use me';
if no `me' either, don't use standout mode at all.
1994-02-12 22:32:39 +00:00
Richard M. Stallman
7a8e3e3024 (update_end): Clear updating_frame before calling hook. 1994-01-21 00:09:47 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Richard M. Stallman
465db27b59 (term_get_fkeys_define_1, term_get_fkeys_define): New functions.
(term_get_fkeys): Use them.
1993-08-11 04:09:28 +00:00
Richard M. Stallman
c5a9c3e6a6 (term_init): Improve error messages (give sh commands). 1993-08-09 05:45:12 +00:00
Richard M. Stallman
381d11a1c5 (term_get_fkeys): Use prior', not previous', for %8/kP. 1993-06-13 00:41:51 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
fc4f24da5c (term_get_fkeys): Use correct names for F10 and up.
Use the key sequence, not the termcap cap name, in Fdefine_key.
1993-06-05 07:56:46 +00:00
Richard M. Stallman
3e65092fb0 (term_get_fkeys): If not initialized, init Vfunction_key_map. 1993-05-31 20:18:35 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
9ac0d9e041 Put interrupt input blocking in a separate file from xterm.h.
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.
1993-03-31 10:55:33 +00:00
Richard M. Stallman
27b6178555 Fix spacing conventions. 1993-03-18 10:18:30 +00:00
Eric S. Raymond
11838c0e24 Less klugey version of fix. 1993-03-17 23:50:29 +00:00
Eric S. Raymond
1dd40212a5 Supply second arg for tgetstr() calls. 1993-03-17 13:11:50 +00:00
Jim Blandy
a790fee232 Add extern declaration for do_line_insertion_deletion_costs. 1993-03-15 01:09:20 +00:00
Eric S. Raymond
b811cb81b2 Fixed typo. tigetstr -> tgetstr. 1993-03-12 20:13:56 +00:00