Commit graph

9034 commits

Author SHA1 Message Date
Paul
f8bac1960b make filtering action 'mark_as_unread' set the unread flag AND remove the new flag 2015-06-30 17:49:17 +01:00
Andrej Kacian
4a67d59852 Windows build needs to link against pthread, not pthreadGC2.
We dropped the pthreadGC2 library, and are using Mingw's
pthreads instead.
2015-06-30 14:04:43 +02:00
Andrej Kacian
a36b173660 Get rid of last remaining "struct stat" variables.
GStatBuf is used instead.
2015-06-29 11:44:13 +02:00
Andrej Kacian
0faddd1e85 Use g_dir_open() and friends instead of opendir() and friends.
This makes more things work on Windows, since Mingw
opendir() is kind of flakey, and breaks e.g. vcalendar or rssyl
being able to read contents of their folders.

I only left opendir() in archive plugin, since it is only found
in unused part of code (excluded by #ifdef _TEST, which is never
true for claws-mail compilations).
2015-06-29 11:35:13 +02:00
Holger Berndt
4e67def9e4 GData plugin: Make it possible to compile with libgdata 0.17.1
This version of libgdata does not yet support cold start, but
has the advantage that it's already released. For an acceptable
user experience, it's still required to have a more recent
libgdata version.
2015-06-28 10:00:30 +02:00
Ricardo Mones
016e2b0482 Libravatar: clean cache button 2015-06-28 09:54:04 +02:00
Ricardo Mones
6aa8971eda Libravatar: cache usage info label 2015-06-28 09:53:19 +02:00
Andrej Kacian
eb9beace00 Handle an unlikely fopen failure in compose_write_to_file() 2015-06-25 17:58:50 +02:00
Andrej Kacian
3117fda50f Do not use MsgInfo's plaintext_file for message file.
It is no longer needed, as we no longer write unencrypted
version of an encrypted message anywhere.
Keep the struct member for now, since att_remover plugin is
still (mis)using it.
2015-06-25 14:00:31 +02:00
Andrej Kacian
53784ce943 Revert "Remove plaintext_file member of struct MsgInfo."
This reverts commit 4e7e4f922c.
Looks like plaintext_file has been misappropriated by
att_remover plugin, and it can't be trivially changed.
2015-06-25 13:58:21 +02:00
Andrej Kacian
4e7e4f922c Remove plaintext_file member of struct MsgInfo.
It is no longer needed, as we no longer write unencrypted
version of an encrypted message anywhere.
2015-06-25 13:02:05 +02:00
Andrej Kacian
a7c0255395 Encrypt message just before writing it to queue dir.
This fixes bug #2965.
As a side effect, if "Save sent encrypted messages as clear text" is
enabled, a copy will be saved to outbox when queuing, not when sending.
2015-06-25 13:01:58 +02:00
Christian Hesse
3dc44ceb67 Libravatar: this is rootdir, not subdir 2015-06-24 10:34:45 +02:00
Andreas Rönnquist
747e95c91c Set focus row to top item if marking a message above previous 2015-06-24 02:05:20 +02:00
Ricardo Mones
89d3142e63 AttachWarner: fix copyright and g_warning string 2015-06-24 01:54:09 +02:00
Ricardo Mones
736a83b799 AddressKeeper: fix copyright and g_warning strings 2015-06-24 01:53:12 +02:00
Ricardo Mones
ea9009a97c Libravatar: fix g_warning strings 2015-06-24 01:50:16 +02:00
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
568eed6950 Fix incorrect HTML preventing label from appearing
Error on console under Spanish locales was:

sys:1: GtkWarning: Failed to set text from markup due to error parsing
markup: Error en la línea 1, carácter 155: Se cerró el elemento «a»,
pero el elemento que está abierto actualmente es «span»
2015-06-22 13:46:09 +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
Christian Hesse
b7aa114737 Let git ignore also *.tar.xz tarballs 2015-06-21 02:48:22 +02:00
Christian Hesse
15d448b89c Fix inconsistent use of tabs and spaces in indentation. 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
de3e09ee32 Update sample jhbuildrc file 2015-06-14 14:46:22 +02:00