Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by George Sherwood (dc8a213962fcf130ebc4c86c455c109aafec1c8d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: George Sherwood <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by George Sherwood (dc8a213962fcf130ebc4c86c455c109aafec1c8d)
  • Date: Sun, 25 Mar 2007 07:05:15 -0500

GIT changes to master grimoire by George Sherwood <chat AT sourcemage.org>:

gnome2-libs/vte/DETAILS | 1
gnome2-libs/vte/HISTORY | 6 +++
gnome2-libs/vte/PRE_BUILD | 3 +
gnome2-libs/vte/vte-terminal.patch | 67
+++++++++++++++++++++++++++++++++++++
4 files changed, 77 insertions(+)

New commits:
commit dc8a213962fcf130ebc4c86c455c109aafec1c8d
Author: George Sherwood <chat AT sourcemage.org>
Commit: George Sherwood <chat AT sourcemage.org>

vte: Added bug to fix problem with terminal. Bug is reported on gnome:
http://bugzilla.gnome.org/show_bug.cgi?id=419116

diff --git a/gnome2-libs/vte/DETAILS b/gnome2-libs/vte/DETAILS
index 801dbbd..dfef129 100755
--- a/gnome2-libs/vte/DETAILS
+++ b/gnome2-libs/vte/DETAILS
@@ -8,6 +8,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
LICENSE[0]=LGPL
WEB_SITE=http://www.gnome.org
ENTERED=20020314
+ PATCHLEVEL=1
KEYWORDS="emulator terminal gnome2 libs"
SHORT="Terminal emulator widget for GTK+2"
cat << EOF
diff --git a/gnome2-libs/vte/HISTORY b/gnome2-libs/vte/HISTORY
index d854b92..5e9cafe 100644
--- a/gnome2-libs/vte/HISTORY
+++ b/gnome2-libs/vte/HISTORY
@@ -1,3 +1,9 @@
+2007-03-25 George Sherwood <george AT beernabeer.com>
+ * DETAILS: PATCHLEVEL++
+ * PRE_BUILD: Bug fix patch.
+ * vte-terminal.patch: Fixes this bug in at least terminal
+ http://bugzilla.gnome.org/show_bug.cgi?id=419116
+
2007-03-16 Robin Cook <rcook AT wyrms.net>
* DETAILS: updated VERSION to 0.16.0

diff --git a/gnome2-libs/vte/PRE_BUILD b/gnome2-libs/vte/PRE_BUILD
new file mode 100755
index 0000000..d284b66
--- /dev/null
+++ b/gnome2-libs/vte/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p0 < $SCRIPT_DIRECTORY/vte-terminal.patch
diff --git a/gnome2-libs/vte/vte-terminal.patch
b/gnome2-libs/vte/vte-terminal.patch
new file mode 100644
index 0000000..9537cef
--- /dev/null
+++ b/gnome2-libs/vte/vte-terminal.patch
@@ -0,0 +1,67 @@
+--- src/vte.c (revision 1843)
++++ src/vte.c (revision 1844)
+@@ -1614,19 +1614,19 @@
+ }
+
+ /* Queue an adjustment-changed signal to be delivered when convenient. */
+-static void
++static inline void
+ vte_terminal_queue_adjustment_changed(VteTerminal *terminal)
+ {
+ terminal->pvt->adjustment_changed_pending = TRUE;
+- vte_terminal_start_processing (terminal);
++ add_update_timeout (terminal);
+ }
+-static void
++static inline void
+ vte_terminal_queue_adjustment_value_changed(VteTerminal *terminal, glong v)
+ {
+ if (v != terminal->pvt->screen->scroll_delta) {
+ terminal->pvt->screen->scroll_delta = v;
+ terminal->pvt->adjustment_value_changed_pending = TRUE;
+- vte_terminal_start_processing (terminal);
++ add_update_timeout (terminal);
+ }
+ }
+
+@@ -3670,7 +3670,7 @@
+ }
+
+ return !eof &&
+- (active_terminals ? g_list_length (active_terminals) : 1) *
++ g_list_length (active_terminals) *
+ terminal->pvt->input_bytes < terminal->pvt->max_input_bytes;
+ }
+
+@@ -3739,7 +3739,6 @@
+ }
+
+ if (_vte_buffer_length(terminal->pvt->outgoing) == 0) {
+- _vte_terminal_disconnect_pty_write(terminal);
+ leave_open = FALSE;
+ } else {
+ leave_open = TRUE;
+@@ -10152,14 +10151,19 @@
+ vte_terminal_expose(GtkWidget *widget, GdkEventExpose *event)
+ {
+ VteTerminal *terminal = VTE_TERMINAL (widget);
++ /* Beware the out of order events -
++ * do not even think about skipping exposes! */
+ _vte_debug_print (VTE_DEBUG_WORK, "+");
+- if (terminal->pvt->visibility_state == GDK_VISIBILITY_FULLY_OBSCURED)
{
+- return FALSE;
+- }
+ _vte_debug_print (VTE_DEBUG_EVENTS, "Expose (%d,%d)x(%d,%d)\n",
+ event->area.x, event->area.y,
+ event->area.width, event->area.height);
+ if (terminal->pvt->active != NULL && !in_update_timeout) {
++ /* fix up a race condition where we schedule a delayed update
++ * after an 'immediate' invalidate all */
++ if (terminal->pvt->invalidated_all &&
++ terminal->pvt->update_regions == NULL) {
++ terminal->pvt->invalidated_all = FALSE;
++ }
+ /* if we expect to redraw the widget soon,
+ * just add this event to the list */
+ if (!terminal->pvt->invalidated_all) {
+



  • [SM-Commit] GIT changes to master grimoire by George Sherwood (dc8a213962fcf130ebc4c86c455c109aafec1c8d), George Sherwood, 03/25/2007

Archive powered by MHonArc 2.6.24.

Top of Page