claws.git
4 years agoGet rid of last remaining "struct stat" variables.
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.

4 years agoUse g_dir_open() and friends instead of opendir() and friends.
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).

4 years agoGData plugin: Make it possible to compile with libgdata 0.17.1
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.

4 years agoLibravatar: clean cache button
Ricardo Mones [Sun, 28 Jun 2015 07:54:04 +0000 (09:54 +0200)]
Libravatar: clean cache button

4 years agoLibravatar: cache usage info label
Ricardo Mones [Sun, 28 Jun 2015 07:53:19 +0000 (09:53 +0200)]
Libravatar: cache usage info label

4 years agoHandle an unlikely fopen failure in compose_write_to_file()
Andrej Kacian [Thu, 25 Jun 2015 15:58:50 +0000 (17:58 +0200)]
Handle an unlikely fopen failure in compose_write_to_file()

4 years agoDo not use MsgInfo's plaintext_file for message 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.

4 years agoRevert "Remove plaintext_file member of struct MsgInfo."
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.

4 years agoRemove plaintext_file member of struct MsgInfo.
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.

4 years agoEncrypt message just before writing it to queue dir.
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.

4 years agoLibravatar: this is rootdir, not subdir
Christian Hesse [Wed, 24 Jun 2015 08:32:54 +0000 (10:32 +0200)]
Libravatar: this is rootdir, not subdir

4 years agoSet focus row to top item if marking a message above previous
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

4 years agoAttachWarner: fix copyright and g_warning string
Ricardo Mones [Tue, 23 Jun 2015 23:54:09 +0000 (01:54 +0200)]
AttachWarner: fix copyright and g_warning string

4 years agoAddressKeeper: fix copyright and g_warning strings
Ricardo Mones [Tue, 23 Jun 2015 23:53:12 +0000 (01:53 +0200)]
AddressKeeper: fix copyright and g_warning strings

4 years agoLibravatar: fix g_warning strings
Ricardo Mones [Tue, 23 Jun 2015 23:50:16 +0000 (01:50 +0200)]
Libravatar: fix g_warning strings

4 years agoLibravatar: fix copyright headers
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! ;-)

4 years agoFix bug #3438 ‘Filter to add address to Addressbook duplicates address in Name field’
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

4 years agoLibravatar: refactor and fix leak on corner case
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

4 years agoUpdate year for incoming release
Ricardo Mones [Mon, 22 Jun 2015 21:09:20 +0000 (23:09 +0200)]
Update year for incoming release

4 years agoFix a mistake in previous commit.
Andrej Kacian [Tue, 23 Jun 2015 05:49:42 +0000 (07:49 +0200)]
Fix a mistake in previous commit.

4 years agoAllow 'Z' as time zone in procheader_scan_date_string()
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.

4 years agoRemoved an unneeded ifdef in my_tmpfile().
Andrej Kacian [Mon, 22 Jun 2015 19:18:28 +0000 (21:18 +0200)]
Removed an unneeded ifdef in my_tmpfile().

4 years agoUse g_mkstemp() instead of mkstemp().
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.

4 years agoFix incorrect HTML preventing label from appearing
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»

4 years agoFix bug #1901 ‘More descriptive error msgs when attempting to delete a folder’
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.

4 years agoFinish 439a5cffca5bcdefc6d4d552af64aa2e10c5ab5d
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.

4 years agoRemove useless rule
Christian Hesse [Mon, 1 Dec 2014 13:11:56 +0000 (14:11 +0100)]
Remove useless rule

4 years agoDo not redefine MIN and MAX
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.

4 years agoRemove unused variables
Christian Hesse [Thu, 18 Jun 2015 12:44:09 +0000 (14:44 +0200)]
Remove unused variables

4 years agoFix type in yacc file
Christian Hesse [Thu, 27 Nov 2014 20:55:57 +0000 (21:55 +0100)]
Fix type in yacc file

4 years agoLet git ignore also *.tar.xz tarballs
Christian Hesse [Tue, 21 Oct 2014 08:06:30 +0000 (10:06 +0200)]
Let git ignore also *.tar.xz tarballs

4 years agoFix inconsistent use of tabs and spaces in indentation.
Christian Hesse [Thu, 18 Jun 2015 12:26:06 +0000 (14:26 +0200)]
Fix inconsistent use of tabs and spaces in indentation.

4 years agoAllow TLS connections to LDAP on Windows.
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

4 years agoDo not free LDAP error string on Windows.
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.

