summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* Core: Options: Add user preference for dark mode coloursMichael Drake2022-07-301-0/+3
|
* s/http/https/ in user-facing URIsJohn-Mark Bell2022-05-273-9/+9
|
* Browser window: include theme.hJohn-Mark Bell2022-05-271-0/+1
| | | | | This is necessary to avoid a warning on platforms that support theme installation.
* Save complete: silence warningJohn-Mark Bell2022-05-271-2/+2
| | | | | | Not all runtime library headers declare the first argument to regexec as being const so don't make our snregexec wrapper do so. Additionally, make save_complete_import_re static.
* Bitmap: Implement test_opaque in core instead of in every frontend.Michael Drake2022-03-292-4/+25
|
* Bitmap: Try to squash -Wtautological-constant-out-of-range-compareMichael Drake2022-03-281-1/+2
|
* Bitmap: Log the bitmap format that gets set.Michael Drake2022-03-281-0/+36
|
* Bitmap: Add support for premultiplied alpha conversion.Michael Drake2022-03-282-16/+162
|
* Desktop: Browser window: Squash theme install start warning.Michael Drake2022-03-281-0/+4
|
* Bitmap: Colour layout converter doesn't need to be exposed.Michael Drake2022-03-272-46/+46
|
* Treeview: Use bitmap layout for bitmap generation.Michael Drake2022-03-271-40/+41
|
* Bitmap: Convert pixel_to_colour to layout-aware function.Michael Drake2022-03-271-6/+22
|
* Bitmap: Move bitmap pixel to colour macro to bitmap header.Michael Drake2022-03-271-0/+4
|
* Bitmap: Initialise layout for default pixel format.Michael Drake2022-03-261-1/+6
|
* Bitmap: Add format conversion routines.Michael Drake2022-03-262-0/+82
|
* Include: Bitmap: Add API for setting core bitmap format.Michael Drake2022-03-263-1/+171
|
* Treeview: Change bitmap generation to per-pixel channel indexing.Michael Drake2022-03-251-40/+50
| | | | This will be needed when the core bitmap layout is client controlled.
* Bitmap API: Clean up creation flags.Michael Drake2022-03-242-5/+5
|
* 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
|
* textarea: always clear selection on NS_KEY_WORD_{LEFT,RIGHT}Pranjal Kole2022-01-231-6/+8
| | | | | | | | | | | | | This bug can be seen by selecting some text starting from the beginning of a textarea (so that caret is 0) and then pressing the NS_KEY_WORD_LEFT binding. NS_KEY_WORD_LEFT was breaking early when caret was 0. So, to always clear the selection, the clear selection code has been brought above the break statement. NS_KEY_WORD_RIGHT did not have such a break statement, so one has been added for consistency, and because string operations are expensive.
* textarea: implement NS_KEY_DELETE_WORD_{LEFT,RIGHT}Pranjal Kole2022-01-221-6/+93
| | | | | | | | | | | | | | | | | | | | | 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.
* Switch to new libcss API for unit conversion.Michael Drake2021-05-302-23/+23
|
* fix missing bitmap from preventing history and scroll updatesVincent Sanders2021-03-231-7/+3
|
* split out internal local history macros from public interface headerVincent Sanders2021-03-234-11/+40
|
* Prevent overflow of disc cache hysteresis.Michael Drake2021-01-251-3/+3
| | | | | | | | | | | | The default disc cache size is 1GB (1024 * 1024 * 1024). On systems with 32bit size_t, the hysteresis calculation, which multiplied 1GB by 20 would overflow, causing a zero hysteresis. (1024 * 1024 * 1024) * 20 % (2^32) = 0 Thanks to Jonas Amoson for reporting.
* treeview: Squash warnings about enum value conversion.Michael Drake2020-10-231-2/+32
|
* browser_window: Check for bw==NULL before dereferencing itDaniel Silverstone2020-10-031-3/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* improve desktop text search header usageVincent Sanders2020-06-246-5/+11
| | | | | | | | | 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.
* remove unecessary headers from browser windowVincent Sanders2020-05-251-25/+15
|
* remove box handling from browser windowVincent Sanders2020-05-254-194/+267
|
* make browser_window_update internal to browser window as intendedVincent Sanders2020-05-251-119/+124
|
* rename browser window internal redraw request functionVincent Sanders2020-05-253-8/+9
| | | | remove confusing reference to boxes
* Update version for next development cycleVincent Sanders2020-05-241-2/+2
|
* remove unused text selection interfaceVincent Sanders2020-05-232-24/+5
|
* make text selection context an opaque interfaceVincent Sanders2020-05-232-21/+22
|
* remove all direct access to selection structureVincent Sanders2020-05-232-46/+51
|
* remove unused is_html parameter to text selection routinesVincent Sanders2020-05-232-21/+10
|
* move content specific selection end to content handlersVincent Sanders2020-05-232-51/+8
|
* remove unused css length usage in selectionVincent Sanders2020-05-232-13/+2
|
* move content handler specific selection copying into handlersVincent Sanders2020-05-232-301/+22
|
* split selection redraw into content handler specific implementationsVincent Sanders2020-05-231-88/+8
|
* Browser window: Handle counting cookies when URLdb gives use none.Michael Drake2020-05-231-1/+4
|
* Treeview: Redraw full text on treeview search text sets.Michael Drake2020-05-231-0/+22
|
* Treeview: Use text input colour style for search bar.Michael Drake2020-05-231-3/+3
|
* misc: Add a present_cookies to guit->misc and use itDaniel Silverstone2020-05-232-3/+10
| | | | | | | | 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>
* Treeview: Folder expansions/contrations don't affect search height.Michael Drake2020-05-231-11/+27
|
* browser_window: Implement cookie counterDaniel Silverstone2020-05-231-2/+11
| | | | | | | This is a fairly inefficient approach to counting the cookies in use by a page, but it'll do for now. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* fix: Make it OK if the chain isn't avilable during bad-ssl queryingDaniel Silverstone2020-05-231-14/+12
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Fix offset to allow tiled renderingChris Young2020-05-221-2/+2
|