diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-17 10:27:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 10:27:07 +0100 |
| commit | c6b7510cdb9350c4e129bfcd7959efc4daee9df6 (patch) | |
| tree | 6507901f62b1ea75e599644e44540f2322c35f1a | |
| parent | b06170354225f19271627df11525857fa34a38e7 (diff) | |
| parent | 1d943dcfcddb68f489c126b1e0df41170287e63d (diff) | |
Merge pull request #6 from amlel-el-mahrouss/develop
release: make licensing explicit.
| -rw-r--r-- | compile_flags.txt | 2 | ||||
| -rw-r--r-- | dev/examples/fix/fix.cc | 2 | ||||
| -rw-r--r-- | dev/lib/core/includes.hpp | 2 | ||||
| -rw-r--r-- | dev/lib/except/error.hpp | 5 | ||||
| -rw-r--r-- | dev/lib/fix/fix.hpp (renamed from dev/lib/fix/parser.hpp) | 5 | ||||
| -rw-r--r-- | dev/lib/logic/equiv.hpp | 2 | ||||
| -rw-r--r-- | dev/lib/memory/allocator_system.hpp | 1 | ||||
| -rw-r--r-- | dev/lib/memory/tracked_ptr.hpp | 2 | ||||
| -rw-r--r-- | dev/lib/net/modem.hpp | 3 | ||||
| -rw-r--r-- | dev/lib/net/url.hpp | 2 | ||||
| -rw-r--r-- | dev/lib/tests/gtest.hpp | 2 | ||||
| -rw-r--r-- | dev/lib/tests/hpptest.hpp | 2 | ||||
| -rw-r--r-- | dev/tests/chunk_string/chunk_test.cc | 2 | ||||
| -rw-r--r-- | dev/tests/fix_basic/fix_test.cc | 4 | ||||
| -rw-r--r-- | dev/tests/network_basic/net_test.cc | 2 | ||||
| -rw-r--r-- | dev/tests/tracked_ptr_basic/tracked_ptr_test.cc | 2 | ||||
| -rw-r--r-- | dev/tests/tracked_ptr_leak/tracked_ptr_test.cc | 2 |
17 files changed, 20 insertions, 22 deletions
diff --git a/compile_flags.txt b/compile_flags.txt index 1c9f6fb..da935d4 100644 --- a/compile_flags.txt +++ b/compile_flags.txt @@ -2,4 +2,4 @@ -std=c++20 -DEMBFS_28BIT_LBA -xc++ --I/opt/homebrew/Cellar/boost/1.87.0/include
\ No newline at end of file +-I/opt/homebrew/Cellar/boost/1.89.0/include
\ No newline at end of file diff --git a/dev/examples/fix/fix.cc b/dev/examples/fix/fix.cc index e3d669b..ec6668a 100644 --- a/dev/examples/fix/fix.cc +++ b/dev/examples/fix/fix.cc @@ -5,7 +5,7 @@ */ #include <lib/net/modem.hpp> -#include <lib/fix/parser.hpp> +#include <lib/fix/fix.hpp> #include <iostream> #include <unistd.h> #include <sys/socket.h> diff --git a/dev/lib/core/includes.hpp b/dev/lib/core/includes.hpp index f988fc1..ff59535 100644 --- a/dev/lib/core/includes.hpp +++ b/dev/lib/core/includes.hpp @@ -2,7 +2,7 @@ * File: core/includes.hpp * Purpose: Core includes for the OCL library. * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #pragma once diff --git a/dev/lib/except/error.hpp b/dev/lib/except/error.hpp index 16bf5eb..73e0074 100644 --- a/dev/lib/except/error.hpp +++ b/dev/lib/except/error.hpp @@ -8,13 +8,14 @@ #define _OCL_ERR_HPP #include <stdexcept> +#include <lib/core/error_handler.hpp> -namespace ocl +namespace ocl::error { using runtime_error = std::runtime_error; using fix_error = runtime_error; using math_error = runtime_error; using cgi_error = runtime_error; -} // namespace ocl +} // namespace ocl::error #endif // _OCL_ERR_HPP
\ No newline at end of file diff --git a/dev/lib/fix/parser.hpp b/dev/lib/fix/fix.hpp index 723506e..8035d55 100644 --- a/dev/lib/fix/parser.hpp +++ b/dev/lib/fix/fix.hpp @@ -1,8 +1,8 @@ /* - * File: fix/parser.hpp + * File: fix/fix.hpp * Purpose: Financial Information Exchange parser in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #ifndef _OCL_FIX_PARSER_HPP @@ -16,7 +16,6 @@ #include <cstdint> #include <sys/types.h> #include <unistd.h> -#include <signal.h> namespace ocl::fix { diff --git a/dev/lib/logic/equiv.hpp b/dev/lib/logic/equiv.hpp index 5b022f8..704e451 100644 --- a/dev/lib/logic/equiv.hpp +++ b/dev/lib/logic/equiv.hpp @@ -2,7 +2,7 @@ * File: equiv.hpp * Purpose: Equivalence runtime c++ header. * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #pragma once diff --git a/dev/lib/memory/allocator_system.hpp b/dev/lib/memory/allocator_system.hpp index 1243ed5..6fd0119 100644 --- a/dev/lib/memory/allocator_system.hpp +++ b/dev/lib/memory/allocator_system.hpp @@ -9,7 +9,6 @@ #define _OCL_ALLOCATOR_SYSTEM_HPP #include <lib/core/includes.hpp> -#include <stdexcept> #include <memory> namespace ocl diff --git a/dev/lib/memory/tracked_ptr.hpp b/dev/lib/memory/tracked_ptr.hpp index d2f8450..61daada 100644 --- a/dev/lib/memory/tracked_ptr.hpp +++ b/dev/lib/memory/tracked_ptr.hpp @@ -2,7 +2,7 @@ * File: memory/tracked_ptr.hpp * Purpose: Custom smart pointer implementation in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #pragma once diff --git a/dev/lib/net/modem.hpp b/dev/lib/net/modem.hpp index 074f182..450aee1 100644 --- a/dev/lib/net/modem.hpp +++ b/dev/lib/net/modem.hpp @@ -2,7 +2,7 @@ * File: net/modem.hpp * Purpose: Modem concept in modern C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #ifndef _OCL_NET_NETWORK_HPP @@ -12,7 +12,6 @@ #include <arpa/inet.h> #include <sys/socket.h> #include <string> -#include <utility> #include <cstddef> #define OCL_MODEM_INTERFACE : public ocl::net::basic_modem diff --git a/dev/lib/net/url.hpp b/dev/lib/net/url.hpp index ff6aebe..a337538 100644 --- a/dev/lib/net/url.hpp +++ b/dev/lib/net/url.hpp @@ -2,7 +2,7 @@ * File: net/url.hpp * Purpose: URL container in modern C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #pragma once diff --git a/dev/lib/tests/gtest.hpp b/dev/lib/tests/gtest.hpp index deb2ddf..31ae5d7 100644 --- a/dev/lib/tests/gtest.hpp +++ b/dev/lib/tests/gtest.hpp @@ -2,7 +2,7 @@ * File: tests/gtest.hpp * Purpose: Google Test wrapper for the OCL library. * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #include <gtest/gtest.h> diff --git a/dev/lib/tests/hpptest.hpp b/dev/lib/tests/hpptest.hpp index f520339..5f78179 100644 --- a/dev/lib/tests/hpptest.hpp +++ b/dev/lib/tests/hpptest.hpp @@ -2,7 +2,7 @@ * File: tests/hpptest.hpp * Purpose: HPP Test wrapper for the OCL library. * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #pragma once diff --git a/dev/tests/chunk_string/chunk_test.cc b/dev/tests/chunk_string/chunk_test.cc index be7a457..973ce43 100644 --- a/dev/tests/chunk_string/chunk_test.cc +++ b/dev/tests/chunk_string/chunk_test.cc @@ -2,7 +2,7 @@ * File: tests/chunk_test.cc * Purpose: Chunk unit tests in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #include <lib/io/print.hpp> diff --git a/dev/tests/fix_basic/fix_test.cc b/dev/tests/fix_basic/fix_test.cc index bdde392..5599ed4 100644 --- a/dev/tests/fix_basic/fix_test.cc +++ b/dev/tests/fix_basic/fix_test.cc @@ -2,10 +2,10 @@ * File: tests/tracked_ptr_test.cc * Purpose: Custom smart pointer unit tests in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ -#include <lib/fix/parser.hpp> +#include <lib/fix/fix.hpp> #include <gtest/gtest.h> TEST(FIXTest, BasicFIXUsage) diff --git a/dev/tests/network_basic/net_test.cc b/dev/tests/network_basic/net_test.cc index 61d0b28..f8b9f2d 100644 --- a/dev/tests/network_basic/net_test.cc +++ b/dev/tests/network_basic/net_test.cc @@ -2,7 +2,7 @@ * File: tests/net_test.cc * Purpose: Network unit tests in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #include <lib/net/modem.hpp> diff --git a/dev/tests/tracked_ptr_basic/tracked_ptr_test.cc b/dev/tests/tracked_ptr_basic/tracked_ptr_test.cc index 1e97188..61d4f7d 100644 --- a/dev/tests/tracked_ptr_basic/tracked_ptr_test.cc +++ b/dev/tests/tracked_ptr_basic/tracked_ptr_test.cc @@ -2,7 +2,7 @@ * File: tests/tracked_ptr_test.cc * Purpose: Custom smart pointer unit tests in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #include <lib/memory/tracked_ptr.hpp> diff --git a/dev/tests/tracked_ptr_leak/tracked_ptr_test.cc b/dev/tests/tracked_ptr_leak/tracked_ptr_test.cc index f349f47..fb21c34 100644 --- a/dev/tests/tracked_ptr_leak/tracked_ptr_test.cc +++ b/dev/tests/tracked_ptr_leak/tracked_ptr_test.cc @@ -2,7 +2,7 @@ * File: tests/tracked_ptr_test.cc * Purpose: Custom smart pointer unit tests in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss + * Copyright 2025, Amlal El Mahrouss, licensed under the MIT license. */ #include <lib/memory/tracked_ptr.hpp> |
