From 483f09e9964a961a4a672c05adcb92024d4163c3 Mon Sep 17 00:00:00 2001 From: halx99 Date: Sat, 1 Mar 2025 23:51:50 +0800 Subject: [PATCH] Fix solaris ci --- .github/workflows/solaris-ci.yml | 3 +-- 1k/fetch.cmake | 2 +- CHANGELOG.md | 10 ++++++++-- CMakeLists.txt | 4 ++-- yasio/bindings/lyasio.cpp | 2 +- yasio/bindings/lyasio.hpp | 2 +- yasio/bindings/yasio_axlua.cpp | 2 +- yasio/bindings/yasio_axlua.hpp | 2 +- yasio/bindings/yasio_jsb.cpp | 2 +- yasio/bindings/yasio_jsb.hpp | 2 +- yasio/bindings/yasio_jsb20.cpp | 2 +- yasio/bindings/yasio_jsb20.hpp | 2 +- yasio/bindings/yasio_ni.cpp | 2 +- yasio/bindings/yasio_sol.hpp | 2 +- yasio/buffer_alloc.hpp | 2 +- yasio/byte_buffer.hpp | 2 +- yasio/compiler/feature_test.hpp | 2 +- yasio/config.hpp | 2 +- yasio/endian_portable.hpp | 2 +- yasio/errc.hpp | 2 +- yasio/file.hpp | 2 +- yasio/ibstream.hpp | 8 ++++---- yasio/impl/ares.hpp | 2 +- yasio/impl/concurrent_queue.hpp | 2 +- yasio/impl/epoll_io_watcher.hpp | 2 +- yasio/impl/eventfd_select_interrupter.hpp | 2 +- yasio/impl/evport_io_watcher.hpp | 2 +- yasio/impl/fp16.hpp | 2 +- yasio/impl/ifaddrs.hpp | 2 +- yasio/impl/inet_ntop.hpp | 2 +- yasio/impl/kqueue_io_watcher.hpp | 2 +- yasio/impl/mbedtls.hpp | 2 +- yasio/impl/object_pool.hpp | 2 +- yasio/impl/openssl.hpp | 2 +- yasio/impl/pipe_select_interrupter.hpp | 2 +- yasio/impl/poll_io_watcher.hpp | 2 +- yasio/impl/select_interrupter.hpp | 2 +- yasio/impl/select_io_watcher.hpp | 2 +- yasio/impl/socket.hpp | 2 +- yasio/impl/socket_select_interrupter.hpp | 2 +- yasio/io_service.cpp | 2 +- yasio/io_service.hpp | 2 +- yasio/io_watcher.hpp | 2 +- yasio/logging.hpp | 2 +- yasio/memory.hpp | 2 +- yasio/object_pool.hpp | 2 +- yasio/object_pool_alloc.hpp | 2 +- yasio/obstream.hpp | 2 +- .../java/{org => com/simdsoft}/yasio/AppGlobals.java | 4 ++-- yasio/platform/yasio_jni.cpp | 4 ++-- yasio/platform/yasio_jni.hpp | 2 +- yasio/platform/yasio_unreal.cpp | 2 +- yasio/platform/yasio_unreal.hpp | 2 +- yasio/pod_vector.hpp | 2 +- yasio/ref_ptr.hpp | 2 +- yasio/shared_mutex.hpp | 2 +- yasio/singleton.hpp | 2 +- yasio/split.hpp | 2 +- yasio/ssl.hpp | 2 +- yasio/strfmt.hpp | 2 +- yasio/string.hpp | 2 +- yasio/string_view.hpp | 2 +- yasio/sz.hpp | 2 +- yasio/thread_name.hpp | 2 +- yasio/type_traits.hpp | 2 +- yasio/utils.hpp | 2 +- yasio/wtimer_hres.hpp | 2 +- yasio/xxsocket.cpp | 2 +- yasio/xxsocket.hpp | 2 +- yasio/yasio.hpp | 2 +- yasio/yasio_fwd.hpp | 2 +- 71 files changed, 84 insertions(+), 79 deletions(-) rename yasio/platform/java/{org => com/simdsoft}/yasio/AppGlobals.java (96%) diff --git a/.github/workflows/solaris-ci.yml b/.github/workflows/solaris-ci.yml index f7604027..148e2554 100644 --- a/.github/workflows/solaris-ci.yml +++ b/.github/workflows/solaris-ci.yml @@ -1,7 +1,6 @@ name: solaris -on: - workflow_dispatch: +on: push jobs: build: diff --git a/1k/fetch.cmake b/1k/fetch.cmake index 4fb76142..6d2eb961 100644 --- a/1k/fetch.cmake +++ b/1k/fetch.cmake @@ -4,7 +4,7 @@ # _1kfetch_cache_dir # _1kfetch_manifest # -cmake_minimum_required(VERSION 3.23) +# cmake_minimum_required(VERSION 3.23) ### 1kdist url find_program(PWSH_PROG NAMES pwsh powershell NO_PACKAGE_ROOT_PATH NO_CMAKE_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH NO_CMAKE_FIND_ROOT_PATH) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18727ce6..53a8d47f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,14 @@ yasio-4.3.2 - 1. Fix API `xxsocket::resolve` compatibility issue on android and freebsd. + 1. Fix API `xxsocket::resolve` compatibility issue on android and freebsd + 2. Add pod_vector pop_back support + 3. Add ibstream_view read_blob + 4. Make pod_vector more compatible stl + 5. Fix compile warnings with clang-19 + 6. Fix string.hpp data semantic + 7. Fix solaris ci + - yasio-4.3.1 1. Refining the resource cleanup process for io_service during the handle_stop phase, particularly when a worker thread is terminated externally diff --git a/CMakeLists.txt b/CMakeLists.txt index e4a813e1..33903c4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -184,10 +184,10 @@ elseif(YASIO_SSL_BACKEND EQUAL 2) # mbedtls set(ENABLE_PROGRAMS OFF CACHE BOOL "Build mbedtls programs" FORCE) set(ENABLE_TESTING OFF CACHE BOOL "Build mbed TLS tests." FORCE) if(MSVC_VERSION AND (MSVC_VERSION LESS 1900)) - set(MBEDTLS_VER "2.28.7") + set(MBEDTLS_VER "2.28.9") message(AUTHOR_WARNING "Using mbedtls ${MBEDTLS_VER} for vs2013 happy") else() - set(MBEDTLS_VER "3.6.0") + set(MBEDTLS_VER "3.6.2") endif() if (PWSH_COMMAND) _1kadd_pkg("gh:Mbed-TLS/mbedtls#v${MBEDTLS_VER}" OPTIONS "MBEDTLS_FATAL_WARNINGS OFF") diff --git a/yasio/bindings/lyasio.cpp b/yasio/bindings/lyasio.cpp index 53fc916e..080a7d45 100644 --- a/yasio/bindings/lyasio.cpp +++ b/yasio/bindings/lyasio.cpp @@ -4,7 +4,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/yasio/bindings/lyasio.hpp b/yasio/bindings/lyasio.hpp index 481bf783..209a7d46 100644 --- a/yasio/bindings/lyasio.hpp +++ b/yasio/bindings/lyasio.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/bindings/yasio_axlua.cpp b/yasio/bindings/yasio_axlua.cpp index 00ba10a9..ccd45528 100644 --- a/yasio/bindings/yasio_axlua.cpp +++ b/yasio/bindings/yasio_axlua.cpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/bindings/yasio_axlua.hpp b/yasio/bindings/yasio_axlua.hpp index 45854fab..5cc34ec5 100644 --- a/yasio/bindings/yasio_axlua.hpp +++ b/yasio/bindings/yasio_axlua.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/bindings/yasio_jsb.cpp b/yasio/bindings/yasio_jsb.cpp index 1a7f24d3..c2745438 100644 --- a/yasio/bindings/yasio_jsb.cpp +++ b/yasio/bindings/yasio_jsb.cpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/bindings/yasio_jsb.hpp b/yasio/bindings/yasio_jsb.hpp index 56c00fca..c6fe82a3 100644 --- a/yasio/bindings/yasio_jsb.hpp +++ b/yasio/bindings/yasio_jsb.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/bindings/yasio_jsb20.cpp b/yasio/bindings/yasio_jsb20.cpp index 1e597628..b791425e 100644 --- a/yasio/bindings/yasio_jsb20.cpp +++ b/yasio/bindings/yasio_jsb20.cpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/bindings/yasio_jsb20.hpp b/yasio/bindings/yasio_jsb20.hpp index 31093e25..216e9193 100644 --- a/yasio/bindings/yasio_jsb20.hpp +++ b/yasio/bindings/yasio_jsb20.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/bindings/yasio_ni.cpp b/yasio/bindings/yasio_ni.cpp index 50b1bab7..d2a5bcdd 100644 --- a/yasio/bindings/yasio_ni.cpp +++ b/yasio/bindings/yasio_ni.cpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/bindings/yasio_sol.hpp b/yasio/bindings/yasio_sol.hpp index 8945df63..604056ca 100644 --- a/yasio/bindings/yasio_sol.hpp +++ b/yasio/bindings/yasio_sol.hpp @@ -4,7 +4,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/yasio/buffer_alloc.hpp b/yasio/buffer_alloc.hpp index 89478046..9a4981b3 100644 --- a/yasio/buffer_alloc.hpp +++ b/yasio/buffer_alloc.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/byte_buffer.hpp b/yasio/byte_buffer.hpp index 837461e9..75f44050 100644 --- a/yasio/byte_buffer.hpp +++ b/yasio/byte_buffer.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/compiler/feature_test.hpp b/yasio/compiler/feature_test.hpp index 42eb79b9..c74cce33 100644 --- a/yasio/compiler/feature_test.hpp +++ b/yasio/compiler/feature_test.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/config.hpp b/yasio/config.hpp index f8e3b5eb..7935b7aa 100644 --- a/yasio/config.hpp +++ b/yasio/config.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/endian_portable.hpp b/yasio/endian_portable.hpp index bd14f8b0..6662ca7a 100644 --- a/yasio/endian_portable.hpp +++ b/yasio/endian_portable.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/errc.hpp b/yasio/errc.hpp index ad696a97..6f3edf53 100644 --- a/yasio/errc.hpp +++ b/yasio/errc.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/file.hpp b/yasio/file.hpp index 46d20abb..edaf0cf6 100644 --- a/yasio/file.hpp +++ b/yasio/file.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/ibstream.hpp b/yasio/ibstream.hpp index 7df39ac1..9f7bb636 100644 --- a/yasio/ibstream.hpp +++ b/yasio/ibstream.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -194,10 +194,10 @@ class binary_reader_impl { { return read_blob(&out, static_cast(sizeof(_Ty)), 1); } - template - size_t read_blob(_Ty (&out)[_N]) + template + size_t read_blob(_Ty (&out)[_Count]) { - return read_blob(out, static_cast(sizeof(_Ty)), static_cast(_N)); + return read_blob(out, static_cast(sizeof(_Ty)), static_cast(_Count)); } size_t read_blob(void* out, int size, int count) { diff --git a/yasio/impl/ares.hpp b/yasio/impl/ares.hpp index 224ab600..cacca431 100644 --- a/yasio/impl/ares.hpp +++ b/yasio/impl/ares.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/impl/concurrent_queue.hpp b/yasio/impl/concurrent_queue.hpp index 57955fdc..43df155f 100644 --- a/yasio/impl/concurrent_queue.hpp +++ b/yasio/impl/concurrent_queue.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/impl/epoll_io_watcher.hpp b/yasio/impl/epoll_io_watcher.hpp index 0a4b1c0f..4926c3ee 100644 --- a/yasio/impl/epoll_io_watcher.hpp +++ b/yasio/impl/epoll_io_watcher.hpp @@ -3,7 +3,7 @@ // client application. ////////////////////////////////////////////////////////////////////////////////////////// // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) #ifndef YASIO__EPOLL_IO_WATCHER_HPP #define YASIO__EPOLL_IO_WATCHER_HPP #include diff --git a/yasio/impl/eventfd_select_interrupter.hpp b/yasio/impl/eventfd_select_interrupter.hpp index 55d32953..3e9249c7 100644 --- a/yasio/impl/eventfd_select_interrupter.hpp +++ b/yasio/impl/eventfd_select_interrupter.hpp @@ -3,7 +3,7 @@ // client application. ////////////////////////////////////////////////////////////////////////////////////////// // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) // Copyright (c) 2008 Roelof Naude (roelof.naude at gmail dot com) // diff --git a/yasio/impl/evport_io_watcher.hpp b/yasio/impl/evport_io_watcher.hpp index 6a9de85a..1b3f1fa2 100644 --- a/yasio/impl/evport_io_watcher.hpp +++ b/yasio/impl/evport_io_watcher.hpp @@ -3,7 +3,7 @@ // client application. ////////////////////////////////////////////////////////////////////////////////////////// // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) #ifndef YASIO__EVPORT_IO_WATCHER_HPP #define YASIO__EVPORT_IO_WATCHER_HPP #include diff --git a/yasio/impl/fp16.hpp b/yasio/impl/fp16.hpp index 9d2dac42..7a1d2ce5 100644 --- a/yasio/impl/fp16.hpp +++ b/yasio/impl/fp16.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/impl/ifaddrs.hpp b/yasio/impl/ifaddrs.hpp index 07dd9086..22df6e65 100644 --- a/yasio/impl/ifaddrs.hpp +++ b/yasio/impl/ifaddrs.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/impl/inet_ntop.hpp b/yasio/impl/inet_ntop.hpp index 3ca6cddf..03178aac 100644 --- a/yasio/impl/inet_ntop.hpp +++ b/yasio/impl/inet_ntop.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/impl/kqueue_io_watcher.hpp b/yasio/impl/kqueue_io_watcher.hpp index ff525bfe..1ff1ef89 100644 --- a/yasio/impl/kqueue_io_watcher.hpp +++ b/yasio/impl/kqueue_io_watcher.hpp @@ -3,7 +3,7 @@ // client application. ////////////////////////////////////////////////////////////////////////////////////////// // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) #ifndef YASIO__KQUEUE_IO_WATCHER_HPP #define YASIO__KQUEUE_IO_WATCHER_HPP #include diff --git a/yasio/impl/mbedtls.hpp b/yasio/impl/mbedtls.hpp index 618986d0..0bce8911 100644 --- a/yasio/impl/mbedtls.hpp +++ b/yasio/impl/mbedtls.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/impl/object_pool.hpp b/yasio/impl/object_pool.hpp index 148c3482..2a6056e0 100644 --- a/yasio/impl/object_pool.hpp +++ b/yasio/impl/object_pool.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/impl/openssl.hpp b/yasio/impl/openssl.hpp index 4c944304..f25eb208 100644 --- a/yasio/impl/openssl.hpp +++ b/yasio/impl/openssl.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/impl/pipe_select_interrupter.hpp b/yasio/impl/pipe_select_interrupter.hpp index c5cf3044..ace2046d 100644 --- a/yasio/impl/pipe_select_interrupter.hpp +++ b/yasio/impl/pipe_select_interrupter.hpp @@ -4,7 +4,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// // // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) // Copyright (c) 2008 Roelof Naude (roelof.naude at gmail dot com) // diff --git a/yasio/impl/poll_io_watcher.hpp b/yasio/impl/poll_io_watcher.hpp index baa93f03..7c65fd99 100644 --- a/yasio/impl/poll_io_watcher.hpp +++ b/yasio/impl/poll_io_watcher.hpp @@ -3,7 +3,7 @@ // client application. ////////////////////////////////////////////////////////////////////////////////////////// // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) #ifndef YASIO__POLL_IO_WATCHER_HPP #define YASIO__POLL_IO_WATCHER_HPP #include "yasio/pod_vector.hpp" diff --git a/yasio/impl/select_interrupter.hpp b/yasio/impl/select_interrupter.hpp index 923835aa..4b2ae7fa 100644 --- a/yasio/impl/select_interrupter.hpp +++ b/yasio/impl/select_interrupter.hpp @@ -3,7 +3,7 @@ // client application. ////////////////////////////////////////////////////////////////////////////////////////// // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying diff --git a/yasio/impl/select_io_watcher.hpp b/yasio/impl/select_io_watcher.hpp index f07787e7..4acbe0cc 100644 --- a/yasio/impl/select_io_watcher.hpp +++ b/yasio/impl/select_io_watcher.hpp @@ -3,7 +3,7 @@ // client application. ////////////////////////////////////////////////////////////////////////////////////////// // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) #ifndef YASIO__SELECT_IO_WATCHER_HPP #define YASIO__SELECT_IO_WATCHER_HPP #include diff --git a/yasio/impl/socket.hpp b/yasio/impl/socket.hpp index 1d226b4d..5b58b536 100644 --- a/yasio/impl/socket.hpp +++ b/yasio/impl/socket.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/impl/socket_select_interrupter.hpp b/yasio/impl/socket_select_interrupter.hpp index 42c359a6..b05a2fe6 100644 --- a/yasio/impl/socket_select_interrupter.hpp +++ b/yasio/impl/socket_select_interrupter.hpp @@ -4,7 +4,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// // // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) // Copyright (c) 2008 Roelof Naude (roelof.naude at gmail dot com) // diff --git a/yasio/io_service.cpp b/yasio/io_service.cpp index b3625c00..615689c4 100644 --- a/yasio/io_service.cpp +++ b/yasio/io_service.cpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 HAL: Hardware Abstraction Layer X99: Intel X99 Mainboard Platform diff --git a/yasio/io_service.hpp b/yasio/io_service.hpp index c4ea2396..3040df17 100644 --- a/yasio/io_service.hpp +++ b/yasio/io_service.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/io_watcher.hpp b/yasio/io_watcher.hpp index e9f497c6..074b8aed 100644 --- a/yasio/io_watcher.hpp +++ b/yasio/io_watcher.hpp @@ -4,7 +4,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// // // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) #pragma once diff --git a/yasio/logging.hpp b/yasio/logging.hpp index 11f28046..80f937ba 100644 --- a/yasio/logging.hpp +++ b/yasio/logging.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/memory.hpp b/yasio/memory.hpp index 2b59a6a8..830f7670 100644 --- a/yasio/memory.hpp +++ b/yasio/memory.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/object_pool.hpp b/yasio/object_pool.hpp index ebe0893e..7ac86283 100644 --- a/yasio/object_pool.hpp +++ b/yasio/object_pool.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/object_pool_alloc.hpp b/yasio/object_pool_alloc.hpp index 498bcec2..1f6c76e1 100644 --- a/yasio/object_pool_alloc.hpp +++ b/yasio/object_pool_alloc.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/obstream.hpp b/yasio/obstream.hpp index e9dce035..caea2f73 100644 --- a/yasio/obstream.hpp +++ b/yasio/obstream.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/platform/java/org/yasio/AppGlobals.java b/yasio/platform/java/com/simdsoft/yasio/AppGlobals.java similarity index 96% rename from yasio/platform/java/org/yasio/AppGlobals.java rename to yasio/platform/java/com/simdsoft/yasio/AppGlobals.java index 5f52e74e..bf192a72 100644 --- a/yasio/platform/java/org/yasio/AppGlobals.java +++ b/yasio/platform/java/com/simdsoft/yasio/AppGlobals.java @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -25,7 +25,7 @@ of this software and associated documentation files (the "Software"), to deal OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -package org.yasio; +package com.simdsoft.yasio; import android.content.Context; diff --git a/yasio/platform/yasio_jni.cpp b/yasio/platform/yasio_jni.cpp index dfc35bb2..109cdf1f 100644 --- a/yasio/platform/yasio_jni.cpp +++ b/yasio/platform/yasio_jni.cpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -170,7 +170,7 @@ void yasio__jni_init(void* vm, void* env) { // must find class at here, // see: https://developer.android.com/training/articles/perf-jni#faq_FindClass - jclass obj_cls = jenv->FindClass("org/yasio/AppGlobals"); + jclass obj_cls = jenv->FindClass("com/simdsoft/yasio/AppGlobals"); if (obj_cls != nullptr) { yasio__appglobals_cls = (jclass)jenv->NewGlobalRef(obj_cls); diff --git a/yasio/platform/yasio_jni.hpp b/yasio/platform/yasio_jni.hpp index c8056e1b..5d1c616f 100644 --- a/yasio/platform/yasio_jni.hpp +++ b/yasio/platform/yasio_jni.hpp @@ -4,7 +4,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/yasio/platform/yasio_unreal.cpp b/yasio/platform/yasio_unreal.cpp index 141d8e8a..9d04d8f4 100644 --- a/yasio/platform/yasio_unreal.cpp +++ b/yasio/platform/yasio_unreal.cpp @@ -4,7 +4,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/yasio/platform/yasio_unreal.hpp b/yasio/platform/yasio_unreal.hpp index a6a3847c..7193f50e 100644 --- a/yasio/platform/yasio_unreal.hpp +++ b/yasio/platform/yasio_unreal.hpp @@ -4,7 +4,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/yasio/pod_vector.hpp b/yasio/pod_vector.hpp index c0688ca3..901c1e6a 100644 --- a/yasio/pod_vector.hpp +++ b/yasio/pod_vector.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/ref_ptr.hpp b/yasio/ref_ptr.hpp index 4f07de5f..ed64743d 100644 --- a/yasio/ref_ptr.hpp +++ b/yasio/ref_ptr.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/shared_mutex.hpp b/yasio/shared_mutex.hpp index d35a2606..25c6f83b 100644 --- a/yasio/shared_mutex.hpp +++ b/yasio/shared_mutex.hpp @@ -3,7 +3,7 @@ // client application. ////////////////////////////////////////////////////////////////////////////////////////// // -// Copyright (c) 2012-2024 HALX99 (halx99 at live dot com) +// Copyright (c) 2012-2025 HALX99 (halx99 at live dot com) // Copyright Vicente J. Botet Escriba 2012. // Copyright Howard Hinnant 2007-2010. // diff --git a/yasio/singleton.hpp b/yasio/singleton.hpp index 09afbf4e..eebfef83 100644 --- a/yasio/singleton.hpp +++ b/yasio/singleton.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/split.hpp b/yasio/split.hpp index 665d9d4d..3afbef40 100644 --- a/yasio/split.hpp +++ b/yasio/split.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/ssl.hpp b/yasio/ssl.hpp index 3a54b23a..830338ee 100644 --- a/yasio/ssl.hpp +++ b/yasio/ssl.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/strfmt.hpp b/yasio/strfmt.hpp index 6026c272..a25c2b12 100644 --- a/yasio/strfmt.hpp +++ b/yasio/strfmt.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/string.hpp b/yasio/string.hpp index 2467320b..bd4044a2 100644 --- a/yasio/string.hpp +++ b/yasio/string.hpp @@ -6,7 +6,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/string_view.hpp b/yasio/string_view.hpp index 5c192b61..2e51323e 100644 --- a/yasio/string_view.hpp +++ b/yasio/string_view.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Copyright (c) 2016 Matthew Rodusek(matthew.rodusek@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/yasio/sz.hpp b/yasio/sz.hpp index fdade5e4..d01d11df 100644 --- a/yasio/sz.hpp +++ b/yasio/sz.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/thread_name.hpp b/yasio/thread_name.hpp index 2d62adf6..2b3f197a 100644 --- a/yasio/thread_name.hpp +++ b/yasio/thread_name.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/type_traits.hpp b/yasio/type_traits.hpp index 9c1dd26f..8f579e95 100644 --- a/yasio/type_traits.hpp +++ b/yasio/type_traits.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/utils.hpp b/yasio/utils.hpp index b85d7c3a..da2234a3 100644 --- a/yasio/utils.hpp +++ b/yasio/utils.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/wtimer_hres.hpp b/yasio/wtimer_hres.hpp index 57f0d65a..0b10a1a7 100644 --- a/yasio/wtimer_hres.hpp +++ b/yasio/wtimer_hres.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/xxsocket.cpp b/yasio/xxsocket.cpp index b4c2e1de..1fc1043c 100644 --- a/yasio/xxsocket.cpp +++ b/yasio/xxsocket.cpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/xxsocket.hpp b/yasio/xxsocket.hpp index 9b932058..b81ad5c0 100644 --- a/yasio/xxsocket.hpp +++ b/yasio/xxsocket.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/yasio.hpp b/yasio/yasio.hpp index 6146adbb..4f0320c7 100644 --- a/yasio/yasio.hpp +++ b/yasio/yasio.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/yasio/yasio_fwd.hpp b/yasio/yasio_fwd.hpp index 9e2aa166..d28a54c3 100644 --- a/yasio/yasio_fwd.hpp +++ b/yasio/yasio_fwd.hpp @@ -5,7 +5,7 @@ /* The MIT License (MIT) -Copyright (c) 2012-2024 HALX99 +Copyright (c) 2012-2025 HALX99 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal