claws.git
4 years agoLiteHtml viewer: implement keyboard scroll
Colin Leroy [Sun, 10 Nov 2019 19:55:11 +0000 (20:55 +0100)]
LiteHtml viewer: implement keyboard scroll

4 years agoPrinting: only print as plain text if the part is of type text;
Colin Leroy [Sat, 9 Nov 2019 22:13:33 +0000 (23:13 +0100)]
Printing: only print as plain text if the part is of type text;
fix a segfault with default info icon when trying to print a non-text
part.

4 years agoMerge branch 'master' of ssh://git.claws-mail.org/home/git/claws
Colin Leroy [Sat, 9 Nov 2019 21:48:39 +0000 (22:48 +0100)]
Merge branch 'master' of ssh://git.claws-mail.org/home/git/claws

4 years agoUnplug LiteHtml's print callback which does nothing
Colin Leroy [Sat, 9 Nov 2019 21:47:55 +0000 (22:47 +0100)]
Unplug LiteHtml's print callback which does nothing

4 years agoFix printing of empty pages when the selected part
Colin Leroy [Sat, 9 Nov 2019 21:45:17 +0000 (22:45 +0100)]
Fix printing of empty pages when the selected part
is rendered with a plugin not implementing print.

4 years agoRevert parts of configure.ac, unexpected changes from another patch.
wwp [Wed, 6 Nov 2019 11:01:51 +0000 (12:01 +0100)]
Revert parts of configure.ac, unexpected changes from another patch.

4 years agoAdd support for libetpan 1.9.4 (it now uses pkg-config), fix a bit
wwp [Wed, 6 Nov 2019 10:42:59 +0000 (11:42 +0100)]
Add support for libetpan 1.9.4 (it now uses pkg-config), fix a bit
version matching related to former 1.x.x and 0.x versions as well.

4 years agoFix wrong length value passed to fd_write().
wwp [Tue, 5 Nov 2019 11:28:05 +0000 (12:28 +0100)]
Fix wrong length value passed to fd_write().

4 years agoammend last commit in order to avoid misusing gettext's context
Paul [Tue, 5 Nov 2019 11:09:23 +0000 (11:09 +0000)]
ammend last commit in order to avoid misusing gettext's context

4 years agoprovide some info for translators about patches and hunks
Paul [Tue, 5 Nov 2019 10:56:20 +0000 (10:56 +0000)]
provide some info for translators about patches and hunks

4 years agomove diff colour prefs into 'Message view' frame, and react to 'enable coloration...
Paul [Mon, 4 Nov 2019 14:30:56 +0000 (14:30 +0000)]
move diff colour prefs into 'Message view' frame, and react to 'enable coloration...' checkbox

4 years agoFix indentation, really
Ricardo Mones [Wed, 30 Oct 2019 10:04:01 +0000 (11:04 +0100)]
Fix indentation, really

4 years agoFix indentation and interpreter
Ricardo Mones [Tue, 29 Oct 2019 15:17:59 +0000 (16:17 +0100)]
Fix indentation and interpreter

4 years agoFix UI description in tooltip
Ricardo Mones [Tue, 29 Oct 2019 15:12:45 +0000 (16:12 +0100)]
Fix UI description in tooltip

4 years agoUsage hint on header filtering
Ricardo Mones [Tue, 29 Oct 2019 10:05:21 +0000 (11:05 +0100)]
Usage hint on header filtering

4 years agoremove this GDK_WINDOW_TYPE_HINT_DIALOG
Paul [Wed, 16 Oct 2019 08:52:02 +0000 (09:52 +0100)]
remove this GDK_WINDOW_TYPE_HINT_DIALOG

this is annoying for users of those WMs which conflate
GDK_WINDOW_TYPE_HINT_DIALOG with modalilty

4 years agofix bug 4257, 'claws-mail 3.17.4 breaks copy-pasting from emacs-gtk3'
Paul [Thu, 10 Oct 2019 14:09:12 +0000 (15:09 +0100)]
fix bug 4257, 'claws-mail 3.17.4 breaks copy-pasting from emacs-gtk3'

4 years agothis type_hint not wanted or needed here
Paul [Thu, 10 Oct 2019 13:33:39 +0000 (14:33 +0100)]
this type_hint not wanted or needed here

4 years agoanother better fix for bug 2131
Paul [Wed, 9 Oct 2019 18:01:36 +0000 (19:01 +0100)]
another better fix for bug 2131

4 years agoremove the now unhidden prefs from the Hidden Preferences section
Paul [Sun, 6 Oct 2019 17:54:49 +0000 (18:54 +0100)]
remove the now unhidden prefs from the Hidden Preferences section

4 years agoadd UI for summary_from_show pref
Paul [Sun, 6 Oct 2019 17:54:09 +0000 (18:54 +0100)]
add UI for summary_from_show pref

4 years agoimplemtent RFE 4255, "Switching 'Thread view' on/off discards message selection"
Paul [Sun, 6 Oct 2019 11:45:59 +0000 (12:45 +0100)]
implemtent RFE 4255, "Switching 'Thread view' on/off discards message selection"

4 years agobeter fix for bug 2131, 3982d3e615ab83b8da70617df46be2cf52ed1cc5
Paul [Thu, 3 Oct 2019 09:30:04 +0000 (10:30 +0100)]
beter fix for bug 2131, 3982d3e615ab83b8da70617df46be2cf52ed1cc5

Maintain the previous behaviour of focus switching to the summaryview
when a quicksearch has been executed

4 years agoRemove deprecated define.
wwp [Thu, 3 Oct 2019 07:22:12 +0000 (09:22 +0200)]
Remove deprecated define.

4 years agoGet double-click time from GTK API instead of hard-coded value 250.
wwp [Wed, 2 Oct 2019 11:40:20 +0000 (13:40 +0200)]
Get double-click time from GTK API instead of hard-coded value 250.

4 years agoGet rid of a hardcoded define when the enum size can be automatically
wwp [Wed, 2 Oct 2019 10:08:20 +0000 (12:08 +0200)]
Get rid of a hardcoded define when the enum size can be automatically
handled.

4 years agono need to add M_DRAFT for context menu item 'Re-Edit', just use existing M_ALLOW_REE...
Paul [Wed, 2 Oct 2019 09:53:48 +0000 (10:53 +0100)]
no need to add M_DRAFT for context menu item 'Re-Edit', just use existing M_ALLOW_REEDIT instead

4 years agoGet rid of one-shot static arrays with hardcoded size using defines,
wwp [Wed, 2 Oct 2019 09:37:15 +0000 (11:37 +0200)]
Get rid of one-shot static arrays with hardcoded size using defines,
directly do the menu entry processing instead of creating an array
then loop over it.

4 years agoadd 'Re-edit' to the message context menu in the Drafts folder
Paul [Tue, 1 Oct 2019 16:22:11 +0000 (17:22 +0100)]
add 'Re-edit' to the message context menu in the Drafts folder

4 years agoadd UI for diff colours
Paul [Tue, 1 Oct 2019 16:19:41 +0000 (17:19 +0100)]
add UI for diff colours

4 years agofixes to last 2 commits
Paul [Fri, 27 Sep 2019 11:14:58 +0000 (12:14 +0100)]
fixes to last 2 commits

4 years agoComplete the contributors list in AUTHORS and sort the contributors
wwp [Fri, 27 Sep 2019 10:45:33 +0000 (12:45 +0200)]
Complete the contributors list in AUTHORS and sort the contributors
list in src/gtk/authors.h.

4 years agoSyntax highlight improvements, patches by Jakub Kicinski (slightly
wwp [Fri, 27 Sep 2019 10:09:22 +0000 (12:09 +0200)]
Syntax highlight improvements, patches by Jakub Kicinski (slightly
adapted to make use of the account_sigsep_matchlist API):
- when '-p' option is used ' @@' can be followed by function name.
- detect git patch in body part.
Added new contributor to authors list.
Fix bug 4130.

4 years agoRename badly named signatures separators matching API members
wwp [Fri, 27 Sep 2019 09:49:32 +0000 (11:49 +0200)]
Rename badly named signatures separators matching API members
(account_signatures_* -> account_sigsep_*).

4 years agofix crash caused by incomplete commit 47e9a6a807ab30baae05f4557f82d63c70108a59
Paul [Wed, 25 Sep 2019 07:31:55 +0000 (08:31 +0100)]
fix crash caused by incomplete commit 47e9a6a807ab30baae05f4557f82d63c70108a59

4 years agofix bug 4253, 'Claws metadata included in MBOX exports'
Paul [Tue, 24 Sep 2019 16:06:58 +0000 (17:06 +0100)]
fix bug 4253, 'Claws metadata included in MBOX exports'

4 years agofix warning ‘%s’ directive output may be truncated writing up to 8191 bytes into...
Paul [Tue, 24 Sep 2019 12:20:10 +0000 (13:20 +0100)]
fix warning ‘%s’ directive output may be truncated writing up to 8191 bytes into a region of size 8187

4 years agocomplete commit 61889fd9465da61b0db28d75860a91745b7a51d5
Paul [Tue, 24 Sep 2019 12:01:38 +0000 (13:01 +0100)]
complete commit 61889fd9465da61b0db28d75860a91745b7a51d5

thanks Brian!

4 years agorespect 'default selection' settings when moving a msg with manual filtering
Paul [Tue, 24 Sep 2019 11:56:00 +0000 (12:56 +0100)]
respect 'default selection' settings when moving a msg with manual filtering

4 years agoremove 'fm'; replace 'google' with 'ddg'
Paul [Tue, 24 Sep 2019 09:44:12 +0000 (10:44 +0100)]
remove 'fm'; replace 'google' with 'ddg'

4 years agosome clean up in tools/
Paul [Tue, 24 Sep 2019 09:34:51 +0000 (10:34 +0100)]
some clean up in tools/

* remove out-dated OOo2claws-mail.pl
* replace google_search.pl with ddg_search.pl (DuckDuckGo instead of
  Google)
* update README

4 years agowhen creating a new account, don't pre-fill data from the default account
Paul [Tue, 24 Sep 2019 09:04:04 +0000 (10:04 +0100)]
when creating a new account, don't pre-fill data from the default account

4 years agoRestore previous format of README entry
Ricardo Mones [Fri, 20 Sep 2019 08:40:56 +0000 (10:40 +0200)]
Restore previous format of README entry

4 years agoUpdate script and doc from web's tools dir
Ricardo Mones [Fri, 20 Sep 2019 07:31:16 +0000 (09:31 +0200)]
Update script and doc from web's tools dir

4 years agoadd patch RFE 4244, 'Handle additional Date header formats'
Paul [Thu, 19 Sep 2019 11:52:18 +0000 (12:52 +0100)]
add patch RFE 4244, 'Handle additional Date header formats'

patch by Alexander Lyons Harkness <me at bearbin.net>

4 years agofix bug 4239, 'Preferences: Text Options Header Display modal is not modal' (sic)
Paul [Thu, 19 Sep 2019 10:50:26 +0000 (11:50 +0100)]
fix bug 4239, 'Preferences: Text Options Header Display modal is not modal' (sic)

... and so on

4 years agofix bolding of target folder
Paul [Sat, 14 Sep 2019 08:44:10 +0000 (09:44 +0100)]
fix bolding of target folder

target folder (when not using 'execute immediately') lost its boldness
recently. This reinstates that, and makes the target folder colour
override all other colours.

4 years agoUpdate authors lists
Ricardo Mones [Fri, 6 Sep 2019 12:18:58 +0000 (14:18 +0200)]
Update authors lists

4 years agoFix bug 4248 “Suport C99 compilers in m4/spamassassin.m4”
Ricardo Mones [Fri, 6 Sep 2019 12:18:19 +0000 (14:18 +0200)]
Fix bug 4248 “Suport C99 compilers in m4/spamassassin.m4”

Thanks Florian Weimer for the patch.

4 years agoInitialize some missing members in rssyl_item_new()
Andrej Kacian [Wed, 28 Aug 2019 20:59:46 +0000 (22:59 +0200)]
Initialize some missing members in rssyl_item_new()

Among other things, this should fix the occasional
glib runtime warning about removing an invalid GSource.

4 years agoFix build of pgpcore unit test
Andrej Kacian [Mon, 26 Aug 2019 20:17:46 +0000 (22:17 +0200)]
Fix build of pgpcore unit test

4 years agoUpdate litehtml_viewer to build on Windows
Andrej Kacian [Mon, 26 Aug 2019 20:05:23 +0000 (22:05 +0200)]
Update litehtml_viewer to build on Windows

4 years agoFix handling deleted feed items where modified and published dates do not match
Andrej Kacian [Mon, 26 Aug 2019 15:50:20 +0000 (17:50 +0200)]
Fix handling deleted feed items where modified and published dates do not match

4 years agoFix comparison for RSS feed items without text
Andrej Kacian [Mon, 26 Aug 2019 15:42:52 +0000 (17:42 +0200)]
Fix comparison for RSS feed items without text

4 years agoFix const correctness
Ricardo Mones [Wed, 21 Aug 2019 09:37:22 +0000 (11:37 +0200)]
Fix const correctness

Fixes "lh_viewer.c:97:19: warning: initialization discards ‘const’
qualifier from pointer target type"

4 years agoDon't call strncpy with mismatching length
Ricardo Mones [Wed, 21 Aug 2019 09:36:40 +0000 (11:36 +0200)]
Don't call strncpy with mismatching length

Fixes "vcard.c:238:2: warning: ‘strncpy’ output truncated before
terminating nul copying as many bytes from a string as its length"

4 years agoRemove unused variable
Ricardo Mones [Wed, 21 Aug 2019 09:35:54 +0000 (11:35 +0200)]
Remove unused variable

Fixes "textview.c:721:18: warning: unused variable ‘stream’"

4 years agoMBOX import: give a better estimation of the time left and grey out widgets while...
Colin Leroy [Tue, 13 Aug 2019 08:13:29 +0000 (10:13 +0200)]
MBOX import: give a better estimation of the time left and grey out widgets while importing

4 years agoFix bug #4237 - 403 is Forbidden not Unauthorized
Colin Leroy [Sat, 10 Aug 2019 15:35:17 +0000 (17:35 +0200)]
Fix bug #4237 - 403 is Forbidden not Unauthorized

4 years agoremove "The following file has been attached..." dialogue
Paul [Thu, 8 Aug 2019 18:26:26 +0000 (19:26 +0100)]
remove "The following file has been attached..." dialogue

don't show the needless "The following file has been attached..."
dialogue when attaching files by drag'n'drop

4 years agoperl: fix incoming typos in pod
Ricardo Mones [Wed, 7 Aug 2019 14:41:04 +0000 (16:41 +0200)]
perl: fix incoming typos in pod

4 years agoFix crash in litehtml_viewer when <base> tag has no href
Andrej Kacian [Tue, 6 Aug 2019 08:46:01 +0000 (10:46 +0200)]
Fix crash in litehtml_viewer when <base> tag has no href

4 years agoUpdate claws.def files for plugins
Andrej Kacian [Mon, 5 Aug 2019 22:14:39 +0000 (00:14 +0200)]
Update claws.def files for plugins

4 years agoFix a failed assertion in NNTP group list dialog
Andrej Kacian [Sun, 4 Aug 2019 10:20:48 +0000 (12:20 +0200)]
Fix a failed assertion in NNTP group list dialog

The code was trying to expand nodes of already subscribed
newsgroups, even if those newsgroups weren't being displayed
in the list, usually because of an active search pattern.

4 years agofor release 3.17.4 3.17.4
Paul [Fri, 26 Jul 2019 10:58:35 +0000 (11:58 +0100)]
for release 3.17.4

4 years agoFix leak on error variable
Ricardo Mones [Fri, 26 Jul 2019 10:51:13 +0000 (12:51 +0200)]
Fix leak on error variable

4 years agoAdd minimalistic plugin description
Ricardo Mones [Fri, 26 Jul 2019 10:45:08 +0000 (12:45 +0200)]
Add minimalistic plugin description

Thanks Andrej for the inspiration:
https://lists.claws-mail.org/pipermail/users/2019-March/023861.html

4 years agoDon't show mojibake when encoding is not UTF-8
Ricardo Mones [Fri, 26 Jul 2019 10:31:57 +0000 (12:31 +0200)]
Don't show mojibake when encoding is not UTF-8

Litehtml expect displayed strings in UTF-8, so convert message part
before displaying.

4 years agoUpdate list of TLDs for release
Ricardo Mones [Fri, 26 Jul 2019 10:26:02 +0000 (12:26 +0200)]
Update list of TLDs for release

4 years agomore translation updates
Paul [Fri, 26 Jul 2019 08:55:39 +0000 (09:55 +0100)]
more translation updates

4 years agoupdated translations
Paul [Thu, 25 Jul 2019 17:21:24 +0000 (18:21 +0100)]
updated translations

4 years agoUpdate French translation.
wwp [Mon, 22 Jul 2019 12:14:48 +0000 (14:14 +0200)]
Update French translation.

4 years agoUpdate Spanish translation for release
Ricardo Mones [Mon, 22 Jul 2019 08:39:59 +0000 (10:39 +0200)]
Update Spanish translation for release

4 years agoReturn decode error in GError if pointer to GError structure provided
Michael Rasmussen [Sun, 7 Jul 2019 17:06:34 +0000 (19:06 +0200)]
Return decode error in GError if pointer to GError structure provided

Signed-off-by: Michael Rasmussen <mir@datanom.net>
4 years agoFix dereferencing of potentially NULL *error
Colin Leroy [Sun, 7 Jul 2019 16:44:54 +0000 (18:44 +0200)]
Fix dereferencing of potentially NULL *error

4 years agoprocmime_get_part_as_pixbuf: set error if we can't decode part.
Colin Leroy [Sun, 7 Jul 2019 10:21:50 +0000 (12:21 +0200)]
procmime_get_part_as_pixbuf: set error if we can't decode part.

4 years agolitehtml_viewer: use new procmime_get_part_as_pixbuf helper function
Colin Leroy [Sun, 7 Jul 2019 08:51:55 +0000 (10:51 +0200)]
litehtml_viewer: use new procmime_get_part_as_pixbuf helper function

4 years agoCompose: handle pasted images and text/uri-list (files) and attach them
Colin Leroy [Sun, 7 Jul 2019 08:43:45 +0000 (10:43 +0200)]
Compose: handle pasted images and text/uri-list (files) and attach them

4 years agoImplement copying of attached images to clipboard
Colin Leroy [Sun, 7 Jul 2019 08:40:15 +0000 (10:40 +0200)]
Implement copying of attached images to clipboard

4 years agoprocmime_get_part_as_inputstream doesn't touch error, so remove it
Colin Leroy [Sun, 7 Jul 2019 08:31:01 +0000 (10:31 +0200)]
procmime_get_part_as_inputstream doesn't touch error, so remove it

4 years agoIf error is NULL print a static message instead
Michael Rasmussen [Wed, 3 Jul 2019 18:35:17 +0000 (20:35 +0200)]
If error is NULL print a static message instead

Signed-off-by: Michael Rasmussen <mir@datanom.net>
4 years agoSince procmime_get_part_as_inputstream can return NULL and never touches error we...
Michael Rasmussen [Wed, 3 Jul 2019 18:16:44 +0000 (20:16 +0200)]
Since procmime_get_part_as_inputstream can return NULL and never touches error we need to bail if stream is NULL

Signed-off-by: Michael Rasmussen <mir@datanom.net>
4 years agoFix a crash in Fancy plugin if one of the MIME parts has no Content-ID
Andrej Kacian [Wed, 3 Jul 2019 09:19:48 +0000 (11:19 +0200)]
Fix a crash in Fancy plugin if one of the MIME parts has no Content-ID

4 years agoFix a crash in litehtml plugin if one of the MIME parts has no Content-ID
Andrej Kacian [Wed, 3 Jul 2019 09:02:20 +0000 (11:02 +0200)]
Fix a crash in litehtml plugin if one of the MIME parts has no Content-ID

4 years agoGet rid of magic numbers in summary_msginfo_*_flags
Andrej Kacian [Wed, 29 May 2019 17:10:28 +0000 (19:10 +0200)]
Get rid of magic numbers in summary_msginfo_*_flags

4 years agoFix a typo - it's CURL_CFLAGS, not CURL_FLAGS
Andrej Kacian [Sat, 18 May 2019 10:03:00 +0000 (12:03 +0200)]
Fix a typo - it's CURL_CFLAGS, not CURL_FLAGS

4 years agoAdd missing libgumbo cflags and ldflags to litehtml_viewer
Andrej Kacian [Sat, 18 May 2019 10:01:43 +0000 (12:01 +0200)]
Add missing libgumbo cflags and ldflags to litehtml_viewer

4 years agoReturn summaryview cursor to selected mail when popup menu is done
Andrej Kacian [Tue, 14 May 2019 21:20:08 +0000 (23:20 +0200)]
Return summaryview cursor to selected mail when popup menu is done

Fixes bug #3838: Canceled right-click on message
list leaves UI in inconsistent state

4 years agoMove log timestamp format string to a separate macro in log.h
Andrej Kacian [Tue, 14 May 2019 14:15:10 +0000 (16:15 +0200)]
Move log timestamp format string to a separate macro in log.h

4 years agoFix a use after free crash when deleting message via a separate messageview
Andrej Kacian [Tue, 14 May 2019 14:01:40 +0000 (16:01 +0200)]
Fix a use after free crash when deleting message via a separate messageview

After the message has been deleted, summary_show() will
redisplay the folder and free all the MsgInfos, but we still
need the one for the message currently displayed in our
messageview window, so we add our own reference to it, and free
it ourselves when we're done.

This was only happening when summaryview already has a different
message displayed.

Fixes bug #4029: segfault after deleting message in a window

4 years agoAdd date (ISO format) to log timestamps.
wwp [Tue, 14 May 2019 08:09:12 +0000 (10:09 +0200)]
Add date (ISO format) to log timestamps.

4 years agoFix verify_folderlist_xml() for fresh starts
Andrej Kacian [Wed, 8 May 2019 21:25:55 +0000 (23:25 +0200)]
Fix verify_folderlist_xml() for fresh starts

It was calling xml_free_tree(NULL) if folderlist.xml
did not yet exist.

4 years agoFix markup in 'key not fully trusted' warning in pgpcore
Andrej Kacian [Wed, 8 May 2019 19:29:37 +0000 (21:29 +0200)]
Fix markup in 'key not fully trusted' warning in pgpcore

4 years agoMake Enter key in mbox export dialog's file entry start the export
Andrej Kacian [Sat, 4 May 2019 00:52:32 +0000 (02:52 +0200)]
Make Enter key in mbox export dialog's file entry start the export

4 years agoFix CID 1444847 - Uninitialized variables in sock_close()
Andrej Kacian [Wed, 1 May 2019 10:44:20 +0000 (12:44 +0200)]
Fix CID 1444847 - Uninitialized variables in sock_close()

4 years agoFix a memory corruption bug in RSSyl's feed_item_copy()
Andrej Kacian [Tue, 30 Apr 2019 21:03:03 +0000 (23:03 +0200)]
Fix a memory corruption bug in RSSyl's feed_item_copy()

4 years agoFix parsing items with empty bodies from on-disk RSSyl items
Andrej Kacian [Tue, 30 Apr 2019 21:02:18 +0000 (23:02 +0200)]
Fix parsing items with empty bodies from on-disk RSSyl items

4 years agoFix previous commit
Andrej Kacian [Sun, 28 Apr 2019 23:06:07 +0000 (01:06 +0200)]
Fix previous commit

The old code added a newline before each line in
rssyl_parse_folder_item_file().

4 years agoRemove unnecessary debug output from previous commit
Andrej Kacian [Sun, 28 Apr 2019 21:22:00 +0000 (23:22 +0200)]
Remove unnecessary debug output from previous commit

4 years agoSimplify item body parsing in rssyl_parse_folder_item_file()
Andrej Kacian [Sun, 28 Apr 2019 21:13:32 +0000 (23:13 +0200)]
Simplify item body parsing in rssyl_parse_folder_item_file()

This possibly fixes a memory corruption issue, too.