Commit Graph

753 Commits

Author SHA1 Message Date
Vincent Sanders
dd767acfee make toolbar url entry display url 2019-09-21 10:53:41 +01:00
Vincent Sanders
02c75d0790 working throbber 2019-09-21 10:53:41 +01:00
Vincent Sanders
89fb88f6de move toolbar to be in tab contents 2019-09-21 10:53:41 +01:00
Vincent Sanders
65d169da10 get the code to at least compile again. toolbar is completely broken 2019-09-21 10:53:41 +01:00
Vincent Sanders
1fc51d1f44 moved most of init to toolbar.c 2019-09-21 10:53:41 +01:00
Daniel Silverstone
8b0aec4bac Monkey: Clean up various leaked blocks
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-07 15:24:37 +01:00
Vincent Sanders
6bce06b91f fix spelling mistakes from miscellaneous event commit 2019-08-20 16:38:51 +01: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
c0e27bd0da access gtk throbber frames through an interface
This changes the gtk throbber frames to be accessed through an API
  This removes teh nsgtk_throbber global and hides the implementation
  details from the rest of the code.
2019-08-18 14:41:31 +01:00
Vincent Sanders
01f3879b64 Move favicon from url entry widget to notebook tab label 2019-08-15 23:02:04 +01:00
Vincent Sanders
22ae220bf6 fix atari removal of login window 2019-08-14 12:43:15 +01:00
Vincent Sanders
4094232e3d
remove login window from atari frontend 2019-08-14 12:31:59 +01:00
Vincent Sanders
1e9bfcda7e
remove login window from amiga frontend 2019-08-14 12:23:04 +01:00
Vincent Sanders
7f6222babe
remove login from riscos frontend 2019-08-14 12:18:39 +01:00
Vincent Sanders
ccd81015a1
remove login window from windows frontend 2019-08-14 12:09:04 +01:00
Vincent Sanders
6a1dbd377b
remove login window from gtk front end 2019-08-13 12:09:21 +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
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
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
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
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
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
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
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