summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Fetch/curl: expose socket open/close via fetch vtableJohn-Mark Bell2024-03-131-0/+17
| | | | | This allows frontends to customise the behaviour of sockets. The default implementation simply maps to socket(2)/close(2).
* Bitmap: Remove misleading format documentation.Michael Drake2022-06-141-27/+5
|
* inttypes: custom format for UnixLib ssize_tJohn-Mark Bell2022-06-031-0/+5
| | | | | | | | UnixLib defines ssize_t to be a long int, which forces the corresponding format string to need to be %ld to avoid compiler warnings. Making this change uncovered a number of places where we were using the wrong format specifier entirely (namely PRIssizet where we meant PRIsizet). Fix these, too.
* Bitmap: Implement test_opaque in core instead of in every frontend.Michael Drake2022-03-291-8/+8
|
* Bitmap: Add support for premultiplied alpha conversion.Michael Drake2022-03-281-1/+2
|
* Bitmap: Move bitmap pixel to colour macro to bitmap header.Michael Drake2022-03-271-4/+0
|
* Include: Bitmap: Add API for setting core bitmap format.Michael Drake2022-03-261-0/+67
|
* Include: Bitmap: Document bitmap pixel alignment requirement.Michael Drake2022-03-261-0/+2
|
* Bitmap API: Clean up creation flags.Michael Drake2022-03-241-7/+10
|
* Include: Bitmap: Remove unused save callback.Michael Drake2022-03-241-9/+0
|
* Include: Bitmap: Modified flag isn't used.Michael Drake2022-03-241-1/+0
|
* Include: Bitmap: Fix comment typo.Michael Drake2022-03-241-1/+1
|
* Include: Bitmap: Drop get_bpp from bitmap operation table.Michael Drake2022-03-241-7/+0
| | | | Core bitmaps have always been 32bpp.
* textarea: implement NS_KEY_DELETE_WORD_{LEFT,RIGHT}Pranjal Kole2022-01-221-0/+2
| | | | | | | | | | | | | | | | | | | | | NS_KEY_DELETE_WORD_{LEFT,RIGHT} have been added to include/netsurf/keypress.h and implemented in desktop/textarea.c An unsigned int, caret_copy, has been added since both of these require a temporary variable to hold the original position of the caret. The LEFT one deletes separators towards the left till it encounters a non-separator and then deletes the non-separators until it encounters a separator. The caret is moved towards the left by the number of characters deleted. The RIGHT one does the same towards the right, but the caret is kept at its original position. These are intended to be mapped to Ctrl+Backspace and Ctrl+Delete by most frontends. Additionally, some style and typo fixes have been made.
* Improve some documentation commentsVincent Sanders2021-02-261-4/+4
|
* split out gtk misc operations from gui moduleVincent Sanders2021-02-221-2/+2
|
* Improve colour_lightnessVincent Sanders2020-06-291-4/+17
| | | | | Clearly document what colour_lightness does. Fix the blue component value multiplier to be in bounds and correct value
* make browser_window_update internal to browser window as intendedVincent Sanders2020-05-251-9/+0
|
* Plot style: Helper macro to get nearest of black and white.Michael Drake2020-05-231-0/+5
|
* misc: Add a present_cookies to guit->misc and use itDaniel Silverstone2020-05-231-0/+8
| | | | | | | | 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-15/+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>
* use content messages to inform frontend of text search changesVincent Sanders2020-05-131-1/+4
|
* move ssl certificate serialisation into a url to the ssl_cert utility codeVincent Sanders2020-05-091-0/+8
|
* improve content header usageVincent Sanders2020-05-071-6/+110
|
* Plot style: Add half lighten/darken helper variants.Michael Drake2020-04-071-0/+11
|
* Rename mask to mskChris Young2020-03-061-2/+2
| | | | There's something about "mask" which causes the version of GCC we use for the m68k-amigaos build to misinterpret the code
* Browser window: Rework constification of bw for show_certificates.Michael Drake2020-02-241-1/+1
|
* Plot style: Add helper to swap red and blue channels.Michael Drake2020-02-241-0/+6
|
* inttypes: Add PRIu64Daniel Silverstone2020-02-241-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* about scheme certificate viewer initial implementationVincent Sanders2020-02-241-0/+11
|
* ssl_certs: Add dup_intoDaniel Silverstone2020-02-231-0/+12
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser window API: Add count for page state enum.Michael Drake2020-02-231-0/+1
|
* Browser window: Add stubs for new interfaces for page-info dialogue.Michael Drake2020-02-231-0/+29
|
* Browser window: Constify bw through page_info_state getter.Michael Drake2020-02-231-1/+1
|
* Plot style: Add function to engorge a colour channel.Michael Drake2020-02-231-0/+33
| | | | This can be used to exaggerate the red, green, or blue component.
* Plot style: Split lightness calc out of colour_to_bw_furthest macro.Michael Drake2020-02-231-4/+7
|
* Keep the complete certificate chain from a fetchVincent Sanders2020-02-233-21/+63
| | | | | | | | | 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
* Browser window: Constify the bw in the URL access function.Michael Drake2020-02-221-1/+1
|
* Core window: Constify the core_window handle through the getters.Michael Drake2020-02-221-2/+2
|
* Browser: Support requesting location focusDaniel Silverstone2020-02-222-0/+4
| | | | | | | | | In the creation of a browser window it may be valuable to request that the GUI focus the location input box. This can be used when the user requests a new tab/window to allow the entry box to be focussed properly immediately. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser: Add FOREGROUND flag to window creationDaniel Silverstone2020-02-222-1/+5
| | | | | | | | | To better support new-tab / new-window operations as well as GUIs which want to allow tabs to open in the background by default, add a flag to request a new browser window be foregrounded. This will allow us to simplify at least the GTK frontend a little. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add certificate-missing error codeDaniel Silverstone2019-12-031-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Add an event for page info state changeDaniel Silverstone2019-12-011-0/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Add basic page info state and SSL accessorsDaniel Silverstone2019-12-011-0/+45
| | | | | | | In order to begin work on the page info dialog, we need access to the current page's state and SSL chain if available. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache: Reload SSL certificate data from serialised storeDaniel Silverstone2019-11-301-0/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove warning callback from miscelaneous function tableVincent Sanders2019-11-111-13/+2
|
* re-indent browser window and cleanup commentsVincent Sanders2019-09-291-3/+4
| | | | no functional change
* fix spelling mistakes from miscellaneous event commitVincent Sanders2019-08-201-5/+5
|
* add miscellaneous event to browser window callback tableVincent Sanders2019-08-201-56/+65
| | | | | | | | | | | | 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.
* SSL Error: Enable OpenSSL hostname verificationDaniel Silverstone2019-08-141-1/+1
| | | | | | | | Since OpenSSL 1.0.2 there has been hostname verification support which cURL doesn't turn on for some reason. Turn it on so that we get better hostname verification handling. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>