Skip to content

Commit

Permalink
fix: add license info to all source files
Browse files Browse the repository at this point in the history
  • Loading branch information
sillydan1 committed Dec 11, 2022
1 parent fa6910e commit b4408e1
Show file tree
Hide file tree
Showing 55 changed files with 877 additions and 39 deletions.
28 changes: 13 additions & 15 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
# Copyright (C) 2022 Asger Gitz-Johansen
# This file is part of aaltitoad.
# aaltitoad - a verification engine for tick tock automata models
# Copyright (C) 2023 Asger Gitz-Johansen
#
# aaltitoad 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 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.
#
# aaltitoad 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.
# 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 aaltitoad. If not, see <https://www.gnu.org/licenses/>.
# TODO: Add license header to all source files
# 3.16+ because of target_precompiled_header
cmake_minimum_required(VERSION 3.16)
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
cmake_minimum_required(VERSION 3.16) # 3.16+ because of target_precompiled_header
project(aaltitoad VERSION 1.0.0)
set(THREADS_PREFER_PTHREAD_FLAG ON)
set(CMAKE_CXX_STANDARD 20)
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!---
aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
--->
# AALTITOAD

![logo](.github/resources/AALTITOAD_LOGO_SMALLER.png)
Expand Down
16 changes: 16 additions & 0 deletions cmake/VER.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# aaltitoad - a verification engine for tick tock automata models
# Copyright (C) 2023 Asger Gitz-Johansen
#
# 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 <https://www.gnu.org/licenses/>.
#
execute_process(
COMMAND git describe --long --always --dirty --exclude=* --abbrev=8
RESULT_VARIABLE SHORT_HASH_RESULT
Expand Down
11 changes: 5 additions & 6 deletions src/aaltitoadpch.h
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
/**
* Copyright (C) 2020 Asger Gitz-Johansen
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
This file is part of aaltitoad.
aaltitoad is free software: you can redistribute it and/or modify
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.
aaltitoad is distributed in the hope that it will be useful,
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 aaltitoad. If not, see <https://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
//// PCH = Precompiled Header.
//// This speeds up compile time by ~75%.
Expand Down
17 changes: 17 additions & 0 deletions src/cli/cli_common.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#ifndef AALTITOAD_CLI_COMMON_H
#define AALTITOAD_CLI_COMMON_H
#include <vector>
Expand Down
16 changes: 16 additions & 0 deletions src/cli/simulator/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# aaltitoad - a verification engine for tick tock automata models
# Copyright (C) 2023 Asger Gitz-Johansen
#
# 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 <https://www.gnu.org/licenses/>.
#
project(simulator VERSION 1.0.0)
find_package(argvparse REQUIRED)
add_executable(${PROJECT_NAME} main.cpp)
Expand Down
17 changes: 17 additions & 0 deletions src/cli/simulator/cli_options.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#ifndef AALTITOAD_CLI_OPTIONS_H
#define AALTITOAD_CLI_OPTIONS_H
#include <argvparse.h>
Expand Down
17 changes: 17 additions & 0 deletions src/cli/simulator/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#include <aaltitoadpch.h>
#include <config.h>
#include "cli_options.h"
Expand Down
16 changes: 16 additions & 0 deletions src/cli/verifier/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# aaltitoad - a verification engine for tick tock automata models
# Copyright (C) 2023 Asger Gitz-Johansen
#
# 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 <https://www.gnu.org/licenses/>.
#
project(verifier VERSION 1.0.0)
find_package(argvparse REQUIRED)
add_executable(${PROJECT_NAME} main.cpp query/query_json_loader.cpp)
Expand Down
17 changes: 17 additions & 0 deletions src/cli/verifier/cli_options.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#ifndef AALTITOAD_CLI_OPTIONS_H
#define AALTITOAD_CLI_OPTIONS_H
#include <vector>
Expand Down
17 changes: 17 additions & 0 deletions src/cli/verifier/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#include <aaltitoadpch.h>
#include <ntta/tta.h>
#include <timer>
Expand Down
17 changes: 17 additions & 0 deletions src/cli/verifier/query/query_json_loader.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#include <drivers/driver.h>
#include <nlohmann/json.hpp>
#include "query_json_loader.h"
Expand Down
17 changes: 17 additions & 0 deletions src/cli/verifier/query/query_json_loader.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#ifndef AALTITOAD_QUERY_JSON_LOADER_H
#define AALTITOAD_QUERY_JSON_LOADER_H
#include <ctl_compiler.h>
Expand Down
17 changes: 17 additions & 0 deletions src/config.h.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen

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 <https://www.gnu.org/licenses/>.
*/
#ifndef AALTITOAD_CONFIG_H_IN_H
#define AALTITOAD_CONFIG_H_IN_H

Expand Down
17 changes: 17 additions & 0 deletions src/ntta/async_tocker.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#ifndef AALTITOAD_ASYNC_TOCKER_H
#define AALTITOAD_ASYNC_TOCKER_H
#include "tta.h"
Expand Down
17 changes: 17 additions & 0 deletions src/ntta/builder/ntta_builder.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#include <util/exceptions/parse_error.h>
#include "ntta_builder.h"

Expand Down
17 changes: 17 additions & 0 deletions src/ntta/builder/ntta_builder.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#ifndef AALTITOAD_NTTA_BUILDER_H
#define AALTITOAD_NTTA_BUILDER_H
#include "ntta/tta.h"
Expand Down
17 changes: 17 additions & 0 deletions src/ntta/interesting_tocker.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* aaltitoad - a verification engine for tick tock automata models
Copyright (C) 2023 Asger Gitz-Johansen
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 <https://www.gnu.org/licenses/>.
*/
#include "interesting_tocker.h"
#include <drivers/z3_driver.h>
#include <spdlog/spdlog.h>
Expand Down
Loading

0 comments on commit b4408e1

Please sign in to comment.