Cockatrice/libcockatrice_utility/libcockatrice/utility
BruebachL b04d8b88ac
[Icons] Add SVG currentColor sentinel resolver (#7593)
Qt's SVG renderer has no CSS cascade, so a `currentColor` fill has to be
substituted before the bytes reach QSvgRenderer.

- Match and replace on bytes: both the sentinel and the replacement are
  ASCII, so the document never goes through a UTF-16 round trip, and files
  that are not valid UTF-8 survive unchanged.
- Document that the match is a plain case-insensitive substring, so an
  identifier that merely starts with the sentinel gets rewritten too.

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-11-04 18:39:40 +01:00
..
card_ref.h
clamped_arithmetic.h
color.h
counter_limits.h
cryptoutil.cpp [Security] Add challenge-response auth with scrypt verifiers and stop storing plaintext passwords (#7193) 2026-10-16 22:52:26 +02:00
cryptoutil.h [Security] Add challenge-response auth with scrypt verifiers and stop storing plaintext passwords (#7193) 2026-10-16 22:52:26 +02:00
days_years_between.h
debouncer.h [QtUtils] Add Debouncer helper (#7623) 2026-10-24 22:43:10 +02:00
dice_limits.h
expression.cpp
expression.h
installer_close_protocol.h [Installer] Graceful close and a way out of a stuck update (#7687) 2026-10-31 15:32:59 +01:00
levenshtein.cpp [Search] Stop allocating per card in card-name completion (#7604) 2026-10-23 11:23:04 +02:00
levenshtein.h
local_server_name.h [Client] Improve card database update visibility (#7458) 2026-10-09 11:07:48 +02:00
macros.h
passwordhasher.cpp [Utility] Budget scrypt's XY array in the derivation memory limit (#7712) 2026-11-02 07:29:15 +01:00
passwordhasher.h [Security] Add challenge-response auth with scrypt verifiers and stop storing plaintext passwords (#7193) 2026-10-16 22:52:26 +02:00
peglib.h
playmat_params.h
qt_utils.h [QtUtils] Add window fade, path opening, bold font and confirmation helpers (#7621) 2026-10-24 21:38:54 +02:00
report_categories.cpp
report_categories.h
server_rate_limiter.cpp
server_rate_limiter.h
string_limits.h
svg_recolor.cpp [Icons] Add SVG currentColor sentinel resolver (#7593) 2026-11-04 18:39:40 +01:00
svg_recolor.h [Icons] Add SVG currentColor sentinel resolver (#7593) 2026-11-04 18:39:40 +01:00
translation_loader.cpp [Translation] Name languages without reading the translation files (#7662) 2026-10-26 02:39:26 +01:00
translation_loader.h [Translation] Name languages without reading the translation files (#7662) 2026-10-26 02:39:26 +01:00
user_data_backup.cpp [Installer][Client] Back up user data before old uninstallers can delete it (#7503) 2026-10-16 22:05:42 +02:00
user_data_backup.h [Installer][Client] Back up user data before old uninstallers can delete it (#7503) 2026-10-16 22:05:42 +02:00
warning_categories.cpp
warning_categories.h
zone_names.h