Vincent Sanders
0c25ae5e8e
remove the ambiguity around the reallocation in utf8_to_html()
2022-11-26 15:21:16 +00:00
Vincent Sanders
1d82ef411a
consolodate duplicated conversion descriptor cache code
2022-11-26 15:21:16 +00:00
Vincent Sanders
6780766fb7
Improve utf8 conversion function
...
Newer compilers were (correctly) pointing out use after free.
Slightly reworkeed conversion function to remove compiler warnings
and clean up implementation.
2022-11-26 15:21:16 +00:00
Daniel Silverstone
3d739479ea
(duktape): Clear some warnings by adding base data to css rule and stylesheet
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-11-26 14:55:20 +00:00
Michael Drake
14fba9afdc
GitHub CI: Make codeql job name match other jobs
2022-11-09 17:10:48 +00:00
Michael Drake
d893a6d602
GitHub CI: Update for new env.sh
2022-11-09 17:10:48 +00:00
Michael Drake
beaeec5792
env.sh: Add support for building only a lib
...
Allow the build environment to be set up for building a library
only instead of the whole browser.
2022-11-09 17:10:48 +00:00
John-Mark Bell
20f5599514
fetchers/curl: drop non-PFS fallback ciphersuite
2022-11-05 12:49:01 +00:00
John-Mark Bell
85da9873f7
fetchers/curl: disable TLS1.0 and TLS1.1 support
2022-11-05 12:42:15 +00:00
John-Mark Bell
53e92ed57b
fetchers/curl: explicitly configure TLS1.3 ciphersuites
...
These currently match the defaults, so no functional change.
2022-11-05 12:42:15 +00:00
Michael Drake
877bc2ce13
gif: Ensure we never pass NSERROR_OK to error broadcast
2022-11-04 13:52:17 +00:00
Michael Drake
afbd9cd5e8
gif: Mark gifs as complete after scanning source data
...
This allows libnsgif to distinguish between awaiting more
data, and a broken truncated GIF. In the latter case we
can display what we have.
2022-11-04 11:36:02 +00:00
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
John-Mark Bell
2f56bc568d
env.sh: support arm-riscos-gnueabi
2022-11-03 21:44:57 +00:00
Michael Drake
217f71357e
html: layout: flex: Disable verbose logging
2022-11-02 20:16:41 +00:00
Michael Drake
45b68a3b50
html: layout: flex: Implement align-items and align-self
2022-11-02 20:16:41 +00:00
Michael Drake
47482bd539
html: layout: flex: Implement wrap-reverse
2022-11-02 20:16:41 +00:00
Michael Drake
e9147bdeea
html: layout: flex: Don't pass content around unnecessarily
2022-11-02 20:16:41 +00:00
Michael Drake
b91d61b89f
html: layout: flex: Compare line main size with available main
...
When deciding whether to use the grow or shrink flex factor we
we using the available width, rather than the space available in
the main direction.
2022-11-02 20:16:41 +00:00
Michael Drake
d0b1bcb01a
html: layout: flex: Unify line item placement
2022-11-02 20:16:41 +00:00
Michael Drake
6c2f9f3285
html: layout helpers: Add helpers for width/height indirection
2022-11-02 20:16:41 +00:00
John-Mark Bell
0718e58681
utils: Use fstatat and unlinkat if supported
2022-11-02 17:28:18 +00:00
John-Mark Bell
41f0a5a36e
Buildsystem: fix RISC OS AOF matching
2022-11-02 13:56:27 +00:00
Michael Drake
1810fbfe22
Revert "utils: file: Use fstatat and unlinkat"
...
On may of the platforms we build for (RISC OS, Windows, Amiga OS4,
Amiga OS3, and Atari), this was causing:
- utils/file.c:329 error: 'O_DIRECTORY' undeclared
- utils/file.c:357 error: 'AT_SYMLINK_NOFOLLOW' undeclared
This reverts commit ef00567b02
.
2022-11-02 13:35:11 +00:00
Michael Drake
991f657ecd
html: layout: Remove duplicate typedefs
2022-10-29 22:28:49 +01:00
Michael Drake
094eb9ae48
layout: flex: Squash main is usually a function warning
2022-10-29 22:15:58 +01:00
Michael Drake
8615964c3f
html: layout: Initial implementation of display: flex
2022-10-29 20:30:48 +01:00
Michael Drake
06eee4636f
html: box_dump: Indicate descendant bounding box values
2022-10-29 20:30:48 +01:00
Michael Drake
6da0bf5b84
layout: minmax pass: Improve handling of {min|max}_width properties
2022-10-29 20:30:48 +01:00
Michael Drake
145d6dfc6c
layout: minmax table: Change logging level to error
2022-10-29 20:30:48 +01:00
Michael Drake
63412372b2
layout: calculate_mbp_width: Preserve percentage values
2022-10-29 20:30:48 +01:00
Michael Drake
15b23e1e3c
log: Add flex logging catagory
2022-10-29 20:30:48 +01:00
Michael Drake
ab877e680b
html: layout: Improve block container assertions
2022-10-29 20:30:48 +01:00
Michael Drake
399f0063ba
html: layout: Split out common helpers
2022-10-29 20:30:48 +01:00
Michael Drake
16252bb9f5
css: Fix dump of display: inline-flex
2022-10-29 20:30:48 +01:00
Michael Drake
84d3d1bf7a
layout: Constify box through layout_find_dimensions()
2022-10-29 20:30:48 +01:00
Michael Drake
ae57029f83
layout: Constify box through layout_handle_box_sizing()
2022-10-29 20:30:48 +01:00
Michael Drake
86afb06496
layout: Add helpers for various box type checks
2022-10-29 20:30:48 +01:00
Michael Drake
2f98e96c95
layout: Add helper for checking if a style has a border on a side
2022-10-29 20:30:48 +01:00
Michael Drake
f1dbd523b4
layout: Drop redundant else block
2022-10-29 20:30:48 +01:00
Michael Drake
7d833537aa
css: Update display property helper for grid
2022-10-29 18:24:38 +01:00
Michael Drake
bbb9b4ab72
GitHub CI: Add monkey short-internet test
2022-10-23 17:22:56 +01:00
Michael Drake
922abd7bff
GitHub CI: Add linux build and unit test job
2022-10-23 17:22:56 +01:00
Michael Drake
dfcdf8d17d
GitHub CI: Add static analysis.
2022-10-23 17:22:56 +01:00
Michael Drake
d1610a1cdb
env.sh: Add NetSurf clone skip and shallow clone switches.
2022-10-23 17:22:56 +01:00
Michael Drake
ce6a2c87da
content: image cache: Avoid int overflow before size_t conversion
2022-10-23 17:22:56 +01:00
Michael Drake
6c4343a742
utils: ssl_certs: Fix potential snprintf overflow
2022-10-23 17:22:56 +01:00