Commit Graph

992 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Vincent Sanders
ed5076421f remove stray tab in hts makefile to fix amigaos3 build 2021-01-17 22:03:17 +00:00
Vincent Sanders
5db541a6d7 Improve target setup in makefiles
split out HOST TARGET and SUBTARGET generation into separate file.
split out target(frontend) specific tool settings into separate files.
2021-01-17 20:06:24 +00:00
Vincent Sanders
25c21e5fef add back/forward mouse button processing to GTK frontend 2021-01-02 09:49:25 +00:00
Michael Drake
de7244a170 risc os: Don't let URL complete start consume URL bar drags. 2020-11-10 10:20:03 +00:00
Michael Drake
59078c3f20 risc os: URL bar: Fall back to URL drag if OS doesn't have text selection. 2020-11-03 10:23:50 +00:00
Michael Drake
925a76bcba risc os: wimputils: Make text-selection helper static inline. 2020-11-03 10:00:14 +00:00
Michael Drake
3cead4e867 risc os: Don't swallow URL bar drags if the OS supports text-selection.
It should still be possible to drag save the URL from the favicon.
2020-11-03 09:55:26 +00:00
Michael Drake
f8eabec04b risc os: wimputils: Helper to check OS support for text-selection. 2020-11-03 09:53:15 +00:00
Chris Young
511f4cc800 Add missing include 2020-10-09 13:05:51 +01:00
Chris Young
12fba46d3e Cache codesets structure ourselves
attempt to speed up conversion as apparently codesets is being very slow
2020-10-09 13:01:48 +01:00
Daniel Silverstone
32d52bf055
gtk: In path plotter, maintain cairo transformation offset
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 21:42:46 +01:00
Daniel Silverstone
58fee8749f
gtk/bitmap: Assert surface width/height non-zero
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 14:25:43 +01:00
Vincent Sanders
7997182cc0 Improve the framebuffer docs a bit 2020-09-18 10:34:32 +01:00
Vincent Sanders
b0b271274c Make GTK UI resources more consistent
The GTK UI resources have to be different resources between major versions.

When kept in one directory with slightly different filenames they were
  difficult to distinguish and resource definition was difficult to update.

The resources for both gtk versions were stored in both builds resulting in
  unneccessary increased binary size.

The new stratagy lists the UI files once in a single gresources file and only
  includes what is required. If a UI file is added it must be provided in both
  gtk2 and 3 or a build failure will occour rather than a runtime error.
2020-09-04 08:26:04 +01:00
Zixing Liu
50f5e3f1a6 Makefile: add Chinese (Simplified) translation target
Signed-off-by: Zixing Liu <liushuyu@aosc.io>
2020-09-02 08:59:38 +01:00
Weiyi Xu
4d224afba3 resources: add Chinese (Simplified) translations
Signed-off-by: Weiyi Xu <xuweiyi0923@gmail.com>
Signed-off-by: Zixing Liu <liushuyu@aosc.io>
Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
2020-09-02 08:58:53 +01:00
zeug
1ea47f9caf Support Ctrl+A in the windows toolkit address bar 2020-08-16 23:50:52 +01:00
Vincent Sanders
410cb9a8fd gtk compile din resource list was missing pageinfo for gtk2 build 2020-08-15 09:49:27 +01:00
Vincent Sanders
421d796e9b split tools and utils 2020-06-27 23:30:54 +01:00