[Pkg-cli-apps-commits] r4692 - in /packages/gtwitter/trunk/debian: changelog gtwitter.1 patches/disable_http_expect_100-continue.patch patches/dont_clear_entry_after_error.patch patches/fix_threading_bug_in_MainWindow.PostThreadRoutine.patch patches/series

meebey at users.alioth.debian.org meebey at users.alioth.debian.org
Tue Mar 10 00:03:00 UTC 2009


Author: meebey
Date: Tue Mar 10 00:02:59 2009
New Revision: 4692

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4692
Log:
  * gtwitter can now be used to post to twitter.com again!
  * debian/patches/disable_http_expect_100-continue.patch:
    + Seems like the webserver of twitter has a broken implementation of
      "Expect: 100-continue" (or Mono), thus disabled it for now.
  * debian/patches/dont_clear_entry_after_error.patch:
    + Only clear (overwrite actually) the entry if the posting was successful.
      (Closes: #482103)
  * fix_threading_bug_in_MainWindow.PostThreadRoutine.patch:
    + Execute the GTK code only in the GTK main-loop to prevent memory
      corruption.


Added:
    packages/gtwitter/trunk/debian/patches/disable_http_expect_100-continue.patch
    packages/gtwitter/trunk/debian/patches/dont_clear_entry_after_error.patch
    packages/gtwitter/trunk/debian/patches/fix_threading_bug_in_MainWindow.PostThreadRoutine.patch
Modified:
    packages/gtwitter/trunk/debian/changelog
    packages/gtwitter/trunk/debian/gtwitter.1
    packages/gtwitter/trunk/debian/patches/series

Modified: packages/gtwitter/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gtwitter/trunk/debian/changelog?rev=4692&op=diff
==============================================================================
--- packages/gtwitter/trunk/debian/changelog (original)
+++ packages/gtwitter/trunk/debian/changelog Tue Mar 10 00:02:59 2009
@@ -1,3 +1,18 @@
+gtwitter (1.0~beta-8) unstable; urgency=low
+
+  * gtwitter can now be used to post to twitter.com again!
+  * debian/patches/disable_http_expect_100-continue.patch:
+    + Seems like the webserver of twitter has a broken implementation of
+      "Expect: 100-continue" (or Mono), thus disabled it for now.
+  * debian/patches/dont_clear_entry_after_error.patch:
+    + Only clear (overwrite actually) the entry if the posting was successful.
+      (Closes: #482103)
+  * fix_threading_bug_in_MainWindow.PostThreadRoutine.patch:
+    + Execute the GTK code only in the GTK main-loop to prevent memory
+      corruption.
+
+ -- Mirco Bauer <meebey at debian.org>  Tue, 10 Mar 2009 00:32:58 +0100
+
 gtwitter (1.0~beta-7) unstable; urgency=low
 
   * Adopt into pkg-cli-apps team (Closes: #513629)

Modified: packages/gtwitter/trunk/debian/gtwitter.1
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gtwitter/trunk/debian/gtwitter.1?rev=4692&op=diff
==============================================================================
--- packages/gtwitter/trunk/debian/gtwitter.1 (original)
+++ packages/gtwitter/trunk/debian/gtwitter.1 Tue Mar 10 00:02:59 2009
@@ -41,4 +41,4 @@
 On Debian systems, the complete text of the GNU General Public 
 License can be found in /usr/share/common-licenses/GPL. 
  
-.\" created by instant / docbook-to-man, Sun 06 Jan 2008, 11:36 
+.\" created by instant / docbook-to-man, Tue 10 Mar 2009, 00:28 

Added: packages/gtwitter/trunk/debian/patches/disable_http_expect_100-continue.patch
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gtwitter/trunk/debian/patches/disable_http_expect_100-continue.patch?rev=4692&op=file
==============================================================================
--- packages/gtwitter/trunk/debian/patches/disable_http_expect_100-continue.patch (added)
+++ packages/gtwitter/trunk/debian/patches/disable_http_expect_100-continue.patch Tue Mar 10 00:02:59 2009
@@ -1,0 +1,10 @@
+--- gtwitter-1.0beta.orig/gtwitter/PostToTwitter.cs
++++ gtwitter-1.0beta/gtwitter/PostToTwitter.cs
+@@ -75,6 +75,7 @@
+ 	    {
+ 			HttpWebRequest httpRequest = (HttpWebRequest)WebRequest.Create(uriString);
+ 			httpRequest.Method = method;
++			httpRequest.ServicePoint.Expect100Continue = false;
+ 
+ 			if (method.ToUpper() =="POST")
+ 			{

Added: packages/gtwitter/trunk/debian/patches/dont_clear_entry_after_error.patch
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gtwitter/trunk/debian/patches/dont_clear_entry_after_error.patch?rev=4692&op=file
==============================================================================
--- packages/gtwitter/trunk/debian/patches/dont_clear_entry_after_error.patch (added)
+++ packages/gtwitter/trunk/debian/patches/dont_clear_entry_after_error.patch Tue Mar 10 00:02:59 2009
@@ -1,0 +1,18 @@
+--- gtwitter-1.0beta.orig/gtwitter/MainWindow.cs
++++ gtwitter-1.0beta/gtwitter/MainWindow.cs
+@@ -1049,6 +1049,7 @@
+ 					else {
+ 						Gtk.Application.Invoke (delegate {
+ 							Statusbar1.Push(0, Catalog.GetString("Successfully Posted!"));
++							PostEntry.Text = Catalog.GetString("What are you doing?");
+ 						});
+ 						GLib.Timeout.Add (2000, new GLib.TimeoutHandler (ClearStatusbar));
+ 						
+@@ -1065,7 +1066,6 @@
+ 				}
+ 				
+ 				Gtk.Application.Invoke (delegate {
+-					PostEntry.Text = Catalog.GetString("What are you doing?");
+ 					PostEntry.Sensitive = true;
+ 					RefreshButton.Sensitive = true;
+ 					menubar1.Sensitive = true;

Added: packages/gtwitter/trunk/debian/patches/fix_threading_bug_in_MainWindow.PostThreadRoutine.patch
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gtwitter/trunk/debian/patches/fix_threading_bug_in_MainWindow.PostThreadRoutine.patch?rev=4692&op=file
==============================================================================
--- packages/gtwitter/trunk/debian/patches/fix_threading_bug_in_MainWindow.PostThreadRoutine.patch (added)
+++ packages/gtwitter/trunk/debian/patches/fix_threading_bug_in_MainWindow.PostThreadRoutine.patch Tue Mar 10 00:02:59 2009
@@ -1,0 +1,19 @@
+--- gtwitter-1.0beta.orig/gtwitter/MainWindow.cs
++++ gtwitter-1.0beta/gtwitter/MainWindow.cs
+@@ -1064,10 +1064,12 @@
+ 					GLib.Timeout.Add (3000, new GLib.TimeoutHandler (ClearStatusbar));
+ 				}
+ 				
+-				PostEntry.Text = Catalog.GetString("What are you doing?");
+-				PostEntry.Sensitive = true;
+-				RefreshButton.Sensitive = true;
+-				menubar1.Sensitive = true;
++				Gtk.Application.Invoke (delegate {
++					PostEntry.Text = Catalog.GetString("What are you doing?");
++					PostEntry.Sensitive = true;
++					RefreshButton.Sensitive = true;
++					menubar1.Sensitive = true;
++				});
+ 			}
+ 			catch (NoSuchKeyException) {
+ 				

Modified: packages/gtwitter/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gtwitter/trunk/debian/patches/series?rev=4692&op=diff
==============================================================================
--- packages/gtwitter/trunk/debian/patches/series (original)
+++ packages/gtwitter/trunk/debian/patches/series Tue Mar 10 00:02:59 2009
@@ -1,3 +1,5 @@
 gnome-sharp.patch
 configurable-compiler.patch
 no_response.patch
+fix_threading_bug_in_MainWindow.PostThreadRoutine.patch
+dont_clear_entry_after_error.patch




More information about the Pkg-cli-apps-commits mailing list