Commit Graph

12340 Commits

Author SHA1 Message Date
Vincent Sanders
b939afe3fc Allow certificate verification user prompt creation to return errors 2016-07-31 13:25:20 +01:00
Vincent Sanders
51725592c9 make gtk cookies manager use core window API 2016-07-31 13:25:20 +01:00
Vincent Sanders
ca5b165c85 add nsgtk support for core window API 2016-07-31 13:25:20 +01:00
Vincent Sanders
ea84f67035 fix gdk to nskey mapping for home/end and missing keypad mappings 2016-07-31 13:25:20 +01:00
Vincent Sanders
0f5d7cfcd2 Fix cookie manager keypress consumption return 2016-07-31 13:25:20 +01:00
Vincent Sanders
8dbb61d2f5 fix documentation of mouse state enumeration 2016-07-31 13:25:20 +01:00
Chris Young
3303c005ee Remove pointless string copy 2016-07-29 18:02:56 +01:00
Vincent Sanders
2d41d6c933 cleanup gtk cookie interface
use gtk_window_present instead of gdk_window_raise and reduce exposed
variables and interfaces.
2016-07-25 21:59:17 +01:00
Michael Drake
0c7649d030 URL escape: Improve API documentation. 2016-07-25 09:04:35 +01:00
Michael Drake
a122b94efd URL escape: Simplify to avoid unnecessary allocation.
This removes the toskip parameter, which was only used by the RISC OS
front end.  The toskip param was used to skip 8 characters which did
not need to be escaped from the start of the URL.  The RISC OS front
end now orders the steps of its URL construction to avoid the need
for this.
2016-07-25 09:04:35 +01:00
Chris Young
7bff70e746 Fix TODO (writing past end of buffer) 2016-07-24 22:38:46 +01:00
Michael Drake
7417a21bb1 Improve comments. 2016-07-24 19:48:03 +01:00
Michael Drake
e88d82f87f URL module: Remove unused curl #include. 2016-07-24 14:16:12 +01:00
Michael Drake
b4e21b76fd URL unescape: Calculate new_len at end, rather than maintaining it. 2016-07-24 14:03:28 +01:00
Michael Drake
fa2e3b7784 URL unescape: return the new length to the caller.
The avoids situations were we threw away the length, only for
the caller to have to strlen the returned string.

Note, there seems to be a case of the amiga front end writing
beyond end of allocation.  Added a TODO for now.
2016-07-24 14:03:16 +01:00
Michael Drake
cf753f20cc Avoid using curl for URL unescaping.
This moves us towards working without curl.
2016-07-24 13:29:01 +01:00
Michael Drake
a543206075 URL unescape: Use size_t for length. 2016-07-24 12:33:51 +01:00
Michael Drake
7202ff2f64 Data URL handling: Use url_unescape rather than curl. 2016-07-24 12:23:42 +01:00
Michael Drake
90a260a2cc Doxygen: Fix instance of bad function comment syntax. 2016-07-24 12:21:23 +01:00
Michael Drake
f9870c41f5 Whitespace: Convert spaces to tab for indent. 2016-07-24 12:07:31 +01:00
François Revol
83f95fe05e Explicitely support http and https URI schemes in the .desktop 2016-07-22 11:50:07 +01:00
Vincent Sanders
9ee6e90de5 add header for memcpy prototype 2016-07-15 14:40:40 +01:00
Vincent Sanders
d03f0ee04e use the correct png type when reading header width and height 2016-07-15 14:37:54 +01:00
Vincent Sanders
78d45e9b82 fix gtk TLS certificate viewing with multiple queries 2016-07-12 00:29:58 +01:00
Chris Young
6239b32d92 Make browserglob private to gui.c 2016-07-09 23:55:16 +01:00
Chris Young
36a2a77a8e tidy-up 2016-07-09 23:43:17 +01:00
Chris Young
d0a1ee7ac0 Only set JSIMD_FORCENONE if it is not already set 2016-07-09 23:17:09 +01:00
Chris Young
794f12e4b5 Add missing files 2016-07-09 14:35:39 +01:00
Chris Young
bb87d63f02 Force disable libjpeg-turbo's use of AltiVec if we don't have it
NB: This var must be set when NetSurf is launched.  The in-program setting is just a precaution in case the install script isn't run
2016-07-09 14:32:43 +01:00
Chris Young
7fe13d5afa Set envvar to the correct value 2016-07-09 13:17:43 +01:00
Chris Young
6a9a8d6127 Move current user options path to an abstracted nsoptions_read/write function 2016-07-09 01:07:18 +01:00
Chris Young
df8aeb4a88 Remove unused variable; help gcc 2016-07-09 00:44:35 +01:00
Chris Young
c9daec5567 Set an env-var if we don't have AltiVec
This, in theory, allows us to use libjpeg-turbo 1.5+ on both AltiVec and non-AltiVec systems.
2016-07-09 00:29:45 +01:00
Chris Young
39dcd22b05 Fix logic in the rare case we're running 8-bit and have a cached full-size native BitMap but need a scaled one. 2016-07-08 23:53:01 +01:00
Chris Young
d39f98065a Fix the caching logic now we've moved 8-bit scaling earlier in the code 2016-07-08 23:43:41 +01:00
Chris Young
ddcc914a3f Use GuiGFX to scale 8-bit images rather than doing two separate operations 2016-07-08 19:57:42 +01:00
Chris Young
dc633bc154 Force friend BitMap usage at depths>8bpp
Fix logic so this forced usage actually applies
2016-07-08 19:21:53 +01:00
Chris Young
7969745217 restrict some more vars 2016-07-08 19:17:42 +01:00
Chris Young
59b29930d7 Fix the signalling to the old session of NetSurf from the newly-launched one.
No idea how this ever worked previously, as it was sending commands to the ARexx server instead of NetSurf.
2016-07-03 22:08:29 +01:00
Chris Young
eb9571ede7 Help gcc opt 2016-07-03 19:39:08 +01:00
Chris Young
bada456d49 Fix specifying URLs on command line 2016-07-03 19:10:57 +01:00
Chris Young
ea00b37874 Attempt to help gcc out a little 2016-07-03 18:48:46 +01:00
Chris Young
61979923c1 Use functions for determining throbber bitmap size 2016-07-03 17:23:24 +01:00
Chris Young
ea9932dd00 Handle closing windows and quitting from the menu differently 2016-07-03 17:09:11 +01:00
Chris Young
65bf58e4a1 Remove ami_menu_toggle_checked global 2016-07-03 16:55:00 +01:00
Chris Young
313c48b8a1 Ensure we aren't using a NULL native BitMap anywhere 2016-07-02 14:56:04 +01:00
Chris Young
6c8225d3ab Don't abort on startup if GuiGFX is not available
Most OS4 users won't need it, everybody else might like the opportunity of using NetSurf to download it :)
2016-07-02 14:49:18 +01:00
Chris Young
65175b4362 Make Amiga SearchEngines file out of the global one plus our own additions 2016-07-01 17:37:09 +01:00
Vincent Sanders
8066d1c8b4 move key press enums and operations to their own header 2016-07-01 14:27:04 +01:00
Vincent Sanders
0758af6631 remove unecessary core window header usage 2016-06-30 19:50:14 +01:00