Commit graph

7277 commits

Author SHA1 Message Date
Holger Berndt
aadb7d5405 GData plugin: Support cold-start
Store refresh token, and try to authorize Google access with it on
startup. Interactive authorization is now only the fallback if refreshing
cannot be done or was not successful.

Fixes bug #3432 but requires yet unreleased libgdata, see
https://bugzilla.gnome.org/show_bug.cgi?id=750746
2015-06-18 00:33:48 +02:00
Andrej Kacian
bee73785e5 RSSyl: Allow giving custom CA cert file to libfeed 2015-06-17 13:47:01 +02:00
Andrej Kacian
a48d94d8f0 RSSyl: Free GError from memory where necessary. 2015-06-16 23:04:24 +02:00
Andrej Kacian
cb7105cb92 RSSyl: Use g_mkstemp() instead of mkstemp() 2015-06-16 22:55:20 +02:00
Andrej Kacian
d510ecf8b8 RSSyl: Got rid of opendir/readdir/closedir in favour of Glib functions. 2015-06-16 22:52:47 +02:00
Ricardo Mones
3c6940a955 Remove unnecessary “Use this” for changing theme
Use the standard preferences button “Apply” instead.
2015-06-16 12:50:36 +02:00
Holger Berndt
aaa86dbd5c GData plugin: Remove now obsolete password pref 2015-06-14 14:46:22 +02:00
Holger Berndt
c69ab3b4cd GData plugin: Switch from ClientLogin to OAuth2
Google has recently removed ClientLogin support.
The switch to OAuth2 fixes bug #3432 and makes the plugin work
again, but with a degraded user experience. The authorization
needs to be redone on every program start. Improving that is
pending on https://bugzilla.gnome.org/show_bug.cgi?id=750746
2015-06-14 14:46:22 +02:00
Holger Berndt
63e39e3b8c GData plugin: Change debug output order during plugin load 2015-06-14 14:46:22 +02:00
Holger Berndt
7d3b4a6e71 GData plugin: Drop support for libgdata < 0.9 2015-06-14 14:46:22 +02:00
Andrej Kacian
0043e1ee2e Fancy: updated list of exports from core claws-mail for win32 build. 2015-06-14 13:34:37 +02:00
Colin Leroy
fbd6608f0e Fix english (I think) 2015-06-10 11:51:05 +02:00
Ricardo Mones
20f7a3d674 Add missing page weights on some plugins 2015-06-09 09:44:16 +02:00
Ricardo Mones
43f6bcc91f Libravatar: use accessor for common preferences
Fixes crash on Windows when loading preferences page.

Original patch thanks to Ticho:
http://git.claws-mail.org/?p=claws-win32-installer.git;a=commitdiff;h=956cf9f8
2015-06-09 09:43:35 +02:00
Andrej Kacian
298a94adf8 Add a missing include to make commit f061b67 work on Win32. 2015-06-06 18:24:49 +02:00
Ricardo Mones
8d39c742f6 Fix low probability resource leak 2015-06-06 13:52:23 +02:00
Ricardo Mones
bd68b59f01 And other format warning less
• imap.c:4832:8: warning: format ‘%d’ expects argument of type ‘int’,
  but argument 9 has type ‘time_t’ [-Wformat=]
2015-06-06 03:09:31 +02:00
Ricardo Mones
3227621a74 Fix a couple of format warnings
• utils.c:5569:3: warning: format '%d' expects argument of type 'int',
  but argument 4 has type 'size_t' [-Wformat=]
• utils.c:5569:3: warning: format '%d' expects argument of type 'int',
  but argument 5 has type 'gsize' [-Wformat=]
