Remove useless patches
authorJulien Valroff <julien@kirya.net>
Sat, 12 Jun 2010 14:19:10 +0000 (16:19 +0200)
committerJulien Valroff <julien@kirya.net>
Sat, 12 Jun 2010 14:19:10 +0000 (16:19 +0200)
debian/patches/006_improve-url-regex.diff [deleted file]
debian/patches/007_improve-group-regex.diff [deleted file]

diff --git a/debian/patches/006_improve-url-regex.diff b/debian/patches/006_improve-url-regex.diff
deleted file mode 100644 (file)
index 4bb6b11..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Description: Improve the regex used for URLs
-Author: Julien Valroff <julien@kirya.net>
-Forwarded: yes
-Bug: http://code.google.com/p/pino-twitter/issues/detail?id=277
-
---- a/src/template.vala
-+++ b/src/template.vala
-@@ -62,7 +62,7 @@
-               nicks = new Regex("(^|\\s)@([A-Za-z0-9_]+)");
-               tags = new Regex("(^|\\s|'|\\()#([A-Za-z0-9_.-\\p{Latin}\\p{Greek}]+)");
-               groups = new Regex("(^|\\s)!([A-Za-z0-9_]+)"); //for identi.ca groups
--              urls = new Regex("((http|https|ftp)://([\\S]+))"); //need something better
-+              urls = new Regex("((https?|ftp)://([A-Za-z0-9+&@#/%?=~_|!:,.;-]*)([A-Za-z0-9+&@#/%=~_|$]))"); // still needs to be improved for urls containing () such as wikipedia
-               
-               // characters must be cleared to know direction of text
-               clear_notice = new Regex("[: \n\t\r♻♺]+|@[^ ]+");
diff --git a/debian/patches/007_improve-group-regex.diff b/debian/patches/007_improve-group-regex.diff
deleted file mode 100644 (file)
index 1e62e7e..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-Description: Improve the regex used for identi.ca groups
-Author: Julien Valroff <julien@kirya.net>
-Forwarded: no
-
---- a/src/template.vala
-+++ b/src/template.vala
-@@ -61,7 +61,7 @@
-               //compile regex
-               nicks = new Regex("(^|\\s)@([A-Za-z0-9_]+)");
-               tags = new Regex("(^|\\s|'|\\()#([A-Za-z0-9_.-\\p{Latin}\\p{Greek}]+)");
--              groups = new Regex("(^|\\s)!([A-Za-z0-9_]+)"); //for identi.ca groups
-+              groups = new Regex("(^|\\s|'|\\()!([A-Za-z0-9_]+)"); //for identi.ca groups
-               urls = new Regex("((https?|ftp)://([A-Za-z0-9+&@#/%?=~_|!:,.;-]*)([A-Za-z0-9+&@#/%=~_|$]))"); // still needs to be improved for urls containing () such as wikipedia
-               
-               // characters must be cleared to know direction of text