Commit Graph

1047 Commits

Author SHA1 Message Date
John-Mark Bell
7148d165a5 RISC OS: conditionally demand ARMEABISupport in !Run
Will only be enabled if an EABI-aware compiler is used to build
the code. At some point, a suitable copy of ARMEABISupport needs
adding to the supplied !System.400.Modules along with licensing
information in the 3rdParty directory.
2022-11-03 22:17:39 +00:00
John-Mark Bell
d8977f7814 RISC OS: generate unwind tables for EABI builds 2022-11-03 21:44:57 +00:00
John-Mark Bell
692da43855 BuildSystem: make package step depend on POSTEXES
The POSTEXE stages might add more stuff to the package contents,
so ensure they have completed before starting to package things up.
2022-11-03 21:44:57 +00:00
John-Mark Bell
7a767da220 Buildsystem: support arm-riscos-gnueabi 2022-11-03 21:44:57 +00:00
Michael Drake
836b5b6126 gtk: toolbar: Handle snprintf error 2022-10-23 17:22:56 +01:00
Michael Drake
a584c6bb3b gtk: pixbuf creation: Avoid int overflow before size_t conversion 2022-10-23 17:22:56 +01:00
Michael Drake
cd3b4487c7 RISC OS: Image: Don't override sprite mode for opaque plot type
This fixes local history thumbnails, which are opaque, when plotted
on a version of RISC OS that supports alpha sprites, and Tinct is
being avoided.
2022-10-05 18:10:23 +01:00
John-Mark Bell
c6eea438ac RISC OS: Allow text selection in URL bar (RO5.28 onwards) 2022-09-04 09:29:07 +01:00
Michael Drake
7c89bc0d53 RISC OS: Dragging favicon drag-saves URL 2022-08-28 22:03:57 +01:00
Michael Drake
37b6233fff RISC OS: Image: Fix EX0 EY0 plot when avoiding Tinct 2022-08-25 22:30:36 +01:00
Chris Young
703734c389 Amiga: Fix page theme current selection 2022-08-05 13:05:21 +01:00
Chris Young
79baf60fa5 Amiga: Add page theme toggle 2022-08-03 15:14:01 +01:00
John-Mark Bell
1577d00050 RISC OS: fix awrender glue for EABI
The only hand-written asm is the glue to Artworks Render. Update
it to be ABI compliant when building for EABI and force the
alignment of the data in the .bss section (as unaligned rotated
loads are really not a thing).

No functional change for non-EABI builds but, as the stack framing
differs depending on the ABI in use, we can no longer reliably use
fp as the base pointer for on-stack function arguments to
awrender_render. Thus, this has been reworked to use ip as the
pointer instead and to also use r8/r9 to relieve excess register
pressure.
2022-06-05 23:33:12 +01:00
John-Mark Bell
926c0985e3 RISC OS: fix type in awrender_init definition. 2022-06-03 02:43:01 +01:00
John-Mark Bell
e1d7928b3b RISC OS: fix snprintf usage
When computing throbber sprite names, ensure the current frame is
in range before using it.

Similarly ensure the buffer size for the temporary URL bar sprite
name is sized such that snprintf has space for the trailing NUL
when formatting it to the output buffer.
2022-06-03 02:41:23 +01:00
John-Mark Bell
617c6207bc RISC OS: fix up use of strncpy
Ensure that strings copied using strncpy are NUL terminated.

Additionally, replace use of strncpy entirely where we are writing
into non-indirected OS icon blocks (where an unterminated 12
character long string is perfectly valid).
2022-06-03 02:39:30 +01:00
John-Mark Bell
0d114e10b2 RISC OS: GCC 10 approved fall-through markers 2022-06-03 02:37:36 +01:00
John-Mark Bell
99012dcdd4 Buildsystem: update for new RISC OS toolchain
The new toolchain has a different machine triplet, so update the
things that care about it to work either way.

Remove the expectation that ro-pkg-config exists (it's trivial
and the core buildsystem never used it, so let's have some
consistency).

Determine the location of the zip binary in Makefile.tools, just
like for all the other tooling and stop assuming where it's
installed in the netsurf.zip target.
2022-06-03 00:43:42 +01:00
John-Mark Bell
230aa1736f RISC OS: use OS CertData resource, if present 2022-05-27 20:32:07 +01:00
John-Mark Bell
5ddd7fc0e0 Fix up size of download URI field in Dutch templates 2022-05-27 19:51:59 +01:00
John-Mark Bell
b81c95aca8 s/http/https/ in user-facing URIs 2022-05-27 17:58:51 +01:00
John-Mark Bell
862756a1a4 RISC OS: initialise font subsystem after Wimp_Initialise
If RUfl detects it is running in a Wimp task it will display a
progress meter while scanning fonts. We had this behaviour until
~2017, when it became broken due to the font initialisation being
moved before the call to Wimp_Initialise (because the hotlist
display logic got moved to the treeview, which needs fonts set up)

Move both the font and hotlist initialisation after the call to
Wimp_Initialise to restore the desired behaviour.
2022-05-27 15:09:48 +01:00
John-Mark Bell
d51cf1a789 RISC OS: fix up following RUfl API change 2022-05-27 15:09:48 +01:00
Chris Young
eb7037ac4f Amiga: Do not use pre-multiplied alpha with CompositeTags() (ie. OS4 RTG) 2022-04-01 16:43:26 +01:00
Chris Young
44e464e98d Amiga: Use ARGB format bitmaps 2022-04-01 16:03:44 +01:00
Michael Drake
7d5c449389 GTK: Simplify opaque bitmap handling.
Avoid creating new bitmaps and copying in set_opaque by always
using an RGBA format.
2022-03-29 17:32:40 +01:00
Michael Drake
8e56cc3b1a Bitmap: Implement test_opaque in core instead of in every frontend. 2022-03-29 15:25:33 +01:00
Michael Drake
231c96cf8d GTK: Bitmap: Converted bool not needed any more. 2022-03-28 16:42:09 +01:00
Michael Drake
fce59865c5 GTK: Drop bitmap format logging that's duplicated in the core. 2022-03-28 16:29:14 +01:00
Michael Drake
414cb1a851 GTK: Get the core to handle premultipled alpha bitmap format. 2022-03-28 16:08:00 +01:00
Michael Drake
035106032b GTK: Search: Squash implicit declaration of malloc. 2022-03-28 11:47:46 +01:00
Michael Drake
acc07fcf85 GTK: Scaffolding: Squash implicit declaration of malloc, free. 2022-03-28 11:47:03 +01:00
Michael Drake
5b96635c73 GTK: Misc: Squash strcmp and strdup implicit declaration warnings. 2022-03-28 11:45:17 +01:00
Michael Drake
ad7544a6df GTK: Set bitmap format to match Cairo format.
Cairo format is native endian 0xAARRGGBB.
2022-03-28 11:11:03 +01:00
Michael Drake
7f6a00ad2b RISC OS: Include core bitmap header from RO bitmap header.
Squash warnings about enum declared inside parameter list.
2022-03-24 22:19:22 +00:00
Michael Drake
9892eefd0a RISC OS: Squash unused variable warning. 2022-03-24 22:17:48 +00:00
Michael Drake
002c3c1a7c Bitmap API: Clean up creation flags. 2022-03-24 18:09:28 +00:00
Michael Drake
eca8c260a8 BeOS: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:29:08 +00:00
Michael Drake
b0e61d1f32 Windows: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:28:49 +00:00
Michael Drake
e104fd798b RISC OS: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:28:36 +00:00
Michael Drake
8e57f2a2f5 Monkey: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:28:22 +00:00
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
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
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