Commit graph

7300 commits

Author SHA1 Message Date
Ricardo Mones
a98ae440dc Libravatar: fix copyright headers
As quickly noted by Paul an Andrej, Hiroyuki had nothing
to do with plugin system. Thanks! ;-)
2015-06-23 10:29:34 +02:00
Ricardo Mones
7fca97dcd1 Fix bug #3438 ‘Filter to add address to Addressbook duplicates address in Name field’
Also included some cleanup:
  • Remove unused function strlen_with_check
  • Remove unused macro STRLEN_WITH_CHECK
  • Update copyright header
2015-06-23 10:11:13 +02:00
Ricardo Mones
cb87edf171 Libravatar: refactor and fix leak on corner case
• Move cache initialization to its own file
 • Fix leaked cache_dir path when initialization failed
2015-06-23 10:07:59 +02:00
Ricardo Mones
601733aa30 Update year for incoming release 2015-06-23 09:35:04 +02:00
Andrej Kacian
2d947971db Fix a mistake in previous commit. 2015-06-23 07:49:42 +02:00
Andrej Kacian
5bfb2198f3 Allow 'Z' as time zone in procheader_scan_date_string()
Function should now be completely RFC3339 compliant.
2015-06-22 22:19:07 +02:00
Andrej Kacian
4ce8639200 Removed an unneeded ifdef in my_tmpfile(). 2015-06-22 21:19:58 +02:00
Andrej Kacian
514d0e3172 Use g_mkstemp() instead of mkstemp().
Also, removed our implementation of mkstemp() for Windows. Glib
has us covered.
2015-06-22 21:16:14 +02:00
Ricardo Mones
8aa14edcbf Fix bug #1901 ‘More descriptive error msgs when attempting to delete a folder’
Original patch by Paweł Pękala; added additional info on some
g_warning calls and removed trailing '\n' as they're already
appended by glib's default handler.
2015-06-22 12:19:51 +02:00
Christian Hesse
63f3f4f846 Finish 439a5cffca
Remove unused code relating to old unsupported version of libarchive.
2015-06-21 02:48:23 +02:00
Christian Hesse
d1f8f167a5 Remove useless rule 2015-06-21 02:48:23 +02:00
Christian Hesse
ab18e2097f Do not redefine MIN and MAX
This includes util.h, which includes glib.h, which includes gmacros.h,
which defines MIN and MAX.
2015-06-21 02:48:23 +02:00
Christian Hesse
0ccf2f026b Remove unused variables 2015-06-21 02:48:22 +02:00
Christian Hesse
7abcba6de2 Fix type in yacc file 2015-06-21 02:48:22 +02:00
Andrej Kacian
8ae2860c54 Allow TLS connections to LDAP on Windows.
The comment no longer applies, TLS seems to work fine for LDAP
connections on Windows. Closes bug #2827 - Feature request: Add
TLS/SSL support for LDAP server access
2015-06-20 23:03:50 +02:00
Andrej Kacian
72a9c0b46a Do not free LDAP error string on Windows.
Fixes bug #2816 - LDAP addressbook search crashes Claws Mail.
2015-06-20 22:38:53 +02:00
Paul
6044d9dcb1 fix error on load: 'undefined symbol: response_is_ok'
happened for me with gcc5.
Patch by Charles Lehner.
2015-06-19 19:12:57 +01:00
Andrej Kacian
8549b2a6cb The "mark_as_spam" filtering action does not move message.
The alternative was to rename the action to
"mark_as_spam_and_move_to_spam_folder".
2015-06-19 17:33:49 +02:00
Andrej Kacian
c483d06ee3 Various small fix ups needed for mingw-w64 build. 2015-06-18 23:58:51 +02:00
Andrej Kacian
e7d7deb012 RSSyl: Use our CA certificate bundle on Windows.
Libcurl seems to want a CA cert bundle for any https connection,
even if verification is disabled. On Windows, there is no default
bundle or directory libcurl knows about, so we give it our own,
pointed to by claws_ssl_get_cert_file().
2015-06-18 23:53:08 +02:00
Andrej Kacian
42f80d30ef RSSyl: If given, set CURLOPT_CAINFO regardless of libcurl version. 2015-06-18 23:53:08 +02:00
Ricardo Mones
ab24ae5d50 Remove unchecked realloc which is unnecessary 2015-06-18 02:15:12 +02:00
Ricardo Mones
a8e2db54e2 Fix leak on failing realloc 2015-06-18 02:13:28 +02:00
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