srctree

Robin Linden parent 4d28da83 9b55bcfe
doc: Replace moved links with their new locations

inlinesplit
.bazelrc added: 9, removed: 10, total 0
@@ -37,7 +37,7 @@ build:windows --copt='/Zc:__cplusplus' # Report the real supported C++ version,
# Special build options
# =========================================================
 
# https://bazel.build/docs/windows#clang
# https://bazel.build/configure/windows#clang
build:clang-cl --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl
build:clang-cl --extra_execution_platforms=//:x64_windows-clang-cl
build:clang-cl --platforms=//:x64_windows-clang-cl
 
README.md added: 9, removed: 10, total 0
@@ -70,4 +70,4 @@ C++ feature.
[bazel]: https://bazel.build
[bazelisk]: https://github.com/bazelbuild/bazelisk
[clangd-on-windows]: https://github.com/clangd/clangd/issues/527
[codecov]: https://codecov.io/gh/robinlinden/hastur
[codecov]: https://app.codecov.io/gh/robinlinden/hastur
 
gfx/color.cpp added: 9, removed: 10, total 0
@@ -21,7 +21,7 @@ struct CaseInsensitiveLess {
}
};
 
// https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color_keywords#list_of_all_color_keywords
// https://developer.mozilla.org/en-US/docs/Web/CSS/named-color#list_of_all_color_keywords
std::map<std::string_view, gfx::Color, CaseInsensitiveLess> const kNamedColors{
// System colors.
// https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#system_colors
 
img/png.cpp added: 9, removed: 10, total 0
@@ -50,7 +50,7 @@ std::optional<Png> Png::from(std::istream &is) {
 
#ifdef _MSC_VER
// C4611: interaction between '_setjmp' and C++ object destruction is non-portable.
// See: https://docs.microsoft.com/en-us/cpp/cpp/using-setjmp-longjmp
// See: https://learn.microsoft.com/en-us/cpp/cpp/using-setjmp-longjmp?view=msvc-170
#pragma warning(disable : 4611)
#endif
if (setjmp(png_jmpbuf(png))) {
 
style/styled_node.cpp added: 9, removed: 10, total 0
@@ -123,7 +123,6 @@ std::optional<gfx::Color> try_from_hex_chars(std::string_view hex_chars) {
 
// TODO(robinlinden): space-separated values.
// https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
// https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgba
std::optional<gfx::Color> try_from_rgba(std::string_view text) {
if (text.starts_with("rgb(")) {
text.remove_prefix(std::strlen("rgb("));