Michael Drake
ee874c7ea1
GTK: Drop bitmap save callback entry; core doesn't use it.
2022-03-24 15:27:55 +00:00
Michael Drake
9114068d3f
Framebuffer: Drop bitmap save callback entry; core doesn't use it.
2022-03-24 15:27:33 +00:00
Michael Drake
1e9687196d
Atari: Drop bitmap save callback entry; core doesn't use it.
2022-03-24 15:26:07 +00:00
Michael Drake
fca10f324e
Amiga: Drop bitmap save callback entry; core doesn't use it.
2022-03-24 15:25:18 +00:00
Michael Drake
2fb5fcdda2
GUI: Bitmap save callback was never required.
2022-03-24 15:24:25 +00:00
Michael Drake
28c0e79624
Include: Bitmap: Modified flag isn't used.
2022-03-24 14:01:16 +00:00
Michael Drake
527cc33c7f
Monkey: Bitmap: Modified flag is not used.
2022-03-24 13:59:57 +00:00
Michael Drake
09bd355a5c
RISC OS: Bitmap modified flag is not used.
2022-03-24 13:58:22 +00:00
Michael Drake
14d265d502
Include: Bitmap: Fix comment typo.
2022-03-24 13:57:07 +00:00
Michael Drake
6f591aceaf
Include: Bitmap: Drop get_bpp from bitmap operation table.
...
Core bitmaps have always been 32bpp.
2022-03-24 13:03:19 +00:00
Michael Drake
a65186f7a8
BeOS: Drop bitmap get bpp function.
2022-03-24 13:03:19 +00:00
Michael Drake
a9c0441725
Atari: Drop bitmap get bpp function.
2022-03-24 13:03:19 +00:00
Michael Drake
16346898d1
Amiga: Drop bitmap get bpp function.
2022-03-24 13:03:19 +00:00
Michael Drake
26cef7d444
GTK: Drop bitmap get bpp function.
2022-03-24 12:53:10 +00:00
Michael Drake
236e8612e0
Framebuffer: Drop bitmap get bpp function.
2022-03-24 12:50:01 +00:00
Michael Drake
26b189af67
Monkey: Drop bitmap get bpp function.
2022-03-24 12:47:31 +00:00
Michael Drake
521440df7c
Windows: Drop bitmap get bpp function.
2022-03-24 12:26:52 +00:00
Michael Drake
648fc87c14
RISC OS: Drop bitmap get bpp function.
2022-03-24 12:21:22 +00:00
Michael Drake
1d9526d44d
GUI: Bitmap bytes per pixel callback is not required now.
2022-03-24 12:10:09 +00:00
Michael Drake
a4cb24ed46
Image: ICO: Update for new libnsbmp API.
2022-03-24 12:01:53 +00:00
Michael Drake
b6238c6c5c
Image: BMP: Update for new libnsbmp API.
2022-03-24 12:01:36 +00:00
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