Michael Drake
1dd3c80d9b
PNG: Bytes per pixel is always 4.
2022-03-24 11:12:57 +00:00
Michael Drake
7c3382834e
GIF: Update to new libnsgif API.
...
Set required colour component order.
2022-03-23 17:52:20 +00:00
Michael Drake
ae9047b1ed
GIF: Tolerate errors during scan if at least one frame.
2022-03-03 19:03:29 +00:00
Michael Drake
2e9ef8feae
GIF: Update to latest libnsgif API.
2022-02-26 14:55:13 +00:00
Chris Young
d92b269629
Amiga: Don't open/close dos.library ourselves on OS3
...
Suspect this is the cause of crash on exit
2022-01-26 11:04:26 +00:00
Michael Drake
729e56dccc
GTK: Add support for word left/right keybindings.
2022-01-23 14:26:50 +00:00
Pranjal Kole
4fc78449ff
textarea: always clear selection on NS_KEY_WORD_{LEFT,RIGHT}
...
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.
2022-01-23 14:22:40 +00:00
Michael Drake
88d5ea8668
GTK: Add support for word delete left/right.
...
These are ctrl+delete and ctrl+backspace.
2022-01-22 19:44:05 +00:00
Pranjal Kole
76ede0f7d6
textarea: implement NS_KEY_DELETE_WORD_{LEFT,RIGHT}
...
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.
2022-01-22 19:39:26 +00:00
Chris Young
9f305e4c3b
Amiga: Add ARexx scripts to play videos via YT
...
Credit: Chris Handley
2021-12-17 12:29:30 +00:00
Chris Young
4e6e024dd7
Update ca-bundle
2021-10-04 21:46:50 +01:00
Michael Drake
251cce29b7
CSS: Selection callbacks: Update to latest LibDOM API.
2021-07-05 14:59:10 +01:00
Chris Young
5a6bb39218
Revert "Amiga: do not force 32-bit bitmaps"
...
This reverts commit 793f514220
.
2021-06-28 20:11:46 +01:00
Chris Young
793f514220
Amiga: do not force 32-bit bitmaps
...
This appears to be unnecessary
2021-06-28 19:38:15 +01:00
Chris Young
474fd81bf6
Amiga: report correct depth
2021-06-28 16:58:11 +01:00
Chris Young
d39ae4a102
AMIGA: Use RTG calls on OS3
...
Enabled for experimentation
2021-06-28 14:54:42 +01:00
Michael Drake
407e20578f
RISC OS: GUI: Clean up alpha sprite support test.
2021-06-25 18:08:17 +01:00
Michael Drake
9f3d012650
RISC OS: Image: Tinct workaround: Use OS alpha sprite rendering.
...
If NetSurf is configured to use OS for image rendering, and the
OS supports Alpha sprites, avoid going via Tinct completely.
Going via Tinct loses the alpha channel. However, with this
workaround, we lose Tinct's pretiling optimisation for tiling
tiny sprites.
2021-06-25 17:19:17 +01:00
Michael Drake
287e5e89b5
RISC OS: GUI: Add check for sprite alpha channel OS support.
2021-06-25 17:05:40 +01:00
Michael Drake
d58f893c57
RISC OS: Image: Add support for tiled plots with OS renderer.
2021-06-25 14:48:50 +01:00
Michael Drake
e177254db4
RISC OS: Image: Remove forward declaration.
2021-06-25 14:03:04 +01:00
Michael Drake
4b15a49bde
RISC OS: Image: Use #define to enable use of mask.
2021-06-25 14:02:58 +01:00
Michael Drake
b65abe987c
RISC OS: Image: Use #define for unspecified sprite area.
2021-06-25 14:02:44 +01:00
Michael Drake
fa64d91d12
Switch to new libcss API for unit conversion.
2021-05-30 11:52:33 +01:00
Michael Drake
638a408dde
CSS: Update to latest libcss: Remove weird units.
...
The 'rlh', 'ic' and 'cap' units were never implemented by anyone.
2021-05-30 11:52:33 +01:00
Chris Young
a6e825833d
Amiga: BitMap always alloced with the ami_rtg_ function, so should be freed with it too.
2021-05-17 16:45:49 +01:00
Michael Drake
38fc60486b
Windows: Use pkg-config when building on Windows.
2021-05-13 08:44:27 +01:00
Michael Drake
ce23f500d1
RISC OS: Unify both browser window redraw call paths.
2021-04-26 20:00:11 +01:00
Michael Drake
6f659da675
RISC OS: Constify redraw region through buffer API.
2021-04-26 19:58:26 +01:00
Michael Drake
93b68a9a48
RISC OS: Corewindow: Fix autoscroll segfault when pointer leaves window.
2021-04-25 22:05:00 +01:00
Michael Drake
c5aca9d8ce
RISC OS: Fix EX0 EY0 rendering glitches when scrolling.
2021-04-25 21:07:15 +01:00
Michael Drake
fb8c227ff0
RISC OS: Plotters: On RISC OS y1 is top and y0 is bottom.
...
When storing RISC OS coordinates, use y0 and y1 consistently.
2021-04-25 20:30:05 +01:00
Chris Young
81c40ab7c2
Amiga: Fix codesets.library conversion when string specified as zero length
2021-04-12 23:26:17 +01:00
Chris Young
99a3d04d55
Amiga: The return value of Codesetsfind was not being assigned to a variable
2021-04-11 23:17:32 +01:00
Vincent Sanders
5a2f69388c
hoist the Referer header generation logic up to the low level cache
...
This removes the need for the fetchers to have any interaction with
the Referer header. It has not been completely removed from the
fetch interface as fetch.c:fetch_set_cookie() still uses it for
unverifiable cookie decision logic. (There is an anchient todo here)
2021-03-25 23:36:41 +00:00
Vincent Sanders
537f131ee3
extend teh implementing a new frontend document
2021-03-23 23:44:59 +00:00
Vincent Sanders
847d568061
fix missing bitmap from preventing history and scroll updates
2021-03-23 22:09:56 +00:00
Vincent Sanders
5749ace60f
split out internal local history macros from public interface header
2021-03-23 22:09:37 +00:00
Michael Drake
6faa70893b
Buildsystem: Avoid errors when headers are removed.
2021-03-19 12:09:57 +00:00
Vincent Sanders
a11ad57bf6
fix headings to be in doxygen prefered format
2021-03-08 09:51:05 +00:00
Vincent Sanders
9a7e41d3ea
add document outlining new frontend development
2021-03-07 22:38:41 +00:00
Vincent Sanders
5e31f045a0
Improve some documentation comments
2021-02-26 13:40:09 +00:00
Rob Kendrick
e9f29a1002
Correct indentation for previous change
2021-02-24 16:27:09 +00:00
Rob Kendrick
937446b95b
Allow drag-and-drop loading of WebP images on RISC OS
2021-02-24 16:12:39 +00:00
Vincent Sanders
84ec9c2b2a
tidy up GTK frontend initialisation
2021-02-22 23:04:02 +00:00
Vincent Sanders
3cf92011c2
split out gtk misc operations from gui module
2021-02-22 23:04:02 +00:00
Michael Drake
9e3ef18255
html: layout: Cleanup dom node tag name getting with helper.
2021-02-20 17:03:49 +00:00
Michael Drake
920041a131
html: layout: Fix to ignore non-element children of lists.
2021-02-20 12:00:42 +00:00
Chris Young
598629c736
correct size
2021-02-18 17:23:59 +00:00
Chris Young
b765d8b461
AMIGA: minor IFF DR2D export changes
...
NULL-terminate name
Use more sensible font
2021-02-18 16:30:32 +00:00