Ricardo Mones [Tue, 19 Feb 2019 18:23:38 +0000 (19:23 +0100)]
Check result of fputs (CID
1440024)
Ricardo Mones [Tue, 19 Feb 2019 18:23:10 +0000 (19:23 +0100)]
Check writting crash-indicator (CID
1440021)
Andrej Kacian [Sun, 17 Feb 2019 23:46:24 +0000 (00:46 +0100)]
Use prepend document base url to #fragment links in Litehtml plugin
Andrej Kacian [Sun, 17 Feb 2019 19:48:17 +0000 (20:48 +0100)]
Add default_font preference to Litehtml plugin
Andrej Kacian [Thu, 14 Feb 2019 17:08:56 +0000 (18:08 +0100)]
Make key accelerators from menu work in addressbook window
Andrej Kacian [Thu, 14 Feb 2019 16:55:42 +0000 (17:55 +0100)]
Change addressbook's internal UI name for Edit submenu to match its label
Paul [Thu, 14 Feb 2019 14:12:35 +0000 (14:12 +0000)]
fix bug 4155, 'remember directory of last saving'
drop messageview_save_as(), use only summary_save_as()
Michael Rasmussen [Tue, 12 Feb 2019 23:47:34 +0000 (00:47 +0100)]
Fix build error
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Andrej Kacian [Mon, 11 Feb 2019 23:54:07 +0000 (00:54 +0100)]
Make Litehtml display sub- and superscript correctly
Andrej Kacian [Mon, 11 Feb 2019 23:32:44 +0000 (00:32 +0100)]
Use height of the viewport, not the scrolled window when telling Litehtml size of the area it has available for rendering
Andrej Kacian [Mon, 11 Feb 2019 22:10:45 +0000 (23:10 +0100)]
Reset Litehtml scrolledwindow to top-left when displaying new content
Ricardo Mones [Sun, 10 Feb 2019 11:51:53 +0000 (12:51 +0100)]
Fix typo in variable name
Andrej Kacian [Fri, 8 Feb 2019 19:09:38 +0000 (20:09 +0100)]
Show number of cleared Litehtml cache images on debug
Andrej Kacian [Fri, 8 Feb 2019 19:05:06 +0000 (20:05 +0100)]
Add image_cache_size pref to Litehtml
Andrej Kacian [Fri, 8 Feb 2019 18:42:54 +0000 (19:42 +0100)]
Implement size limit for Litehtml image cache
Andrej Kacian [Fri, 8 Feb 2019 17:33:00 +0000 (18:33 +0100)]
Switch Litehtml's image cache from std::map to std::list
This makes the cache ordered, so we are able to remove
oldest entries if we want to trim memory usage.
Andrej Kacian [Sun, 3 Feb 2019 13:50:30 +0000 (14:50 +0100)]
Do not build the litehtml plugin if a C++ compiler is not available
Andrej Kacian [Fri, 1 Feb 2019 20:33:36 +0000 (21:33 +0100)]
Make Litehtml's "Copy Link" menuitem actually do something
Andrej Kacian [Fri, 1 Feb 2019 15:55:48 +0000 (16:55 +0100)]
Implement link context menu in Litehtml
Andrej Kacian [Fri, 1 Feb 2019 15:55:15 +0000 (16:55 +0100)]
Add lh_widget::get_href_at()
Michael Rasmussen [Tue, 29 Jan 2019 23:29:12 +0000 (00:29 +0100)]
Fix possible memory leak
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Andrej Kacian [Tue, 29 Jan 2019 23:09:11 +0000 (00:09 +0100)]
Make Litehtml's curl writefunction add data directly to the GInputStream
This saves us some unnecessary reallocs, as data
inside a GMemoryInputStream do not need to be
contiguous.
Andrej Kacian [Tue, 29 Jan 2019 22:52:36 +0000 (23:52 +0100)]
Make Litehtml's curl write function a regular function instead of a static member function of the http class
Andrej Kacian [Tue, 29 Jan 2019 22:13:51 +0000 (23:13 +0100)]
Fix a memory leak in Litehtml plugin's http loader
Andrej Kacian [Tue, 29 Jan 2019 21:23:54 +0000 (22:23 +0100)]
Fix a huge memory leak in Litehtml
Andrej Kacian [Tue, 29 Jan 2019 20:47:53 +0000 (21:47 +0100)]
Properly free previous document from memory in litehtml's clear()
We also call paint_white() earlier in redraw().
This results in properly clearing the previously
rendered html content when opening a different
HTML part.
Andrej Kacian [Tue, 29 Jan 2019 19:12:41 +0000 (20:12 +0100)]
Make Litehtml plugin open links in configured way
Michael Rasmussen [Sun, 27 Jan 2019 11:21:37 +0000 (12:21 +0100)]
Refactor http class to prevent memory leak
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Sun, 27 Jan 2019 00:11:24 +0000 (01:11 +0100)]
Remove unused stuff
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Andrej Kacian [Sat, 26 Jan 2019 20:59:15 +0000 (21:59 +0100)]
Added preferences page to LiteHTML plugin and make it respect the enable_remote_content pref
Only "enable_remote_content" pref for now.
Michael Rasmussen [Fri, 25 Jan 2019 23:15:04 +0000 (00:15 +0100)]
No need to configure CURLOPT_WRITEFUNCTION twice
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Andrej Kacian [Fri, 25 Jan 2019 22:49:32 +0000 (23:49 +0100)]
Use debug_print() and g_warning() instead of g_log() in litehtml_viewer
Andrej Kacian [Fri, 25 Jan 2019 21:49:49 +0000 (22:49 +0100)]
Fix URL display in statusbar when hovering over a link in litehtml_viewer
Michael Rasmussen [Sat, 1 Dec 2018 17:36:46 +0000 (18:36 +0100)]
Update current version of litehtml. Fix a crash when document contains no fonts
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Fri, 16 Nov 2018 16:18:45 +0000 (17:18 +0100)]
Use statusbar for notification. Begin print implementation
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Fri, 16 Nov 2018 16:13:05 +0000 (17:13 +0100)]
Proper fix for memory leak
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Thu, 15 Nov 2018 22:12:11 +0000 (23:12 +0100)]
Fix memory leak
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Thu, 15 Nov 2018 22:06:29 +0000 (23:06 +0100)]
Do not use G_LOG_LEVEL_ERROR. Makes claws crash
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Sat, 10 Nov 2018 02:11:21 +0000 (03:11 +0100)]
Fix missing includes
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Fri, 9 Nov 2018 16:08:56 +0000 (17:08 +0100)]
Fix wrong cursor type
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Fri, 9 Nov 2018 16:00:50 +0000 (17:00 +0100)]
Change cursor type when hoover over link
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Fri, 9 Nov 2018 00:57:34 +0000 (01:57 +0100)]
Update TODO
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Fri, 9 Nov 2018 00:56:29 +0000 (01:56 +0100)]
Implemented support for links
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Wed, 7 Nov 2018 23:50:37 +0000 (00:50 +0100)]
I am tired ;-)
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Wed, 7 Nov 2018 23:45:52 +0000 (00:45 +0100)]
Cleaner code a fix memory leak
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Wed, 7 Nov 2018 22:49:35 +0000 (23:49 +0100)]
Refactor image loading to a separate class. Add dependency to curl
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Wed, 7 Nov 2018 02:20:11 +0000 (03:20 +0100)]
Implement image handling
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Tue, 6 Nov 2018 18:50:31 +0000 (19:50 +0100)]
Initial commit of litehtml_viewer
See TODO for missing functionality.
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Andrej Kacian [Fri, 8 Feb 2019 18:49:27 +0000 (19:49 +0100)]
Fix a small memory leak in rssyl_remove_msgs()
Paul [Tue, 29 Jan 2019 13:30:26 +0000 (13:30 +0000)]
put displayed headers on the right, hidden headers on the left. a layout shared by other, similar prefs windows
Andrej Kacian [Sun, 27 Jan 2019 10:45:38 +0000 (11:45 +0100)]
Fix possible stack overflow in vcalendar's Curl data handler
Allocate the VLA on heap instead.
Andrej Kacian [Sun, 27 Jan 2019 10:38:36 +0000 (11:38 +0100)]
Use hardcoded SHA digest length in pkcs5_pbkdf2.c
This makes -Wvla happy and saves us two GnuTLS API calls
with no real downside.
Andrej Kacian [Sun, 27 Jan 2019 09:50:22 +0000 (10:50 +0100)]
Make is_toplvl_domain() aware that TLDs can be longer than 6 characters
Andrej Kacian [Fri, 25 Jan 2019 22:27:18 +0000 (23:27 +0100)]
Do not define our own strcasestr() if it is available
Andrej Kacian [Sun, 20 Jan 2019 19:00:49 +0000 (20:00 +0100)]
Fix a compiler warning
Andrej Kacian [Sun, 20 Jan 2019 18:45:23 +0000 (19:45 +0100)]
Remove unneeded w32_stdio.c
Andrej Kacian [Sun, 20 Jan 2019 18:41:00 +0000 (19:41 +0100)]
Disable operations around the x_display variable on non-Unix
Andrej Kacian [Sun, 20 Jan 2019 18:33:34 +0000 (19:33 +0100)]
Use G_GSIZE_FORMAT for printing time_t values
Andrej Kacian [Sun, 20 Jan 2019 18:15:04 +0000 (19:15 +0100)]
Replace deprecated _sleep() with Sleep() in w32_unistd.c
Andrej Kacian [Sun, 20 Jan 2019 18:06:32 +0000 (19:06 +0100)]
Add a menu item to open debug log file on Windows
Andrej Kacian [Sun, 20 Jan 2019 16:32:27 +0000 (17:32 +0100)]
Only call the fd_is_w32_socket() check on Windows
This saves us one unnecessary getsockopt() call before
each socket read and write.
Andrej Kacian [Sun, 20 Jan 2019 13:45:08 +0000 (14:45 +0100)]
Fix session proxy initialization for Windows
Fixes bug #4145: proxy server for sending doesn't work
Paul [Thu, 17 Jan 2019 10:06:34 +0000 (10:06 +0000)]
save checkbox choices of display/summaries/defaults prefs
Andrej Kacian [Wed, 16 Jan 2019 17:36:55 +0000 (18:36 +0100)]
Fix crash when LDAP address source is defined in index, but LDAP support is disabled
AddressIfFrag is being cast to AddrBookBase, so it too
needs to have the two mandatory members at the beginning.
Andrej Kacian [Sat, 12 Jan 2019 11:53:04 +0000 (12:53 +0100)]
Remove an unused path variable in python plugin
The plugin has no preferences page, so this is not needed.
Andrej Kacian [Sat, 12 Jan 2019 10:35:49 +0000 (11:35 +0100)]
Improve new feed item detection algorithm in RSSyl slightly
Paul [Tue, 8 Jan 2019 07:57:25 +0000 (07:57 +0000)]
add option 'enable keyboard shortcuts'
Andrej Kacian [Mon, 7 Jan 2019 16:38:01 +0000 (17:38 +0100)]
Fix a few small memory leaks in scan_mailto_url()
Andrej Kacian [Sun, 6 Jan 2019 10:23:19 +0000 (11:23 +0100)]
Improve line breaks in compose window
Fixes bug #3070: misbehaving text wrapping when URL chars are present
Ricardo Mones [Fri, 4 Jan 2019 19:07:49 +0000 (20:07 +0100)]
Give a hint when option is unknown
Andrej Kacian [Fri, 4 Jan 2019 18:50:08 +0000 (19:50 +0100)]
Make children tracking in execute_actions() more async-aware
We need to update the children count in children->nb
after starting each child process instead of after
starting all of them, because we use that count
in wait_for_children(), which is run asynchronously
for each child.
Fixes bug #3979: Hang (with killing needed) during
action which extracts attachments
Andrej Kacian [Fri, 4 Jan 2019 18:43:31 +0000 (19:43 +0100)]
Fix an impossible to trigger buffer overflow
Gets rid of CID
1442278.
Paul [Fri, 4 Jan 2019 13:16:58 +0000 (13:16 +0000)]
fix bug 4142, 'Translation error on Russian'
Paul [Fri, 4 Jan 2019 13:11:33 +0000 (13:11 +0000)]
update copyright year
Paul [Fri, 4 Jan 2019 13:10:36 +0000 (13:10 +0000)]
fix bug 4143, 'fingerprint in SSL/TLS certificates for ... (regress error)'
patch by Andrej
Andrej Kacian [Thu, 3 Jan 2019 18:48:58 +0000 (19:48 +0100)]
Fix return type for vcal_manager_get_cutype_for_attendee()
Patch by Avinash Sonawane, bug #4037.
Andrej Kacian [Thu, 3 Jan 2019 18:23:55 +0000 (19:23 +0100)]
Fix configure for rare cases where python is not installed
wwp [Thu, 3 Jan 2019 09:36:37 +0000 (10:36 +0100)]
Fix few (possible) crashes due to missing return code checks (patch
by Zhouyang, with few modifications).
Fixes bug #3977: Fix crshes when some external APIs fail
Ricardo Mones [Wed, 2 Jan 2019 12:21:06 +0000 (13:21 +0100)]
Remove mention of unused library
Michael Rasmussen [Sun, 30 Dec 2018 16:10:17 +0000 (17:10 +0100)]
Merge branch 'master' of ssh+git://git.claws-mail.org/home/git/claws
Michael Rasmussen [Sun, 30 Dec 2018 15:54:52 +0000 (16:54 +0100)]
Fix deprecation warning
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Sun, 30 Dec 2018 15:17:51 +0000 (16:17 +0100)]
Remove mysterious chars and replace with correct tab chars
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Sun, 30 Dec 2018 15:14:06 +0000 (16:14 +0100)]
Remove mysterious chars and replace with correct tab chars
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Sun, 30 Dec 2018 15:12:03 +0000 (16:12 +0100)]
Remove mysterious chars and replace with correct tab chars
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Andrej Kacian [Sun, 30 Dec 2018 15:06:15 +0000 (16:06 +0100)]
More user-friendly dependency check for python plugin
Andrej Kacian [Sun, 30 Dec 2018 00:12:27 +0000 (01:12 +0100)]
Respect quicksearch focus when refreshing summaryview to show new messages
Fixes bug #2131: Focus stealing after mail check
Andrej Kacian [Sat, 29 Dec 2018 23:48:43 +0000 (00:48 +0100)]
Make "Edit Person Details" window not modal
Patch by Salvatore De Paolis. Fixes bug #2045.
Stephan Sachse [Sun, 26 Jul 2015 00:22:15 +0000 (02:22 +0200)]
fix nntp manually filtering with account specific rules
manually running filter on nntp folders doesn't work correctly with
account specific rules. filtering_match_condition() in filtering.c:568
always gets a NULL as ac_prefs and every check with ac_prefs fails
subsequently. later cur_account is used instead, what is imo clearly
wrong and useless.
i have patched summaryview.c:5649 summary_filter() to extract the
account data from summaryview and hand over them as new parameter to
summary_filter_func().
works for me on fedora 22 and claws-mail-3.11.1
Signed-off-by: Stephan Sachse <ste.sachse@gmail.com>
Signed-off-by: Andrej Kacian <ticho@claws-mail.org>
Stephan Sachse [Sat, 25 Jul 2015 23:34:55 +0000 (01:34 +0200)]
fix nntp filtering on incoming messages
this should fix bug #1920 and bug #2627
folder_item_scan_full() in folder.c at line 2343 applies filter only to
folder items of special type F_INBOX. but nntp folder items are of
special folder item type F_NORMAL and folder type F_NEWS. so i change
the condition for do_filter to also match nntp folders. works for me on
fedora 22 and claws-mail-3.11.1
Signed-off-by: Stephan Sachse <ste.sachse@gmail.com>
Signed-off-by: Andrej Kacian <ticho@claws-mail.org>
Andrej Kacian [Sat, 29 Dec 2018 20:14:25 +0000 (21:14 +0100)]
Fix use after free in rare code path in rssyl_subscribe()
Andrej Kacian [Sat, 29 Dec 2018 16:05:27 +0000 (17:05 +0100)]
Restore line removed by mistake in previous commit.
Andrej Kacian [Sat, 29 Dec 2018 14:51:35 +0000 (15:51 +0100)]
Fix incorrect pointer arithmetic in w32_filesel.c
This caused the lpstrFilter parameter to be set up
incorrectly, and a buffer overflow.
Andrej Kacian [Sat, 29 Dec 2018 13:26:26 +0000 (14:26 +0100)]
Do not needlessly cast time_t to long long int for debug_print()
Andrej Kacian [Sat, 29 Dec 2018 13:23:03 +0000 (14:23 +0100)]
Fix printf formats for size_t and goffset arguments.
Use G_GSIZE_FORMAT and G_GOFFSET_FORMAT macros
instead of hardcoded literal formats, because these
types can have different sizes on different platforms.
Andrej Kacian [Sat, 29 Dec 2018 13:21:19 +0000 (14:21 +0100)]
Fix pid handling in debug output of kill_children_cb()
On Windows, "pid" points to a HANDLE object, not to
an integer.
Andrej Kacian [Sat, 29 Dec 2018 13:09:42 +0000 (14:09 +0100)]
Emulate strftime's %r on Windows which does not have that
Andrej Kacian [Sat, 29 Dec 2018 13:08:46 +0000 (14:08 +0100)]
Fix missing ws2tcpip.h include for Windows
Andrej Kacian [Sat, 29 Dec 2018 13:01:56 +0000 (14:01 +0100)]
Remove an unused enum which was committed by mistake
Andrej Kacian [Sat, 29 Dec 2018 12:53:25 +0000 (13:53 +0100)]
Remove use of %hhu format in managesieve for g_strdup_printf()
Andrej Kacian [Sat, 29 Dec 2018 12:19:30 +0000 (13:19 +0100)]
Fix alertpanel API use in win32 part of mimeview.c