2015-06-06 02:54:36 +02:00
Andrej Kacian
f061b67c93 Use 'GStatBuf' instead of 'struct stat' type where possible. 2015-06-05 13:33:32 +02:00
Andrej Kacian
1114a38f38 RSSyl: Reworked item comparing logic, partly based on bug #3429. 2015-06-04 09:16:10 +02:00
Andrej Kacian
1dc9b3ed94 Pass --export-* flags correctly to the linker, depending on platform. 2015-06-03 19:59:06 +02:00
Andrej Kacian
1b89980855 Use pkg-config to detect Expat library. 2015-05-30 23:32:17 +02:00
Andrej Kacian
545ff0cc02 RSSyl: Use procheader_date_parse() for RFC3339 date strings.
This allows us to remove the parseISO8601Date() function, and
therefore use of strptime(), which does not exist on all platforms.
2015-05-30 19:46:48 +02:00
Andrej Kacian
3b6cfef6e3 Rewrote parsing of RFC3339 datetime strings.
This rewrite supports all allowed separators between date
and time: both uppercase and lowercase 'T', as well as space.
Only thing not yet supported is 'Z' instead of time zone offset,
I will hopefully add that later.
2015-05-30 19:46:48 +02:00
Andrej Kacian
87adea61fd RSSyl: Updated list of symbols needed from claws-mail core.
Needed for building for Windows.
2015-05-30 18:33:19 +02:00
Andrej Kacian
8469cc0131 RSSyl: struct dirent doesn't have d_type member on Windows. 2015-05-30 18:32:35 +02:00
Andrej Kacian
4dbb2b5d93 RSSyl: Remove unnecessary use of link() in rssyl_add_msgs(). 2015-05-30 18:31:26 +02:00
Andrej Kacian
d674287961 Fix typo in variable name in Windows g_open() implementation. 2015-05-30 17:36:34 +02:00
Ricardo Mones
fed3e19ea5 Fix bug #1941 ‘recursive "mark read all"’
Based on the original patch from Robert David which unfortunately
didn't marked as read the folder currently open on summary view.
2015-05-28 21:33:05 +02:00
Paul
c3112d8424 fix last commit
my fault, not a problem with the patch
2015-05-28 08:56:19 +01:00
Paul
084d8dcadc Fix LDAP access using TLS protocol
Patch by Darko Koruga.
2015-05-28 08:43:20 +01:00
Andrej Kacian
a52401526d RSSyl: Fix compilation on OS X.
The enums declared in libfeed's parser*.h files sneaked through
to object built from old_feeds.c file, due to parser.h include.
For some reason, this bothers OS X compiler.
Since these enums were only used in their respective parser*.c file,
I just moved them there.
2015-05-27 22:58:27 +02:00
Andrej Kacian
e0aa60ca7a RSSyl: Leave unread flag on new items regardless of silent_update setting.
Closes bug #2601
2015-05-21 23:34:25 +02:00
Ricardo Mones
f3d3586ed9 Almost switch plugins from strerror to g_strerror
Refusing to modify spamassassin's libspamc.c code to avoid
diverging (more) from original ASF code. It's a pity they
don't provide a shared library for this, or at least for the
message_read/message_filter functions used by the plugin :)
2015-05-18 22:42:44 +02:00
Ricardo Mones
6fc7c18a81 Switch core from strerror to g_strerror 2015-05-18 22:42:37 +02:00
Andrej Kacian
64e5421bb2 RSSyl: Strip leading and trailing whitespace from XML tag contents. 2015-05-17 19:13:17 +02:00
Ricardo Mones
46c8c40814 Update summary view status after "Find all"
In search messages dialog (Edit/Search folder...) pressing "Find all"
left the summary view status empty regardless of the result.
The status of the resulting selection when matching messages are found
is displayed now. If no message is matched it remains empty as before.
2015-05-16 12:21:07 +02:00
Andrej Kacian
455d234394 RSSyl: use procheader_date_parse() instead of parseRFC822Date(). 2015-05-07 00:33:49 +02:00
Ricardo Mones
3d05195eb6 Fix GLib-GObject-CRITICAL message when printing
Message was: “g_object_ref: assertion 'G_IS_OBJECT (object)' failed”
2015-05-04 03:07:50 +02:00
Ricardo Mones
6d45e57eb7 Fix bug #2981 and other two implicit...
...declaration warnings I probably introduced in previous commits:

• notification_prefs.c:1285:2: warning: implicit declaration of function
  'filesel_select_file_open' [-Wimplicit-function-declaration]
• rssyl_prefs.c:110:2: warning: implicit declaration of function
  'filesel_select_file_open' [-Wimplicit-function-declaration]
• icalderivedproperty.c:374:4: warning: implicit declaration of function
  'icalproperty_add_parameters' [-Wimplicit-function-declaration]

;-)
2015-04-29 20:28:29 +02:00
Ricardo Mones
43930e40fc Fix 'make dist' for Managesieve plugin
make[5]: Entering directory '/home/mones/hydra/claws-dev/src/plugins/managesieve'
make[5]: *** No rule to make target 'sieve_plugin.h', needed by 'distdir'.  Stop.
2015-04-25 20:26:36 +02:00
Ricardo Mones
59983165b0 Add author of Managesieve plugin also to About dialog 2015-04-25 20:26:05 +02:00
Charles Lehner
952c6d7e35 Add ManageSieve plugin 2015-04-25 13:26:06 +02:00
Charles Lehner
9b928dfc0e Make message_search interface-based
- Factor out compose/messageview checking.
- Make general so other code can use it
2015-04-25 13:26:06 +02:00
Charles Lehner
b0978b8f43 Add callback for session connection result 2015-04-25 13:26:06 +02:00
Ricardo Mones
56422f5638 Reuse PLUGINS_URI #define 2015-04-25 12:51:42 +02:00
Ricardo Mones
4b21af3255 Fix bug #3419 ‘Saving/appending messages to an mbox file violates RFC#4155’
RFC4155 is informative, anyway, this makes message separator headers
conform to qmail mboxrd format: http://qmail.org./man/man5/mbox.html

Original patch thanks to Johan Vromans.
2015-04-22 19:58:21 +02:00
Andrej Kacian
9cf5b73b47 Compose window: Fix bug #3421 - Recipients list doesn't scroll when moving with arrow keys. 2015-04-22 18:31:46 +02:00
Ricardo Mones
c45ba3666d Adjust templates panel of folder properties 2015-04-07 21:56:15 +02:00
Andrej Kacian
4c0932c6a7 In mailbox order dialog, set selection mode after the list has been
populated, so that when the first row gets selected by default,
the triggered set_selected() function can correctly set sensitivity
on up/down buttons.
2015-03-22 11:58:50 +01:00