Commit graph

102 commits

Author SHA1 Message Date
Andrej Kacian
7b996f775c Fix a crash in Fancy plugin if one of the MIME parts has no Content-ID 2019-08-08 19:33:47 +02:00
wwp
65af7e84ab Make Fancy plugin's download-link feature following redirections. 2019-05-04 16:41:06 +02:00
wwp
d8761d2da6 Stop proceeding if file-save-as has been cancelled. 2019-05-04 16:40:53 +02:00
Andrej Kacian
9da4fcef8f Fix a typo in one of Fancy's context menu items 2019-05-04 16:38:50 +02:00
Andrej Kacian
08e300bb44 Correct the size of Fancy toolbar icons to match the GTK2 version 2019-03-24 10:48:53 +01:00
Andrej Kacian
831126c3a1 Fix the "prefs menu" pop up in Fancy viewer 2019-01-23 18:00:08 +01:00
Andrej Kacian
18880e604d Get rid of obsolete load signals from webkitgtk1
Use "load-changed" signal instead of obsolete
"load-started" and "load-finished" signals.
2019-01-16 20:34:40 +01:00
iwkse
37dbbd0c50 Use ellipsis for overflow text 2019-01-15 01:17:01 +01:00
Andrej Kacian
24f951207b Fix Fancy's link URL display in statusbar when hovering over a link 2019-01-14 23:34:27 +01:00
iwkse
7db9a87156 Fix context-menu crash, thanks to Ticho 2019-01-14 16:43:44 +01:00
iwkse
2bba4ee136 Fix plugin type, thanks to Ticho 2019-01-10 22:53:15 +01:00
iwkse
3c65d2af1b Save zoom_level as integer 2019-01-09 00:22:29 +01:00
iwkse
80fa9a93a2 Fix zoom level button action 2019-01-08 23:58:41 +01:00
iwkse
455fad8472 Change stock images 2019-01-08 23:27:43 +01:00
iwkse
92b48e4784 WebKit2 GTK3 basic migration 2019-01-08 20:41:18 +01:00
Michael Rasmussen
1cfd4d104d Fix a memory leak
Signed-off-by: Michael Rasmussen <mir@datanom.net>
2019-01-08 20:40:58 +01:00
Michael Rasmussen
5a29ec1740 Migrate fancy to GTK3 and fix fancy_print
Signed-off-by: Michael Rasmussen <mir@datanom.net>
2019-01-08 20:40:45 +01:00
Andrej Kacian
4000e9bc70 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.
2019-01-03 01:06:17 +01:00
Colin Leroy
9193045b29 Fancy: fix left-click on links not opening in browser. 2018-10-16 19:13:19 +02:00
Colin Leroy
429ab1b06c Fix performance loss on certain file I/O that doesn't need
to be safe
2018-10-16 19:11:35 +02:00
Colin Leroy
b7e7385fa2 Rename claws_io to file-utils, and move file-related functions
from utils.c to file-utils.c
2018-10-16 19:02:31 +02:00
Colin Leroy
0cfddd54ce Wrap file I/O to claws_* to benefit from custom locking when
available. Gains about 33% on I/O bound tasks.
2018-10-16 19:01:44 +02:00
Colin Leroy
dc7dfb44b1 Fix build 2018-10-16 18:59:31 +02:00
Colin Leroy
d8b3d1705d Implement safe_fclose() so we can respect the "Metadata handling"
preference for every data file we write into.
2018-10-16 18:45:37 +02:00
Andrej Kacian
08a211524a Remove Webkit version check ifdefs, since we depend on a new enough version. 2018-10-04 19:33:09 +02:00
Andrej Kacian
61f57a6312 Restore the hovering-over-link callback in Fancy viewer.
We still need it to display the hovered-over link in statusbar.
2018-09-14 11:29:10 +02:00
Andrej Kacian
97692c16db Fix links not being opened in browser when Fancy menu is opened with a keyboard. 2018-09-14 11:28:27 +02:00
Andrej Kacian
e03ba6bc4c Added unit test framework, and some initial unit tests. 2018-09-14 11:28:01 +02:00
Andrej Kacian
4c3ca98d30 Fix various plugins including generated .h files when building outside of source dir. 2018-08-25 11:35:48 +02:00
wwp
3d4be15e38 Fix missing initializers, taking for reference GLib 2.28 (with support
for up to 2.56) and Python 2.4 (with support for up to 3.6).
2018-05-26 15:14:44 +02:00
Ricardo Mones
d7fef89664 Replace deprecated gtk_misc_set_alignment() in plugins 2018-02-26 10:09:54 +01:00
Andrej Kacian
2d87b2b1e4 Cast to GSourceFunc instead of deprecated GtkFunction when using g_timeout_add().
Also correct return type of fancy_show_mimepart_prepare()
callback function.
2018-02-09 22:49:46 +01:00
Andrej Kacian
23d736d384 Fix few forgotten GDK_ to GDK_KEY_ renames in plugins. 2018-02-09 21:35:08 +01:00
Andrej Kacian
09301b6e73 Do not put enchant's CFLAGS into main CFLAGS make variable.
Handle its CFLAGS just like all other libraries'.
2018-02-09 20:21:41 +01:00
Ralph Sennhauser
59309a6501 Drop ifdefs for old gtk+2
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2018-02-06 20:27:53 +01:00
Andrej Kacian
32ba3f7ea0 Copyright year update in plugins' version.rc files. 2017-12-09 17:05:59 +01:00
Andrej Kacian
d7d8b54818 Updated Fancy's claws.def for the Windows build 2017-10-28 09:33:15 +02:00
Andrej Kacian
e34bf0a47a Use subst_char() in fancy_set_defaults(). 2017-10-25 20:11:50 +02:00
Andrej Kacian
126ff4dcbc Made Fancy's custom stylesheet pref work on Windows 2017-10-22 17:27:08 +02:00
Andrej Kacian
d2578f7adc Fancy: Escape the custom stylesheet path for use in URI.
This allows for file/folder names with e.g. space in them.
2017-10-22 12:39:01 +02:00
Colin Leroy
7b573007cd Merge branch 'master' of ssh://git.claws-mail.org/home/git/claws 2017-06-18 21:46:58 +02:00
Colin Leroy
f075b5064e Fix Toggling of preferences leaving empty view
Webkit can't apparently reload when it loaded a string.
2017-06-18 21:46:08 +02:00
Andrej Kacian
88b0ebeb76 Fix building for Windows after commit b320c5095. 2017-06-05 11:40:52 +02:00
Colin Leroy
b320c5095c Fix Fancy showing a previous email in some cases.
The problem seemed to be due to something returning
"application/x-extension-html" instead of "text/html"
as MIME types for some emails, stopping rendering.
Using _load_string instead of _load_uri fixes it.
Also, remove some outdated conditionals now we require
Webkit 1.1.14, and replace some deprecated callbacks
with the more recent ones.
2017-06-03 21:57:08 +02:00
Ricardo Mones
c6663d2c41 Initialize variable (CID 1405467) 2017-04-28 00:31:17 +02:00
Andrej Kacian
0a83c86dca A fix for a fix in ea866a633. 2017-04-24 07:42:27 +02:00
Andrej Kacian
ea866a6331 Fix build for webkitgtk versions between 1.5.1 and 1.9.3. 2017-04-23 20:16:58 +02:00
Andrej Kacian
1f15cacbbd Fix building against older webkitgtk versions. 2017-04-22 13:04:57 +02:00
Andrej Kacian
ab84747295 Fancy: simplify open-or-not decision to x,y matching or not
Fixes bug #3814:  end of mouse drag or text selection erroneously
activates links
2017-04-22 01:15:30 +02:00
Andrej Kacian
fd6bb2ab3c Fancy: correctly handle when text selection event ends on a link
Fixes bug #3813 - "mouse up" activates link even if "mouse down"
occurred outside the link / cannot copy link text

...with a small caveat where this is not implemented for
webkitgtk version  earlier than 1.5.1, because I couldn't find
relevant old enough API documentation.
2017-04-22 01:04:10 +02:00