Daniel Silverstone
6848cc890a
browser_window: Check for bw==NULL before dereferencing it
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 14:23:43 +01:00
Vincent Sanders
ebe1b05114
improve desktop text search header usage
...
remove unecessary inclusion of desktop search header in content
header which has knock on effect of not having ctype or string
system headers dragged in unecessarily.
Futher this highlighted use of ctype API where internal ascii
processing ought to be used.
2020-06-24 23:49:59 +01:00
Vincent Sanders
85dea6eed3
remove unecessary headers from browser window
2020-05-25 23:52:39 +01:00
Vincent Sanders
b182cc7617
remove box handling from browser window
2020-05-25 20:37:06 +01:00
Vincent Sanders
860fbc2f8c
make browser_window_update internal to browser window as intended
2020-05-25 13:45:54 +01:00
Vincent Sanders
5c02f9bd97
rename browser window internal redraw request function
...
remove confusing reference to boxes
2020-05-25 11:28:35 +01:00
Vincent Sanders
9993c37d5b
Update version for next development cycle
2020-05-24 21:58:37 +01:00
Vincent Sanders
121c41a730
remove unused text selection interface
2020-05-23 23:40:29 +01:00
Vincent Sanders
5ce8f0baf1
make text selection context an opaque interface
2020-05-23 23:33:52 +01:00
Vincent Sanders
6108d210d5
remove all direct access to selection structure
2020-05-23 23:00:08 +01:00
Vincent Sanders
2ea577c47e
remove unused is_html parameter to text selection routines
2020-05-23 23:00:08 +01:00
Vincent Sanders
a8c540ea59
move content specific selection end to content handlers
2020-05-23 23:00:08 +01:00
Vincent Sanders
cfe57002fe
remove unused css length usage in selection
2020-05-23 23:00:08 +01:00
Vincent Sanders
e65e41e2d6
move content handler specific selection copying into handlers
2020-05-23 23:00:08 +01:00
Vincent Sanders
36b9262e14
split selection redraw into content handler specific implementations
2020-05-23 23:00:08 +01:00
Michael Drake
0432d95561
Browser window: Handle counting cookies when URLdb gives use none.
2020-05-23 22:28:00 +01:00
Michael Drake
6a1511ce99
Treeview: Redraw full text on treeview search text sets.
2020-05-23 21:58:56 +01:00
Michael Drake
3e90cdf689
Treeview: Use text input colour style for search bar.
2020-05-23 21:33:42 +01:00
Daniel Silverstone
26df6ab7dd
misc: Add a present_cookies to guit->misc and use it
...
In order that we present the cookies window usefully, change
browser_window to request presentation of the cookies window
via a gui misc callback.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:46 +01:00
Michael Drake
cafb428a49
Treeview: Folder expansions/contrations don't affect search height.
2020-05-23 21:10:01 +01:00
Daniel Silverstone
7d8ed91a7c
browser_window: Implement cookie counter
...
This is a fairly inefficient approach to counting the cookies
in use by a page, but it'll do for now.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 20:34:04 +01:00
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