Vincent Sanders
8a834918e3
missed a certificate change on amiga frontend
2020-02-23 17:37:33 +00:00
Vincent Sanders
338dd004f2
fix windows and amiga frontends to cope with certificate chain changes
2020-02-23 17:25:19 +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
d1e8c84ea6
Amiga: Try removing unused minimum GIF delay option.
2020-02-21 11:45:20 +00:00
Chris Young
0154bed8d7
Add page info icon to Amiga frontend
2019-12-08 17:23:36 +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
1e9bfcda7e
remove login window from amiga frontend
2019-08-14 12:23:04 +01:00
Chris Young
ef75d670d6
Amiga: DebugPrintF is OS4-only
2019-08-10 14:51:15 +01:00
Chris Young
765c9c6654
Amiga: OS3 doesn't know FOREGROUNDPEN, so use TEXTPEN instead
2019-08-10 14:49:25 +01:00
Chris Young
bf9ccc57c8
Amiga: Implement a simple listbrowser log in the GUI
...
Can be revealed/hidden with F12 and is currently undocumented.
2019-08-10 14:29:58 +01:00
Chris Young
78199c0177
Amiga: Allow running JS from ARexx
...
Option arexx_allow_exec enables the EXEC command.
It is disabled by default and currently undocumented.
Theoretically this could be used by a form filler application.
2019-08-10 14:22:52 +01:00
Chris Young
faec17a903
Remove scale from Amiga frontend
...
Remove shadow scale variable
Redraw when scale is changed
This also fixes a long-standing bug where the window would not redraw correctly when scrolling if not at 100% scale
2019-08-10 13:22:12 +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
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
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
Michael Drake
11ecf0b671
Amiga: Fix the corewindow get scroll call.
2019-08-03 16:18:50 +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
Daniel Silverstone
a08a1a1d14
amiga/history_local: Scroll to cursor on open
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:04:58 +01:00
Vincent Sanders
3114e78ded
fix missed get dimensions call in amiga frontend
2019-08-02 12:58:50 +01:00
Vincent Sanders
552aab42e1
remove scaled parameter from get_dimensions
2019-08-02 12:26:20 +01:00
Vincent Sanders
654840e845
AMIGA: Update to remove rectangle scaling from browser window invalidate
2019-08-01 22:34:13 +01:00
Vincent Sanders
5742762070
split browser and browser_window operations
2019-08-01 19:51:19 +01:00
Vincent Sanders
f4878b4c17
Update version for next development cycle
2019-07-17 11:39:46 +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
Chris Young
24590a1145
Check callback memory is allocated before trying to use it.
2019-06-09 20:30:46 +01:00
Chris Young
93494790f3
Fix memory leak in Amiga frontend
2019-06-09 20:17:47 +01:00
Chris Young
7314651b95
NULL drawhandle after free
2019-06-09 19:29:56 +01:00
Chris Young
a5e4bf8220
Make SimpleRefresh the default.
...
This reduces memory use.
2019-05-12 16:43:01 +01:00
Chris Young
f139c4fa4d
Add a render hook to ensure the browser window is redrawn when needed
...
This fixes the occasional damaged areas in SimpleRefresh mode
2019-05-12 16:38:48 +01:00
Chris Young
336a7dc170
Mark functions as static
2019-05-10 22:11:21 +01:00
Chris Young
6ac65a3674
Hide the message port which is shared amongst all Amiga NetSurf windows
2019-05-10 21:59:03 +01:00
Chris Young
24b910f4ff
Make the window list more private
...
TODO: fix arexx.c to not need it
2019-05-10 21:49:00 +01:00
Chris Young
a5051c7128
Use new beep function
2019-05-10 21:34:22 +01:00
Chris Young
97010ecef5
Make screen pointer accesible through an accessor function only
2019-05-10 20:59:30 +01:00
Chris Young
c5a07fac76
Replace global current gui_window with an accessor function
2019-05-10 20:32:40 +01:00
Chris Young
896e531a7f
fix os3 build
2019-05-08 18:35:51 +01:00
Chris Young
944d8fc412
try storing form_control in the hook data
...
it doesn't appear to be needed anywhere else
2019-05-08 18:12:22 +01:00
Chris Young
19742c826a
Make gadget object enum private to gui.c
2019-05-08 17:51:53 +01:00
Chris Young
76618d9588
make gui_window_2 private to gui.c
2019-05-08 17:48:50 +01:00
Chris Young
df5c18315f
Pass ptr to clicktab var instead of func calls
2019-05-08 17:29:14 +01:00
Chris Young
d0df3fa4b3
more accessor for gui_window_2
2019-05-08 01:44:44 +01:00
Chris Young
1cd30fdb3c
Move ami_(re)set_pointer (back?) into gui.c as they need to set/read the gui_window_2 structure
2019-05-08 00:59:04 +01:00
Chris Young
ae36d35728
throbber crap
2019-05-08 00:56:07 +01:00