-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tootle: remove BROKEN, update to 1.0pl20210909
This brings a lot of bugfixes; notably account infos are now properly saved. This required to tweak bleakgrey/tootle#322 to make it build.
- Loading branch information
1 parent
d6fa93a
commit f921d6a
Showing
6 changed files
with
56 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SHA256 (tootle-1.0pl20210726-1f3a8d24.tar.gz) = 6IfdetSW2iGkl+7N0UPdYgrP04tQHFYNpXX2Hxcbmj0= | ||
SIZE (tootle-1.0pl20210726-1f3a8d24.tar.gz) = 839093 | ||
SHA256 (tootle-1.0pl20210909-02f918d6.tar.gz) = 9lNIIxzpkCn1Qbwqvmdpo2LIm1dDDaLJCMd+zGb9P8E= | ||
SIZE (tootle-1.0pl20210909-02f918d6.tar.gz) = 807877 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
net/tootle/patches/patch-src_Services_Cache_ImageCache_vala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
$OpenBSD$ | ||
|
||
https://github.com/bleakgrey/tootle/pull/322 | ||
|
||
Index: src/Services/Cache/ImageCache.vala | ||
--- src/Services/Cache/ImageCache.vala.orig | ||
+++ src/Services/Cache/ImageCache.vala | ||
@@ -7,7 +7,7 @@ public class Tootle.ImageCache : AbstractCache { | ||
protected Paintable decode (owned Soup.Message msg) throws Error { | ||
var code = msg.status_code; | ||
if (code != Soup.Status.OK) { | ||
- var error = network.describe_error (code); | ||
+ var error = msg.reason_phrase; | ||
throw new Oopsie.INSTANCE (@"Server returned $error"); | ||
} | ||
|
27 changes: 27 additions & 0 deletions
27
net/tootle/patches/patch-src_Services_Network_Network_vala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
$OpenBSD$ | ||
|
||
https://github.com/bleakgrey/tootle/pull/322 | ||
|
||
Index: src/Services/Network/Network.vala | ||
--- src/Services/Network/Network.vala.orig | ||
+++ src/Services/Network/Network.vala | ||
@@ -56,18 +56,13 @@ public class Tootle.Network : GLib.Object { | ||
else if (status == Soup.Status.CANCELLED) | ||
debug ("Message is cancelled. Ignoring callback invocation."); | ||
else | ||
- ecb ((int32) status, describe_error ((int32) status)); | ||
+ ecb ((int32) status, msg.reason_phrase); | ||
}); | ||
} | ||
catch (Error e) { | ||
warning (@"Exception in network queue: $(e.message)"); | ||
ecb (0, e.message); | ||
} | ||
- } | ||
- | ||
- public string describe_error (uint code) { | ||
- var reason = Soup.Status.get_phrase (code); | ||
- return @"$code: $reason"; | ||
} | ||
|
||
public void on_error (int32 code, string message) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters