Ricardo Mones [Mon, 18 Mar 2024 00:11:56 +0000 (01:11 +0100)]
Remove unused define
Support for metamail was dropped in 2.5.0 according to NEWS file.
Removed also two comments, very likely debugging remnants.
Paul [Sat, 16 Mar 2024 06:14:58 +0000 (06:14 +0000)]
enable 'Remove references' when forwarding mail
wwp [Thu, 29 Feb 2024 12:17:54 +0000 (13:17 +0100)]
fix bug 4754, 'text/enriched literal less-than sign sequence handled incorrectly' (by Viatrix)
wwp [Wed, 28 Feb 2024 23:39:09 +0000 (00:39 +0100)]
fix bug 4747, 'matcher: simplify matcherprop_new' (mostly by Olaf Hering)
wwp [Mon, 26 Feb 2024 10:09:59 +0000 (11:09 +0100)]
fix bug 4791, 'remove obsolete glib version check' (parts by Olaf Hering)
wwp [Sun, 25 Feb 2024 14:59:56 +0000 (15:59 +0100)]
Fix bug 4749: release regex_t in summary_compile_simplify_regexp
wwp [Sun, 25 Feb 2024 14:49:03 +0000 (15:49 +0100)]
Fix bug #4746: matcher: remove incorrect condition in matcherprop_free
In fact, Regex'es have been reenabled in Windows since 2015 (Andrej,
22a32c92603ba73754af64cd3b40de3d7c2f752a)
after they've been disabled in 2013 (Colin,
7f27738df23b2098214d956e6b41149c1a158404);
reenable everything of their handling in matcher.[ch].
Paul [Tue, 20 Feb 2024 08:31:03 +0000 (08:31 +0000)]
Michael Rasmussen [Mon, 19 Feb 2024 18:09:47 +0000 (19:09 +0100)]
Fix bug #4782 use correct prototype for stop_archiving. Patches by Olaf Hering
Signed-off-by: Michael Rasmussen <mir@datanom.net>
wwp [Sun, 18 Feb 2024 16:10:52 +0000 (17:10 +0100)]
Fix bug 4781, 'use correct prototype for privacy_free_signature_data', patch by Olaf Hering
Michael Rasmussen [Sun, 18 Feb 2024 13:02:02 +0000 (14:02 +0100)]
Fix bug #4780 use proper prototype for two archiver functions. Patch by Olaf Hering
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Ricardo Mones [Fri, 16 Feb 2024 16:24:41 +0000 (17:24 +0100)]
Remove remaining references to dirent
which has become unused now.
Ricardo Mones [Fri, 16 Feb 2024 15:23:06 +0000 (16:23 +0100)]
Use g_dir calls for directory processing
Also fix building with --enable-more-archive-debug while at it.
Ricardo Mones [Fri, 16 Feb 2024 11:24:30 +0000 (12:24 +0100)]
Use a configure flag for archive plugin extra debug
Olaf Hering [Thu, 15 Feb 2024 11:47:08 +0000 (12:47 +0100)]
Remove inclusion of sys/socket.h from nntp-thread.c
Nothing in this file uses declarations or defines from this header.
It looks like copy&paste from imap-thread.c in commit
81fd89ef633cec2d54b3cff170127cd8d88f544d
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Wed, 14 Feb 2024 10:13:43 +0000 (11:13 +0100)]
Include sys/socket.h unconditional in imap-thread.c
The code uses socketpair, which according to socketpair(3p) needs this
header. Move it into the existing conditional, because the calling
function imap_threaded_connect_cmd is also wrapped in the same
conditional.
Currently the header is indirectly included via netdb.h.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Ricardo Mones [Tue, 13 Feb 2024 19:53:05 +0000 (20:53 +0100)]
Remove useless code
Olaf Hering [Tue, 13 Feb 2024 16:47:53 +0000 (17:47 +0100)]
Remove wrong initialization from max_message_size
A valid value can only ever be positive. It was introduced correctly
with an unsigned type, but initialized incorrectly. Later the type was
changed to signed, instead of removing the incorrect initialization.
Restore the proper type, and remove the incorrect initial value.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Tue, 13 Feb 2024 13:26:27 +0000 (14:26 +0100)]
oauth2: show body for every HTTP request
Consider also the refresh request, not just the initial request for
obtaining tokens.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Mon, 12 Feb 2024 18:59:46 +0000 (19:59 +0100)]
Handle more systems which lack support for the scanf m modifier
The 'm' modifier for scanf is an extension to ISO C. It was mentioned in
POSIX 1003.1 2008 (Issue 7). It is difficult to detect at compile time
if a libc has implemented support for this modifier. Extend the existing
list of systems which lack support for it with NetBSD and Dragonfly BSD.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Mon, 12 Feb 2024 18:49:31 +0000 (19:49 +0100)]
Use CFLAGS provided by nettle.pc
In case nettle requires any CFLAGS, use them as well.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Ricardo Mones [Sat, 10 Feb 2024 19:04:16 +0000 (20:04 +0100)]
Fix CID
1491211 'Use after free'
The function prefs_set_block_label frees its pfile argument on error
(via prefs_file_close_revert calls) and also returns -1, so use the
returned value to check instead of the freed pointer.
Update function documentation while we're at it.
Ricardo Mones [Sat, 10 Feb 2024 19:02:32 +0000 (20:02 +0100)]
Fix CID
1491137 'Out-of-bounds access (OVERRUN)'
Ricardo Mones [Sat, 10 Feb 2024 19:00:52 +0000 (20:00 +0100)]
Fix CIDs
1491064 and
1491074
Two instances of 'Use after free (USE_AFTER_FREE)'
Ricardo Mones [Sat, 10 Feb 2024 18:30:08 +0000 (19:30 +0100)]
Fix CIDs
1220325,
1491306 and
1491315
Three instances of "Explicit null dereferenced (FORWARD_NULL)"
Ricardo Mones [Sat, 10 Feb 2024 17:44:31 +0000 (18:44 +0100)]
Sync Spanish manual
Ricardo Mones [Sat, 10 Feb 2024 17:30:16 +0000 (18:30 +0100)]
Add a couple of shortcuts to manual
Paul [Fri, 9 Feb 2024 14:41:26 +0000 (15:41 +0100)]
various clean-ups and optimisations by Olaf Hering
bug 4752, 'Adjust incorrect debug_printf call in pgp plugins'
bug 4757, 'remove AX_FUNC_MKDIR'
bug 4758, 'remove unused check for bind_textdomain_codeset'
bug 4759, 'remove unused function checks from AC_CHECK_FUNCS'
bug 4760, 'use correct type for move_bar_id'
bug 4768, 'Adjust logic while evaluating enable_avatars'
bug 4770, 'remove intl from list of include directories'
Michael Rasmussen [Tue, 6 Feb 2024 22:58:03 +0000 (23:58 +0100)]
Fix bug #4765 oauth2: only store smtp auth if authorization method is OAUTH2 fix bug #4766 oauth2: preserve the expiry value of SMTP auth type is not OAUTH2 patches by Olaf Hering
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Sat, 3 Feb 2024 22:16:59 +0000 (23:16 +0100)]
Fix bug #4762 oauth2: preserve an existing refresh token patch by Olaf Hering
Signed-off-by: Michael Rasmussen <mir@datanom.net>
wwp [Thu, 25 Jan 2024 09:56:27 +0000 (10:56 +0100)]
fix bug 4750, 'remove regcomp wrapper and call regcomp directly'
Ricardo Mones [Fri, 12 Jan 2024 12:02:34 +0000 (13:02 +0100)]
Fail earlier when certificate sizes differ
There's no need to allocate memory and waste cycles exporting
certificates to fail afterwards because sizes differ.
Ricardo Mones [Fri, 12 Jan 2024 11:59:04 +0000 (12:59 +0100)]
Fix bug 4734, 'ssl_certificate: remove unhelpful warnings from certificate check'
Paul [Wed, 10 Jan 2024 10:10:17 +0000 (11:10 +0100)]
bump copyright year
Paul [Wed, 10 Jan 2024 10:04:28 +0000 (11:04 +0100)]
fix bug 4733, 'Line breaks lost in headers'
Michael Rasmussen [Tue, 9 Jan 2024 10:36:43 +0000 (11:36 +0100)]
Fix bug #Bug 4730 add some more debug output. Patch from Olaf Hering
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Mon, 8 Jan 2024 23:11:21 +0000 (00:11 +0100)]
Revert "Fix bug #4730. Patch by Olaf Hering"
This reverts commit
91ebb5e00b27ab36b811a446f17b13cb78776395.
Michael Rasmussen [Mon, 8 Jan 2024 20:56:10 +0000 (21:56 +0100)]
Fix bug #4730. Patch by Olaf Hering
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Sun, 7 Jan 2024 14:32:08 +0000 (15:32 +0100)]
Fix Bug #4728. Patch provided by Olaf Hering
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Thu, 4 Jan 2024 16:02:12 +0000 (17:02 +0100)]
Fix Bug #4725. Patch provided by Olaf Hering
Signed-off-by: Michael Rasmussen <mir@datanom.net>
wwp [Thu, 4 Jan 2024 10:32:47 +0000 (11:32 +0100)]
Fix bug 4724: set proper availability status to sign/encrypt toolbar buttons (patch by Olaf Hering).
Ricardo Mones [Wed, 3 Jan 2024 12:05:01 +0000 (13:05 +0100)]
Improve English, thanks Paul for proofreading!
Ricardo Mones [Wed, 3 Jan 2024 11:32:41 +0000 (12:32 +0100)]
Make string easier to translate
Providing the whole sentence in one string will hopefully avoid bugs lke
https://www.claws-mail.org/bug/4722
wwp [Tue, 2 Jan 2024 09:32:28 +0000 (10:32 +0100)]
rsvg_handle_get_intrinsic_size_in_pixels() is rsvg 2.52.
wwp [Tue, 2 Jan 2024 09:21:58 +0000 (10:21 +0100)]
Remove Olaf (already known above in list as Olaf Hering).
wwp [Tue, 2 Jan 2024 09:10:24 +0000 (10:10 +0100)]
Feed the contributors list.
wwp [Tue, 2 Jan 2024 09:02:55 +0000 (10:02 +0100)]
Fix bug 4720 (resource leak), patch by olaf@aepfle.de.
Ricardo Mones [Thu, 28 Dec 2023 12:09:12 +0000 (13:09 +0100)]
Don't use deprecated calls with modern SVG library
Removes the following warnings:
• stock_pixmap.c:545:9: warning: ‘rsvg_handle_get_dimensions’ is
deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead
• stock_pixmap.c:554:9: warning: ‘rsvg_handle_render_cairo’ is deprecated:
Use 'rsvg_handle_render_document' instead
• stock_pixmap.c:675:17: warning: ‘rsvg_handle_get_dimensions’ is
deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead
Paul [Fri, 22 Dec 2023 18:32:54 +0000 (19:32 +0100)]
fix menu item text
Paul [Thu, 21 Dec 2023 14:56:49 +0000 (15:56 +0100)]
fix bug 4668, 'Sometimes, at program start, message list takes all the vertical space' and other sizing issues
Paul [Wed, 20 Dec 2023 20:21:55 +0000 (21:21 +0100)]
fix text of warning message
of course, we're copying a file not a message
Paul [Wed, 20 Dec 2023 12:36:09 +0000 (13:36 +0100)]
continue if we can't create a backup of menurc
Paul [Wed, 20 Dec 2023 12:33:20 +0000 (13:33 +0100)]
add a missed g_free()
wwp [Tue, 19 Dec 2023 18:00:55 +0000 (19:00 +0100)]
wwp [Tue, 19 Dec 2023 17:52:40 +0000 (18:52 +0100)]
Paul [Tue, 19 Dec 2023 16:38:22 +0000 (17:38 +0100)]
remove a couple long unused file defs
Paul [Tue, 19 Dec 2023 16:29:13 +0000 (17:29 +0100)]
fix paste errors introduced in last commit
Paul [Tue, 19 Dec 2023 16:20:34 +0000 (17:20 +0100)]
revert menu label changes, give translators context instead
this avoids breaking custom user shortcuts on these menu items
Paul [Tue, 19 Dec 2023 16:17:30 +0000 (17:17 +0100)]
make a backup of menurc on startup
Ricardo Mones [Sun, 17 Dec 2023 13:16:26 +0000 (14:16 +0100)]
Fix option names the preference is useful for
Ricardo Mones [Thu, 14 Dec 2023 10:40:27 +0000 (11:40 +0100)]
Document "nav_history_length" hidden preference
wwp [Thu, 2 Sep 2021 06:34:52 +0000 (08:34 +0200)]
Add the mark all read/unread items back to the message list context menu.
Ricardo Mones [Thu, 7 Dec 2023 16:02:06 +0000 (17:02 +0100)]
Rename also “Color label” to “Color labels”
As suggested by Paul on translators ML.
Ricardo Mones [Thu, 7 Dec 2023 15:58:40 +0000 (16:58 +0100)]
Rename grouping menu option “Mark” to “Marks”
As requested on translators list. Menu paths also updated to match.
Ricardo Mones [Sat, 2 Dec 2023 20:11:51 +0000 (21:11 +0100)]
Distinguish messages and remove unnecessary goto
Jonathan Boeing [Sun, 19 Nov 2023 01:51:30 +0000 (18:51 -0700)]
Fix building on non-X11 systems
Gtk Sockets and the GDK_IS_X11_DISPLAY() macro are only available when
GDK_WINDOWING_X11 is defined
Paul [Tue, 21 Nov 2023 11:40:17 +0000 (11:40 +0000)]
if cmd is invalid, NULL it
this prevents an execution attempt of an invalid command, and also prevents spewing text content into the debug output, and also prevents it being necessary to hit the Cancel button twice on the 'Open with...' dialogue
Paul [Mon, 20 Nov 2023 11:43:31 +0000 (11:43 +0000)]
for release 4.2.0
Paul [Mon, 20 Nov 2023 11:07:36 +0000 (11:07 +0000)]
updated translations by David Medina, David Vachulka, Łukasz Wojniłowicz, Frederico Goncalves Guimaraes, Hugo Carvalho, Mikhail Kurinnoi, Slavko, Andreas Rönnquist, Numan Demirdöğen, and Mark Chang
Paul [Mon, 20 Nov 2023 11:01:17 +0000 (11:01 +0000)]
add missing file
Ricardo Mones [Sun, 19 Nov 2023 15:27:42 +0000 (16:27 +0100)]
Update TLDs for release
Paul [Fri, 17 Nov 2023 15:27:17 +0000 (15:27 +0000)]
fix bug 4361, 'Embedding external editor crashes Claws-Mail on Wayland' and a similar crash with the dillo plugin
wwp [Thu, 16 Nov 2023 10:47:30 +0000 (11:47 +0100)]
Update French translation.
Ricardo Mones [Wed, 15 Nov 2023 23:43:57 +0000 (00:43 +0100)]
Update Spanish translation
Ricardo Mones [Fri, 10 Nov 2023 17:33:19 +0000 (18:33 +0100)]
More parentheses for yet another warning
summaryview.c:3986:66: warning: suggest parentheses around ‘&&’ within ‘||’
Ricardo Mones [Fri, 10 Nov 2023 17:33:09 +0000 (18:33 +0100)]
Add parentheses to fix warning
mimeview.c:1946:39: warning: suggest parentheses around ‘&&’ within ‘||’
Paul [Sun, 5 Nov 2023 16:51:49 +0000 (16:51 +0000)]
don't build or distribute the gdata plugin
Jonathan Boeing [Sun, 5 Nov 2023 03:59:18 +0000 (20:59 -0700)]
Fix -Wstringop-truncation warnings
Jonathan Boeing [Sun, 5 Nov 2023 00:50:15 +0000 (17:50 -0700)]
Fix size_t format specifier warning
Jonathan Boeing [Sun, 5 Nov 2023 00:27:05 +0000 (17:27 -0700)]
Fix -Wunused-result warnings from g_string_free()
Ricardo Mones [Fri, 3 Nov 2023 22:05:48 +0000 (23:05 +0100)]
Disable stack execution on plugins
Paul [Thu, 26 Oct 2023 09:01:54 +0000 (10:01 +0100)]
fix CID
1548056: Error handling issues
Paul [Thu, 26 Oct 2023 08:51:25 +0000 (09:51 +0100)]
plug leaks
Paul [Wed, 25 Oct 2023 05:58:04 +0000 (06:58 +0100)]
no longer allow installing or removing system themes
this eliminates bug 4710, 'Write error on system wide icon theme install'
Jonathan Boeing [Sun, 22 Oct 2023 09:23:38 +0000 (02:23 -0700)]
Replace over_element() with upstream's get_over_element()
Jonathan Boeing [Sat, 21 Oct 2023 09:22:33 +0000 (02:22 -0700)]
Update LiteHTML sources
Sync with upstream commit
42632777fbb047e15cb6a4f661a3304f993671ec
Jonathan Boeing [Tue, 10 Oct 2023 07:09:12 +0000 (00:09 -0700)]
Sync with api changes
Jonathan Boeing [Tue, 10 Oct 2023 05:42:31 +0000 (22:42 -0700)]
Build fixes
Jonathan Boeing [Mon, 9 Oct 2023 08:54:07 +0000 (01:54 -0700)]
Use custom get_default_font_size() and _name()
Jonathan Boeing [Mon, 9 Oct 2023 08:24:56 +0000 (01:24 -0700)]
Use upstream font functions
Jonathan Boeing [Mon, 9 Oct 2023 08:16:33 +0000 (01:16 -0700)]
Sync with master_css changes
Jonathan Boeing [Mon, 9 Oct 2023 07:51:08 +0000 (00:51 -0700)]
String api updates
Upstream replaced tstring with string and tchar_t* with char*
Jonathan Boeing [Mon, 9 Oct 2023 07:29:54 +0000 (00:29 -0700)]
Sync with litehtml v0.7
Jonathan Boeing [Mon, 9 Oct 2023 07:28:03 +0000 (00:28 -0700)]
Sync with litehtml v0.7
Jonathan Boeing [Mon, 9 Oct 2023 04:10:21 +0000 (21:10 -0700)]
Move functions back to container_linux.cpp
Move load_image(), get_image_size(), and clear_images() from container_linux_images.cpp
to container_linux.cpp
wwp [Tue, 17 Oct 2023 10:22:29 +0000 (12:22 +0200)]
URIs may contain the '$' dollar sign (fix broken syntax).
wwp [Tue, 17 Oct 2023 10:12:30 +0000 (12:12 +0200)]
URIs may contain the '$' dollar sign.
Paul [Sun, 24 Sep 2023 16:59:24 +0000 (17:59 +0100)]
when queueing or drafting a msg with an attachment which no longer exists, use the correct label on the button of the warning dialogue
wwp [Thu, 21 Sep 2023 13:35:42 +0000 (15:35 +0200)]
Updated quicksearch mini-doc in README file, sorted QA help list in dialog.
wwp [Thu, 21 Sep 2023 13:08:29 +0000 (15:08 +0200)]
remove support for the 'y S' quicksearch expression (one may now use 'v X-Label S')