From f88fe31af6b19a972c2b72d9fdaee8c1985cfd9f Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 11 Mar 2026 16:18:23 +0100 Subject: [CHORE] Add SPDX header for files. Signed-off-by: Amlal El Mahrouss --- example/asio_example/example.cpp | 11 +++++------ example/simple_example/example.cpp | 11 +++++------ example/text_editor_example/example.cpp | 11 +++++------ example/text_editor_example/texteditor.hpp | 11 +++++------ include/ocl/tproc.hpp | 1 + include/ocl/tproc/algos/bfs.hpp | 1 + include/ocl/tproc/algos/bfs.inl | 6 ++++++ include/ocl/tproc/algos/dijkstra.hpp | 1 + include/ocl/tproc/algos/dijkstra.inl | 6 +++++- include/ocl/tproc/detail/config.hpp | 11 +++++------ include/ocl/tproc/detail/rope_fwd.hpp | 1 + include/ocl/tproc/detail/rope_fwd.inl | 1 + include/ocl/tproc/rope.hpp | 1 + include/ocl/tproc/rope.inl | 1 + test/rope_test/crope.pred.test.cpp | 11 +++++------ test/rope_test/crope.pred2.test.cpp | 11 +++++------ test/rope_test/crope.test.cpp | 11 +++++------ 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 #include 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 #include 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 #include 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 #include 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 -- cgit v1.2.3