+2006-01-10 [paul] 1.9.100cvs133
+
+ * src/compose.c
+ don't report success in error dialog
+ thanks to Colin
+ * src/common/utils.c
+ include some trailing punctuations as URI
+ thanks to Hiro
+
2006-01-10 [paul] 1.9.100cvs132
* src/mimeview.c
( cvs diff -u -r 1.60.2.40 -r 1.60.2.41 src/addressbook.c; cvs diff -u -r 1.8.2.11 -r 1.8.2.12 src/headerview.c; cvs diff -u -r 1.274.2.84 -r 1.274.2.85 src/mainwindow.c; cvs diff -u -r 1.94.2.72 -r 1.94.2.73 src/messageview.c; cvs diff -u -r 1.83.2.54 -r 1.83.2.55 src/mimeview.c; cvs diff -u -r 1.5.2.12 -r 1.5.2.13 src/noticeview.c; cvs diff -u -r 1.395.2.153 -r 1.395.2.154 src/summaryview.c; ) > 1.9.100cvs130.patchset
( cvs diff -u -r 1.382.2.215 -r 1.382.2.216 src/compose.c; ) > 1.9.100cvs131.patchset
( cvs diff -u -r 1.83.2.55 -r 1.83.2.56 src/mimeview.c; ) > 1.9.100cvs132.patchset
+( cvs diff -u -r 1.382.2.216 -r 1.382.2.217 src/compose.c; cvs diff -u -r 1.36.2.50 -r 1.36.2.51 src/common/utils.c; ) > 1.9.100cvs133.patchset
MICRO_VERSION=100
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=132
+EXTRA_VERSION=133
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
/* find end point of URI */
for (ep_ = scanpos; *ep_ != '\0'; ep_++) {
- if (!isgraph(*(const guchar *)ep_) ||
+ if (!g_ascii_isgraph(*(const guchar *)ep_) ||
!IS_ASCII(*(const guchar *)ep_) ||
strchr("[]{}()<>\"", *ep_))
break;
* should pass some URI type to this function and decide on that whether
* to perform punctuation stripping */
-#define IS_REAL_PUNCT(ch) (ispunct(ch) && ((ch) != '/'))
+#define IS_REAL_PUNCT(ch) (g_ascii_ispunct(ch) && !strchr("/?=", ch))
for (; ep_ - 1 > scanpos + 1 &&
- IS_REAL_PUNCT(*(const guchar *)(ep_ - 1));
+ IS_REAL_PUNCT(*(ep_ - 1));
ep_--)
;
} else if (val == -3) {
alertpanel_error(_("Could not queue message for sending:\n\n"
"Signature failed."));
- } else if (val == -2) {
+ } else if (val == -2 && errno != 0) {
alertpanel_error(_("Could not queue message for sending:\n\n%s."), strerror(errno));
} else {
alertpanel_error(_("Could not queue message for sending."));