2013-03-15 [colin] 3.9.0cvs126
authorColin Leroy <colin@colino.net>
Fri, 15 Mar 2013 09:33:27 +0000 (09:33 +0000)
committerColin Leroy <colin@colino.net>
Fri, 15 Mar 2013 09:33:27 +0000 (09:33 +0000)
* src/plugins/fancy/fancy_viewer.c
Fix attached images URIs generation
* src/plugins/vcalendar/vcal_folder.c
Fix crash on NULL uri

ChangeLog
PATCHSETS
configure.ac
src/plugins/fancy/fancy_viewer.c
src/plugins/vcalendar/vcal_folder.c

index ef2588f..f4a0b24 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-03-15 [colin]     3.9.0cvs126
+
+       * src/plugins/fancy/fancy_viewer.c
+               Fix attached images URIs generation
+       * src/plugins/vcalendar/vcal_folder.c
+               Fix crash on NULL uri
+
 2013-03-14 [colin]     3.9.0cvs125
 
        * src/plugins/fancy/fancy_viewer.c
index 7276fe8..a8ad563 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.7 -r 1.1.2.8 src/plugins/fancy/fancy_viewer.h;  ) > 3.9.0cvs123.patchset
 ( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/plugins/fancy/Makefile.am;  diff -u /dev/null src/plugins/fancy/claws.def;  diff -u /dev/null src/plugins/fancy/plugin.def;  diff -u /dev/null src/plugins/fancy/version.rc;  ) > 3.9.0cvs124.patchset
 ( cvs diff -u -r 1.1.2.8 -r 1.1.2.9 src/plugins/fancy/fancy_viewer.c;  ) > 3.9.0cvs125.patchset
+( cvs diff -u -r 1.1.2.9 -r 1.1.2.10 src/plugins/fancy/fancy_viewer.c;  cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/plugins/vcalendar/vcal_folder.c;  ) > 3.9.0cvs126.patchset
index 63729ff..94498f7 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=9
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=125
+EXTRA_VERSION=126
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index b04d526..7581f82 100644 (file)
@@ -414,7 +414,7 @@ static void resource_request_starting_cb(WebKitWebView              *view,
                                if ((err = procmime_get_part(filename, partinfo)) < 0)
                                        alertpanel_error(_("Couldn't save the part of multipart message: %s"),
                                                                                strerror(-err));
-                               gchar *file_uri = g_strconcat("file://", filename, NULL);
+                               gchar *file_uri = g_filename_to_uri(filename, NULL, NULL);
                                webkit_network_request_set_uri(request, file_uri);
                                g_free(file_uri);
                                g_free(filename);
index 7620992..1e24a09 100644 (file)
@@ -1988,6 +1988,9 @@ gboolean vcal_subscribe_uri(Folder *folder, const gchar *uri)
        if (folder->klass != vcal_folder_get_class())
                return FALSE;
 
+       if (uri == NULL)
+               return FALSE;
+
        if (!strncmp(uri, "webcal://", 9)) {
                tmp = g_strconcat("http://", uri+9, NULL);
        } else {