Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Socket: more fixes for win32/aos3 | John-Mark Bell | 2024-03-14 | 1 | -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 build | John-Mark Bell | 2024-03-13 | 1 | -2/+1 |
| | |||||
* | Fetch/curl: expose socket open/close via fetch vtable | John-Mark Bell | 2024-03-13 | 1 | -0/+9 |
| | | | | | This allows frontends to customise the behaviour of sockets. The default implementation simply maps to socket(2)/close(2). | ||||
* | Cookie/History/Hotlist: use localtime() | John-Mark Bell | 2024-03-05 | 3 | -9/+9 |
| | | | | Some platforms do not support the reentrant form, so don't use it. | ||||
* | Cookie/History/Hotlist: locale-aware time formatting | John-Mark Bell | 2024-03-05 | 3 | -41/+40 |
| | | | | | | | | | | | | (as)ctime are defined as always formatting times using English day/month names. As these views are for the user's benefit, use the selected locale to format the information, instead. Use of (as)ctime on RISC OS with UnixLib is fragile, anyway, as that implementation always produces a locale-aware serialization (which is not what the spec defines). This caused assertions to fire in the previous implementation (which expected ctime to be locale-unaware). Fixes #2869. | ||||
* | remove pointless box structure | Vincent Sanders | 2024-01-08 | 1 | -2/+0 |
| | |||||
* | Update version for next development cycle | Vincent Sanders | 2023-12-28 | 1 | -2/+2 |
| | |||||
* | css: Add option to ignore author level CSS | Michael Drake | 2023-11-25 | 1 | -0/+3 |
| | | | | | | | | | | | | This adds a new config option, `author_level_css`. When it is disabled, NetSurf will ignore all CSS from the web page. In this case only the default CSS rules from the browser and user CSS rules will be applied. It is enabled by default. Tested by running: ./nsgtk3 --author_level_css=0 | ||||
* | Avoid integer types with platform dependent size | DeltaVonNeumann | 2023-06-17 | 1 | -1/+1 |
| | |||||
* | Core: Options: Add user preference for dark mode colours | Michael Drake | 2022-07-30 | 1 | -0/+3 |
| | |||||
* | s/http/https/ in user-facing URIs | John-Mark Bell | 2022-05-27 | 3 | -9/+9 |
| | |||||
* | Browser window: include theme.h | John-Mark Bell | 2022-05-27 | 1 | -0/+1 |
| | | | | | This is necessary to avoid a warning on platforms that support theme installation. | ||||
* | Save complete: silence warning | John-Mark Bell | 2022-05-27 | 1 | -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 Drake | 2022-03-29 | 2 | -4/+25 |
| | |||||
* | Bitmap: Try to squash -Wtautological-constant-out-of-range-compare | Michael Drake | 2022-03-28 | 1 | -1/+2 |
| | |||||
* | Bitmap: Log the bitmap format that gets set. | Michael Drake | 2022-03-28 | 1 | -0/+36 |
| | |||||
* | Bitmap: Add support for premultiplied alpha conversion. | Michael Drake | 2022-03-28 | 2 | -16/+162 |
| | |||||
* | Desktop: Browser window: Squash theme install start warning. | Michael Drake | 2022-03-28 | 1 | -0/+4 |
| | |||||
* | Bitmap: Colour layout converter doesn't need to be exposed. | Michael Drake | 2022-03-27 | 2 | -46/+46 |
| | |||||
* | Treeview: Use bitmap layout for bitmap generation. | Michael Drake | 2022-03-27 | 1 | -40/+41 |
| | |||||
* | Bitmap: Convert pixel_to_colour to layout-aware function. | Michael Drake | 2022-03-27 | 1 | -6/+22 |
| | |||||
* | Bitmap: Move bitmap pixel to colour macro to bitmap header. | Michael Drake | 2022-03-27 | 1 | -0/+4 |
| | |||||
* | Bitmap: Initialise layout for default pixel format. | Michael Drake | 2022-03-26 | 1 | -1/+6 |
| | |||||
* | Bitmap: Add format conversion routines. | Michael Drake | 2022-03-26 | 2 | -0/+82 |
| | |||||
* | Include: Bitmap: Add API for setting core bitmap format. | Michael Drake | 2022-03-26 | 3 | -1/+171 |
| | |||||
* | Treeview: Change bitmap generation to per-pixel channel indexing. | Michael Drake | 2022-03-25 | 1 | -40/+50 |
| | | | | This will be needed when the core bitmap layout is client controlled. | ||||
* | Bitmap API: Clean up creation flags. | Michael Drake | 2022-03-24 | 2 | -5/+5 |
| | |||||
* | GUI: Bitmap save callback was never required. | Michael Drake | 2022-03-24 | 1 | -4/+0 |
| | |||||
* | GUI: Bitmap bytes per pixel callback is not required now. | Michael Drake | 2022-03-24 | 1 | -4/+0 |
| | |||||
* | textarea: always clear selection on NS_KEY_WORD_{LEFT,RIGHT} | Pranjal Kole | 2022-01-23 | 1 | -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 Kole | 2022-01-22 | 1 | -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 Drake | 2021-05-30 | 2 | -23/+23 |
| | |||||
* | fix missing bitmap from preventing history and scroll updates | Vincent Sanders | 2021-03-23 | 1 | -7/+3 |
| | |||||
* | split out internal local history macros from public interface header | Vincent Sanders | 2021-03-23 | 4 | -11/+40 |
| | |||||
* | Prevent overflow of disc cache hysteresis. | Michael Drake | 2021-01-25 | 1 | -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 Drake | 2020-10-23 | 1 | -2/+32 |
| | |||||
* | browser_window: Check for bw==NULL before dereferencing it | Daniel Silverstone | 2020-10-03 | 1 | -3/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | improve desktop text search header usage | Vincent Sanders | 2020-06-24 | 6 | -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 window | Vincent Sanders | 2020-05-25 | 1 | -25/+15 |
| | |||||
* | remove box handling from browser window | Vincent Sanders | 2020-05-25 | 4 | -194/+267 |
| | |||||
* | make browser_window_update internal to browser window as intended | Vincent Sanders | 2020-05-25 | 1 | -119/+124 |
| | |||||
* | rename browser window internal redraw request function | Vincent Sanders | 2020-05-25 | 3 | -8/+9 |
| | | | | remove confusing reference to boxes | ||||
* | Update version for next development cycle | Vincent Sanders | 2020-05-24 | 1 | -2/+2 |
| | |||||
* | remove unused text selection interface | Vincent Sanders | 2020-05-23 | 2 | -24/+5 |
| | |||||
* | make text selection context an opaque interface | Vincent Sanders | 2020-05-23 | 2 | -21/+22 |
| | |||||
* | remove all direct access to selection structure | Vincent Sanders | 2020-05-23 | 2 | -46/+51 |
| | |||||
* | remove unused is_html parameter to text selection routines | Vincent Sanders | 2020-05-23 | 2 | -21/+10 |
| | |||||
* | move content specific selection end to content handlers | Vincent Sanders | 2020-05-23 | 2 | -51/+8 |
| | |||||
* | remove unused css length usage in selection | Vincent Sanders | 2020-05-23 | 2 | -13/+2 |
| | |||||
* | move content handler specific selection copying into handlers | Vincent Sanders | 2020-05-23 | 2 | -301/+22 |
| |