4 years agofix error on load: 'undefined symbol: response_is_ok'
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.

4 years agoThe "mark_as_spam" filtering action does not move message.
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".

4 years agoVarious small fix ups needed for mingw-w64 build.
Andrej Kacian [Thu, 18 Jun 2015 21:58:51 +0000 (23:58 +0200)]
Various small fix ups needed for mingw-w64 build.

4 years agoRSSyl: Use our CA certificate bundle on Windows.
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().

4 years agoRSSyl: If given, set CURLOPT_CAINFO regardless of libcurl version.
Andrej Kacian [Thu, 18 Jun 2015 21:37:55 +0000 (23:37 +0200)]
RSSyl: If given, set CURLOPT_CAINFO regardless of libcurl version.

4 years agoRemove unchecked realloc which is unnecessary
Ricardo Mones [Thu, 18 Jun 2015 00:15:12 +0000 (02:15 +0200)]
Remove unchecked realloc which is unnecessary

4 years agoFix leak on failing realloc
Ricardo Mones [Thu, 18 Jun 2015 00:13:28 +0000 (02:13 +0200)]
Fix leak on failing realloc

4 years agoGData plugin: Support cold-start
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

4 years agoRSSyl: Allow giving custom CA cert file to libfeed
Andrej Kacian [Wed, 17 Jun 2015 11:47:01 +0000 (13:47 +0200)]
RSSyl: Allow giving custom CA cert file to libfeed

4 years agoRSSyl: Free GError from memory where necessary.
Andrej Kacian [Tue, 16 Jun 2015 21:04:24 +0000 (23:04 +0200)]
RSSyl: Free GError from memory where necessary.

4 years agoRSSyl: Use g_mkstemp() instead of mkstemp()
Andrej Kacian [Tue, 16 Jun 2015 20:54:36 +0000 (22:54 +0200)]
RSSyl: Use g_mkstemp() instead of mkstemp()

4 years agoRSSyl: Got rid of opendir/readdir/closedir in favour of Glib functions.
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.

4 years agoRemove unnecessary “Use this” for changing theme
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.

4 years agoUpdate sample jhbuildrc file
Holger Berndt [Sun, 14 Jun 2015 12:42:19 +0000 (14:42 +0200)]
Update sample jhbuildrc file

4 years agoGdata plugin: Remove now obsolete CM_GDATA_CLIENT_ID macro def
Holger Berndt [Sun, 14 Jun 2015 12:41:38 +0000 (14:41 +0200)]
Gdata plugin: Remove now obsolete CM_GDATA_CLIENT_ID macro def

4 years agoGData plugin: Remove now obsolete password pref
Holger Berndt [Sun, 14 Jun 2015 12:40:52 +0000 (14:40 +0200)]
GData plugin: Remove now obsolete password pref

4 years agoGData plugin: Switch from ClientLogin to OAuth2
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

4 years agoGData plugin: Change debug output order during plugin load
Holger Berndt [Sun, 14 Jun 2015 09:40:47 +0000 (11:40 +0200)]
GData plugin: Change debug output order during plugin load

4 years agoGData plugin: Drop support for libgdata < 0.9
Holger Berndt [Sat, 30 May 2015 17:26:35 +0000 (19:26 +0200)]
GData plugin: Drop support for libgdata < 0.9

4 years agoFancy: updated list of exports from core claws-mail for win32 build.
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.

4 years agoFix english (I think)
Colin Leroy [Wed, 10 Jun 2015 09:51:05 +0000 (11:51 +0200)]
Fix english (I think)

4 years agoAdd missing page weights on some plugins
Ricardo Mones [Tue, 9 Jun 2015 07:44:16 +0000 (09:44 +0200)]
Add missing page weights on some plugins

4 years agoLibravatar: use accessor for common preferences
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

4 years agoAdd a missing include to make commit f061b67 work on Win32.
Andrej Kacian [Sat, 6 Jun 2015 16:24:49 +0000 (18:24 +0200)]
Add a missing include to make commit f061b67 work on Win32.

4 years agoFix low probability resource leak
Ricardo Mones [Sat, 6 Jun 2015 11:52:23 +0000 (13:52 +0200)]
Fix low probability resource leak

4 years agoAnd other format warning less
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=]

4 years agoFix a couple of format warnings
Ricardo Mones [Sat, 6 Jun 2015 00:54:36 +0000 (02:54 +0200)]
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=]

