aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Comment fixes.Karl Heuer1996-01-051-1/+1
|
* [HAVE_NTGUI] (FRAME_TERMCAP_P): Don't redefine.Geoff Voelker1995-11-071-0/+2
|
* (term_init): Alternative error messages for TERMCAP/TERMINFO.Richard M. Stallman1995-06-281-2/+12
|
* (cursor_to, clear_to_end_of_line_raw):Karl Heuer1995-06-051-0/+11
| | | | | If chars_wasted is 0, do nothing. (clear_end_of_line): Don't die if chars_wasted is 0.
* (term_init): MagicWrap implies AutoWrap.Karl Heuer1995-04-241-2/+4
|
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* Comment change.Richard M. Stallman1995-03-291-1/+1
|
* (term_init) [TERMINFO]: Make error message more accurate.Karl Heuer1995-02-251-4/+20
|
* (calculate_costs): Update max_frame_height, max_frame_width.Richard M. Stallman1995-02-171-10/+20
| | | | They determine length of chars_wasted, copybuf and char_ins_del_vector.
* (term_get_fkeys_1): Bug fix for function key above f19.Richard M. Stallman1995-01-191-2/+2
|
* (write_glyphs, insert_glyphs): Call checkmagic.Karl Heuer1995-01-171-2/+4
|
* (term_init): Fatal error if screen is too small.Richard M. Stallman1995-01-041-0/+5
|
* (scroll_region_cost): New variable.Richard M. Stallman1994-12-261-0/+4
| | | | (calculate_costs): Put scroll region overhead in scroll_region_cost.
* (calculate_costs): Set FRAME_COST_BAUD_RATE.Richard M. Stallman1994-12-061-10/+4
| | | | | | Don't test dont_calculate_costs. (dont_calculate_costs): Variable deleted. (term_init): Don't set dont_calculate_costs.
* (term_init) [WINDOWSNT]: Do some Windows-specificRichard M. Stallman1994-11-011-0/+48
| | | | | initialization, then skip the rest of the code. (FRAME_TERMCAP_P) [WINDOWSNT]: Always return 0.
* (calculate_costs): Call x_screen_planes.Richard M. Stallman1994-10-221-5/+2
|
* (term_get_fkeys_1): Workaround for IBM's dialect of terminfo.Karl Heuer1994-10-141-0/+12
|
* Declare Fmake_sparse_keymap.Karl Heuer1994-09-191-0/+2
|
* (clear_to_end): Fix reversed condition.Karl Heuer1994-09-161-1/+1
|
* (term_init): Added missing argument to tgetstr.Richard M. Stallman1994-08-241-4/+3
| | | | (tgetstr): Move declarations to top level.
* (term_get_fkeys): Don't redeclare term_get_fkeys_1 here.Richard M. Stallman1994-06-231-1/+0
|
* Put stdio.h after config.h.Richard M. Stallman1994-06-151-1/+1
|
* (update_end): Undo previous change.Richard M. Stallman1994-05-231-1/+1
|
* (system_uses_terminfo): New variable.Karl Heuer1994-04-081-0/+15
| | | | (syms_of_term): New function, to initialize it.
* (frame_up_to_date_hook): Defined.Richard M. Stallman1994-04-031-0/+2
|
* (term_get_fkeys_1): Use term_get_fkeys_arg, not term_get_fkeys_address.Roland McGrath1994-03-081-1/+1
|
* (term_get_fkeys_1): New local var ADDRESS, init to term_get_fkeys_address.Roland McGrath1994-03-081-0/+2
|
* (term_get_fkeys_data): Variable removed.Roland McGrath1994-03-081-37/+33
| | | | | | | | | (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.
* (term_init): If no `se', use `me';Richard M. Stallman1994-02-121-0/+11
| | | | if no `me' either, don't use standout mode at all.
* (update_end): Clear updating_frame before calling hook.Richard M. Stallman1994-01-211-1/+1
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (term_get_fkeys_define_1, term_get_fkeys_define): New functions.Richard M. Stallman1993-08-111-16/+38
| | | | (term_get_fkeys): Use them.
* (term_init): Improve error messages (give sh commands).Richard M. Stallman1993-08-091-3/+9
|
* (term_get_fkeys): Use `prior', not `previous', for %8/kP.Richard M. Stallman1993-06-131-1/+1
|
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-2/+2
|
* (term_get_fkeys): Use correct names for F10 and up.Richard M. Stallman1993-06-051-13/+20
| | | | Use the key sequence, not the termcap cap name, in Fdefine_key.
* (term_get_fkeys): If not initialized, init Vfunction_key_map.Richard M. Stallman1993-05-311-0/+4
|
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* Put interrupt input blocking in a separate file from xterm.h.Jim Blandy1993-03-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix spacing conventions.Richard M. Stallman1993-03-181-10/+10
|
* Less klugey version of fix.Eric S. Raymond1993-03-171-3/+2
|
* Supply second arg for tgetstr() calls.Eric S. Raymond1993-03-171-2/+4
|
* Add extern declaration for do_line_insertion_deletion_costs.Jim Blandy1993-03-151-0/+2
|
* Fixed typo. tigetstr -> tgetstr.Eric S. Raymond1993-03-121-5/+1
|
* (tigetstr): Add dummy definition to make Emacs link again.Richard M. Stallman1993-03-111-0/+4
|
* Added lots more cookies to fkey_table[], and code to do even more.Eric S. Raymond1993-03-111-36/+126
|
* Use the term `scroll bar', instead of `scrollbar'.Jim Blandy1993-03-021-30/+30
| | | | | | * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h, lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c, xterm.c, xterm.h: Terminology changed.
* JimB's changes since January 18thJim Blandy1993-01-261-0/+12
|
* * term.c (set_vertical_scrollbar_hook, condemn_scrollbars_hook,Jim Blandy1993-01-141-19/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | redeem_scrollbar_hook, judge_scrollbars_hook): Removed dumbo "externs" from these. They're supposed to be real definitions. * termhooks.h (mouse_position_hook): Doc fix. (set_vertical_scrollbar_hook): This doesn't return anything any more, and doesn't take a struct scrollbar * argument any more. (condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): Doc fixes. * term.c (mouse_position_hook): Doc fix. (set_vertical_scrollbar_hook): This doesn't return anything any more. Doc fixes. * keyboard.c (kbd_buffer_get_event): Receive the scrollbar's window from *mouse_position_hook and pass it to make_lispy_movement, instead of working with a pointer to a struct scrollbar. (make_lispy_event): We don't need a window_from_scrollbar function anymore; we are given the window directly in *EVENT. Unify the code which generates text-area mouse clicks and scrollbar clicks; use the same code to distinguish clicks from drags on the scrollbar as in the text area. Distinguish clicks from drags by storing a copy of the lispy position list returned as part of the event. (button_down_location): Make this a lisp vector, rather than an array of random structures. (struct mouse_position): Remove this; it's been replaced by a lisp list. (make_lispy_movement): Accept the scrollbar's window as a parameter, rather than the scrollbar itself. If FRAME is zero, assume that the other arguments are garbage. (syms_of_keyboard): No need to staticpro each window of button_down_location now; just initialize and staticpro it. * window.c (window_from_scrollbar): Function deleted; no longer needed. * xdisp.c (redisplay_window): Just pass the window to set_vertical_scrollbar hook; don't pass the scrollbar object too. * xterm.c (XTmouse_position): Don't return a pointer to the scrollbar for scrollbar motion; instead, return the scrollbar's window.