Daniel Silverstone
dd43748676
fix: Make it OK if the chain isn't avilable during bad-ssl querying
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 09:38:51 +01:00
Chris Young
505217a8e7
Fix offset to allow tiled rendering
2020-05-22 23:26:11 +01:00
Vincent Sanders
d090f016ad
add page information core window handler to RISC OS
2020-05-22 17:34:39 +01:00
Daniel Silverstone
278ddb34b3
treeview: Do not cancel selection when mouseovering search box
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 11:31:19 +01:00
Daniel Silverstone
18c10ea706
treeview: If cancelling empty search, drop focus
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 11:30:58 +01:00
Daniel Silverstone
b28d3c2675
query/ssl: Include link to view certificate details
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 10:37:27 +01:00
Michael Drake
c2f73310d0
Squash warning: "_GNU_SOURCE" redefined.
...
The utils/config.h header handles this.
2020-05-22 10:30:05 +01:00
Daniel Silverstone
e6c666d4f4
chore: Perform sslcert_viewer-ectomy
...
This removes the sslcert_viewer entirely from the code. Where
possible I've also trimmed out of frontends any code I think
should not be present.
Frontends should check and remove any further references that I
have failed to catch.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:01:39 +01:00
Vincent Sanders
10fc242aa9
remove unesessary construction of font plot stype in selection redraw
2020-05-21 23:26:06 +01:00
Vincent Sanders
ba5025e5e8
simple reformat no code changes
2020-05-21 23:23:52 +01:00
Vincent Sanders
4cef0f955c
pass the browser window to selection click handler
...
this means the content handlers do not have to provide a separate
method to extract their browser window and it can simply be
passed in.
2020-05-20 23:17:48 +01:00
Vincent Sanders
2f67227901
cleanup selection code formatting and documentation
...
removes forward declarations
cleans up documentation comments in header
removes unecessarily exported functions
2020-05-20 22:17:16 +01:00
Michael Drake
9ef852cdab
Page info: Don't show cookies if it's not an http(s) scheme.
2020-05-20 10:45:50 +01:00
Michael Drake
b2f4f278be
Page info: Get URL scheme on creation.
2020-05-20 10:37:56 +01:00
Michael Drake
605234c3d2
Page info: Only show certificate if scheme is https.
2020-05-19 21:02:03 +01:00
Vincent Sanders
95e0a24fac
use content messages to inform frontend of text search changes
2020-05-13 14:31:39 +01:00
Vincent Sanders
68b9417a6b
consolodate the textsearch code into a single module
2020-05-12 21:29:32 +01:00
Vincent Sanders
3c7538a9f9
hoist common text search out of content handlers
2020-05-12 21:09:41 +01:00
Vincent Sanders
fbc0847db0
move ssl certificate serialisation into a url to the ssl_cert utility code
2020-05-09 22:42:12 +01:00
Daniel Silverstone
b426623258
page-info: Provide support to indicate if action did something
...
Some mouse actions perform a positive action (such as opening
the SSL certificate viewer). As such, provide an out param
which will be set to true if the action did something. This
parameter is not touched in the case of nothing happening in
case it is used in alternating logic in the caller.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-08 20:39:53 +01:00
Vincent Sanders
ab952e0634
improve content header usage
2020-05-07 20:55:44 +01:00
François Revol
ad4cdc62b8
desktop: clamp dpi in browser_set_dpi() to sensible values
...
The cocoa frontend missed a cast resulting in a huge negative dpi and
some GB allocated for thumbnails...
2020-05-05 20:14:51 +01:00
Vincent Sanders
a706c69bf4
improve html content handler private headers
2020-05-02 20:47:53 +01:00
Vincent Sanders
e8d0ba15ad
split html box processing code
...
reduce the module size of the html box handling code by
splitting into smaller sections.
No functional code change.
2020-04-29 20:37:42 +01:00
Michael Drake
562f4f765c
Local history: Convert to use nscolour.
2020-04-07 21:32:27 +01:00
Michael Drake
6a7729a04f
Scrollbar: Convert to use nscolour.
2020-04-07 21:32:27 +01:00
Michael Drake
b55cc0c222
Page info: Convert to nscolour.
2020-04-07 21:32:27 +01:00
Michael Drake
d34f9ec04d
Treeview: Convert to nscolour.
2020-04-07 21:32:27 +01:00
Michael Drake
efc8160d3c
NetSurf: Setup the nscolour module on startup.
2020-04-07 21:32:27 +01:00
Michael Drake
02400588e4
Local history: Improve look of keyboard nav cursor highlight.
2020-04-06 11:30:48 +01:00
Daniel Silverstone
9014dc7381
browser_window: Don't attempt to unref NULL lwc string
...
Fixes #2741
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 13:35:45 +00:00
Daniel Silverstone
677d757a6c
browser_window: Re-add clearing of loading_content in download
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 12:59:22 +00:00
Daniel Silverstone
efbfaa0cb1
JS: Move ownership of jsthread from browser to htmlc
...
Since it makes more sense for the htmlc to be responsible for
when the JS thread gets destroyed, move its lifetime from the
responsibility of the browser window to the html content.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 10:00:29 +00:00
Daniel Silverstone
66a23c2560
Browser: Split JS threads between current and loading
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-21 19:35:15 +00:00
Daniel Silverstone
17b28e85c1
JS: Split concept of JS context into heap and thread
...
In preparation for proper splitting of Javascript support into
heaps and threads, this renames the types and corrects the no-js
builds to still work. At this time no substantive change in
semantics exists, and the duktape build won't work.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-21 18:30:41 +00:00
Daniel Silverstone
313dc9b099
JS: Remove unused slow script callback
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-21 18:07:50 +00:00
Michael Drake
82e74efeab
Browser window: Clean up cert chains when bw is destroyed.
2020-03-12 17:35:28 +00:00
Michael Drake
82805f72e6
Browser window: Rework constification of bw for show_certificates.
2020-02-24 19:18:20 +00:00
Michael Drake
c8efbbc206
Page info: We need a non-const browser window.
...
Due to where we pass it back out to browser window.
2020-02-24 19:17:27 +00:00
Vincent Sanders
1a25234f20
implement browser_window_show_certificates
2020-02-24 18:56:15 +00:00
Daniel Silverstone
40cb70b845
netsurf_init: Use disc_cache_path if specified, otherwise platform path
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 15:37:11 +00:00
Daniel Silverstone
a8ffa12cdf
options: Add disc_cache_path option
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 15:37:11 +00:00
Daniel Silverstone
50ff8433da
browser_window: Use messages for unknown errors
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 09:47:23 +00:00
Michael Drake
21bbda23fa
Browser window: Set the search string on show cookies.
...
We still need to tell the front end to open the cookies
window.
2020-02-24 08:55:26 +00:00
Michael Drake
214f436b07
Cookie manager: Add API to set the search string.
2020-02-24 08:49:50 +00:00
Michael Drake
34e61df8eb
Treeview: Add API for setting the search string.
2020-02-24 08:44:52 +00:00
Daniel Silverstone
f3a0e9f0a1
browser_window: Various little SSL fixes
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 22:32:58 +00:00
Michael Drake
494db4cd51
Page info: Fix typo.
2020-02-23 21:04:38 +00:00
Michael Drake
be659af7e5
Page info: Avoid anonymous union for AmigaOS3 and OpenBSD.
2020-02-23 20:23:00 +00:00
Michael Drake
66c069816a
NetSurf: Init/fini the page-info module on browser startup/quit.
2020-02-23 17:38:14 +00:00