summaryrefslogtreecommitdiff
path: root/frontends/riscos/gui.c
Commit message (Collapse)AuthorAgeFilesLines
* 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