200e8d8c
css2: Fix consume_number eating an extra character
Robin Linden
parent c628aec4
c628aec4
css: Drop no-longer-needed nolint
SFML doesn't leak this unused forward-declaration into our code anymore.
Robin Linden
parent a725976f
a725976f
css: Get rid of recursion in whitespace-skipping
Robin Linden
parent 8ce48929
8ce48929
meta/clang-tidy: Drop no-longer-needed cert-dcl21-cpp disable
Robin Linden
parent 6d80f938
6d80f938
ci: Use libc++-19 in the clang-tidy job
This is possible now that we're on SFML 3.
Robin Linden
parent e9dc80c1
e9dc80c1
ci: Drop the etest-noexcept job
This code almost never changes, and I think spotting issues in reviews
will be easy enough that there's no need for this.
Robin Linden
parent 49deedb8
49deedb8
deps: Update to SFML 3
Robin Linden
parent 0a3c6210
0a3c6210
wasm/test: Improve test coverage
Robin Linden
parent 0c91f1d3
0c91f1d3
meta/clang-tidy: Enable modernize-min-max-use-initializer-list
Robin Linden
parent e351dcf9
e351dcf9
meta/clang-tidy: Enable misc-use-internal-linkage
Robin Linden
parent a8ee7d88
a8ee7d88
meta/clang-tidy: Enable performance-unnecessary-copy-initialization
Robin Linden
parent 23bc877c
23bc877c
meta/clang-tidy: Enable performance-unnecessary-value-param
Robin Linden
parent 3f45e957
3f45e957
ci: Get rid of unnecessary llvm repository setup
Robin Linden
parent 317e6437
317e6437
ci: Update to clang-tidy 19
Robin Linden
parent a3a61d74
a3a61d74
meta/clang-tidy: Suppress warnings new in clang-tidy 19
Robin Linden
parent fe314322
fe314322
browser/gui: Deploy the in-memory cache
Robin Linden
parent 978115cd
978115cd
protocol: Implement a simple in-memory cache
Robin Linden
parent 3fba8e23
3fba8e23
uri: Implement all comparison operators for Uri
Robin Linden
parent 8138d925
8138d925
ci: Make the code coverage status required again
Looks like something shifted in codecov or the compilers we use as the
project code coverage jumped 3% the other day and has stopped randomly
fluctuating, meaning this should be fine again.
Robin Linden
parent 68b2004d
68b2004d
style: Support resolving the vw unit
Robin Linden
parent e03d3613
e03d3613
style: Wrap UnresolvedValue args that won't change much in a struct
Things like the root font size or the (not-yet-handled) view width are
constant within a page layout, so let's wrap them up in a struct to both
make extending this easier and to make the API harder to misuse.
Robin Linden
parent c2d1cabc
c2d1cabc
browser/gui: Log url completions
Robin Linden
parent 25acf962
25acf962
uri: Support completing fragments
E.g. base=example.com, url=#test => example.com#test
Robin Linden
parent 796c2d59
796c2d59
uri: Migrate to etest2
Robin Linden
parent 8b9846de
8b9846de
uri: Simplify completion code
Robin Linden
parent 5f7bf716
5f7bf716
uri: Remove recursion
This wasn't /really/ recursive as the second parse call in the 'parse ->
complete_from_base_if_needed -> parse' chain would never get a base url,
but this makes makes it more obvious that that was the case.
Robin Linden
parent de8db936
de8db936
uri/test: Support fuzzing parsing w/ base uris
Robin Linden
parent b8c120f7
b8c120f7
meta/clang-tidy: Make readability-identifier-naming accept fuzz tests
Robin Linden
parent d57f8638
d57f8638
meta/clang-tidy: Replace legacy headers in fuzz tests
Realistically `std::uint8_t` and `uint8_t` are always going to be the
same types, so let's get rid of some nolints that are in the way when
looking for things to clean up.
Robin Linden
parent 1e1e89ec
1e1e89ec
layout: Explicitly resolve margin-{top,bottom}: auto to 0
We were already resolving this to 0, but with a warning due to `auto`
not being parseable as a number.
Robin Linden
parent 2e18c2a1
2e18c2a1
style: Include the caller in property resolution failure logging
Robin Linden
parent bc29809d
bc29809d
build: Drop no-longer-needed fix for old Valgrind
Ubuntu 24.04 ships Valgrind 3.22 which is newer than the 3.19 version
needed for DWARF-5 to work.
Robin Linden
parent cbf9ffcb
cbf9ffcb
meta: Enable clang-tidy's misc-no-recursion lint
Most of these places need some form of recursion depth restriction or
rewriting.
Robin Linden
parent 8fbe5ecc
8fbe5ecc
ci: Update buildifier and ruff
Robin Linden
parent 3d19c342
3d19c342
doc: Add convenience links to the few deps missing them
Robin Linden
parent 9401c05a
9401c05a
deps: Update boringssl, simdjson, and vulkan
Robin Linden
parent 48243c0f
48243c0f
style: Get rid of unused 'using namespace'
Robin Linden
parent 1418fb23
1418fb23
style: Replace small maps w/ array<pair>
This means that the data is a compile-time constant instead of
heap-allocated at runtime, so no allocations and no nolints.
Robin Linden
parent b4084f95
b4084f95
unicode: Port the unicode data processor to C++
Using Python here made things slower and more complex than just keeping
it in C++ like the rest of the code base.
Robin Linden
parent e7181ac3
e7181ac3
style: Remove the to_px-helper
It's been completely replaced by UnresolvedValue now.
Robin Linden
parent 271beeba
271beeba
style: Wrap the border width properties in UnresolvedValue
Robin Linden
parent 605248ec
605248ec
style: Wrap height and padding properties in UnresolvedValue
Robin Linden
parent f96938e3
f96938e3
css: Ignore `@import` at-rules
Without this, any `@import` at-rules are likely to kill parsing of the
rest of the document.
Robin Linden
parent 29964344
29964344
ci: Drop no-longer-needed workaround for unsuported aslr entropy
Robin Linden
parent b0f4bd4c
b0f4bd4c
ci: Drop now-unnecessary explicit Python setup
Robin Linden
parent 17dd7680
17dd7680
ci: Run Linux jobs on Ubuntu 24.04
We've been using this in the gcc-14 job for a few months without any
issues now.
Robin Linden
parent 2b7536db
2b7536db
ci: Drop support for clang-{16,17} w/ libstdc++
Clang 16 and 17 don't work together with the default libstdc++ (14) on
GitHub runners w/ Ubuntu 24.04, and it's not worth the trouble to work
around.
Robin Linden
parent 2dbf1a07
2dbf1a07
ci: Use pipx to install pypi-provided tools
This installs each command in a separate venv which is just good
practice.
Robin Linden
parent bc2f9227
bc2f9227
ci: Install gitlint as gitlint-core
They have an interesting setup where gitlint is just an alias for
gitlint-core. This works right now, but breaks if trying to install it
using pipx.
Robin Linden
parent f442fc34
f442fc34
ci: Explicitly install x11 in the coverage jobs
Robin Linden
parent a7d6930f
More