From: Paul Mangan Date: Tue, 7 Mar 2006 10:07:09 +0000 (+0000) Subject: 2006-03-07 [paul] 2.0.0cvs120 X-Git-Tag: REL_2_1_0~73 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=e96a03e11b08b7558f3c10aea41131db5c2b6a71 2006-03-07 [paul] 2.0.0cvs120 * src/common/utils.c fix highlighting of URIs containing "()" Patch by Pawel Pekala --- diff --git a/ChangeLog b/ChangeLog index 0dbcd07c0..1d754f080 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-07 [paul] 2.0.0cvs120 + + * src/common/utils.c + fix highlighting of URIs containing "()" + Patch by Pawel Pekala + 2006-03-07 [paul] 2.0.0cvs119 * src/folder.c diff --git a/PATCHSETS b/PATCHSETS index 847d87c67..6356d4782 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -1303,3 +1303,4 @@ ( cvs diff -u -r 1.96.2.99 -r 1.96.2.100 src/textview.c; ) > 2.0.0cvs117.patchset ( cvs diff -u -r 1.101.2.22 -r 1.101.2.23 src/news.c; cvs diff -u -r 1.2.2.16 -r 1.2.2.17 src/news_gtk.c; ) > 2.0.0cvs118.patchset ( cvs diff -u -r 1.213.2.84 -r 1.213.2.85 src/folder.c; cvs diff -u -r 1.87.2.25 -r 1.87.2.26 src/folder.h; cvs diff -u -r 1.207.2.89 -r 1.207.2.90 src/folderview.c; ) > 2.0.0cvs119.patchset +( cvs diff -u -r 1.36.2.57 -r 1.36.2.58 src/common/utils.c; ) > 2.0.0cvs120.patchset diff --git a/configure.ac b/configure.ac index 1841bcfca..9255a6ca9 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=0 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=119 +EXTRA_VERSION=120 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/common/utils.c b/src/common/utils.c index bb40c1161..f40e3ecda 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -4244,7 +4244,7 @@ gboolean get_uri_part(const gchar *start, const gchar *scanpos, for (ep_ = scanpos; *ep_ != '\0'; ep_++) { if (!g_ascii_isgraph(*(const guchar *)ep_) || !IS_ASCII(*(const guchar *)ep_) || - strchr("[]{}()<>\"", *ep_)) + strchr("[]{}<>\"", *ep_)) break; } @@ -4254,7 +4254,7 @@ gboolean get_uri_part(const gchar *start, const gchar *scanpos, * should pass some URI type to this function and decide on that whether * to perform punctuation stripping */ -#define IS_REAL_PUNCT(ch) (g_ascii_ispunct(ch) && !strchr("/?=", ch)) +#define IS_REAL_PUNCT(ch) (g_ascii_ispunct(ch) && !strchr("/?=)", ch)) for (; ep_ - 1 > scanpos + 1 && IS_REAL_PUNCT(*(ep_ - 1));