1. 27 Mar, 2018 2 commits
  2. 27 Nov, 2017 2 commits
  3. 21 Nov, 2017 3 commits
  4. 18 Nov, 2017 1 commit
    • Christian Persch's avatar
      emulation: Simplify sequence handlers and parameter handling · 601a6d8e
      Christian Persch authored
      Encapsulate the use of the deprecated GValueArray API in a
      helper class, and use that to extract the parameters passed to
      the sequence handlers.
      
      Also, move from using 2-stage sequence handlers that first call a
      static function which in turn calls a method on VteTerminalPrivate
      to using the member functions directly via a member function pointer.
      601a6d8e
  5. 22 Nov, 2014 1 commit
  6. 22 May, 2014 1 commit
  7. 20 May, 2014 1 commit
  8. 18 May, 2014 1 commit
  9. 24 Apr, 2014 1 commit
  10. 23 Apr, 2014 1 commit
  11. 03 Apr, 2014 1 commit
  12. 08 Jan, 2014 1 commit
  13. 15 Feb, 2012 1 commit
  14. 04 Oct, 2010 1 commit
  15. 22 Nov, 2009 1 commit
  16. 20 Aug, 2009 2 commits
  17. 26 Dec, 2008 1 commit
    • Behdad Esfahbod's avatar
      Fix warnings. · dc6e4b78
      Behdad Esfahbod authored
      2008-12-25  Behdad Esfahbod  <behdad@gnome.org>
      
              * src/interpret.c (main):
              * src/slowcat.c (catfile):
              * src/table.c (_vte_table_addi), (_vte_table_add):
              * src/trie.c (_vte_trie_matchx):
              * src/vte.c (_vte_invalidate_cell), (_vte_terminal_insert_char):
              * src/vteaccess.c (offset_from_xy),
              (vte_terminal_accessible_finalize),
              (vte_terminal_accessible_get_text),
              (vte_terminal_accessible_get_text_somewhere):
              * src/vteapp.c (main):
              * src/vtebg.c (vte_bg_cache_item_free), (vte_bg_cache_add):
              Fix warnings.
      
      
      svn path=/trunk/; revision=2354
      dc6e4b78
  18. 01 Dec, 2008 1 commit
    • Behdad Esfahbod's avatar
      #include <config.h> instead of "../config.h". · a4ae36c6
      Behdad Esfahbod authored
      2008-12-01  Behdad Esfahbod  <behdad@gnome.org>
      
              * src/buffer.c:
              * src/caps.c:
              * src/dumpkeys.c:
              * src/interpret.c:
              * src/iso2022.c:
              * src/keymap.c:
              * src/matcher.c:
              * src/mev.c:
              * src/pty.c:
              * src/reaper.c:
              * src/reflect.c:
              * src/ring.c:
              * src/slowcat.c:
              * src/ssfe.c:
              * src/table.c:
              * src/trie.c:
              * src/vteaccess.c:
              * src/vtebg.c:
              * src/vteconv.c:
              * src/vtedraw.c:
              * src/vteseq.c:
              * src/vteskel.c:
              * src/xticker.c:
              #include <config.h> instead of "../config.h".
      
      
      svn path=/trunk/; revision=2259
      a4ae36c6
  19. 28 Nov, 2008 1 commit
    • Christian Persch's avatar
      Use g_parse_debug_string to parse the debug flags. · 3fb52fb8
      Christian Persch authored
      	* src/debug.c: (_vte_debug_init), (_vte_debug_on):
      	* src/debug.h:
      	* src/interpret.c: (main):
      	* src/pty.c: (main):
      	* src/reaper.c: (main):
      	* src/trie.c: (main):
      	* src/vte.c: (vte_terminal_new), (vte_terminal_class_init): Use
      	g_parse_debug_string to parse the debug flags.
      
      svn path=/trunk/; revision=2216
      3fb52fb8
  20. 05 Feb, 2007 1 commit
    • Chris Wilson's avatar
      The continual reallocation of GValueArray is the last trivially avoidable · 8109c646
      Chris Wilson authored
      2007-02-05  Chris Wilson  <chris@chris-wilson.co.uk>
      
      	The continual reallocation of GValueArray is the last trivially
      	avoidable g_realloc.
      
      	* src/interpret.c: (main):
      	* src/matcher.c: (_vte_matcher_create), (_vte_matcher_destroy),
      	(_vte_matcher_match), (_vte_matcher_free_params_array):
      	* src/matcher.h:
      	* src/table.c: (_vte_table_extract_string):
      	* src/trie.c: (_vte_trie_matchx), (_vte_trie_match), (main):
      	* src/vte.c: (vte_terminal_process_incoming):
      
      
      svn path=/trunk/; revision=1622
      8109c646
  21. 04 Feb, 2007 1 commit
    • Chris Wilson's avatar
      cf Bug 83285 – Treacle-slow scrolling in gnome-terminal on unaccelerated · 2ddb7728
      Chris Wilson authored
      2007-02-04  Chris Wilson  <chris@chris-wilson.co.uk>
      
      	cf Bug 83285 – Treacle-slow scrolling in gnome-terminal on unaccelerated X server
      
      	Another chunk of performance improvements - the majority focussing on
      	reducing the amount of work down per interrupt (input data from
      	child).
      
      	To handle reads without addition copies VTE_INPUT_CHUNK_SIZE chunks
      	are allocated on demand and filled from read with no further copy -
      	previously the read was into a local buffer and then immediately
      	copied into a _vte_buffer.
      	_vte_iso2022_process() is then adjusted to use a ptr+length, rather
      	than a _vte_buffer and is called for every input chunk (taking special
      	care over the boundary cases).
      
      	* src/interpret.c: (main):
      	* src/iso2022.c: (_vte_iso2022_fragment_input),
      	(process_8_bit_sequence), (process_cdata), (_vte_iso2022_process):
      	* src/iso2022.h:
      	* src/vte-private.h:
      	* src/vte.c: (get_chunk), (release_chunk), (prune_chunks),
      	(_vte_incoming_chunks_release), (_vte_incoming_chunks_length),
      	(_vte_incoming_chunks_count), (_vte_incoming_chunks_reverse),
      	(vte_terminal_match_check_internal), (_vte_terminal_ensure_cursor),
      	(vte_terminal_set_colors), (_vte_terminal_insert_char),
      	(vte_terminal_catch_child_exited), (vte_terminal_eof),
      	(vte_terminal_process_incoming), (_vte_terminal_feed_chunks),
      	(vte_terminal_io_read), (vte_terminal_feed), (vte_terminal_send),
      	(vte_terminal_init), (vte_terminal_finalize), (vte_terminal_reset),
      	(remove_from_active_list), (need_processing), (update_regions),
      	(update_repeat_timeout):
      	* src/vte.h:
      	* src/vteseq.c: (vte_sequence_handler_cb),
      	(vte_sequence_handler_ce), (vte_sequence_handler_ec):
      
      
      
      svn path=/trunk/; revision=1612
      2ddb7728
  22. 17 Jan, 2007 1 commit
    • Chris Wilson's avatar
      As part of Bug 397439. · 9e9d2c65
      Chris Wilson authored
      2007-01-17  Chris Wilson  <chris@chris-wilson.co.uk>
      
      	As part of Bug 397439.
      
      	* src/interpret.c: (main):
      	* src/iso2022.c: (_vte_iso2022_fragment_input),
      	(_vte_iso2022_process), (main):
      	* src/vte.c: (vte_terminal_match_contents_refresh),
      	(vte_terminal_process_incoming), (vte_terminal_init),
      	(vte_terminal_set_word_chars):
      	* src/vteaccess.c:
      	(vte_terminal_accessible_update_private_data_if_needed):
      	* src/vtefc.c: (_vte_fc_patterns_from_pango_font_desc):
      	* src/vtefc.h:
      	* src/vteglyph.c: (_vte_glyph_cache_new), (_vte_glyph_cache_free),
      	(_vte_glyph_cache_set_font_description):
      	* src/vteglyph.h:
      	* src/vteregex.c: (_vte_regex_sort_matches):
      	* src/vtexft.c: (_vte_xft_font_open), (_vte_xft_font_close),
      	(_vte_xft_font_for_char):
      		s/g_array_new(TRUE, TRUE/g_array_new(FALSE, FALSE/
      		All uses of GArray respect their lengths and do not
      		zero-termination or untouched members to be cleared.
      
      
      svn path=/trunk/; revision=1434
      9e9d2c65
  23. 18 Apr, 2006 1 commit
  24. 14 Mar, 2005 1 commit
    • Kjartan Maraas's avatar
      Add patch for excessive memory consumption when opening new tabs. This · afe74e99
      Kjartan Maraas authored
      2005-03-14  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* src/Makefile.am:
      	* src/interpret.c: (main):
      	* src/matcher.c: (_vte_matcher_add), (_vte_matcher_init),
      	(_vte_matcher_create), (_vte_matcher_destroy), (_vte_matcher_new),
      	(_vte_matcher_free):
      	* src/matcher.h:
      	* src/vte.c: (vte_terminal_set_emulation), (vte_terminal_init):
      	* src/vtetc.c: (_vte_termcap_create), (_vte_termcap_destroy),
      	(_vte_termcap_new), (_vte_termcap_free):
      	* src/vtetc.h: Add patch for excessive memory consumption when
      	opening new tabs. This patch makes struct _vte_matcher and
      	struct _vte_termcap shared between terminals and should reduce
      	memory consumption with multiple tabs a lot. Patch from Aivars
      	Kalvans <kalvans at inbox lv>. From bug #160993.
      afe74e99
  25. 15 Sep, 2003 1 commit
    • Nalin Dahyabhai's avatar
      add options for exercising the cursor and highlight colors. flush output · 77672669
      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).
      77672669
  26. 21 May, 2003 1 commit
  27. 19 May, 2003 1 commit
  28. 18 Apr, 2003 1 commit
    • Nalin Dahyabhai's avatar
      quiet a compiler warning. use KSX-1001 instead of KSC-5601 for Korean, add · 7abd52c1
      Nalin Dahyabhai authored
      * src/vteglyph.c(_vte_glyph_get): quiet a compiler warning.
      * src/iso2022.c: use KSX-1001 instead of KSC-5601 for Korean, add maps for
      	CNS 11643 planes 3,4,5,6,7 (can't test them, but hey).  Rework so
      	that we get the data before it's passed to g_iconv(), and stuff
      	gunichars into an array for the caller.
      * src/interpret.c: adapt to changes in the iso2022 interfaces.
      * src/vte.c: adapt to changes in the iso2022 interfaces.
      * src/mkunitables.sh: add snippets for KSX 1001.
      * src/iso2022.txt: add iso-2022-cn example text.
      7abd52c1
  29. 14 Feb, 2003 1 commit
  30. 10 Dec, 2002 1 commit
    • Nalin Dahyabhai's avatar
      add "uk" to the list of languages. remove the alternate attribute bit -- · 8145dde6
      Nalin Dahyabhai authored
      * configure.in: add "uk" to the list of languages.
      * src/vte.h: remove the alternate attribute bit -- it's no longer meaningful.
      * python/vte.override: remove the alternate attribute, add the strikethrough
      	attribute.
      * src/vte.c (vte_terminal_insert_char): perform drawing character set to
      	Unicode mapping at insertion time if the alternate attribute is set,
      	otherwise discarding the attribute.  If the character being inserted is
      	a graphic character, force its width to 1 or 2 depending on the current
      	codeset (#99603).
      * src/vte.c (xlfd_from_pango_font_description): take advantage of XftXlfdParse
      	if we were built with Xft, as it appears to handle family aliases.
      * src/vte.c (vte_terminal_draw_graphic): decide what to draw using Unicode code
      	points (instead of reverse mappings to drawing set), and implement the
      	double-thick versions of many of the existing glyphs.  Return a boolean
      	indicating whether or not we drew something.
      * src/vte.c (vte_terminal_draw_row): if vte_terminal_draw_graphic() returns
      	FALSE, try to draw the graphic character using the current font.
      * src/vte.c (vte_terminal_paint): if vte_terminal_draw_graphic() returns FALSE,
      	try to draw the graphic character using the current font.
      * src/caps.c: add the undocumented default 0 to the OSC set text parameters
      	sequence (#100468).
      * README: updates.
      * src/iso2022.c, src/iso2022.h: add a width mask for overriding widths for
      	ambiguous Unicode characters, and _vte_iso2022_get_width() for reading
      	the width, using unused bits in Unicode in a manner similar to
      	http://www.cl.cam.ac.uk/~mgk25/ucs/iso2022-wc.html
      * src/table.c,src/trie.c: strip out iso2022 widths when extracting parameters
      	of control sequences.
      * src/vte.c: heed iso2022 widths when inserting characters into the screen
      	buffer, but clear then before storing them so that copy and paste will
      	continue to work.
      * src/matcher.c, src/matcher.h: add matcher, a wrapper for table and trie, and
      	move _vte_table_narrow_encoding and _vte_table_wide_encoding to this
      	module.
      8145dde6
  31. 19 Sep, 2002 1 commit
  32. 11 Sep, 2002 1 commit
    • Nalin Dahyabhai's avatar
      Skip lookups for padding information if we're pretty sure we're using a · 2149ce6c
      Nalin Dahyabhai authored
      * src/vte.c: Skip lookups for padding information if we're pretty sure we're
      	using a monospaced font.
      * src/vte.c: Fix from Brian Cameron for uninitialized GError in
      	vte_wc_from_unichar().
      * src/interpret.c, src/iso2022.c, src/pty.c, src/ring.h, src/table.c,
      	src/table.h, src/trie.c, src/vte.c, src/vteaccess.c: Signed/unsigned
      	int/size_t/gsize and pointer typecast warning fixes from Brian Cameron.
      * src/vte.c: Avoid invalidating the cursor in the cursor blink timeout unless
      	we have focus.
      * src/pty.c, src/pty.h: Add vte_pty_close() and vte_pty_open_with_logging(),
      	breaking the ABI but not the existing API.
      * src/vte.c, src/vte.h: Add vte_terminal_fork_logged_command(), breaking the
      	ABI but not the existing API.
      * gnome-pty-helper/*: Swallow the pty helper bits of gnome-libs, but install
      	into $pkglibdir instead of $sbindir so that existing packages don't
      	suddenly start breaking.
      * src/termcap.c(_vte_termcap_find_string_length): Fix signature to match the
      	declaration in termcap.h.  From patch by Jacob Berkman.
      * configure.in: Add $X_PRE_LIBS to the front of $X_LIBS, -lX11 and $X_EXTRA_LIBS
      	to the end of $X_LIBS.  Remove some cruftiness and set CPPFLAGS when
      	checking for Xft.  Check for the existence of wchar.h, because it might
      	not exist.  Use an automake conditional to make compilation of the
      	Python bindings non-critical.  From patch by Jacob Berkman.
      * src/pty.c: Silence compiler warning when exec() fails.  From patch by Jacob
      	Berkman.
      * src/interpret.c, src/vte.c: Stop including langinfo.h since we don't call
      	nl_langinfo() any more.  Adapted from patch by Jacob Berkman.
      * src/caps.c: Fill in a couple of missing initializers.
      * src/vte.c, src/vte.h: Add accessor functions for use in language bindings,
      	breaking the ABI but not the API.
      * python/vte.defs: Add defs for the new accessor functions.
      * python/vte-demo.py: Add a scrollbar to the sample window, handle more of the
      	options the C version handles.  Stop expecting additional arguments with
      	a signal that doesn't include any.
      * python/Makefile.am: We only have one target, so don't bother with
      	target-specific primaries if we can avoid it (#92252).
      * vte.pc.in: Note build dependencies on ATK, Pango, and PangoX.
      2149ce6c
  33. 05 Sep, 2002 1 commit
    • Nalin Dahyabhai's avatar
      2002-09-05 nalin prefix library-internal interfaces with underscores so · a1aa6e99
      Nalin Dahyabhai authored
      2002-09-05 nalin
      	* src/caps.c, src/caps.h, src/debug.c, src/debug.h, src/interpret.c,
      	src/iso2022.c, src/iso2022.h, src/pty.c, src/reaper.c, src/ring.c,
      	src/ring.h, src/table.c, src/table.h, src/termcap.c, src/termcap.h,
      	src/trie.c, src/trie.h, src/utf8echo.c, src/vte.c, src/vteaccess.c,
      	src/vteapp.c: prefix library-internal interfaces with underscores so
      	that gtk-doc doesn't guess they're public.
      	* src/vte.c: return FALSE from focus-in/focus-out/expose handlers.
      a1aa6e99
  34. 30 Aug, 2002 1 commit
    • Nalin Dahyabhai's avatar
      Fix a how'd-that-ever-work bug (not returning anything from · 9be0193c
      Nalin Dahyabhai authored
      * src/iso2022.c: Fix a how'd-that-ever-work bug (not returning anything from
      	vte_iso2022_new()), spotted by Brian Cameron.
      * configure.in: Use -Wall when building with gcc in maintainer mode.
      * src/interpret.c, src/ring.h, src/table.c, src/trie.c, src/vte.c,
      	src/vteaccess.c: Warning cleanups.
      9be0193c
  35. 29 Aug, 2002 1 commit
    • Nalin Dahyabhai's avatar
      Clean up bookkeeping for mouse autoscrolling and adjustment change · 3993c17b
      Nalin Dahyabhai authored
      * src/vte.c: Clean up bookkeeping for mouse autoscrolling and adjustment change
      	notifications.  Reset the scrolling and insertion deltas when clearing
      	the history.
      * src/interpret.c: Don't dump data on incomplete conversion errors, which we're
      	going to retry anyway.
      * src/iso2022.txt: Add iso-2022-kr examples (no workee -- uses GR).
      * src/vte.c, src/vte.h: Add vte_terminal_copy_primary and
      	vte_terminal_paste_primary(), because I really want to let profterm
      	decide default values for key bindings.
      3993c17b