summaryrefslogtreecommitdiff
path: root/desktop/gui_factory.c
Commit message (Collapse)AuthorAgeFilesLines
* Socket: more fixes for win32/aos3John-Mark Bell2024-03-141-2/+12
| | | | | | | These special snowflakes have specialised socket close APIs, so ensure that we use the correct one. Additionally, there's no guarantee that their socket() API signature matches the POSIX definition, so wrap it up and cast the result.
* Socket: fix win32/aos3 buildJohn-Mark Bell2024-03-131-2/+1
|
* Fetch/curl: expose socket open/close via fetch vtableJohn-Mark Bell2024-03-131-0/+9
| | | | | This allows frontends to customise the behaviour of sockets. The default implementation simply maps to socket(2)/close(2).
* Bitmap: Implement test_opaque in core instead of in every frontend.Michael Drake2022-03-291-4/+0
|
* GUI: Bitmap save callback was never required.Michael Drake2022-03-241-4/+0
|
* GUI: Bitmap bytes per pixel callback is not required now.Michael Drake2022-03-241-4/+0
|
* improve desktop text search header usageVincent Sanders2020-06-241-0/+1
| | | | | | | | | remove unecessary inclusion of desktop search header in content header which has knock on effect of not having ctype or string system headers dragged in unecessarily. Futher this highlighted use of ctype API where internal ascii processing ought to be used.
* misc: Add a present_cookies to guit->misc and use itDaniel Silverstone2020-05-231-0/+9
| | | | | | | | In order that we present the cookies window usefully, change browser_window to request presentation of the cookies window via a gui misc callback. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* chore: Perform sslcert_viewer-ectomyDaniel Silverstone2020-05-221-11/+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>
* Keep the complete certificate chain from a fetchVincent Sanders2020-02-231-2/+1
| | | | | | | | | Instead of extracting information from the X509 certificate chain in the fetcher the entire chain is propagated in Distinguished Encoding Rules (DER) format. This allows all the information contained in a certificate chain to be retained which can subsequently be presented to the user
* remove warning callback from miscelaneous function tableVincent Sanders2019-11-111-3/+0
|
* fix spelling mistakes from miscellaneous event commitVincent Sanders2019-08-201-1/+1
|
* add miscellaneous event to browser window callback tableVincent Sanders2019-08-201-45/+1
| | | | | | | | | | | | 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.
* Reimplement handling of BAD_AUTH inside browser_windowDaniel Silverstone2019-08-061-6/+8
| | | | | | | | | | | | | 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>
* Add console_log to gui tablesDaniel Silverstone2019-05-061-0/+12
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* HTTP Auth: Do get/set auth in the core.Michael Drake2018-08-141-3/+7
|
* simplify the browser window operations by removing scroll APIVincent Sanders2017-04-261-9/+0
| | | | | The browser window scrollingAPI was duplicated in window operation table, this simplifies it to a single set_scroll API.
* remove reformat from browser window operation tableVincent Sanders2017-04-261-3/+0
| | | | | | the reformat callback was completely unecessary and implementations appeared potentialy buggy. This rationalises the API and reduces the number of operations a frontend must provide.
* replace redraw and update methods with invalidate in window table APIVincent Sanders2017-04-191-4/+1
|
* Allow certificate verification user prompt creation to return errorsVincent Sanders2016-07-311-2/+2
|
* move netsurf header into public APIVincent Sanders2016-05-301-2/+2
|
* move layout 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 utf8 header into public APIVincent Sanders2016-05-301-1/+1
|
* move download header into public APIVincent Sanders2016-05-301-1/+1
|
* move clipboard header into public APIVincent Sanders2016-05-301-1/+1
|
* move window header into public APIVincent Sanders2016-05-301-1/+1
|
* move search header into public APIVincent Sanders2016-05-301-1/+1
|
* move bitmap API header to core include directoryVincent Sanders2016-05-261-1/+1
|
* move image content handlers to accomodate core build changesVincent Sanders2016-05-231-1/+1
|
* use the miscellaneous table warning entryVincent Sanders2016-04-251-0/+3
| | | | | | | change all the frontends to provide the warning callback in the miscelaneous table instead of using the warn_user function. Changing all the warn_user callsites still requires completion.
* split out the layout glyph sizing and splitting APIVincent Sanders2016-04-231-0/+40
| | | | | This refactors the core "font" sizing API to be handled through gui function tables similar to every other core/frontend calling API.
* reduce content header interdependancyVincent Sanders2016-04-181-0/+1
|
* complete the rename of the gui browser tableVincent Sanders2016-04-161-16/+16
| | | | | | When the operations tables were created the browser table was renamed to miscellaneous except the actual rename patch was never applied, this fixes that situation.
* Allow the resource scheme to provide data directly.Vincent Sanders2015-06-171-0/+16
| | | | | | This allows front ends to provide resources from compiled in data instead of requiring the resources to be available on disc and forcing a redirect.
* Add render to bitmap operations and update gtk to provide it.Vincent Sanders2015-04-221-0/+4
|
* Move bitmap operations into an operation table.Vincent Sanders2015-04-131-1/+78
| | | | | | | The generic bitmap handlers provided by each frontend are called back from the core and therefore should be in an operation table. This was one of the very few remaining interfaces stopping the core code from being split into a library.
* update entry points to backing store ready for allowing differing object ↵Vincent Sanders2014-11-201-0/+3
| | | | lifetimes
* replace save_link operation table entry usage of textural url with nsurlVincent Sanders2014-11-031-2/+3
|
* change url setting api to take an nsurl instead of a text stringVincent Sanders2014-11-021-1/+1
|
* Update url setting API to return nserror code instead of calling warn_userVincent Sanders2014-10-291-1/+2
|
* Clean up saving as PDFVincent Sanders2014-10-261-6/+16
| | | | | | | | | | | | This removes the global PDF_Password interface that had completely bitrotted and moves it into the standard misc operation table with a sensible defualt implementation. This also cleans up and fixes the gtk frontend implementation of the pdf password callback so it compiles. Finally this moves the implementation to a sensible place alongside the other exporters reducing target makefile complexity futher.
* Move create_form_select_menu to window gui table.Michael Drake2014-10-241-8/+9
|
* Update the core to use the split operations table headersVincent Sanders2014-10-161-5/+14
| | | | Second in the series to decouple the core API usage from the frontends.
* Fix core create_form_select_menu API to pass gw, rather than bw out to front ↵Michael Drake2014-10-161-1/+1
| | | | ends.
* stop poll callback entry being mandantory in preparation for its removalVincent Sanders2014-09-221-4/+0
|
* change reformat to be driven from the scheduler like redrawVincent Sanders2014-07-011-0/+3
|
* extend file table with mkdir all and make fs backing store use it.Vincent Sanders2014-06-051-0/+9
| | | | enable fs backing store for RISC OS.
* make launch_url core operation use nsurlVincent Sanders2014-05-271-1/+2
|