srctree

Robin Linden parent 839efb06 f888c63a
all: Add SPDX copyright headers

inlinesplit
browser/gui.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "css/parse.h"
#include "html/parse.h"
#include "http/get.h"
 
browser/tui.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "dom/dom.h"
#include "html/parse.h"
#include "http/get.h"
 
css/parse.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "css/parse.h"
 
#include "css/parser.h"
 
css/parse.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef CSS_PARSE_H_
#define CSS_PARSE_H_
 
 
css/parser.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef CSS_PARSER_H_
#define CSS_PARSER_H_
 
 
css/parser_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "css/parse.h"
 
#include "etest/etest.h"
 
css/rule.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef CSS_RULE_H_
#define CSS_RULE_H_
 
 
dom/dom.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "dom/dom.h"
 
#include <algorithm>
 
dom/dom.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef DOM_DOM_H_
#define DOM_DOM_H_
 
 
dom/dom_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "dom/dom.h"
 
#include "etest/etest.h"
 
etest/cxx_compat.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef ETEST_CXX_COMPAT_H_
#define ETEST_CXX_COMPAT_H_
 
 
etest/etest.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "etest/etest.h"
 
#include <algorithm>
 
etest/etest.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef ETEST_TEST_H_
#define ETEST_TEST_H_
 
 
etest/etest_main.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "etest/etest.h"
 
int main() {
 
etest/etest_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "etest/etest.h"
 
auto test0 = etest::test("expect true works", [] {
 
etest/expect_failure_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "etest/etest.h"
 
using etest::expect;
 
etest/require_failure_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "etest/etest.h"
 
using etest::require;
 
html/parse.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "html/parse.h"
 
#include "html/parser.h"
 
html/parse.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef HTML_PARSE_H_
#define HTML_PARSE_H_
 
 
html/parser.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef HTML_PARSER_H_
#define HTML_PARSER_H_
 
 
html/parser_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "html/parse.h"
 
#include "etest/etest.h"
 
http/get.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "http/get.h"
 
#include <asio.hpp>
 
http/get.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef HTTP_GET_H_
#define HTTP_GET_H_
 
 
layout/layout.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "layout/layout.h"
 
#include <algorithm>
 
layout/layout.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef LAYOUT_LAYOUT_H_
#define LAYOUT_LAYOUT_H_
 
 
layout/layout_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "layout/layout.h"
 
#include "etest/etest.h"
 
os/linux.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "os/os.h"
 
#include <cstdlib>
 
os/os.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef OS_OS_H_
#define OS_OS_H_
 
 
os/os_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "os/os.h"
 
#include "etest/etest.h"
 
os/windows.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "os/os.h"
 
// Must be included first because Windows headers don't include what they use.
 
render/render.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "render/render.h"
 
// MSVC gl.h doesn't include everything it uses.
 
render/render.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef RENDER_RENDER_H_
#define RENDER_RENDER_H_
 
 
style/style.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "style/style.h"
 
#include <algorithm>
 
style/style.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef STYLE_STYLE_H_
#define STYLE_STYLE_H_
 
 
style/style_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "style/style.h"
#include "style/styled_node.h"
 
 
style/styled_node.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef STYLE_STYLED_NODE_H_
#define STYLE_STYLED_NODE_H_
 
 
tui/tui.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "tui/tui.h"
 
#include <ftxui/dom/elements.hpp>
 
tui/tui.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef TUI_TUI_H_
#define TUI_TUI_H_
 
 
uri/uri.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 David Zero <zero-one@zer0-one.net>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "uri/uri.h"
 
#include <regex>
 
uri/uri.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 David Zero <zero-one@zer0-one.net>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef URI_URI_H_
#define URI_URI_H_
 
 
uri/uri_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 David Zero <zero-one@zer0-one.net>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "uri/uri.h"
 
#include "etest/etest.h"
 
util/base_parser.h added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#ifndef UTIL_BASE_PARSER_H_
#define UTIL_BASE_PARSER_H_
 
 
util/base_parser_test.cpp added: 215, removed: 43, total 172
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
 
#include "util/base_parser.h"
 
#include "etest/etest.h"