Dan Nicolaescu
eb27c2ca1f
* lisp.h (fatal): Undo previous change.
...
* term.c (fatal): Undo previous change.
2005-10-02 18:35:05 +00:00
Dan Nicolaescu
fa8459a34e
* image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct
...
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.
2005-09-30 22:38:16 +00:00
Juri Linkov
753d161b0f
(turn_on_face): Check for TS_set_foreground and
...
TS_set_background depending on standout_mode. Simplify.
2005-08-22 20:47:49 +00:00
Richard M. Stallman
3ae9c96ab9
(set_terminal_modes): If no TS_termcap_modes string,
...
output newlines to scroll the old screen contents off the screen.
2005-08-07 17:35:09 +00:00
Thien-Thi Nguyen
0b5538bd85
Update years in copyright notice; nfc.
2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Juri Linkov
9b08f2c11b
(turn_on_face): In standout mode apply specified
...
fg to bg, and specified bg to fg (this makes the logic of
inversion on terminal consistent with X).
2005-06-30 14:57:50 +00:00
Richard M. Stallman
072d84a6c2
(produce_special_glyphs): Use spec_glyph_lookup_face.
2005-06-17 14:08:58 +00:00
Dan Nicolaescu
60ec7b7ed9
(struct keys): Add support for shifted keys.
2005-04-17 01:37:38 +00:00
Kenichi Handa
fd4a9f8fae
(encode_terminal_code): Fix buffer size computation.
2005-01-06 00:47:50 +00:00
Kenichi Handa
d6d31e570a
(encode_terminal_code): Fix previous change.
2004-12-12 03:33:50 +00:00
Kenichi Handa
302db6997a
(encode_terminal_code): Don't make it "static".
2004-12-01 10:48:52 +00:00
Kenichi Handa
af645abff5
(encode_terminal_buf, encode_terminal_bufsize): New
...
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.
2004-11-30 08:19:32 +00:00
Kim F. Storm
f46c2affad
(produce_glyphs): Handle IT_STRETCH.
...
(produce_stretch_glyph): New function to handle space width and
align-to display properties on non-window systems.
2004-03-19 00:42:48 +00:00
Kim F. Storm
a4ab7d751c
(read_socket_hook): Fix arg list.
2004-02-27 23:48:32 +00:00
Richard M. Stallman
545d91d5cf
(set_tty_color_mode): Calculate current_mode_spec regardless of value of VAL.
2003-09-30 12:38:38 +00:00
Eli Zaretskii
40409f0585
(tty_setup_colors): Treat any negative argument as -1.
2003-09-28 20:50:55 +00:00
Eli Zaretskii
9ac61a8935
(set_tty_color_mode): Use INTEGERP to test whether a
...
color mode is an integer number (it could be -1).
2003-09-22 16:03:18 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Eli Zaretskii
5846981bc0
(term_init): Remove `const' from buffer_size's declaration.
2003-08-24 15:04:45 +00:00
Kenichi Handa
f730033e6c
(term_init): Fix previous change
2003-08-21 11:36:40 +00:00
Kenichi Handa
3dd3a50226
(term_init): Fix previous change; don't rely on the
...
length of `buffer' if TERMINFO is defined.
2003-08-21 11:33:00 +00:00
Richard M. Stallman
3a06a6d99b
(term_init): Use a buffer of size 4096 for tgetent since
...
FreeBSD returns something longer than 2044. Abort if the end of
the buffer is overwritten.
2003-08-19 23:47:31 +00:00
Kim F. Storm
9882535b5c
Make (some) trivial substitutions for renamed and
...
new macros in dispextern.h, frame.h and window.h.
2003-05-24 22:09:50 +00:00
Kim F. Storm
f105f36f46
(estimate_mode_line_height): Move to xdisp.c.
2003-03-21 13:51:06 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Ken Raeburn
405ea71c67
(encode_terminal_code): Buffer pointer now const.
2002-07-19 14:37:32 +00:00
Dave Love
646e4dffc2
term.c (costs_set): Declare static, non-initialized for pcc.
2002-07-01 16:00:05 +00:00
Miles Bader
4a8130f23e
C style fix.
2002-05-28 01:15:09 +00:00
Miles Bader
b63a55ac97
(tty_capable_p): New function.
2002-05-26 07:23:47 +00:00
Andrew Choi
e0f712ba55
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
...
lisp/ChangeLog, and src/ChangeLog for list of changes.
2002-04-26 23:39:06 +00:00
Richard M. Stallman
b50fe468c8
Comment change.
2002-04-03 15:19:39 +00:00
Stefan Monnier
95c11956e9
(term_get_fkeys_1): If k0' and k;' are both specified and
...
with the same sequence, map that sequence to f10 rather than f0.
2002-02-02 23:48:37 +00:00
Eli Zaretskii
99fdd6bcfa
(Ftty_display_color_cells, Ftty_display_color_p): Change the
...
argument name to DISPLAY. Doc fix.
2002-01-25 14:08:42 +00:00
Eli Zaretskii
bfa62f96ad
(Ftty_display_color_cells): New function.
...
(syms_of_term): Defsubr it.
2002-01-25 13:21:49 +00:00
Pavel Janík
dfc7a077e3
(set_tty_color_mode): Remove unused variable `tem'.
2002-01-17 10:27:38 +00:00
Eli Zaretskii
ace282979b
(tty_default_color_capabilities, tty_setup_colors)
...
(set_tty_color_mode): New functions.
(term_init): Call tty_default_color_capabilities.
(Qtty_color_mode_alist): New variable.
(syms_of_term): Intern and staticpro it.
2002-01-14 13:45:36 +00:00
Pavel Janík
8103ad1ab6
(keys): Add missing braces around initializer.
2001-12-18 06:25:50 +00:00
Miles Bader
54800acbf3
(TN_standout_width, TF_xs, TN_magic_cookie_glitch_ul): Variables removed.
...
(term_init): Don't set them.
Turn off any standout/underline modes that require magic cookies.
(ins_del_lines, highlight_if_desired, background_highlight)
(turn_on_highlight, turn_off_highlight, reset_terminal_modes):
Remove special processing for magic-cookie standout modes.
(turn_off_face, turn_on_face): Remove special processing for
underline magic-cookie glitch.
2001-10-20 10:33:48 +00:00
Miles Bader
8ede64a55f
(reassert_line_highlight_hook, change_line_highlight_hook): Variables removed.
...
(reassert_line_highlight, change_line_highlight): Functions removed.
(standout_requested): Variable removed.
(update_end, highlight_if_desired): Don't use it.
(chars_wasted, copybuf): Variables removed.
(write_standout_marker): Function removed.
(cursor_to, clear_to_end, clear_frame, clear_end_of_line_raw)
(clear_end_of_line_raw, write_glyphs, ins_del_lines):
Don't use `chars_wasted' or `copybuf'.
(calculate_costs): Don't allocate `chars_wasted' or `copybuf'.
Set `costs_set' to true.
(cursor_to, clear_end_of_line): Test `costs_set' instead of `chars_wasted'.
(clear_end_of_line): Function removed.
(clear_end_of_line_raw): Renamed to `clear_end_of_line'.
(clear_to_end): Call `clear_end_of_line' instead of `clear_end_of_line_raw'.
2001-10-20 05:53:04 +00:00
Miles Bader
7ee72033eb
Change doc-string comments to new style' [w/doc:' keyword].
2001-10-17 03:16:12 +00:00
Gerd Moellmann
228299fa71
Put doc strings in comments.
2001-10-14 10:36:32 +00:00
Stefan Monnier
8feddab4e0
Include keymap.h.
2001-10-08 11:39:52 +00:00
Gerd Moellmann
32c82ac0a1
Don't define min/max.
2001-10-08 08:08:08 +00:00
Gerd Moellmann
d284f58f0c
(tty_cursor_hidden): New variable.
...
(update_begin): Don't call tty_hide_cursor. Clean up.
(update_end, set_terminal_window, set_scroll_region): Clean up.
(ring_bell, reset_terminal_modes): Clean up.
(tty_hide_cursor, tty_show_cursor): Hide/show cursor depending
on tty_cursor_hidden.
(write_glyphs): Call tty_hide_cursor.
2001-05-31 08:56:32 +00:00
Gerd Moellmann
37526b42c1
(turn_on_face): Fix reverse video handling on terminals
...
that don't support colors.
2001-04-27 12:37:32 +00:00
Gerd Moellmann
86a7d192df
(toggle_highlight): New function.
...
(turn_on_face): Change handling of reverse video.
2001-04-25 18:31:33 +00:00
Andrew Innes
1a89b7c6f7
(FRAME_TERMCAP_P) [WINDOWSNT]: Reinstate original
...
redefinition.
2001-01-20 13:57:24 +00:00
Andrew Innes
8182406ad1
(update_end): Don't check updating_frame; for some reason
...
this can be 0 sometimes, such as after dismissing a popup menu,
and isn't necessary given the explicit frame argument.
2001-01-05 21:28:52 +00:00
Andrew Innes
ad54b02528
(FRAME_TERMCAP_P) [WINDOWSNT]: Remove redefinition.
2001-01-02 22:48:57 +00:00