- 15 Sep, 2003 3 commits
-
-
Nalin Dahyabhai authored
* src/vteapp.c: add options for exercising the cursor and highlight colors. * src/debug.c: flush output streams when we check if debugging is enabled, because we'll probably output a string next. * src/iso2022.c: don't print a zero-length string. Yay compiler warnings. * src/interpret.c: use g_print() instead of fprintf() to print. * src/keymap.c,src/ssfe.c: include <stdarg.h>, hopefully fixing bug #121880 (or not).
-
Nalin Dahyabhai authored
* src/vte.h,src/vte.c: add vte_terminal_set_color_cursor. * src/vte.h,src/vte.c: add vte_terminal_set_color_highlight (#69776). * src/vte.c(vte_terminal_determine_colors): add parameters for specifying if the cell being rendered is the cursor or is highlighted, probably for being selected. If either flag is set, and we've been given a color to use for the purpose by a caller, use the supplied color, else use inverse colors.
-
Nalin Dahyabhai authored
* src/iso2022.c(process_control): don't reset the conversion state when we hit an end-of-line. I wasn't reading RFC1468 closely enough, as it states that each line begins in the same encoding as the end of the previous line, and read "application should reset before end-of-line" as "terminal resets at end-of-line" (bug #122156).
-
- 11 Sep, 2003 5 commits
-
-
Nalin Dahyabhai authored
* src/vteapp.c: silence a compiler warning.
-
Nalin Dahyabhai authored
* README: ask for LC_* in addition to LANG if weird spacing errors crop up. * src/vteconv.c,src/vteconv.h: add wrappers for _vte_conv which weed out some compiler warnings. * src/iso2022.c: use _vte_conv_cu instead of _vte_conv. * src/trie.c: use _vte_conv_cu instead of _vte_conv. * src/vte.c: give _vte_terminal_fudge_pango_colors a return type again. * src/vtebg.c: ifdef out vte_bg_source_name, which is unused. * src/vtebg.c,src/vterdb.c: wrap calls to gdk_property_get to weed out some compiler warnings.
-
Nalin Dahyabhai authored
* src/vte.c(vte_terminal_draw_cells_with_attributes): properly resolve colors and cell properties to drawing colors. * src/vte.c(_vte_terminal_fudge_pango_colors): add a function for mapping GTK+ white-on-black preedit text to default reverse-colored text for the terminal. * src/vte.c(_vte_terminal_translate_pango_cells): don't bother doing anything with the attribute for a range if the list is NULL. Fudge white-on-black text to default colors in reverse so that it works when the terminal is in a black-on-white color scheme.
-
Nalin Dahyabhai authored
* src/vte.c(_vte_terminal_apply_pango_attr): map weight attributes to the terminal's bold attribute.
-
Nalin Dahyabhai authored
* src/vte.c(_vte_terminal_map_pango_color): add. * src/vte.c(vte_terminal_im_preedit_changed): don't discard the attributes list for the preedit string -- save them. * src/vte.c(vte_terminal_draw_cells_with_attributes): add. * src/vte.c(vte_terminal_paint): use draw_cells_with_attributes to use the preedit attributes list when drawing the preedit string. This changes the way the preedit string is presented to the user, but it now looks [more] like GTK+ suggests it should look, so it should be a good change.
-
- 13 Aug, 2003 6 commits
-
-
Nalin Dahyabhai authored
* src/caps.c: add sequences for linux-console-cursor-attributes, which we'll ignore (bug #108232).
-
Nalin Dahyabhai authored
* src/vte.c(vte_terminal_fork_command,vte_terminal_forkpty): doc update to note that directory and envv can be NULL for both.
-
Nalin Dahyabhai authored
* src/pty.c(_vte_pty_run_on_pty): exit on any error, to avoid leaving random unreaped children running. Accept NULL command indicating that no exec() should occur, but still error out if command isn't NULL and exec() fails. * src/pty.c(_vte_pty_fork_on_pty_name,_vte_pty_fork_on_pty_fd): store 0 as the new child's PID if we're the child. * src/pty.c(main): don't run "tty" by default, test the forkpty() case instead. * src/vte.c(vte_terminal_fork_command): rename to _vte_terminal_fork_basic. Remove code to replace NULL command with the user's shell. * src/vte.c(vte_terminal_fork_command): new (sort of)! wrap _vte_terminal_fork_basic, replacing a NULL command with the user's shell. * src/vte.c(vte_terminal_forkpty),src/vte.h: new! wrap _vte_terminal_fork_basic, passing NULL for the command and argv arguments (bug #116450). * src/Makefile.am: update shared library version. * doc/reference/vte-sections.txt: add vte_terminal_forkpty.
-
Nalin Dahyabhai authored
* src/vte.c: don't create an accessible peer at init() time in debug mode. * gnome-pty-helper/gnome-pty-helper.c(struct pty_info): add a field to keep track of whether or not we created a lastlog record (bug #116091). * gnome-pty-helper/gnome-pty-helper.c(shutdown_pty): also try to write a logout record if pi->lastlog is true, because in doing so we free pi->data, closing a leak (bug #116091).
-
Nalin Dahyabhai authored
* src/vteapp.c(resize_window): don't add the padding in when calculating the new window size.
-
Nalin Dahyabhai authored
* src/vte.c(vte_sequence_handler_character_attributes, vte_sequence_handler_decset_internal): remove redundant type checks. * src/vte.c(all signal handlers): return a boolean indicating whether or not to exit the processing loop instance early to allow the application to deal with some input (usually along the lines of a signal requesting that the terminal be resized) (bug #118938).
-
- 12 Aug, 2003 1 commit
-
-
Padraig O'Briain authored
2003-08-12 Padraig O'Briain <padraig.obriain@sun.com> * src/vteaccess.c: (vte_terminal_initialize): New function containing initialization code previously in vte_terminal_accessible_new. Also set role in this function. (vte_terminal_accessible_class_init): Specify function pointer for vte_terminal_initialize. (vte_terminal_accessible_get_type): Do not set instance data size or GInstanceInitFunc. Remove vte_terminal_accessible_init. This fixes bug #119694.
-
- 11 Aug, 2003 1 commit
-
-
Nalin Dahyabhai authored
* src/vte.c(vte_terminal_start_selection,vte_terminal_extend_selection): drop an unnecessary cast-and-check, which we don't need because we have no use for the GtkWidget pointer to the terminal. Fix initial shift-click (bug #118106).
-
- 05 Aug, 2003 1 commit
-
-
Nalin Dahyabhai authored
* vte.c(vte_sequence_handler_decset_internal, vte_sequence_handler_window_manipulation): include the widget's padding widths in resize requests (bug #119141).
-
- 10 Jul, 2003 2 commits
-
-
Nalin Dahyabhai authored
-
Nalin Dahyabhai authored
* src/vteregex.h, src/vteregex.c: add. * src/vte.c: use interfaces from vteregex for doing dingus matching.
-
- 04 Jul, 2003 1 commit
-
-
Nalin Dahyabhai authored
* src/vte.c(vte_sequence_handler_return_terminal_status): return an empty string in response to the ENQ control sequence instead of "xterm". Report and patch from Mariano Suárez-Alvarez (bug #116495).
-
- 27 Jun, 2003 1 commit
-
-
Nalin Dahyabhai authored
* src/iso2022.c: treat the "big5hkscs" encoding as an East Asian encoding, which uses ambiguous widths (#116078). Report and patch from Roger So. * src/dumpkeys.c, src/iso2022.c, src/iso8859mode.c, src/nativeecho.c, src/utf8echo.c, src/utf8mode.c, src/vte.c: don't use the literal escape character, express it as an octal sequence.
-
- 16 Jun, 2003 4 commits
-
-
Nalin Dahyabhai authored
* src/caps.c: add vertical-tab and form-feed to the list of control sequences. * src/vte.c(vte_controL_sequence_handler_form_feed): add. * src/vte.c(vte_controL_sequence_handler_vertical_tab): add.
-
Nalin Dahyabhai authored
* src/vteaccess.c(xy_from_offset): fix a compiler warning.
-
Nalin Dahyabhai authored
-
Nalin Dahyabhai authored
* src/vteint.h: add. Move private VteTerminal stuff which needs to be shared with other modules in the library here. * src/vtedraw.c, src/vtedraw.h: add get_char_width(), for use in drawing the cursor. * src/vte.c(vte_invalidate_cursor_once): if the character under the cursor doesn't fit into its cell, expose the column to the right of it so that we can paint into the adjacent cell. * src/vte.c(vte_terminal_paint): when clearing the area behind the cursor or drawing the hollow rectangle to indicate its position when we don't have focus, use the visible width of the character instead of just assuming it will fit. This complies better with assertion 2.
-
- 10 Jun, 2003 1 commit
-
-
Nalin Dahyabhai authored
* src/vte.c(vte_terminal_set_encoding): set the encoding for the iso2022 converter (spotted by havill).
-
- 04 Jun, 2003 2 commits
-
-
Nalin Dahyabhai authored
-
Nalin Dahyabhai authored
* src/vtebg.c, src/vterdb.c: sync the display before trapping errors to ensure that any errors we'll get will be handled before we remove the error handlers.
-
- 03 Jun, 2003 4 commits
-
-
Jonathan Blandford authored
-
Nalin Dahyabhai authored
* src/vtebg.c(_vte_bg_get_pixmap, _vte_bg_get_pixbuf): trap X errors while retrieving the contents of the root pixmap. * doc/ambiguous.txt: add. * README: update. * vte.spec: rebuild.
-
Jonathan Blandford authored
Tue Jun 3 15:50:38 2003 Jonathan Blandford <jrb@redhat.com> * src/pty.c (n_read): add a missing break in the switch statement.
-
Nalin Dahyabhai authored
-
- 01 Jun, 2003 1 commit
-
-
Nalin Dahyabhai authored
* src/vtegl.c(_vte_gl_set_text_font): compile fix.
-
- 30 May, 2003 3 commits
-
-
Nalin Dahyabhai authored
* src/vte.c(vte_sequence_handler_decset_internal): fix logic for skipping over particular settings so that setting 1048 actually works. * src/vte.c(vte_terminal_process_incoming): in debug mode, print out characters with codepoints higher than 255 in hex rather than decimal. * src/iso2022.c(_vte_iso2022_ambiguous_width): rename to _vte_iso2022_ambiguous_width_guess because that's all we can do without more context. * src/iso2022.c(_vte_iso2022_ambiguous_width): add for using the current encoding to determine what the width of an ambiguously-wide character should be. This seems to work better.
-
Padraig O'Briain authored
2003-05-30 Padraig O'Briain <padraig.obriain@sun.com> * src/vteaccess.c: Add implementation for get_character_extents, get_offset_at_point and get_run_attributes. This fixes bug #110770. Add casts to fix complier warnings on Solaris. * src/vtexft.c (_vte_xft_text_extents): Do not call return as function returns void. Fixes compiler error on Solaris.
-
Nalin Dahyabhai authored
* src/vteapp.c: require -i for icon-title-changed messages, which got really annoying really fast. * src/trie.c(main): use g_quark_from_static_string for static strings.
-
- 29 May, 2003 2 commits
-
-
Nalin Dahyabhai authored
* src/vte.c(vte_terminal_send): fix newline stuffing (used in linefeed mode). * src/vte.c(vte_unicode_strlen): rename to vte_unichar_strlen. * src/vte.c(vte_terminal_set_title_internal): don't leak the new title in the unlikely cases. * src/vte.c(vte_terminal_process_incoming): be more careful with control characters to avoid cases where we could be tricked into a loop. * src/vteapp.c: emit a message when the icon title is changed.
-
Nalin Dahyabhai authored
* src/vte.c(vte_terminal_process_incoming): handle control characters in the middle of control sequences. * src/vte.c(vte_sequence_handler_cm): fix origin mode. * src/vte.c(vte_sequence_handler_cv): fix origin mode. * src/vte.c(vte_sequence_handler_cs): snap the cursor to the scrolling region which is set. * src/table.c(_vte_table_extract_number): extract a number digit by digit as we do in the trie parser. * src/vte.h: declare 'struct vte_char_attributes' again to restore API back compat with 0.10.x. * src/iso2022.c(_vte_iso2022_sequence_length): don't recognize PM messages -- Xterm doesn't do anything with them and we don't want to appear to hang when we're really just waiting for the end of the message.
-
- 28 May, 2003 2 commits
-
-
Nalin Dahyabhai authored
* src/vtefc.c(_vte_fc_defaults_from_rdb): only apply DPI if we were able to get a value. * src/vterdb.c, src/vterdb.h: use the display and screen of a passed-in widget if asked to do so, else use screen 0 of the default display.
-
Nalin Dahyabhai authored
* configure.in: check for GTK+ 2.2, and if found, force use of multihead-safe APIs to try to flush out some bugs. * src/vte.c, src/vteapp.c, src/vtedraw.c, src/vtefc.c, src/vteglyph.c: clean up some sloppy multihead changes. * src/vte.c, src/vte.h (vte_terminal_match_set_cursor_type): add. * src/vtedraw.c, src/vtedraw.h: add a draw_char() method which is allowed to fail. * src/vte.c(vte_terminal_draw_graphic): separate the width of a column and the number of columns to be drawn. Use _vte_draw_char() to avoid crude approximations of characters when we have a font for them.
-