aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
Commit message (Collapse)AuthorAgeFilesLines
* (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.
* (set_tty_color_mode): Remove unused variable `tem'.Pavel Janík2002-01-171-1/+1
|
* (tty_default_color_capabilities, tty_setup_colors)Eli Zaretskii2002-01-141-0/+133
| | | | | | | (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.
* (keys): Add missing braces around initializer.Pavel Janík2001-12-181-40/+40
|
* (TN_standout_width, TF_xs, TN_magic_cookie_glitch_ul): Variables removed.Miles Bader2001-10-201-68/+28
| | | | | | | | | | (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.
* (reassert_line_highlight_hook, change_line_highlight_hook): Variables removed.Miles Bader2001-10-201-167/+11
| | | | | | | | | | | | | | | | | (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'.
* Change doc-string comments to `new style' [w/`doc:' keyword].Miles Bader2001-10-171-7/+7
|
* Put doc strings in comments.Gerd Moellmann2001-10-141-8/+9
|
* Include keymap.h.Stefan Monnier2001-10-081-0/+1
|
* Don't define min/max.Gerd Moellmann2001-10-081-3/+0
|
* (tty_cursor_hidden): New variable.Gerd Moellmann2001-05-311-82/+89
| | | | | | | | | (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.
* (turn_on_face): Fix reverse video handling on terminalsGerd Moellmann2001-04-271-3/+13
| | | | that don't support colors.
* (toggle_highlight): New function.Gerd Moellmann2001-04-251-17/+50
| | | | (turn_on_face): Change handling of reverse video.
* (FRAME_TERMCAP_P) [WINDOWSNT]: Reinstate originalAndrew Innes2001-01-201-0/+11
| | | | redefinition.
* (update_end): Don't check updating_frame; for some reasonAndrew Innes2001-01-051-1/+1
| | | | | this can be 0 sometimes, such as after dismissing a popup menu, and isn't necessary given the explicit frame argument.
* (FRAME_TERMCAP_P) [WINDOWSNT]: Remove redefinition.Andrew Innes2001-01-021-12/+0
|
* (encode_terminal_code): Remove unused variable `c'.Eli Zaretskii2001-01-021-1/+0
|
* Don't try to include termcap.h; see comment there.Gerd Moellmann2000-11-211-1/+5
|
* (reassert_line_highlight): Reverse the inverse-video effectEli Zaretskii2000-10-281-1/+1
| | | | if inverse_video is non-zero.
* Initial check-in: changes for building Emacs under Mac OS.Andrew Choi2000-10-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 Andrew Choi <[email protected]> * dispextern.h [macintosh]: Include macgui.h instead of macterm.h. * dispnew.c [macintosh]: Include macterm.h. (init_display) [macintosh]: initialization for window system. * emacs.c (main) [macintosh]: Call syms_of_textprop, syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm, syms_of_search, x_term_init, and init_keyboard before calling init_window_once. Also, call syms_of_xmenu. * fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of default fontset to Monaco. * frame.c [macintosh]: Include macterm.h. Remove declarations of NewMacWindow and DisposeMacWindow. (make_terminal_frame) [macintosh]: Call make_mac_terminal_frame instead of calling NewMacWindow and setting fields of f->output_data.mac directly. Call init_frame_faces. (Fdelete_frame) [macintosh]: Remove unused code. (Fmodify_frame_parameters) [macintosh]: Call x_set_frame_parameters instead of mac_set_frame_parameters. * frame.h [macintosh]: Define menu_bar_lines field in struct frame. Define FRAME_EXTERNAL_MENU_BAR macro. * keyboard.c [macintosh]: Include macterm.h. (kbd_buffer_get_event) [macintosh]: Generate delete_window_event and menu_bar_activate_event type events as for X and NT. (make_lispy_event) [macintosh]: Construct lisp events of type MENU_BAR_EVENT as for X and NT. * sysdep.c [macintosh]: Remove declaration for sys_signal. Include stdlib.h. Remove definition of Vx_bitmap_file_path. (sys_subshell) [macintosh]: Remove definition entirely. (init_sys_modes) [macintosh]: Do not initialize Vwindow_system and Vwindow_system_version here. Remove initialization of Vx_bitmap_file_path. (read_input_waiting): Correct the number of parameters passed to read_socket_hook. Move all Macintosh functions to mac/mac.c. * term.c [macintosh]: Include macterm.h. * window.c [macintosh]: Include macterm.h. * xdisp.c [macintosh]: Include macterm.h. Declare set_frame_menubar and pending_menu_activation. (echo_area_display) [macintosh]: Do not return if terminal frame is the selected frame. (update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f). Allow only the selected frame to set menu bar. (redisplay_window) [macintosh]: Obtain menu bar to redisplay by calling FRAME_EXTERNAL_MENU_BAR (f). (display_menu_bar) [macintosh]: Check FRAME_MAC_P (f). * xfaces.c [macintosh]: Include macterm.h. Define x_display_info and check_x. Declare XCreateGC. Define x_create_gc and x_free_gc. Initialize font_sort_order. (x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT, but call x_list_fonts instead of w32_list_fonts. (Finternal_face_x_get_resource) [macintosh]: Do not call display_x_get_resource. (prepare_face_for_display) [macintosh]: Set xgcv.font. (realize_x_face) [macintosh]: Load the font if it is specified in ATTRS. (syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed to Qt. * cus-edit.el (custom-button-face): Use 3D look for mac. (custom-button-pressed-face): Likewise. * faces.el (set-face-attributes-from-resources): Handle mac frames in the same way as x and w32 frames. (face-valid-attribute-values): Likewise. (read-face-attribute): Likewise. (defined-colors): Likewise. (color-defined-p): Likewise. (color-values): Likewise. (display-grayscale-p): Likewise. (face-set-after-frame-default): Likewise. (mode-line): Same default face as for x and w32. (tool-bar): Likewise. * frame.el: Remove call to frame-notice-user-settings at end of the file. * info.el (Info-fontify-node): make underlines invisible for mac as for x, pc, and w32 frame types. * term/mac-win.el: New file.
* Avoid some more compiler warnings.Gerd Moellmann2000-09-211-1/+1
|
* Include keyboard.h before frame.h.Andrew Innes2000-08-221-1/+1
|
* (write_glyphs): Also turn off inverse video after turningGerd Moellmann2000-08-161-6/+11
| | | | | | | | | | off other appearances in case TS_exit_attribute_mode is not equal to TS_end_standout_mode. (insert_glyphs): Turn inverse video on/off for each run of glyphs with the same face. (turn_off_face): Reset standout_mode only if TS_exit_attribute_mode has been output and TS_exit_attribute_mode is equal to TS_end_standout_mode.
* (write_glyphs): Use a locally declared conversion_buffer.Kenichi Handa2000-08-161-5/+9
| | | | (insert_glyphs): Likewise.