From 939fd6fe7795ae87189a0b406fb276036c7930bb Mon Sep 17 00:00:00 2001 From: Yvee1 Date: Tue, 18 Aug 2026 16:49:02 +0200 Subject: [PATCH 1/2] Fix leftover license headers --- cartocrow/core/core.cpp | 6 +----- cartocrow/core/core.h | 11 ++--------- cartocrow/core/ellipse.h | 17 +++++++++++++++++ cartocrow/core/point_set.cpp | 17 +++++++++++++++++ cartocrow/core/point_set.h | 17 +++++++++++++++++ cartocrow/core/polygon_set_raw.cpp | 17 +++++++++++++++++ cartocrow/core/polygon_set_raw.h | 17 +++++++++++++++++ cartocrow/core/region_arrangement.h | 9 +-------- 8 files changed, 89 insertions(+), 22 deletions(-) diff --git a/cartocrow/core/core.cpp b/cartocrow/core/core.cpp index 1129076eb..9b14c23a0 100644 --- a/cartocrow/core/core.cpp +++ b/cartocrow/core/core.cpp @@ -1,7 +1,5 @@ /* -The CartoCrow library implements algorithmic geo-visualization methods, -developed at TU Eindhoven. -Copyright (C) 2021 Netherlands eScience Center and TU Eindhoven +Copyright (C) 2026 TU Eindhoven This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,8 +13,6 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - -Created by tvl (t.vanlankveld@esciencecenter.nl) on 05-12-2019 */ #include "core.h" diff --git a/cartocrow/core/core.h b/cartocrow/core/core.h index bdb7def65..e004f127e 100644 --- a/cartocrow/core/core.h +++ b/cartocrow/core/core.h @@ -1,7 +1,5 @@ /* -The CartoCrow library implements algorithmic geo-visualization methods, -developed at TU Eindhoven. -Copyright (C) 2021 Netherlands eScience Center and TU Eindhoven +Copyright (C) 2026 TU Eindhoven This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,12 +13,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - -Created by tvl (t.vanlankveld@esciencecenter.nl) on 07-11-2019 */ -#ifndef CARTOCROW_CORE_CORE_H -#define CARTOCROW_CORE_CORE_H +#pragma once #include #include @@ -235,5 +230,3 @@ struct Color { constexpr Number two_pi = std::numbers::pi * 2; } // namespace cartocrow - -#endif //CARTOCROW_CORE_CORE_H diff --git a/cartocrow/core/ellipse.h b/cartocrow/core/ellipse.h index 76911571e..2f26bd05c 100644 --- a/cartocrow/core/ellipse.h +++ b/cartocrow/core/ellipse.h @@ -1,3 +1,20 @@ +/* +Copyright (C) 2026 TU Eindhoven + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #pragma once #include diff --git a/cartocrow/core/point_set.cpp b/cartocrow/core/point_set.cpp index 8efff8281..a256e57a5 100644 --- a/cartocrow/core/point_set.cpp +++ b/cartocrow/core/point_set.cpp @@ -1,3 +1,20 @@ +/* +Copyright (C) 2026 TU Eindhoven + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #include "point_set.h" namespace cartocrow { diff --git a/cartocrow/core/point_set.h b/cartocrow/core/point_set.h index 2093d64b5..21aea2160 100644 --- a/cartocrow/core/point_set.h +++ b/cartocrow/core/point_set.h @@ -1,3 +1,20 @@ +/* +Copyright (C) 2026 TU Eindhoven + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #pragma once #include "core.h" diff --git a/cartocrow/core/polygon_set_raw.cpp b/cartocrow/core/polygon_set_raw.cpp index 0f7c98a92..8dbccf9d0 100644 --- a/cartocrow/core/polygon_set_raw.cpp +++ b/cartocrow/core/polygon_set_raw.cpp @@ -1,3 +1,20 @@ +/* +Copyright (C) 2026 TU Eindhoven + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #include "polygon_set_raw.h" namespace cartocrow { diff --git a/cartocrow/core/polygon_set_raw.h b/cartocrow/core/polygon_set_raw.h index 2ad43eb59..161fc8057 100644 --- a/cartocrow/core/polygon_set_raw.h +++ b/cartocrow/core/polygon_set_raw.h @@ -1,3 +1,20 @@ +/* +Copyright (C) 2026 TU Eindhoven + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #pragma once #include diff --git a/cartocrow/core/region_arrangement.h b/cartocrow/core/region_arrangement.h index 912630b49..38aee1d88 100644 --- a/cartocrow/core/region_arrangement.h +++ b/cartocrow/core/region_arrangement.h @@ -1,7 +1,5 @@ /* -The CartoCrow library implements algorithmic geo-visualization methods, -developed at TU Eindhoven. -Copyright (C) 2021 Netherlands eScience Center and TU Eindhoven +Copyright (C) 2026 TU Eindhoven This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,9 +15,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef CARTOCROW_CORE_REGION_ARRANGEMENT_H -#define CARTOCROW_CORE_REGION_ARRANGEMENT_H - #include #include #include @@ -49,5 +44,3 @@ RegionArrangement regionMapToArrangement(const RegionMap& map); RegionArrangement regionMapToArrangementParallel(const RegionMap& map); } // namespace cartocrow - -#endif //CARTOCROW_CORE_REGION_ARRANGEMENT_H \ No newline at end of file From 1e8d1f73f46ac635c9783eee9c4d1d8d1745b853 Mon Sep 17 00:00:00 2001 From: Yvee1 Date: Wed, 19 Aug 2026 13:18:01 +0200 Subject: [PATCH 2/2] Forgot a #pragma once --- cartocrow/core/region_arrangement.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cartocrow/core/region_arrangement.h b/cartocrow/core/region_arrangement.h index 38aee1d88..8588360f3 100644 --- a/cartocrow/core/region_arrangement.h +++ b/cartocrow/core/region_arrangement.h @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#pragma once + #include #include #include