From ca39bbd4015259e01af32b1a82bf0fc15c93c311 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Wed, 19 Jan 2005 20:29:21 +0000 Subject: Took all patches from the Debian, because current VTE lacks maintain and gnome-terminal development has stagnated. Almost all patches are in GNOME bugzilla for the weeks and months. Bump the PORTREVISION. -patch-01_vtemodule: Fix build with the python module -patch-03_cursor_position: Added a patch for supporting some save/restore cursor position console sequences -patch-04_dsp_non_alias: FcConfigSubstitute in place of _vte_fc_defaults_from_gtk to get antialias and hinting value http://bugs.gnome.org/show_bug.cgi?id=142640 -patch-05_performance_boost: Balanced performance improvement http://bugs.gnome.org/show_bug.cgi?id=143914 -- This is very amazing improvement. Here's benchmark of it to show that gnome-terminal isn't far from aterm and xterm anymore. Old benchmark: ======================================= $ time ls -lR /usr/ports aterm: 7.99 real1.31 user2.75 sys xterm: 11.04 real1.34 user2.47 sys gnome: 41.76 real1.12 user2.45 sys (ouch....) ======================================= New benchmark: ============================================== $ time ls -lR /usr/ports aterm: 7.28 real 1.20 user 2.41 sys xterm: 9.85 real 0.91 user 2.08 sys gnome: 10.41 real 0.86 user 2.02 sys ============================================== Big deal! -patch-06_remove_doublefree: Resolve double free problem http://bugs.gnome.org/show_bug.cgi?id=161337 -patch-07_set_backspace_to_utf8: Set backspace behavior to utf8 (depends on utf8 locale) http://bugs.gnome.org/show_bug.cgi?id=158200 -patch-08_multiscreen_safe: Make vte multi-screen safe http://bugs.gnome.org/show_bug.cgi?id=160782 -patch-09_redraw_vte_screen: Redraw vte screen with correct background color http://bugs.gnome.org/show_bug.cgi?id=125364 -patch-10_hide_pageup_behavior: Hide manifestation of PageUp behavior with less http://bugs.gnome.org/show_bug.cgi?id=115149 : I for one welcome our new vte patch overlord. I think all of them would make good additions. : I am all for the performance_boost patch! gnome-terminal kinda sucks when lines are going by fast. : showing the before and after benchmark. : Commit! Commit! :-) Reviewed by: marcus and ahze --- x11-toolkits/vte/files/patch-src_vte.c | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 x11-toolkits/vte/files/patch-src_vte.c (limited to 'x11-toolkits/vte/files/patch-src_vte.c') diff --git a/x11-toolkits/vte/files/patch-src_vte.c b/x11-toolkits/vte/files/patch-src_vte.c deleted file mode 100644 index 728569d78a84..000000000000 --- a/x11-toolkits/vte/files/patch-src_vte.c +++ /dev/null @@ -1,34 +0,0 @@ ---- src/vte.c.orig Sun May 2 02:43:01 2004 -+++ src/vte.c Sun Oct 31 20:23:36 2004 -@@ -105,14 +105,14 @@ - #define VTE_ADJUSTMENT_PRIORITY G_PRIORITY_DEFAULT_IDLE - #define VTE_INPUT_RETRY_PRIORITY G_PRIORITY_HIGH - #define VTE_INPUT_PRIORITY G_PRIORITY_DEFAULT_IDLE --#define VTE_CHILD_INPUT_PRIORITY G_PRIORITY_DEFAULT_IDLE -+#define VTE_CHILD_INPUT_PRIORITY G_PRIORITY_LOW - #define VTE_CHILD_OUTPUT_PRIORITY G_PRIORITY_HIGH - #define VTE_FX_PRIORITY G_PRIORITY_DEFAULT_IDLE - #define VTE_REGCOMP_FLAGS REG_EXTENDED - #define VTE_REGEXEC_FLAGS 0 - #define VTE_INPUT_CHUNK_SIZE 0x1000 - #define VTE_INVALID_BYTE '?' --#define VTE_COALESCE_TIMEOUT 2 -+#define VTE_COALESCE_TIMEOUT 15 - - /* The structure we use to hold characters we're supposed to display -- this - * includes any supported visible attributes. */ -@@ -10534,9 +10534,13 @@ - static gint - vte_terminal_visibility_notify(GtkWidget *widget, GdkEventVisibility *event) - { -+ VteTerminal *terminal; - g_return_val_if_fail(GTK_WIDGET(widget), FALSE); - g_return_val_if_fail(VTE_IS_TERMINAL(widget), FALSE); -- (VTE_TERMINAL(widget))->pvt->visibility_state = event->state; -+ terminal = VTE_TERMINAL(widget); -+ terminal->pvt->visibility_state = event->state; -+ if (terminal->pvt->visibility_state == GDK_VISIBILITY_UNOBSCURED) -+ vte_invalidate_all(terminal); - return FALSE; - } - -- cgit v1.2.3