4 years agoDocument more accurately --debug option on Windows
Ricardo Mones [Fri, 5 Jun 2015 17:12:02 +0000 (19:12 +0200)]
Document more accurately --debug option on Windows

Also add specific log file location, update copyright year
and manpage date, and fix all those unescaped hyphens.

4 years agoUse 'GStatBuf' instead of 'struct stat' type where possible.
Andrej Kacian [Fri, 5 Jun 2015 11:33:32 +0000 (13:33 +0200)]
Use 'GStatBuf' instead of 'struct stat' type where possible.

4 years agoRe-add old method for Expat library detection during configure.
Andrej Kacian [Thu, 4 Jun 2015 16:33:11 +0000 (18:33 +0200)]
Re-add old method for Expat library detection during configure.

Pkg-config can only find expat from 2.1.0 onwards, but earlier
expat did not install a .pc file for it, so we need to also
check outside of pkg-config.

4 years agoRSSyl: Reworked item comparing logic, partly based on bug #3429.
Andrej Kacian [Sat, 23 May 2015 18:56:35 +0000 (20:56 +0200)]
RSSyl: Reworked item comparing logic, partly based on bug #3429.

4 years agoPass --export-* flags correctly to the linker, depending on platform.
Andrej Kacian [Wed, 3 Jun 2015 17:59:06 +0000 (19:59 +0200)]
Pass --export-* flags correctly to the linker, depending on platform.

4 years agoUse pkg-config to detect Expat library.
Andrej Kacian [Sat, 30 May 2015 21:32:17 +0000 (23:32 +0200)]
Use pkg-config to detect Expat library.

4 years agoRSSyl: Use procheader_date_parse() for RFC3339 date strings.
Andrej Kacian [Sat, 30 May 2015 17:45:32 +0000 (19:45 +0200)]
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.

4 years agoRewrote parsing of RFC3339 datetime strings.
Andrej Kacian [Sat, 30 May 2015 17:40:51 +0000 (19:40 +0200)]
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.

4 years agoRSSyl: Updated list of symbols needed from claws-mail core.
Andrej Kacian [Sat, 30 May 2015 16:33:19 +0000 (18:33 +0200)]
RSSyl: Updated list of symbols needed from claws-mail core.

Needed for building for Windows.

4 years agoRSSyl: struct dirent doesn't have d_type member on Windows.
Andrej Kacian [Sat, 30 May 2015 16:32:35 +0000 (18:32 +0200)]
RSSyl: struct dirent doesn't have d_type member on Windows.

4 years agoRSSyl: Remove unnecessary use of link() in rssyl_add_msgs().
Andrej Kacian [Sat, 30 May 2015 16:31:26 +0000 (18:31 +0200)]
RSSyl: Remove unnecessary use of link() in rssyl_add_msgs().

4 years agoFix typo in variable name in Windows g_open() implementation.
Andrej Kacian [Sat, 30 May 2015 15:36:34 +0000 (17:36 +0200)]
Fix typo in variable name in Windows g_open() implementation.

4 years agoFix bug #1941 ‘recursive "mark read all"’
Ricardo Mones [Thu, 28 May 2015 19:07:30 +0000 (21:07 +0200)]
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.

4 years agofix last commit
Paul [Thu, 28 May 2015 07:56:19 +0000 (08:56 +0100)]
fix last commit

my fault, not a problem with the patch

4 years agoFix LDAP access using TLS protocol
Paul [Thu, 28 May 2015 07:43:20 +0000 (08:43 +0100)]
Fix LDAP access using TLS protocol

Patch by Darko Koruga.

4 years agoRSSyl: Fix compilation on OS X.
Andrej Kacian [Wed, 27 May 2015 20:58:27 +0000 (22:58 +0200)]
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.

4 years agoRSSyl: Leave unread flag on new items regardless of silent_update setting.
Andrej Kacian [Thu, 21 May 2015 21:32:00 +0000 (23:32 +0200)]
RSSyl: Leave unread flag on new items regardless of silent_update setting.

Closes bug #2601

4 years agoAlmost switch plugins from strerror to g_strerror
Ricardo Mones [Mon, 18 May 2015 19:44:50 +0000 (21:44 +0200)]
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 :)

4 years agoSwitch core from strerror to g_strerror
Ricardo Mones [Mon, 18 May 2015 19:22:37 +0000 (21:22 +0200)]
Switch core from strerror to g_strerror

4 years agoRSSyl: Strip leading and trailing whitespace from XML tag contents.
Andrej Kacian [Sun, 17 May 2015 17:13:17 +0000 (19:13 +0200)]
RSSyl: Strip leading and trailing whitespace from XML tag contents.

