Vincent Sanders
9ae8023d53
add url bar click actions for page info icon
2020-05-22 17:32:30 +01:00
Vincent Sanders
19232ef3ed
reformat riscos url bar gui module. no code changes
2020-05-22 17:32:30 +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
ab952e0634
improve content header usage
2020-05-07 20:55:44 +01:00
Vincent Sanders
529b94be73
fixup riscos image configuration dialog gadget id
...
when minimum GIF delay was removed in
38c632a7da
the
remaining gadget identifier numbers were not updated.
Fixes #2745
2020-04-14 22:03:24 +01:00
Vincent Sanders
84f0c760e6
use form of window create which returns an error instead of aborting
2020-04-14 21:08:51 +01:00
Michael Drake
79821cd9cf
Frontends: Delete maps resource links.
2020-02-24 15:02:12 +00:00
Vincent Sanders
7039973a1f
fix frontends to cope with certificate chain update
2020-02-23 17:19:45 +00:00
Michael Drake
194dfad4a5
Core window: Constify the core_window handle through the getters.
2020-02-22 16:37:37 +00:00
Michael Drake
38c632a7da
RISC OS: Remove unused minimum gif delay from Choices.
...
The templates might need work to remove empty space.
2020-02-21 11:45:20 +00:00
John-Mark Bell
fb4f1d28ba
fix parent pointer use after free in RISC OS dialog handling
2019-12-22 11:13:12 +00:00
Vincent Sanders
bacd8d229c
make RISC OS specific window_screen_ options limited to that frontend
2019-12-20 12:59:28 +00:00
Vincent Sanders
c95adedc06
add page info display to RiscOS frontend
2019-12-07 21:24:34 +00:00
Vincent Sanders
9dd701357e
Update the default theme with page infor icons
2019-12-07 21:23:43 +00:00
Vincent Sanders
dae0ff3d26
remove warning callback from miscelaneous function table
2019-11-11 16:59:28 +00:00
Vincent Sanders
4dc4d8b318
add miscellaneous event to browser window callback table
...
extend the browser window callback table with a miscallaneous event
entry. This is used to replace all browser window callbacks which
take no parameters.
This reduces the API surface from seven separate calls to a single
call with an enumeration which may be readily extended.
The initial implementation in the frontends simply calls the original
implementations to reduce scope for errors.
2019-08-20 00:16:52 +01:00
Vincent Sanders
7f6222babe
remove login from riscos frontend
2019-08-14 12:18:39 +01:00
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
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
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
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
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
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
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
Michael Drake
6d81f87c73
RISC OS: Set window has focus in local history open.
2019-08-04 10:18:07 +01:00
Michael Drake
a1951f4c49
RISC OS: Fix ro_cw_get_window_dimensions to account for toolbar height.
2019-08-03 16:57:28 +01:00
Michael Drake
01485d06ba
RISC OS: Core window: X scroll is positive, Y scroll is negative.
2019-08-03 16:40:05 +01:00
Michael Drake
3938d5340b
Corewindow: Sanitise scrolling API.
...
Now the core has a helper so that all the front ends don't need
to implement the scroll to show area API.
Now they simply have get and set scroll APIs.
2019-08-03 15:57:23 +01:00
Vincent Sanders
641f5fb072
make use of improved browser_window_set_scale API in frontends
2019-08-03 15:53:07 +01:00
Vincent Sanders
d4c01894c2
change browser_window_get_features to use unscaled coordinates
2019-08-03 14:29:06 +01:00
Vincent Sanders
0ebfff259f
change browser_window_mouse_track to use unscaled coordinates
2019-08-03 14:29:05 +01:00
Vincent Sanders
0a8ed41a1a
change browser_window_mouse_click to use unscaled coordinates
...
this means frontends no longer need to scale mouse click events thus
simplifying their implementation.
2019-08-03 14:29:05 +01:00
Michael Drake
54daff0e97
RISC OS: y scroll is negative.
2019-08-03 14:04:36 +01:00
Michael Drake
f984873799
RISC OS: Attempt to implement ro_cw_scroll_visible().
...
Untested.
2019-08-03 13:50:37 +01:00
Daniel Silverstone
f98de0d347
riscos/local_history: Scroll to cursor on open.
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:03:37 +01:00
Vincent Sanders
552aab42e1
remove scaled parameter from get_dimensions
2019-08-02 12:26:20 +01:00
Vincent Sanders
955cf5f97b
RISCOS: change invalidate to cope with unscaled rectangles
2019-08-01 22:34:13 +01:00
Michael Forney
6a53b447e5
Declare global variables as extern in headers
...
Otherwise, each source file that includes the header will create a
new definition, which are usually merged together by the linker.
Multiple definitions of an object is not allowed in ISO C.
2019-06-30 09:52:06 +01:00
Vincent Sanders
35bc2ccbb8
change content get_source_data interfaces to return uint8_t and size_t
...
previously these interfaces returned char * and unsigned int which was
undesirable.
2019-05-05 22:50:25 +01:00
Michael Drake
10033267a2
RISC OS: Propagate 401 login setup error back to core.
2018-08-15 08:43:08 +01:00
Michael Drake
cd0309fa83
RISC OS: gui_401login_open returns nserror now.
2018-08-15 08:40:39 +01:00
Michael Drake
297236ae0c
RISC OS: Use struct nsurl
.
2018-08-15 07:57:36 +01:00
Michael Drake
c55a31aa11
RISC OS: Update to new HTTP auth API.
2018-08-15 07:29:58 +01:00
Michael Drake
57a6328b14
RISC OS: Make URL drag include the fragment.
2018-07-23 11:41:12 +01:00