Paul [Thu, 16 Jul 2015 17:46:49 +0000 (18:46 +0100)]
revert the revert
because, as Charles pointed out, this string is already present in
compose.c, therefore, technically, it's not a new string
Charles Lehner [Thu, 16 Jul 2015 12:39:47 +0000 (08:39 -0400)]
Remove extravagant debug message
Paul [Thu, 16 Jul 2015 11:55:24 +0000 (12:55 +0100)]
revert without breaking stuff
(fix for last commit)
Paul [Thu, 16 Jul 2015 11:53:23 +0000 (12:53 +0100)]
revert, it's string-freeze right now
Andrej Kacian [Thu, 16 Jul 2015 11:36:26 +0000 (13:36 +0200)]
Fix address autocompletion popup not displaying on Plasma5.
Closes bug #3466.
Charles Lehner [Thu, 16 Jul 2015 02:24:15 +0000 (22:24 -0400)]
managesieve: remove dialog hint
Charles Lehner [Thu, 16 Jul 2015 02:14:59 +0000 (22:14 -0400)]
ManageSieve: fix manager window button spacing
- Remove unused vbox
- Move refresh button to bottom, since it is semantically different
from the other action buttons
Charles Lehner [Thu, 16 Jul 2015 01:57:32 +0000 (21:57 -0400)]
ManageSieve: remove Activate button
A filter can be activated by selecting its radio button in the list,
so the activate button is not needed.
Bug #3469 progress
Charles Lehner [Thu, 16 Jul 2015 01:47:45 +0000 (21:47 -0400)]
ManageSieve: save manager window size (bug #2923)
Charles Lehner [Thu, 16 Jul 2015 00:31:51 +0000 (20:31 -0400)]
ManageSieve: use stock refresh button (bug #2923 progress)
Charles Lehner [Wed, 15 Jul 2015 20:53:37 +0000 (16:53 -0400)]
Mark string for translation which is already translated
Paul [Wed, 15 Jul 2015 18:23:05 +0000 (19:23 +0100)]
fix bug 2435, ' Infinite loop+crash when refreshing folders from dovecot mbox based mailbox'
Patch by Oliver Schneider
Michael Rasmussen [Tue, 14 Jul 2015 18:57:00 +0000 (20:57 +0200)]
Added FreeBSD patch, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=167460. Fixes claws-mail bug #3457
Andrej Kacian [Fri, 10 Jul 2015 09:15:11 +0000 (11:15 +0200)]
Fix two more issues with modal dialog focus on Windows.
Date format information dialog in /Display/Summaries.
Icon chooser dialog in /Toolbars/*.
Andrej Kacian [Fri, 10 Jul 2015 08:44:13 +0000 (10:44 +0200)]
Fix Escape key closing color dialogs in /Display/Color common prefs.
Andrej Kacian [Thu, 9 Jul 2015 19:58:25 +0000 (21:58 +0200)]
Fix folder selection dialog modality and focus on Windows.
Again, first set transient_for, then modal.
Andrej Kacian [Thu, 9 Jul 2015 10:38:50 +0000 (12:38 +0200)]
Use g_win32_getlocale() in manual availability detection on Windows.
Andrej Kacian [Wed, 8 Jul 2015 19:32:07 +0000 (21:32 +0200)]
Make right-click behavior more intuitive in compose attachment list.
Paul [Thu, 9 Jul 2015 06:12:55 +0000 (07:12 +0100)]
remove unneeded and crash-causing g_free()
Paul [Thu, 9 Jul 2015 06:12:24 +0000 (07:12 +0100)]
don't offer an empty string for translation
Paul [Thu, 9 Jul 2015 05:59:31 +0000 (06:59 +0100)]
add managesieve plugin files
Ricardo Mones [Thu, 9 Jul 2015 01:14:56 +0000 (03:14 +0200)]
Fix build with hardened compiler flags
Error was:
compose.c: In function 'compose_write_to_file':
compose.c:5782:5: error: format not a string literal and no format
arguments [-Werror=format-security]
alertpanel_error(msg);
^
cc1: some warnings being treated as errors
Makefile:1430: recipe for target 'compose.o' failed
make[6]: *** [compose.o] Error 1
Andrej Kacian [Wed, 8 Jul 2015 15:37:44 +0000 (17:37 +0200)]
Fix filtering action configuration dialog modality on Windows.
First set transient_for, then show dialog, then set modal,
just like other dialogs.
Paul [Wed, 8 Jul 2015 04:12:55 +0000 (05:12 +0100)]
make 'mark all as read' dialogue button style match that in folderview
Paul [Wed, 8 Jul 2015 04:11:43 +0000 (05:11 +0100)]
fix dialogue question when recursively marking all as read
Andrej Kacian [Tue, 7 Jul 2015 19:47:52 +0000 (21:47 +0200)]
RSSyl: add a missing symbol to claws.def for Windows build.
Andrej Kacian [Tue, 7 Jul 2015 19:31:19 +0000 (21:31 +0200)]
Fix another win32 specific syntax error.
Andrej Kacian [Tue, 7 Jul 2015 16:45:55 +0000 (18:45 +0200)]
Avoid some unnecessary foldertree redraws.
In particular, there were some redraws before moving a folder
and before moving to a next unread message in different folder.
This slowed these actions perceptibly on Windows.
Andrej Kacian [Tue, 7 Jul 2015 16:44:34 +0000 (18:44 +0200)]
Use accessor for common preferences in all plugins.
Andrej Kacian [Wed, 1 Jul 2015 19:47:57 +0000 (21:47 +0200)]
Fix a Win32-specific syntax error.
Andrej Kacian [Wed, 1 Jul 2015 19:30:50 +0000 (21:30 +0200)]
Fix a logic error introduced in previous commit.
Andrej Kacian [Wed, 1 Jul 2015 18:37:00 +0000 (20:37 +0200)]
Disallow folder names to begin or end with a dot on Windows.
I fixed the most obvious locations - MH, RSSyl, mbox. There
may be more.
Andrej Kacian [Wed, 1 Jul 2015 17:00:02 +0000 (19:00 +0200)]
Reenable transient windows for win32. Fixes bug #2866.
This effectively reverts older commit
ed483d5f.
Andrej Kacian [Wed, 1 Jul 2015 16:45:36 +0000 (18:45 +0200)]
Managesieve: Fix parsing config string on Windows
Windows sscanf() does not understand the %ms format yet, so we
have to do the allocation of target buffer ourselves before
calling sscanf(), and copy the host string to config->host.
Also fix some off-by-one bugs in other sscanf() parameters - the
field width format modifier does not include trailing NUL byte,
which is added.
Andrej Kacian [Wed, 1 Jul 2015 10:25:32 +0000 (12:25 +0200)]
Managesieve: use accessor for common preferences
Fixes crash on Windows when opening the script editor window.
Andrej Kacian [Tue, 30 Jun 2015 21:38:31 +0000 (23:38 +0200)]
Do not use GStatBuf with non-Glib *stat() functions.
Also fix up on forgotten stat() to g_stat().
Andrej Kacian [Tue, 30 Jun 2015 12:46:32 +0000 (14:46 +0200)]
RSSyl: Variable typo fix in Windows-specific code.
Andrej Kacian [Tue, 30 Jun 2015 12:40:41 +0000 (14:40 +0200)]
Updated plugins' claws.def files as needed for Windows build.
Paul [Tue, 30 Jun 2015 16:49:17 +0000 (17:49 +0100)]
make filtering action 'mark_as_unread' set the unread flag AND remove the new flag
Andrej Kacian [Tue, 30 Jun 2015 12:04:43 +0000 (14:04 +0200)]
Windows build needs to link against pthread, not pthreadGC2.
We dropped the pthreadGC2 library, and are using Mingw's
pthreads instead.
Andrej Kacian [Mon, 29 Jun 2015 09:44:13 +0000 (11:44 +0200)]
Get rid of last remaining "struct stat" variables.
GStatBuf is used instead.
Andrej Kacian [Thu, 18 Jun 2015 11:22:06 +0000 (13:22 +0200)]
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).
Holger Berndt [Thu, 25 Jun 2015 22:08:33 +0000 (00:08 +0200)]
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.
Ricardo Mones [Sun, 28 Jun 2015 07:54:04 +0000 (09:54 +0200)]
Libravatar: clean cache button
Ricardo Mones [Sun, 28 Jun 2015 07:53:19 +0000 (09:53 +0200)]
Libravatar: cache usage info label
Andrej Kacian [Thu, 25 Jun 2015 15:58:50 +0000 (17:58 +0200)]
Handle an unlikely fopen failure in compose_write_to_file()
Andrej Kacian [Thu, 25 Jun 2015 12:00:31 +0000 (14:00 +0200)]
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.
Andrej Kacian [Thu, 25 Jun 2015 11:58:21 +0000 (13:58 +0200)]
Revert "Remove plaintext_file member of struct MsgInfo."
This reverts commit
4e7e4f922c52439c1212cd1de813a0a9ca9d3691.
Looks like plaintext_file has been misappropriated by
att_remover plugin, and it can't be trivially changed.
Andrej Kacian [Sun, 21 Jun 2015 20:22:12 +0000 (22:22 +0200)]
Remove plaintext_file member of struct MsgInfo.
It is no longer needed, as we no longer write unencrypted
version of an encrypted message anywhere.
Andrej Kacian [Thu, 18 Jun 2015 11:07:47 +0000 (13:07 +0200)]
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.
Christian Hesse [Wed, 24 Jun 2015 08:32:54 +0000 (10:32 +0200)]
Libravatar: this is rootdir, not subdir
Andreas Rönnquist [Thu, 13 Nov 2014 23:51:47 +0000 (00:51 +0100)]
Set focus row to top item if marking a message above previous
Ricardo Mones [Tue, 23 Jun 2015 23:54:09 +0000 (01:54 +0200)]
AttachWarner: fix copyright and g_warning string
Ricardo Mones [Tue, 23 Jun 2015 23:53:12 +0000 (01:53 +0200)]
AddressKeeper: fix copyright and g_warning strings
Ricardo Mones [Tue, 23 Jun 2015 23:50:16 +0000 (01:50 +0200)]
Libravatar: fix g_warning strings
Ricardo Mones [Tue, 23 Jun 2015 08:29:34 +0000 (10:29 +0200)]
Libravatar: fix copyright headers
As quickly noted by Paul an Andrej, Hiroyuki had nothing
to do with plugin system. Thanks! ;-)
Ricardo Mones [Mon, 22 Jun 2015 20:56:44 +0000 (22:56 +0200)]
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
Ricardo Mones [Mon, 22 Jun 2015 22:38:31 +0000 (00:38 +0200)]
Libravatar: refactor and fix leak on corner case
• Move cache initialization to its own file
• Fix leaked cache_dir path when initialization failed
Ricardo Mones [Mon, 22 Jun 2015 21:09:20 +0000 (23:09 +0200)]
Update year for incoming release
Andrej Kacian [Tue, 23 Jun 2015 05:49:42 +0000 (07:49 +0200)]
Fix a mistake in previous commit.
Andrej Kacian [Mon, 22 Jun 2015 20:19:07 +0000 (22:19 +0200)]
Allow 'Z' as time zone in procheader_scan_date_string()
Function should now be completely RFC3339 compliant.
Andrej Kacian [Mon, 22 Jun 2015 19:18:28 +0000 (21:18 +0200)]
Removed an unneeded ifdef in my_tmpfile().
Andrej Kacian [Mon, 22 Jun 2015 19:14:39 +0000 (21:14 +0200)]
Use g_mkstemp() instead of mkstemp().
Also, removed our implementation of mkstemp() for Windows. Glib
has us covered.
Ricardo Mones [Mon, 22 Jun 2015 11:46:09 +0000 (13:46 +0200)]
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»
Ricardo Mones [Fri, 29 May 2015 10:20:12 +0000 (12:20 +0200)]
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.
Christian Hesse [Thu, 18 Jun 2015 12:50:29 +0000 (14:50 +0200)]
Finish
439a5cffca5bcdefc6d4d552af64aa2e10c5ab5d
Remove unused code relating to old unsupported version of libarchive.
Christian Hesse [Mon, 1 Dec 2014 13:11:56 +0000 (14:11 +0100)]
Remove useless rule
Christian Hesse [Mon, 1 Dec 2014 13:07:20 +0000 (14:07 +0100)]
Do not redefine MIN and MAX
This includes util.h, which includes glib.h, which includes gmacros.h,
which defines MIN and MAX.
Christian Hesse [Thu, 18 Jun 2015 12:44:09 +0000 (14:44 +0200)]
Remove unused variables
Christian Hesse [Thu, 27 Nov 2014 20:55:57 +0000 (21:55 +0100)]
Fix type in yacc file
Christian Hesse [Tue, 21 Oct 2014 08:06:30 +0000 (10:06 +0200)]
Let git ignore also *.tar.xz tarballs
Christian Hesse [Thu, 18 Jun 2015 12:26:06 +0000 (14:26 +0200)]
Fix inconsistent use of tabs and spaces in indentation.
Andrej Kacian [Sat, 20 Jun 2015 21:03:50 +0000 (23:03 +0200)]
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
Andrej Kacian [Sat, 20 Jun 2015 20:38:53 +0000 (22:38 +0200)]
Do not free LDAP error string on Windows.
Fixes bug #2816 - LDAP addressbook search crashes Claws Mail.
Paul [Fri, 19 Jun 2015 18:12:57 +0000 (19:12 +0100)]
fix error on load: 'undefined symbol: response_is_ok'
happened for me with gcc5.
Patch by Charles Lehner.
Andrej Kacian [Fri, 19 Jun 2015 15:33:49 +0000 (17:33 +0200)]
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".
Andrej Kacian [Thu, 18 Jun 2015 21:58:51 +0000 (23:58 +0200)]
Various small fix ups needed for mingw-w64 build.
Andrej Kacian [Thu, 18 Jun 2015 21:39:12 +0000 (23:39 +0200)]
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().
Andrej Kacian [Thu, 18 Jun 2015 21:37:55 +0000 (23:37 +0200)]
RSSyl: If given, set CURLOPT_CAINFO regardless of libcurl version.
Ricardo Mones [Thu, 18 Jun 2015 00:15:12 +0000 (02:15 +0200)]
Remove unchecked realloc which is unnecessary
Ricardo Mones [Thu, 18 Jun 2015 00:13:28 +0000 (02:13 +0200)]
Fix leak on failing realloc
Holger Berndt [Sun, 14 Jun 2015 19:45:16 +0000 (21:45 +0200)]
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
Andrej Kacian [Wed, 17 Jun 2015 11:47:01 +0000 (13:47 +0200)]
RSSyl: Allow giving custom CA cert file to libfeed
Andrej Kacian [Tue, 16 Jun 2015 21:04:24 +0000 (23:04 +0200)]
RSSyl: Free GError from memory where necessary.
Andrej Kacian [Tue, 16 Jun 2015 20:54:36 +0000 (22:54 +0200)]
RSSyl: Use g_mkstemp() instead of mkstemp()
Andrej Kacian [Tue, 16 Jun 2015 20:52:47 +0000 (22:52 +0200)]
RSSyl: Got rid of opendir/readdir/closedir in favour of Glib functions.
Ricardo Mones [Tue, 16 Jun 2015 10:50:36 +0000 (12:50 +0200)]
Remove unnecessary “Use this” for changing theme
Use the standard preferences button “Apply” instead.
Holger Berndt [Sun, 14 Jun 2015 12:42:19 +0000 (14:42 +0200)]
Update sample jhbuildrc file
Holger Berndt [Sun, 14 Jun 2015 12:41:38 +0000 (14:41 +0200)]
Gdata plugin: Remove now obsolete CM_GDATA_CLIENT_ID macro def
Holger Berndt [Sun, 14 Jun 2015 12:40:52 +0000 (14:40 +0200)]
GData plugin: Remove now obsolete password pref
Holger Berndt [Sun, 14 Jun 2015 12:28:20 +0000 (14:28 +0200)]
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
Holger Berndt [Sun, 14 Jun 2015 09:40:47 +0000 (11:40 +0200)]
GData plugin: Change debug output order during plugin load
Holger Berndt [Sat, 30 May 2015 17:26:35 +0000 (19:26 +0200)]
GData plugin: Drop support for libgdata < 0.9
Andrej Kacian [Sun, 14 Jun 2015 11:34:37 +0000 (13:34 +0200)]
Fancy: updated list of exports from core claws-mail for win32 build.
Colin Leroy [Wed, 10 Jun 2015 09:51:05 +0000 (11:51 +0200)]
Fix english (I think)
Ricardo Mones [Tue, 9 Jun 2015 07:44:16 +0000 (09:44 +0200)]
Add missing page weights on some plugins
Ricardo Mones [Tue, 9 Jun 2015 07:43:35 +0000 (09:43 +0200)]
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
Andrej Kacian [Sat, 6 Jun 2015 16:24:49 +0000 (18:24 +0200)]
Add a missing include to make commit
f061b67 work on Win32.
Ricardo Mones [Sat, 6 Jun 2015 11:52:23 +0000 (13:52 +0200)]
Fix low probability resource leak
Ricardo Mones [Sat, 6 Jun 2015 01:09:31 +0000 (03:09 +0200)]
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=]