summaryrefslogtreecommitdiff
path: root/frontends/riscos/gui.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "RISC OS: use SocketWatch for socket activity"John-Mark Bell10 days1-173/+30
| | | | This reverts commit 9e4f598b7b2f6f92304f5f9e4ed359e7905b37a9.
* RISC OS: use SocketWatch for socket activityJohn-Mark Bell2024-03-141-30/+173
| | | | | | | | | | Use SocketWatch to monitor our sockets and convert activity into a pollword update. This allows us to ditch the schedule-based fetch path and take the same one as we do on other platforms. This also allows us to refactor the main poll loop such that we need only poll idle while waiting for things to happen (once something has happened, we poll aggressively until there are no non-pollword events left).
* RISC OS: Remove last vestiges of plugin supportMichael Drake2023-11-261-66/+0
|
* RISC OS: use OS CertData resource, if presentJohn-Mark Bell2022-05-271-1/+1
|
* RISC OS: initialise font subsystem after Wimp_InitialiseJohn-Mark Bell2022-05-271-8/+10
| | | | | | | | | | | If RUfl detects it is running in a Wimp task it will display a progress meter while scanning fonts. We had this behaviour until ~2017, when it became broken due to the font initialisation being moved before the call to Wimp_Initialise (because the hotlist display logic got moved to the treeview, which needs fonts set up) Move both the font and hotlist initialisation after the call to Wimp_Initialise to restore the desired behaviour.
* RISC OS: GUI: Clean up alpha sprite support test.Michael Drake2021-06-251-12/+10
|
* RISC OS: GUI: Add check for sprite alpha channel OS support.Michael Drake2021-06-251-0/+29
|
* Allow drag-and-drop loading of WebP images on RISC OSRob Kendrick2021-02-241-1/+3
|
* riscos: Enable support for present_cookiesDaniel Silverstone2020-05-231-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* add page information core window handler to RISC OSVincent Sanders2020-05-221-0/+2
|
* chore: Perform sslcert_viewer-ectomyDaniel Silverstone2020-05-221-1/+0
| | | | | | | | | | | 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>
* remove warning callback from miscelaneous function tableVincent Sanders2019-11-111-1/+0
|
* 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>
* change content get_source_data interfaces to return uint8_t and size_tVincent Sanders2019-05-051-2/+2
| | | | | previously these interfaces returned char * and unsigned int which was undesirable.
* 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-071-2/+4
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-40/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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);
* update RISC OS frontend to use core window for local historyVincent Sanders2017-05-281-3/+2
|
* RISC OS: Init core hotlist in read-only mode for external hotlist.Michael Drake2017-04-281-1/+3
| | | | | | | Note, the core hotlist is initialised in either normal or read-only modes. This is done once on application startup. Toggling the external hotlist option at runtime may cause loss of hotlist changes made during the session.
* RISC OS: Update for core hotlist API change.Michael Drake2017-04-251-1/+2
|
* RISC OS: Initialise nsfont before hotlist.Michael Drake2017-02-121-3/+3
| | | | This should allow the treeview to measure the width of label text.
* RISC OS: Update for new hotlist API.Michael Drake2016-12-291-1/+3
| | | | This allows the hotlist backend to work before the hotlist window opens.
* Merge branch 'vince/ro-corewindow'Vincent Sanders2016-12-281-15/+3
|\ | | | | | | | | Conflicts: frontends/riscos/sslcert.h
| * Update RISC OS ssl certificate viewer to core window interfaceVincent Sanders2016-12-281-3/+0
| |
| * Update RISC OS global history to use core window interfaceVincent Sanders2016-12-281-4/+1
| |
| * Update RISC OS hotlist to use core window interfaceVincent Sanders2016-12-281-4/+1
| |
| * Update RISC OS cookie window to use core window interfaceVincent Sanders2016-12-281-4/+1
| |
* | RISC OS: Free nsoptionsChris Young2016-12-111-0/+1
|/
* Treeview: Add `treeview_font_size` to options.Michael Drake2016-08-111-0/+6
| | | | Default is 11pt, and RISC OS overrides to 12pt.
* Treeview: Rationalise initialisation and finalisation.Michael Drake2016-08-101-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the expected behaviour for front ends using the correct API for hotlist, global history, cookie manager, and ssl cert viewer was that the front end would initialise the treeview module on startup and finalise it on application exit. However, this meant that the front ends had to include the core treeview header, which they didn't otherwise need. Since the tree module provided access to the new treeview utilities through the old tree API, and was used by front ends with no changes for the new treeview API, the tree layer refcounted initialisations of treeview-based widgets, and only called the underlying treeview init/fini functions when needed. This change moves that refcounting into the treeview module. Now the hotlist, global history, cookie manager, and ssl cert viewer widgets call call treeview init/fini as part of their own initialisation and finalisation. This means that front ends using the correct APIs for treeview-based widgets don't need to know anything about the underlying treeview, and the tree module compatibility layer has had its treeview refcounting removed. Finally, the treeview_init function took a font size parameter. Now it does not and lit gets font size from config. We probably want to add a new `treeview_font_size` option to nsoptions, and have differnent defaults on different platforms. 12pt on RISC OS, and 11pt elsewhere, most likely.
* URL escape: Simplify to avoid unnecessary allocation.Michael Drake2016-07-251-16/+19
| | | | | | | | This removes the toskip parameter, which was only used by the RISC OS front end. The toskip param was used to skip 8 characters which did not need to be escaped from the start of the URL. The RISC OS front end now orders the steps of its URL construction to avoid the need for this.
* URL unescape: return the new length to the caller.Michael Drake2016-07-241-2/+4
| | | | | | | | The avoids situations were we threw away the length, only for the caller to have to strlen the returned string. Note, there seems to be a case of the amiga front end writing beyond end of allocation. Added a TODO for now.
* reduce curl usage to fetcher, url unescaping and time parsingVincent Sanders2016-06-291-1/+3
|
* msplit public url database API out for frontendsVincent Sanders2016-06-131-1/+2
|
* Update content to split public and internal APIVincent Sanders2016-06-061-4/+4
|
* move desktop window header into public APIVincent Sanders2016-05-301-1/+1
|
* move netsurf header into public APIVincent Sanders2016-05-301-1/+1
|
* move fetch header into public APIVincent Sanders2016-05-301-1/+1
|
* move misc header into public APIVincent Sanders2016-05-301-1/+1
|
* move frontends into sub directoryVincent Sanders2016-05-151-0/+2522