4 years agoUpdate summary view status after "Find all"
Ricardo Mones [Sat, 16 May 2015 10:21:07 +0000 (12:21 +0200)]
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.

4 years agoRSSyl: use procheader_date_parse() instead of parseRFC822Date().
Andrej Kacian [Wed, 6 May 2015 22:19:03 +0000 (00:19 +0200)]
RSSyl: use procheader_date_parse() instead of parseRFC822Date().

4 years agoFix GLib-GObject-CRITICAL message when printing
Ricardo Mones [Mon, 4 May 2015 01:07:50 +0000 (03:07 +0200)]
Fix GLib-GObject-CRITICAL message when printing

Message was: “g_object_ref: assertion 'G_IS_OBJECT (object)' failed”

4 years agoFix bug #2981 and other two implicit...
Ricardo Mones [Wed, 29 Apr 2015 18:28:29 +0000 (20:28 +0200)]
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]

;-)

4 years agoFix 'make dist' for Managesieve plugin
Ricardo Mones [Sat, 25 Apr 2015 18:26:36 +0000 (20:26 +0200)]
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.

4 years agoAdd author of Managesieve plugin also to About dialog
Ricardo Mones [Sat, 25 Apr 2015 18:26:05 +0000 (20:26 +0200)]
Add author of Managesieve plugin also to About dialog

4 years agoUpdate AUTHORS and README regarding the Managesieve plugin.
Andrej Kacian [Sat, 25 Apr 2015 11:29:51 +0000 (13:29 +0200)]
Update AUTHORS and README regarding the Managesieve plugin.

4 years agoAdd ManageSieve plugin
Charles Lehner [Sun, 23 Nov 2014 03:32:35 +0000 (22:32 -0500)]
Add ManageSieve plugin

4 years agoMake message_search interface-based
Charles Lehner [Sun, 16 Nov 2014 22:14:14 +0000 (17:14 -0500)]
Make message_search interface-based

- Factor out compose/messageview checking.
- Make general so other code can use it

4 years agoAdd callback for session connection result
Charles Lehner [Sun, 23 Nov 2014 01:44:25 +0000 (20:44 -0500)]
Add callback for session connection result

4 years agoReuse PLUGINS_URI #define
Ricardo Mones [Sat, 25 Apr 2015 10:51:42 +0000 (12:51 +0200)]
Reuse PLUGINS_URI #define

4 years agoFix bug #3419 ‘Saving/appending messages to an mbox file violates RFC#4155’
Ricardo Mones [Wed, 22 Apr 2015 17:58:21 +0000 (19:58 +0200)]
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.

4 years agoCompose window: Fix bug #3421 - Recipients list doesn't scroll when moving with arrow...
Andrej Kacian [Wed, 22 Apr 2015 16:31:46 +0000 (18:31 +0200)]
Compose window: Fix bug #3421 - Recipients list doesn't scroll when moving with arrow keys.

4 years agoAdjust templates panel of folder properties
Ricardo Mones [Tue, 7 Apr 2015 19:56:08 +0000 (21:56 +0200)]
Adjust templates panel of folder properties

5 years agoIn mailbox order dialog, set selection mode after the list has been
Andrej Kacian [Sun, 22 Mar 2015 10:58:50 +0000 (11:58 +0100)]
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.

5 years agoAllow single-click to select mailboxes in the mailbox order dialog.
Andrej Kacian [Sun, 22 Mar 2015 10:45:42 +0000 (11:45 +0100)]
Allow single-click to select mailboxes in the mailbox order dialog.

5 years agoRemoved unused MBOX_CACHE_DIR from defs.h.
Andrej Kacian [Sat, 21 Mar 2015 17:00:53 +0000 (18:00 +0100)]
Removed unused MBOX_CACHE_DIR from defs.h.

5 years agofix bug 3407, 'Pressing the "Date" column header to "sort by date" causes all columns...
Paul [Sat, 21 Mar 2015 11:19:40 +0000 (11:19 +0000)]
fix bug 3407, 'Pressing the "Date" column header to "sort by date" causes all columns to have a sort arrow.'

It was only apparent when sorting by thread date, not sorting by date.

5 years agoPython plugin: Silence parasite glib warnings
Holger Berndt [Sun, 15 Mar 2015 20:24:29 +0000 (21:24 +0100)]
Python plugin: Silence parasite glib warnings