aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
Commit message (Collapse)AuthorAgeFilesLines
* Include intervals.h to declare Fget_text_property.Stefan Monnier2007-06-111-0/+1
|
* (term_mouse_highlight): Remove unused variables.Nick Roberts2007-06-031-29/+15
| | | | | | | (Fterm_open_connection): Set gpm_zerobased to 1. (term_mouse_movement, term_mouse_click, handle_one_term_event): Use zero based co-ordinates. (handle_one_term_event): Report a drag as mouse movement too.
* Whitespace fix.Richard M. Stallman2007-05-301-1/+2
|
* (mouse_face_window): Rename...Nick Roberts2007-05-301-27/+36
| | | | | | | | | | (Qmouse_face_window): ...to this. (term_show_mouse_face, term_clear_mouse_face) (term_mouse_highlight): Use Qmouse_face_window. (term_mouse_moveto): New function. (term_mouse_position): Make it work. (syms_of_term): Uncomment assignment to mouse_position_hook. Staticpro Qmouse_face_window.
* * xfaces.c (syms_of_xfaces): Delete stray semicolon.Dan Nicolaescu2007-05-261-1/+1
| | | | | | | | | | | | * xdisp.c (next_element_from_buffer): * window.c (delete_window): * term.c (term_mouse_highlight): * msdos.c (getdefdir): * macterm.c (mac_create_bitmap_from_bitmap_data) (init_font_name_table): * fns.c (Fsxhash): * data.c (Fmake_local_variable): * ccl.c (ccl_driver): Likewise.
* Use HAVE_GPM instead of HAVE_GPM_H.Nick Roberts2007-05-201-7/+7
|
* (write_glyphs_with_face): New function.Nick Roberts2007-05-201-19/+751
| | | | | | | | | | | | | [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h. (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row) (mouse_face_end_col, mouse_face_past_end, mouse_face_window) (mouse_face_face_id, term_gpm, pos_x, pos_y) (last_mouse_x, last_mouse_y): New variables. (term_show_mouse_face, term_clear_mouse_face, fast_find_position) (term_mouse_highlight, term_mouse_movement, term_mouse_position) (term_mouse_click, handle_one_term_event, Fterm_open_connection) (Fterm_close_connection): New functions. (term_init): Initialise mouse_face_window.
* Include blockinput.h.YAMAMOTO Mitsuharu2007-03-201-0/+5
| | | | (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Define fullscreen_hook.Jan Djärv2006-11-101-0/+7
| | | | (syms_of_term): Initialize fullscreen_hook to NULL.
* Define aliases for append_glyph and produce_stretch_glyphKim F. Storm2006-03-221-0/+6
| | | | when `static' is defined to avoid name clash with those in xdisp.c.
* (append_glyph): Refer to it->char_to_display instead ofKenichi Handa2006-02-071-19/+34
| | | | | | | | | it->c. (produce_glyphs): Set the character to print in it->char_to_display. Handle unibyte-display-via-language-environment. (produce_stretch_glyph): Set the character to print in it->char_to_display.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (visible_cursor): New boolean var.Stefan Monnier2005-12-301-2/+14
| | | | | | (set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on visible_cursor. (syms_of_term): Export the new var as "visible-cursor".
* (encode_terminal_code): Remove unused var src_start.Kim F. Storm2005-10-201-3/+3
|
* * lisp.h (fatal): Undo previous change.Dan Nicolaescu2005-10-021-6/+4
| | | | * term.c (fatal): Undo previous change.
* * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correctDan Nicolaescu2005-09-301-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type. * xterm.c (handle_one_xevent, handle_one_xevent): Likewise. * unexelf.c (fatal): Fix prototype. * term.c (fatal): Implement using varargs. * regex.c (re_char): Move typedef ... * regex.h (re_char): ... here. (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes. * emacs.c (malloc_set_state): Fix return type. (endif): Fix type. * lisp.h (fatal): Add argument types. * dispextern.h (fatal): Delete prototype. * systime.h: (make_time): Prototype moved from ... * editfns.c (make_time): ... here. * editfns.c: Move systime.h include after lisp.h. * dired.c: * xsmfns.c: * process.c: Likewise. * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook): Add parameter types. (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes. (emacs_blocked_free): Change definition to match __free_hook. (emacs_blocked_malloc): Change definition to match __malloc_hook. (emacs_blocked_realloc): Change definition to match __realloc_hook.
* (turn_on_face): Check for TS_set_foreground andJuri Linkov2005-08-221-11/+7
| | | | TS_set_background depending on standout_mode. Simplify.
* (set_terminal_modes): If no TS_termcap_modes string,Richard M. Stallman2005-08-071-1/+11
| | | | output newlines to scroll the old screen contents off the screen.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (turn_on_face): In standout mode apply specifiedJuri Linkov2005-06-301-2/+8
| | | | | fg to bg, and specified bg to fg (this makes the logic of inversion on terminal consistent with X).
* (produce_special_glyphs): Use spec_glyph_lookup_face.Richard M. Stallman2005-06-171-15/+28
|
* (struct keys): Add support for shifted keys.Dan Nicolaescu2005-04-171-1/+20
|
* (encode_terminal_code): Fix buffer size computation.Kenichi Handa2005-01-061-2/+2
|
* (encode_terminal_code): Fix previous change.Kenichi Handa2004-12-121-1/+1
|
* (encode_terminal_code): Don't make it "static".Kenichi Handa2004-12-011-1/+1
|
* (encode_terminal_buf, encode_terminal_bufsize): NewKenichi Handa2004-11-301-121/+120
| | | | | | | | | | | variables. (encode_terminal_code): Argument changed. Encode all characters at once, and return a pointer to the result of encoding. (write_glyphs): Decide coding here. Adjusted for the above change. (insert_glyphs): Likewise. (term_init): Initialize encode_terminal_bufsize to 0.
* (produce_glyphs): Handle IT_STRETCH.Kim F. Storm2004-03-191-1/+87
| | | | | (produce_stretch_glyph): New function to handle space width and align-to display properties on non-window systems.
* (read_socket_hook): Fix arg list.Kim F. Storm2004-02-271-1/+1
|
* (set_tty_color_mode): Calculate current_mode_spec regardless of value of VAL.Richard M. Stallman2003-09-301-1/+3
|
* (tty_setup_colors): Treat any negative argument as -1.Eli Zaretskii2003-09-281-0/+4
|
* (set_tty_color_mode): Use INTEGERP to test whether aEli Zaretskii2003-09-221-3/+3
| | | | color mode is an integer number (it could be -1).
* Add arch taglinesMiles Bader2003-09-011-0/+2
|
* (term_init): Remove `const' from buffer_size's declaration.Eli Zaretskii2003-08-241-1/+1
|
* (term_init): Fix previous changeKenichi Handa2003-08-211-5/+3
|
* (term_init): Fix previous change; don't rely on theKenichi Handa2003-08-211-0/+4
| | | | length of `buffer' if TERMINFO is defined.
* (term_init): Use a buffer of size 4096 for tgetent sinceRichard M. Stallman2003-08-191-10/+9
| | | | | FreeBSD returns something longer than 2044. Abort if the end of the buffer is overwritten.
* Make (some) trivial substitutions for renamed andKim F. Storm2003-05-241-45/+45
| | | | new macros in dispextern.h, frame.h and window.h.
* (estimate_mode_line_height): Move to xdisp.c.Kim F. Storm2003-03-211-20/+0
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-48/+48
|
* (encode_terminal_code): Buffer pointer now const.Ken Raeburn2002-07-191-1/+2
|
* term.c (costs_set): Declare static, non-initialized for pcc.Dave Love2002-07-011-1/+1
|
* C style fix.Miles Bader2002-05-281-2/+3
|
* (tty_capable_p): New function.Miles Bader2002-05-261-0/+25
|
* Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,Andrew Choi2002-04-261-1/+1
| | | | lisp/ChangeLog, and src/ChangeLog for list of changes.
* Comment change.Richard M. Stallman2002-04-031-4/+16
|
* (term_get_fkeys_1): If `k0' and `k;' are both specified andStefan Monnier2002-02-021-3/+6
| | | | with the same sequence, map that sequence to f10 rather than f0.
* (Ftty_display_color_cells, Ftty_display_color_p): Change theEli Zaretskii2002-01-251-6/+6
| | | | argument name to DISPLAY. Doc fix.
* (Ftty_display_color_cells): New function.Eli Zaretskii2002-01-251-0/+11
| | | | (syms_of_term): Defsubr it.