summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--example/asio_example/example.cpp11
-rw-r--r--example/simple_example/example.cpp11
-rw-r--r--example/text_editor_example/example.cpp11
-rw-r--r--example/text_editor_example/texteditor.hpp11
-rw-r--r--include/ocl/tproc.hpp1
-rw-r--r--include/ocl/tproc/algos/bfs.hpp1
-rw-r--r--include/ocl/tproc/algos/bfs.inl6
-rw-r--r--include/ocl/tproc/algos/dijkstra.hpp1
-rw-r--r--include/ocl/tproc/algos/dijkstra.inl6
-rw-r--r--include/ocl/tproc/detail/config.hpp11
-rw-r--r--include/ocl/tproc/detail/rope_fwd.hpp1
-rw-r--r--include/ocl/tproc/detail/rope_fwd.inl1
-rw-r--r--include/ocl/tproc/rope.hpp1
-rw-r--r--include/ocl/tproc/rope.inl1
-rw-r--r--test/rope_test/crope.pred.test.cpp11
-rw-r--r--test/rope_test/crope.pred2.test.cpp11
-rw-r--r--test/rope_test/crope.test.cpp11
17 files changed, 58 insertions, 49 deletions
diff --git a/example/asio_example/example.cpp b/example/asio_example/example.cpp
index 5ba520d..07bc62f 100644
--- a/example/asio_example/example.cpp
+++ b/example/asio_example/example.cpp
@@ -1,9 +1,8 @@
-/*
- * File: example.cpp
- * Purpose: Rope example.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
#include <ocl/tproc/rope.hpp>
#include <ocl/asio.hpp>
diff --git a/example/simple_example/example.cpp b/example/simple_example/example.cpp
index 70c073a..0cb20d8 100644
--- a/example/simple_example/example.cpp
+++ b/example/simple_example/example.cpp
@@ -1,9 +1,8 @@
-/*
- * File: example.cpp
- * Purpose: Rope example.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
#include <ocl/tproc/rope.hpp>
#include <iostream>
diff --git a/example/text_editor_example/example.cpp b/example/text_editor_example/example.cpp
index d61f91f..c699d45 100644
--- a/example/text_editor_example/example.cpp
+++ b/example/text_editor_example/example.cpp
@@ -1,9 +1,8 @@
-/*
- * File: example.cpp
- * Purpose: Rope example.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
#include "texteditor.hpp"
diff --git a/example/text_editor_example/texteditor.hpp b/example/text_editor_example/texteditor.hpp
index e83cf85..db018e1 100644
--- a/example/text_editor_example/texteditor.hpp
+++ b/example/text_editor_example/texteditor.hpp
@@ -1,9 +1,8 @@
-/*
- * File: qt_widget.hpp
- * Purpose: Minimal text editor widget example using tproc rope.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
#ifndef TPROC_EXAMPLE_QT_WIDGET_HPP
#define TPROC_EXAMPLE_QT_WIDGET_HPP
diff --git a/include/ocl/tproc.hpp b/include/ocl/tproc.hpp
index a9cbf16..1934609 100644
--- a/include/ocl/tproc.hpp
+++ b/include/ocl/tproc.hpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/ocl/tproc/algos/bfs.hpp b/include/ocl/tproc/algos/bfs.hpp
index 0382b72..d2e2c03 100644
--- a/include/ocl/tproc/algos/bfs.hpp
+++ b/include/ocl/tproc/algos/bfs.hpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/ocl/tproc/algos/bfs.inl b/include/ocl/tproc/algos/bfs.inl
index e69de29..2fea2ae 100644
--- a/include/ocl/tproc/algos/bfs.inl
+++ b/include/ocl/tproc/algos/bfs.inl
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
+
diff --git a/include/ocl/tproc/algos/dijkstra.hpp b/include/ocl/tproc/algos/dijkstra.hpp
index 4907c4c..a9d6e86 100644
--- a/include/ocl/tproc/algos/dijkstra.hpp
+++ b/include/ocl/tproc/algos/dijkstra.hpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/ocl/tproc/algos/dijkstra.inl b/include/ocl/tproc/algos/dijkstra.inl
index 8b13789..03678a9 100644
--- a/include/ocl/tproc/algos/dijkstra.inl
+++ b/include/ocl/tproc/algos/dijkstra.inl
@@ -1 +1,5 @@
-
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
diff --git a/include/ocl/tproc/detail/config.hpp b/include/ocl/tproc/detail/config.hpp
index 0bb6654..80ebbd6 100644
--- a/include/ocl/tproc/detail/config.hpp
+++ b/include/ocl/tproc/detail/config.hpp
@@ -1,9 +1,8 @@
-/*
- * File: config.hpp
- * Purpose: Configuration header of the `tproc` library.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
#ifndef OCL_TPROC_CONFIG
#define OCL_TPROC_CONFIG
diff --git a/include/ocl/tproc/detail/rope_fwd.hpp b/include/ocl/tproc/detail/rope_fwd.hpp
index 1cc997c..46b603d 100644
--- a/include/ocl/tproc/detail/rope_fwd.hpp
+++ b/include/ocl/tproc/detail/rope_fwd.hpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/ocl/tproc/detail/rope_fwd.inl b/include/ocl/tproc/detail/rope_fwd.inl
index b6ca4ee..9234025 100644
--- a/include/ocl/tproc/detail/rope_fwd.inl
+++ b/include/ocl/tproc/detail/rope_fwd.inl
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/ocl/tproc/rope.hpp b/include/ocl/tproc/rope.hpp
index 4cd5352..2810fb9 100644
--- a/include/ocl/tproc/rope.hpp
+++ b/include/ocl/tproc/rope.hpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/ocl/tproc/rope.inl b/include/ocl/tproc/rope.inl
index 29a4ad5..ad33aec 100644
--- a/include/ocl/tproc/rope.inl
+++ b/include/ocl/tproc/rope.inl
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/rope_test/crope.pred.test.cpp b/test/rope_test/crope.pred.test.cpp
index 5613bc3..58424cc 100644
--- a/test/rope_test/crope.pred.test.cpp
+++ b/test/rope_test/crope.pred.test.cpp
@@ -1,9 +1,8 @@
-/*
- * File: crope.pred.test.cpp
- * Purpose: Char rope test.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
#include <ocl/tproc/rope.hpp>
#include <memory>
diff --git a/test/rope_test/crope.pred2.test.cpp b/test/rope_test/crope.pred2.test.cpp
index e088bf6..c2f5aca 100644
--- a/test/rope_test/crope.pred2.test.cpp
+++ b/test/rope_test/crope.pred2.test.cpp
@@ -1,9 +1,8 @@
-/*
- * File: crope.pred.test.cpp
- * Purpose: Char rope test.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
#include <ocl/tproc/rope.hpp>
#include <memory>
diff --git a/test/rope_test/crope.test.cpp b/test/rope_test/crope.test.cpp
index 9275bef..cc77764 100644
--- a/test/rope_test/crope.test.cpp
+++ b/test/rope_test/crope.test.cpp
@@ -1,9 +1,8 @@
-/*
- * File: crope.test.cpp
- * Purpose: Char rope test.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/tproc
#include <ocl/tproc/rope.hpp>