summaryrefslogtreecommitdiff
path: root/frontends/riscos
Commit message (Collapse)AuthorAgeFilesLines
* add miscellaneous event to browser window callback tableVincent Sanders2019-08-201-9/+48
| | | | | | | | | | | | 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.
* remove login from riscos frontendVincent Sanders2019-08-148-727/+1
|
* Support SSL verification through new about: handlerDaniel Silverstone2019-08-061-1/+0
| | | | | | | | 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>
* Reimplement handling of BAD_AUTH inside browser_windowDaniel Silverstone2019-08-061-1/+0
| | | | | | | | | | | | | 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>
* riscos: Deal with silly typos. I'm too tired now.Daniel Silverstone2019-08-053-3/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* riscos: Try and fix up all the content changesDaniel Silverstone2019-08-056-21/+22
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove RISC OS scale shadow variableVincent Sanders2019-08-042-14/+14
|
* remove unecessary scaling in RISC OS get and set scroll offsetsVincent Sanders2019-08-041-11/+13
|
* change RISC OS keypress handling for scale to not use shadow variableVincent Sanders2019-08-041-64/+99
|
* make risc os title setting not use shadow scale valueVincent Sanders2019-08-041-6/+10
|
* remove unused interfaceVincent Sanders2019-08-042-36/+0
|
* change browser_window_drop_file_at_point() to take unscaled coordinatesVincent Sanders2019-08-041-1/+1
|
* RISC OS: Fix log message.Michael Drake2019-08-041-1/+1
|
* RISC OS: Try setting the caret position to give the window focus.Michael Drake2019-08-041-1/+9
|
* Add content handlers for queriesDaniel Silverstone2019-08-041-0/+10
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* RISC OS: Set window has focus in local history open.Michael Drake2019-08-041-0/+1
|
* RISC OS: Fix ro_cw_get_window_dimensions to account for toolbar height.Michael Drake2019-08-031-0/+9
|
* RISC OS: Core window: X scroll is positive, Y scroll is negative.Michael Drake2019-08-031-3/+3
|
* Corewindow: Sanitise scrolling API.Michael Drake2019-08-031-15/+42
| | | | | | | 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.
* make use of improved browser_window_set_scale API in frontendsVincent Sanders2019-08-031-1/+1
|
* change browser_window_get_features to use unscaled coordinatesVincent Sanders2019-08-031-4/+4
|
* change browser_window_mouse_track to use unscaled coordinatesVincent Sanders2019-08-032-7/+12
|
* change browser_window_mouse_click to use unscaled coordinatesVincent Sanders2019-08-031-11/+13
| | | | | this means frontends no longer need to scale mouse click events thus simplifying their implementation.
* RISC OS: y scroll is negative.Michael Drake2019-08-031-2/+6
|
* RISC OS: Attempt to implement ro_cw_scroll_visible().Michael Drake2019-08-031-1/+18
| | | | Untested.
* riscos/local_history: Scroll to cursor on open.Daniel Silverstone2019-08-021-0/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove scaled parameter from get_dimensionsVincent Sanders2019-08-021-8/+2
|
* RISCOS: change invalidate to cope with unscaled rectanglesVincent Sanders2019-08-011-4/+4
|
* Declare global variables as extern in headersMichael Forney2019-06-305-5/+5
| | | | | | | 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.
* change content get_source_data interfaces to return uint8_t and size_tVincent Sanders2019-05-056-59/+61
| | | | | previously these interfaces returned char * and unsigned int which was undesirable.
* RISC OS: Propagate 401 login setup error back to core.Michael Drake2018-08-151-7/+10
|
* RISC OS: gui_401login_open returns nserror now.Michael Drake2018-08-152-2/+4
|
* RISC OS: Use `struct nsurl`.Michael Drake2018-08-151-1/+1
|
* RISC OS: Update to new HTTP auth API.Michael Drake2018-08-152-43/+42
|
* RISC OS: Make URL drag include the fragment.Michael Drake2018-07-231-2/+12
|
* Browser: Rename function to access bw URL.Michael Drake2018-07-231-7/+7
|
* RISC OS: Plotters: Fix typo.Michael Drake2018-05-231-1/+1
|
* Plotters: Remove width param from path plotter.Michael Drake2018-05-233-7/+5
| | | | We now use the stroke_width in the plot_style.
* Plotters: Change stroke width in the plot_style_t to fixed point.Michael Drake2018-05-232-9/+9
|
* Plotters: Add plot_style_fixed type, and use for font size.Michael Drake2018-05-231-1/+1
|
* Move !NetSurf into frontends/riscos and fix upDaniel Silverstone2018-04-2251-13/+418
|
* RISC OS: translate resource paths.John-Mark Bell2018-01-211-5/+8
| | | | Fixes #2266.
* Finalise nslog layer properly in closedownDaniel Silverstone2017-09-101-0/+3
|
* Fixup everything the semantic patch missedVincent Sanders2017-09-074-9/+15
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-0649-722/+1440
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* Content API: Make content_broadcast take pointer to content_msg_data.Michael Drake2017-08-263-10/+10
|
* rationalise the RISC OS browser window implementationVincent Sanders2017-06-118-2990/+3078
|
* cleanup use of internal frames scrollbar widget headerVincent Sanders2017-06-111-1/+6
|
* RISC OS: Ensure core windows are fully initialised.Michael Drake2017-06-114-4/+4
|
* Split local history data from viewer in headersVincent Sanders2017-06-101-4/+7
| | | | | | This separates the local history data object API from the viewing API. It also changes the api to return nsurl references instead of strings.