Daniel Silverstone
1cf1ec55bc
Support SSL verification through new about: handler
...
In doing this, also propagate why the certificates were bad
so that the page can display a reason. We will need FatMessages
for all these.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-06 13:15:23 +01:00
Daniel Silverstone
75349e79d8
browser_window: Improve history behaviour on internal nav
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-06 11:40:59 +01:00
Daniel Silverstone
8469f4cc8e
Reimplement handling of BAD_AUTH inside browser_window
...
We now handle authentication requests via an `about:` page
which presents a nice form built into the browser window.
In order to do this, we add internal navigation as a concept
to the browser window and we strip the 401login support from all
frontends except monkey.
The 401login callback is now intended for password safe type support
rather than an immediately interactive prompt.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-06 11:26:47 +01:00
Vincent Sanders
9c9c26a308
futher refinement on about scheme query styling
2019-08-06 10:51:31 +01:00
Vincent Sanders
6a1c64ff7b
improve css formatting in about scheme query handlers
2019-08-06 10:07:35 +01:00
Vincent Sanders
ea549da8df
fix url reference counting in about scheme query handlers
2019-08-06 10:07:35 +01:00
Michael Drake
5e45c4498c
HTML: Don't allow objects to redraw until we have a layout.
2019-08-06 09:42:37 +01:00
Vincent Sanders
c238325b12
add about scheme query handlers
2019-08-06 08:45:56 +01:00
Vincent Sanders
a888922612
Improve about scheme doc comments and formatting
2019-08-05 22:29:14 +01:00
Daniel Silverstone
5775e39411
amiga: Fix more content error snafus.
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 22:19:58 +01:00
Daniel Silverstone
49a82109ce
riscos: Deal with silly typos. I'm too tired now.
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 22:18:50 +01:00
Daniel Silverstone
040d558d39
amiga: Try and catch the last content rework for amiga
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 22:16:00 +01:00
Daniel Silverstone
865844ede7
riscos: Try and fix up all the content changes
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 22:13:24 +01:00
Daniel Silverstone
ddfa76b1fc
curl.c: Don't use OpenSSL 1.1 only serialNumber fetcher
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 22:03:42 +01:00
Michael Drake
03c6ae3812
Browser window navigate: Ensure child.quirks is initialised.
2019-08-05 21:44:51 +01:00
Daniel Silverstone
f3ac1fad69
nssprite: content_broadcast_error fix
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 21:33:46 +01:00
Daniel Silverstone
9318ee5d6a
html_begin_conversion: If we pause in completing parse, try again later.
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 21:29:18 +01:00
Daniel Silverstone
99984dfc57
browser_window: Stop the throbber right at the end of handling errors
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 21:29:18 +01:00
Michael Drake
be23d522db
HTML: Box coordinates: Take fast route to float container.
...
And assert that floats have a float_container.
2019-08-05 21:15:28 +01:00
Daniel Silverstone
170dc5d524
Excise the llcache query pathway.
...
In further preparation for the auth and cert queries being handled
as special contents from `about:` this excises the query pathway
from the llcache pretty much entirely.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 20:56:07 +01:00
Daniel Silverstone
bfb1bb1192
Migrate SSL certificate storage to the browser window
...
* Fetchers now provide the certificates before headers
* This is propagated all the way to the browser window
* When a query occurs, we retrieve it from there and fire
the query with those stored certificates.
* The serial number is a bignum, store it as hex.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 18:12:47 +01:00
Daniel Silverstone
bccf101714
browser_window: Add fetch parameters and split navigate
...
In order to support future reload/strange navigations, split
the navigate function into two and add a stored parameters
structure which can be used to regenerate any fetch.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 15:44:55 +01:00
Daniel Silverstone
2be3ebd918
content: Rename content_broadcast_errorcode()
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 15:25:15 +01:00
Daniel Silverstone
6ba199c7d7
Content messages: Remove ERRORCODE, rework ERROR
...
This reworks CONTENT_MSG_ERROR to be structured data and
removes the CONTENT_MSG_ERRORCODE message kind.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 14:30:30 +01:00
Vincent Sanders
2171f13ab3
enable gnu extensions to get strcasestr from string.h
2019-08-05 10:01:13 +01:00
Vincent Sanders
936cb3ce0c
remove shadow scale variable from beos
2019-08-05 09:36:25 +01:00
Vincent Sanders
243659763b
remove shadow scale variable from atari
2019-08-05 09:36:17 +01:00
Daniel Silverstone
b15b204f49
form: Fix situation where a gadget initialises with NULL value
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-04 22:12:10 +01:00
Daniel Silverstone
05c6ee02d9
html: Mirror gadget values in and out of the DOM
...
Currently only supporting text input, password input, and hidden
input, along with text areas, this mirrors the text values in
and out of the DOM, allowing JS to adjust the gadget values and
for the gadget values to be interrogated from JS.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-04 22:07:42 +01:00
Vincent Sanders
e78dc4f5a9
remove RISC OS scale shadow variable
2019-08-04 21:55:09 +01:00
Vincent Sanders
bf0e6be9ca
remove unecessary scaling in RISC OS get and set scroll offsets
2019-08-04 21:46:18 +01:00
Vincent Sanders
0aae3c370b
change RISC OS keypress handling for scale to not use shadow variable
2019-08-04 16:49:01 +01:00
Vincent Sanders
077237a4df
remove core snapping for values set in absolute mode
2019-08-04 16:47:23 +01:00
Vincent Sanders
13276f5654
make risc os title setting not use shadow scale value
2019-08-04 15:17:40 +01:00
Vincent Sanders
98f8eaeb31
remove unused interface
2019-08-04 15:01:30 +01:00
Vincent Sanders
3be2b98cc2
change browser_window_drop_file_at_point() to take unscaled coordinates
2019-08-04 14:24:33 +01:00
Michael Drake
c88a55999a
RISC OS: Fix log message.
2019-08-04 14:12:31 +01:00
Michael Drake
1651dc2fb1
RISC OS: Try setting the caret position to give the window focus.
2019-08-04 14:11:01 +01:00
Vincent Sanders
f21c41a2e5
change browser_window_redraw to use unscaled coordinates
2019-08-04 11:25:35 +01:00
Vincent Sanders
b2f5c80ef8
trivial documentation cleanups
2019-08-04 11:25:35 +01:00
Daniel Silverstone
1905200154
Add content handlers for queries
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-04 11:22:40 +01:00
Daniel Silverstone
3bd7a2ddd6
desktop: Expose llcache query handler temporarily
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-04 11:22:40 +01:00
Daniel Silverstone
6b4610edc9
llcache: Do not delete objects if they were iterator targets
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-04 11:22:40 +01:00
Daniel Silverstone
b48e462f0f
content, hlcache: Propagate query events upward
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-04 11:22:40 +01:00
Daniel Silverstone
f59a726f68
llcache.h: Migrate query event to own struct type
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-04 11:22:40 +01:00
Daniel Silverstone
386d803371
llcache: pass the cb_pw in query_finished
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-04 11:22:40 +01:00
Michael Drake
90fe920e07
Duktape element binding: Check dom_string_create for error.
2019-08-04 11:11:35 +01:00
Michael Drake
a0fbf56a1d
CSS hints: Change css_hint_advance to advance pointer by parameter.
2019-08-04 11:10:26 +01:00
Michael Drake
6d81f87c73
RISC OS: Set window has focus in local history open.
2019-08-04 10:18:07 +01:00
Vincent Sanders
337c2ed7b1
remove unused gtk window interfaces and clean up documentation
2019-08-04 09:47:58 +01:00