Bläddra i källkod

Merge pull request #34 from oatpp/new_module_structure

New module structure
Leonid Stryzhevskyi 5 år sedan
förälder
incheckning
df1a55fd61
100 ändrade filer med 382 tillägg och 319 borttagningar
  1. 9 0
      .gitignore
  2. 17 291
      CMakeLists.txt
  3. 0 11
      azure-pipelines.yml
  4. 9 0
      cmake/module-config.cmake.in
  5. 105 0
      cmake/module-install.cmake
  6. 6 8
      lgtm.yml
  7. 227 0
      src/CMakeLists.txt
  8. 0 0
      src/oatpp-test/Checker.cpp
  9. 0 0
      src/oatpp-test/Checker.hpp
  10. 0 0
      src/oatpp-test/UnitTest.cpp
  11. 1 1
      src/oatpp-test/UnitTest.hpp
  12. 0 0
      src/oatpp/algorithm/CRC.cpp
  13. 0 0
      src/oatpp/algorithm/CRC.hpp
  14. 0 0
      src/oatpp/codegen/codegen_define_ApiClient_.hpp
  15. 0 0
      src/oatpp/codegen/codegen_define_ApiController_.hpp
  16. 0 0
      src/oatpp/codegen/codegen_define_DTO_.hpp
  17. 0 0
      src/oatpp/codegen/codegen_undef_ApiClient_.hpp
  18. 0 0
      src/oatpp/codegen/codegen_undef_ApiController_.hpp
  19. 0 0
      src/oatpp/codegen/codegen_undef_DTO_.hpp
  20. 0 0
      src/oatpp/core/Types.cpp
  21. 0 0
      src/oatpp/core/Types.hpp
  22. 0 0
      src/oatpp/core/async/Coroutine.cpp
  23. 0 0
      src/oatpp/core/async/Coroutine.hpp
  24. 0 0
      src/oatpp/core/async/Executor.cpp
  25. 0 0
      src/oatpp/core/async/Executor.hpp
  26. 0 0
      src/oatpp/core/async/Processor.cpp
  27. 0 0
      src/oatpp/core/async/Processor.hpp
  28. 0 0
      src/oatpp/core/base/CommandLineArguments.cpp
  29. 0 0
      src/oatpp/core/base/CommandLineArguments.hpp
  30. 0 0
      src/oatpp/core/base/Config.hpp
  31. 0 0
      src/oatpp/core/base/Controllable.cpp
  32. 0 0
      src/oatpp/core/base/Controllable.hpp
  33. 0 0
      src/oatpp/core/base/Environment.cpp
  34. 8 8
      src/oatpp/core/base/Environment.hpp
  35. 0 0
      src/oatpp/core/base/StrBuffer.cpp
  36. 0 0
      src/oatpp/core/base/StrBuffer.hpp
  37. 0 0
      src/oatpp/core/base/memory/Allocator.cpp
  38. 0 0
      src/oatpp/core/base/memory/Allocator.hpp
  39. 0 0
      src/oatpp/core/base/memory/MemoryPool.cpp
  40. 0 0
      src/oatpp/core/base/memory/MemoryPool.hpp
  41. 0 0
      src/oatpp/core/base/memory/ObjectPool.cpp
  42. 0 0
      src/oatpp/core/base/memory/ObjectPool.hpp
  43. 0 0
      src/oatpp/core/collection/FastQueue.cpp
  44. 0 0
      src/oatpp/core/collection/FastQueue.hpp
  45. 0 0
      src/oatpp/core/collection/LinkedList.cpp
  46. 0 0
      src/oatpp/core/collection/LinkedList.hpp
  47. 0 0
      src/oatpp/core/collection/ListMap.cpp
  48. 0 0
      src/oatpp/core/collection/ListMap.hpp
  49. 0 0
      src/oatpp/core/concurrency/Runnable.cpp
  50. 0 0
      src/oatpp/core/concurrency/Runnable.hpp
  51. 0 0
      src/oatpp/core/concurrency/SpinLock.cpp
  52. 0 0
      src/oatpp/core/concurrency/SpinLock.hpp
  53. 0 0
      src/oatpp/core/concurrency/Thread.cpp
  54. 0 0
      src/oatpp/core/concurrency/Thread.hpp
  55. 0 0
      src/oatpp/core/data/buffer/FIFOBuffer.cpp
  56. 0 0
      src/oatpp/core/data/buffer/FIFOBuffer.hpp
  57. 0 0
      src/oatpp/core/data/buffer/IOBuffer.cpp
  58. 0 0
      src/oatpp/core/data/buffer/IOBuffer.hpp
  59. 0 0
      src/oatpp/core/data/mapping/ObjectMapper.cpp
  60. 0 0
      src/oatpp/core/data/mapping/ObjectMapper.hpp
  61. 0 0
      src/oatpp/core/data/mapping/type/List.cpp
  62. 0 0
      src/oatpp/core/data/mapping/type/List.hpp
  63. 0 0
      src/oatpp/core/data/mapping/type/ListMap.cpp
  64. 0 0
      src/oatpp/core/data/mapping/type/ListMap.hpp
  65. 0 0
      src/oatpp/core/data/mapping/type/Object.cpp
  66. 0 0
      src/oatpp/core/data/mapping/type/Object.hpp
  67. 0 0
      src/oatpp/core/data/mapping/type/Primitive.cpp
  68. 0 0
      src/oatpp/core/data/mapping/type/Primitive.hpp
  69. 0 0
      src/oatpp/core/data/mapping/type/Type.cpp
  70. 0 0
      src/oatpp/core/data/mapping/type/Type.hpp
  71. 0 0
      src/oatpp/core/data/share/MemoryLabel.cpp
  72. 0 0
      src/oatpp/core/data/share/MemoryLabel.hpp
  73. 0 0
      src/oatpp/core/data/stream/ChunkedBuffer.cpp
  74. 0 0
      src/oatpp/core/data/stream/ChunkedBuffer.hpp
  75. 0 0
      src/oatpp/core/data/stream/Delegate.cpp
  76. 0 0
      src/oatpp/core/data/stream/Delegate.hpp
  77. 0 0
      src/oatpp/core/data/stream/Stream.cpp
  78. 0 0
      src/oatpp/core/data/stream/Stream.hpp
  79. 0 0
      src/oatpp/core/data/stream/StreamBufferedProxy.cpp
  80. 0 0
      src/oatpp/core/data/stream/StreamBufferedProxy.hpp
  81. 0 0
      src/oatpp/core/macro/basic.hpp
  82. 0 0
      src/oatpp/core/macro/codegen.hpp
  83. 0 0
      src/oatpp/core/macro/component.hpp
  84. 0 0
      src/oatpp/core/os/io/Library.cpp
  85. 0 0
      src/oatpp/core/os/io/Library.hpp
  86. 0 0
      src/oatpp/core/parser/ParsingCaret.cpp
  87. 0 0
      src/oatpp/core/parser/ParsingCaret.hpp
  88. 0 0
      src/oatpp/core/utils/ConversionUtils.cpp
  89. 0 0
      src/oatpp/core/utils/ConversionUtils.hpp
  90. 0 0
      src/oatpp/encoding/Base64.cpp
  91. 0 0
      src/oatpp/encoding/Base64.hpp
  92. 0 0
      src/oatpp/encoding/Hex.cpp
  93. 0 0
      src/oatpp/encoding/Hex.hpp
  94. 0 0
      src/oatpp/encoding/Unicode.cpp
  95. 0 0
      src/oatpp/encoding/Unicode.hpp
  96. 0 0
      src/oatpp/network/Connection.cpp
  97. 0 0
      src/oatpp/network/Connection.hpp
  98. 0 0
      src/oatpp/network/ConnectionProvider.cpp
  99. 0 0
      src/oatpp/network/ConnectionProvider.hpp
  100. 0 0
      src/oatpp/network/Url.cpp

+ 9 - 0
.gitignore

@@ -30,3 +30,12 @@
 *.exe
 *.out
 *.app
+
+#idea
+.idea/
+cmake-build-debug/
+
+#local build
+build/
+srt/build/
+test/build/

+ 17 - 291
CMakeLists.txt

@@ -1,305 +1,31 @@
 cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
 
-file(STRINGS "${CMAKE_CURRENT_LIST_DIR}/core/base/Environment.hpp" OATPP_VERSION_MACRO REGEX "#define OATPP_VERSION \"[0-9]+.[0-9]+.[0-9]+\"$")
+file(STRINGS "${CMAKE_CURRENT_LIST_DIR}/src/oatpp/core/base/Environment.hpp" OATPP_VERSION_MACRO REGEX "#define OATPP_VERSION \"[0-9]+.[0-9]+.[0-9]+\"$")
 string(REGEX REPLACE "#define OATPP_VERSION \"([0-9]+.[0-9]+.[0-9]+)\"$" "\\1" oatpp_VERSION "${OATPP_VERSION_MACRO}")
 
-project(oatpp VERSION ${oatpp_VERSION} LANGUAGES CXX)
+###################################################################################################
+## These variables are passed to oatpp-module-install.cmake script
+## use these variables to configure module installation
 
-option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
-option(OATPP_INSTALL "Create installation target for oat++" ON)
-option(OATPP_BUILD_TESTS "Create test target for oat++" ON)
+set(OATPP_THIS_MODULE_NAME oatpp) ## name of the module (also name of folders in installation dirs)
+set(OATPP_THIS_MODULE_VERSION ${oatpp_VERSION}) ## version of the module (also sufix of folders in installation dirs)
+set(OATPP_THIS_MODULE_LIBRARIES oatpp oatpp-test) ## list of libraries to find when find_package is called
+set(OATPP_THIS_MODULE_TARGETS oatpp oatpp-test) ## list of targets to install
+set(OATPP_THIS_MODULE_DIRECTORIES oatpp oatpp-test) ## list of directories to install
 
-add_library(oatpp 
-    algorithm/CRC.cpp
-    algorithm/CRC.hpp
-    codegen/codegen_define_ApiClient_.hpp
-    codegen/codegen_define_ApiController_.hpp
-    codegen/codegen_define_DTO_.hpp
-    codegen/codegen_undef_ApiClient_.hpp
-    codegen/codegen_undef_ApiController_.hpp
-    codegen/codegen_undef_DTO_.hpp
-    core/Types.cpp
-    core/Types.hpp
-    core/async/Coroutine.cpp
-    core/async/Coroutine.hpp
-    core/async/Processor.cpp
-    core/async/Processor.hpp
-    core/async/Executor.cpp
-    core/async/Executor.hpp
-    core/base/CommandLineArguments.cpp
-    core/base/CommandLineArguments.hpp
-    core/base/Config.hpp
-    core/base/Controllable.cpp
-    core/base/Controllable.hpp
-    core/base/Environment.cpp
-    core/base/Environment.hpp
-    core/base/StrBuffer.cpp
-    core/base/StrBuffer.hpp
-    core/base/memory/Allocator.cpp
-    core/base/memory/Allocator.hpp
-    core/base/memory/MemoryPool.cpp
-    core/base/memory/MemoryPool.hpp
-    core/base/memory/ObjectPool.cpp
-    core/base/memory/ObjectPool.hpp
-    core/collection/FastQueue.cpp
-    core/collection/FastQueue.hpp
-    core/collection/LinkedList.cpp
-    core/collection/LinkedList.hpp
-    core/collection/ListMap.cpp
-    core/collection/ListMap.hpp
-    core/concurrency/Runnable.cpp
-    core/concurrency/Runnable.hpp
-    core/concurrency/SpinLock.cpp
-    core/concurrency/SpinLock.hpp
-    core/concurrency/Thread.cpp
-    core/concurrency/Thread.hpp
-    core/data/buffer/FIFOBuffer.cpp
-    core/data/buffer/FIFOBuffer.hpp
-    core/data/buffer/IOBuffer.cpp
-    core/data/buffer/IOBuffer.hpp
-    core/data/mapping/ObjectMapper.cpp
-    core/data/mapping/ObjectMapper.hpp
-    core/data/mapping/type/List.cpp
-    core/data/mapping/type/List.hpp
-    core/data/mapping/type/ListMap.cpp
-    core/data/mapping/type/ListMap.hpp
-    core/data/mapping/type/Object.cpp
-    core/data/mapping/type/Object.hpp
-    core/data/mapping/type/Primitive.cpp
-    core/data/mapping/type/Primitive.hpp
-    core/data/mapping/type/Type.cpp
-    core/data/mapping/type/Type.hpp
-    core/data/share/MemoryLabel.cpp
-    core/data/share/MemoryLabel.hpp
-    core/data/stream/ChunkedBuffer.cpp
-    core/data/stream/ChunkedBuffer.hpp
-    core/data/stream/Delegate.cpp
-    core/data/stream/Delegate.hpp
-    core/data/stream/Stream.cpp
-    core/data/stream/Stream.hpp
-    core/data/stream/StreamBufferedProxy.cpp
-    core/data/stream/StreamBufferedProxy.hpp
-    core/macro/basic.hpp
-    core/macro/codegen.hpp
-    core/macro/component.hpp
-    core/os/io/Library.cpp
-    core/os/io/Library.hpp
-    core/parser/ParsingCaret.cpp
-    core/parser/ParsingCaret.hpp
-    core/utils/ConversionUtils.cpp
-    core/utils/ConversionUtils.hpp
-    encoding/Base64.cpp
-    encoding/Base64.hpp
-    encoding/Hex.cpp
-    encoding/Hex.hpp
-    encoding/Unicode.cpp
-    encoding/Unicode.hpp
-    network/Connection.cpp
-    network/Connection.hpp
-    network/ConnectionProvider.cpp
-    network/ConnectionProvider.hpp
-    network/Url.cpp
-    network/Url.hpp
-    network/client/SimpleTCPConnectionProvider.cpp
-    network/client/SimpleTCPConnectionProvider.hpp
-    network/server/ConnectionHandler.cpp
-    network/server/ConnectionHandler.hpp
-    network/server/Server.cpp
-    network/server/Server.hpp
-    network/server/SimpleTCPConnectionProvider.cpp
-    network/server/SimpleTCPConnectionProvider.hpp
-    network/virtual_/Interface.cpp
-    network/virtual_/Interface.hpp
-    network/virtual_/Pipe.cpp
-    network/virtual_/Pipe.hpp
-    network/virtual_/Socket.cpp
-    network/virtual_/Socket.hpp
-    network/virtual_/client/ConnectionProvider.cpp
-    network/virtual_/client/ConnectionProvider.hpp
-    network/virtual_/server/ConnectionProvider.cpp
-    network/virtual_/server/ConnectionProvider.hpp
-    parser/json/Utils.cpp
-    parser/json/Utils.hpp
-    parser/json/mapping/Deserializer.cpp
-    parser/json/mapping/Deserializer.hpp
-    parser/json/mapping/ObjectMapper.cpp
-    parser/json/mapping/ObjectMapper.hpp
-    parser/json/mapping/Serializer.cpp
-    parser/json/mapping/Serializer.hpp
-    web/client/ApiClient.cpp
-    web/client/ApiClient.hpp
-    web/client/HttpRequestExecutor.cpp
-    web/client/HttpRequestExecutor.hpp
-    web/client/RequestExecutor.cpp
-    web/client/RequestExecutor.hpp
-    web/protocol/CommunicationError.cpp
-    web/protocol/CommunicationError.hpp
-    web/protocol/http/Http.cpp
-    web/protocol/http/Http.hpp
-    web/protocol/http/incoming/BodyDecoder.cpp
-    web/protocol/http/incoming/BodyDecoder.hpp
-    web/protocol/http/incoming/Request.cpp
-    web/protocol/http/incoming/Request.hpp
-    web/protocol/http/incoming/RequestHeadersReader.cpp
-    web/protocol/http/incoming/RequestHeadersReader.hpp
-    web/protocol/http/incoming/Response.cpp
-    web/protocol/http/incoming/Response.hpp
-    web/protocol/http/incoming/ResponseHeadersReader.cpp
-    web/protocol/http/incoming/ResponseHeadersReader.hpp
-    web/protocol/http/incoming/SimpleBodyDecoder.cpp
-    web/protocol/http/incoming/SimpleBodyDecoder.hpp
-    web/protocol/http/outgoing/Body.cpp
-    web/protocol/http/outgoing/Body.hpp
-    web/protocol/http/outgoing/BufferBody.cpp
-    web/protocol/http/outgoing/BufferBody.hpp
-    web/protocol/http/outgoing/ChunkedBufferBody.cpp
-    web/protocol/http/outgoing/ChunkedBufferBody.hpp
-    web/protocol/http/outgoing/CommunicationUtils.cpp
-    web/protocol/http/outgoing/CommunicationUtils.hpp
-    web/protocol/http/outgoing/DtoBody.cpp
-    web/protocol/http/outgoing/DtoBody.hpp
-    web/protocol/http/outgoing/Request.cpp
-    web/protocol/http/outgoing/Request.hpp
-    web/protocol/http/outgoing/Response.cpp
-    web/protocol/http/outgoing/Response.hpp
-    web/protocol/http/outgoing/ResponseFactory.cpp
-    web/protocol/http/outgoing/ResponseFactory.hpp
-    web/server/AsyncHttpConnectionHandler.cpp
-    web/server/AsyncHttpConnectionHandler.hpp
-    web/server/HttpConnectionHandler.cpp
-    web/server/HttpConnectionHandler.hpp
-    web/server/HttpProcessor.cpp
-    web/server/HttpProcessor.hpp
-    web/server/HttpRouter.cpp
-    web/server/HttpRouter.hpp
-    web/server/api/ApiController.cpp
-    web/server/api/ApiController.hpp
-    web/server/api/Endpoint.cpp
-    web/server/api/Endpoint.hpp
-    web/server/handler/ErrorHandler.cpp
-    web/server/handler/ErrorHandler.hpp
-    web/server/handler/Interceptor.cpp
-    web/server/handler/Interceptor.hpp
-    web/url/mapping/Pattern.cpp
-    web/url/mapping/Pattern.hpp
-    web/url/mapping/Router.cpp
-    web/url/mapping/Router.hpp
-    web/url/mapping/Subscriber.cpp
-    web/url/mapping/Subscriber.hpp
-)
+###################################################################################################
 
-set(CMAKE_THREAD_PREFER_PTHREAD ON)
-find_package(Threads REQUIRED)
-target_link_libraries(oatpp PUBLIC ${CMAKE_THREAD_LIBS_INIT})
-target_include_directories(oatpp PUBLIC
-    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
-    $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
-)
-set_target_properties(oatpp PROPERTIES
-    CXX_STANDARD 11
-    CXX_EXTENSIONS OFF
-    CXX_STANDARD_REQUIRED ON
-)
-add_library(oatpp::oatpp ALIAS oatpp)
+project(oatpp VERSION ${OATPP_THIS_MODULE_VERSION} LANGUAGES CXX)
 
-if(OATPP_INSTALL)
-    include(GNUInstallDirs)
+option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
+option(OATPP_INSTALL "Create installation target for oat++" ON)
+option(OATPP_BUILD_TESTS "Create test target for oat++" ON)
 
-    install(TARGETS oatpp
-        EXPORT oatpp-targets
-        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
-        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
-    )
-    install(DIRECTORY algorithm codegen core encoding network parser web
-        DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/oatpp
-        FILES_MATCHING PATTERN "*.hpp"
-    )
-    install(EXPORT oatpp-targets
-        FILE oatppTargets.cmake
-        NAMESPACE oatpp::
-        DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/oatpp
-    )
-    include(CMakePackageConfigHelpers)
-    string(CONCAT oatppConfig_cmake_in
-        "@PACKAGE_INIT@\n"
-        "\n"
-        "set_and_check(oatpp_INCLUDE_DIRS \"\$\{PACKAGE_PREFIX_DIR\}/include\")\n"
-        "if(NOT TARGET oatpp::oatpp)\n"
-        "    include(\"\$\{CMAKE_CURRENT_LIST_DIR\}/oatppTargets.cmake\")\n"
-        "endif()\n"
-        "set(oatpp_LIBRARIES \"oatpp::oatpp\")\n"
-    )
-    file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/oatppConfig.cmake.in" "${oatppConfig_cmake_in}")
+message("oatpp version: '${OATPP_THIS_MODULE_VERSION}'")
 
-    configure_package_config_file(${CMAKE_CURRENT_BINARY_DIR}/oatppConfig.cmake.in
-        oatppConfig.cmake
-        INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/oatpp"
-        NO_CHECK_REQUIRED_COMPONENTS_MACRO
-    )
-    write_basic_package_version_file(oatppConfigVersion.cmake
-        VERSION ${oatpp_VERSION}
-        COMPATIBILITY SameMajorVersion
-    )
-    install(FILES "${CMAKE_CURRENT_BINARY_DIR}/oatppConfig.cmake" "${CMAKE_CURRENT_BINARY_DIR}/oatppConfigVersion.cmake"
-        DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/oatpp"
-    )
-endif()
+add_subdirectory(src)
 
 if(OATPP_BUILD_TESTS)
     enable_testing()
-
-    add_executable(oatppAllTests
-        test/AllTestsMain.cpp
-        test/Checker.cpp
-        test/Checker.hpp
-        test/UnitTest.cpp
-        test/UnitTest.hpp
-        test/core/base/CommandLineArgumentsTest.cpp
-        test/core/base/CommandLineArgumentsTest.hpp
-        test/core/base/RegRuleTest.cpp
-        test/core/base/RegRuleTest.hpp
-        test/core/base/collection/LinkedListTest.cpp
-        test/core/base/collection/LinkedListTest.hpp
-        test/core/base/memory/MemoryPoolTest.cpp
-        test/core/base/memory/MemoryPoolTest.hpp
-        test/core/base/memory/PerfTest.cpp
-        test/core/base/memory/PerfTest.hpp
-        test/core/data/mapping/type/TypeTest.cpp
-        test/core/data/mapping/type/TypeTest.hpp
-        test/core/data/share/MemoryLabelTest.cpp
-        test/core/data/share/MemoryLabelTest.hpp
-        test/encoding/Base64Test.cpp
-        test/encoding/Base64Test.hpp
-        test/encoding/UnicodeTest.cpp
-        test/encoding/UnicodeTest.hpp
-        test/network/virtual_/InterfaceTest.cpp
-        test/network/virtual_/InterfaceTest.hpp
-        test/network/virtual_/PipeTest.cpp
-        test/network/virtual_/PipeTest.hpp
-        test/parser/json/mapping/DTOMapperPerfTest.cpp
-        test/parser/json/mapping/DTOMapperPerfTest.hpp
-        test/parser/json/mapping/DTOMapperTest.cpp
-        test/parser/json/mapping/DTOMapperTest.hpp
-        test/parser/json/mapping/DeserializerTest.cpp
-        test/parser/json/mapping/DeserializerTest.hpp
-        test/web/FullAsyncTest.cpp
-        test/web/FullAsyncTest.hpp
-        test/web/FullTest.cpp
-        test/web/FullTest.hpp
-        test/web/app/Client.hpp
-        test/web/app/Controller.hpp
-        test/web/app/ControllerAsync.hpp
-        test/web/app/DTOs.hpp
-    )
-    target_link_libraries(oatppAllTests PRIVATE oatpp)
-    set_target_properties(oatppAllTests PROPERTIES
-        CXX_STANDARD 11
-        CXX_EXTENSIONS OFF
-        CXX_STANDARD_REQUIRED ON
-    )
-    target_compile_definitions(oatppAllTests
-        PRIVATE OATPP_ENABLE_ALL_TESTS_MAIN
-    )
-    add_test(oatppAllTests oatppAllTests)
+    add_subdirectory(test)
 endif()

+ 0 - 11
azure-pipelines.yml

@@ -12,20 +12,15 @@ jobs:
   workspace:
     clean: all
   steps:
-    - script: |
-        mkdir oatpp
-        mv `ls -A | grep -v oatpp` ./oatpp/
     - task: CMake@1
     - script: |
         cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON
         make
       displayName: 'CMake'
-      workingDirectory: oatpp
 
     - script: |
         make test ARGS="-V"
       displayName: 'Test'
-      workingDirectory: oatpp
 
 - job: macOS
   displayName: 'Build - macOS-10.13'
@@ -35,18 +30,12 @@ jobs:
   workspace:
     clean: all
   steps:
-    - script: |
-        mkdir oatpp
-        mv `ls -A | grep -v oatpp` ./oatpp/
     - task: CMake@1
     - script: |
         cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON
         make
       displayName: 'CMake'
-      workingDirectory: oatpp
 
     - script: |
         make test ARGS="-V"
       displayName: 'Test'
-      workingDirectory: oatpp
-

+ 9 - 0
cmake/module-config.cmake.in

@@ -0,0 +1,9 @@
+@PACKAGE_INIT@
+
+if(NOT TARGET oatpp::oatpp)
+    include("${CMAKE_CURRENT_LIST_DIR}/@OATPP_MODULE_NAME@Targets.cmake")
+endif()
+
+set_and_check(@OATPP_MODULE_NAME@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include/oatpp-@OATPP_MODULE_VERSION@/@OATPP_MODULE_NAME@/")
+set_and_check(@OATPP_MODULE_NAME@_LIBRARIES_DIRS "${PACKAGE_PREFIX_DIR}/lib/@OATPP_MODULE_NAME@-@OATPP_MODULE_VERSION@/")
+set(@OATPP_MODULE_NAME@_LIBRARIES @OATPP_MODULE_LIBRARIES@)

+ 105 - 0
cmake/module-install.cmake

@@ -0,0 +1,105 @@
+#######################################################################################
+## Set module properties
+## all oatpp modules should have the same installation procedure
+##
+## installation tree:
+##
+## prefix/
+##  |
+##  |- include/oatpp-<version>/<module-name>
+##   - lib/
+##       |
+##       |- cmake/<module-name>-<version>/
+##       |    |
+##       |    |- <module-name>Config.cmake
+##       |     - <module-name>ConfigVersion.cmake
+##       |
+##        - oatpp-<version>/
+##            |
+##            |- lib1.a
+##            |- lib2.a
+##             - ...
+##
+######################################################################################
+
+message("\n############################################################################")
+message("## oatpp-module-install.cmake\n")
+
+message("OATPP_THIS_MODULE_NAME=${OATPP_THIS_MODULE_NAME}")
+message("OATPP_THIS_MODULE_VERSION=${OATPP_THIS_MODULE_VERSION}")
+message("OATPP_THIS_MODULE_LIBRARIES=${OATPP_THIS_MODULE_LIBRARIES}")
+message("OATPP_THIS_MODULE_TARGETS=${OATPP_THIS_MODULE_TARGETS}")
+message("OATPP_THIS_MODULE_DIRECTORIES=${OATPP_THIS_MODULE_DIRECTORIES}")
+
+message("\n############################################################################\n")
+
+#######################################################################################
+## Set cache variables to configure module-config.cmake.in template
+## via call to configure_package_config_file
+
+set(OATPP_MODULE_NAME ${OATPP_THIS_MODULE_NAME} CACHE STRING "oatpp module name")
+set(OATPP_MODULE_VERSION "${OATPP_THIS_MODULE_VERSION}" CACHE STRING "oatpp module version")
+set(OATPP_MODULE_LIBRARIES
+        "${OATPP_THIS_MODULE_LIBRARIES}" ## list libraries to find when find_package is called
+        CACHE INTERNAL "oatpp module libraries"
+)
+
+#######################################################################################
+## calc directories to install (relative to this script)
+## dirs should be in ( relative ../src/<dirs>)
+
+foreach(CURR_DIR ${OATPP_THIS_MODULE_DIRECTORIES})
+    list(APPEND OATPP_DIRS_TO_INSTALL ${CMAKE_CURRENT_LIST_DIR}/../src/${CURR_DIR})
+endforeach()
+
+#######################################################################################
+
+include(GNUInstallDirs)
+
+install(TARGETS ${OATPP_THIS_MODULE_TARGETS}
+        EXPORT "${OATPP_MODULE_NAME}Targets"
+        ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}/oatpp-${OATPP_MODULE_VERSION}"
+        LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/oatpp-${OATPP_MODULE_VERSION}"
+        RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/oatpp-${OATPP_MODULE_VERSION}"
+        INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/oatpp-${OATPP_MODULE_VERSION}/${OATPP_MODULE_NAME}"
+)
+
+install(DIRECTORY ${OATPP_DIRS_TO_INSTALL}
+        DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/oatpp-${OATPP_MODULE_VERSION}/${OATPP_MODULE_NAME}"
+        FILES_MATCHING PATTERN "*.hpp"
+)
+
+install(EXPORT "${OATPP_MODULE_NAME}Targets"
+        FILE "${OATPP_MODULE_NAME}Targets.cmake"
+        NAMESPACE oatpp::
+        DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${OATPP_MODULE_NAME}-${OATPP_MODULE_VERSION}"
+)
+
+include(CMakePackageConfigHelpers)
+
+write_basic_package_version_file("${OATPP_MODULE_NAME}ConfigVersion.cmake"
+        VERSION ${OATPP_MODULE_VERSION}
+        COMPATIBILITY ExactVersion ## Use exact version matching.
+)
+
+## Take module-config.cmake.in file in this direcory as a template
+
+configure_package_config_file(
+            "${CMAKE_CURRENT_LIST_DIR}/module-config.cmake.in"
+            "${OATPP_MODULE_NAME}Config.cmake"
+        INSTALL_DESTINATION
+            "${CMAKE_INSTALL_LIBDIR}/cmake/${OATPP_MODULE_NAME}-${OATPP_MODULE_VERSION}"
+        PATH_VARS
+            OATPP_MODULE_NAME
+            OATPP_MODULE_VERSION
+            OATPP_MODULE_LIBRARIES
+        NO_CHECK_REQUIRED_COMPONENTS_MACRO
+)
+
+install(
+        FILES
+            "${CMAKE_CURRENT_BINARY_DIR}/${OATPP_MODULE_NAME}Config.cmake"
+            "${CMAKE_CURRENT_BINARY_DIR}/${OATPP_MODULE_NAME}ConfigVersion.cmake"
+        DESTINATION
+            "${CMAKE_INSTALL_LIBDIR}/cmake/${OATPP_MODULE_NAME}-${OATPP_MODULE_VERSION}"
+)

+ 6 - 8
lgtm.yml

@@ -1,18 +1,16 @@
 path_classifiers:
   generated:
-    - exclude: "oatpp/*" # don't tag oatpp sources as generated
+    - exclude: "src/*"  # don't tag oatpp sources as generated
   library:
-    - exclude: "oatpp/*" # don't tag oatpp sources as library
+    - exclude: "src/*"  # don't tag oatpp sources as library
   template:
-    - exclude: "oatpp/*" # don't tag oatpp sources as template
+    - exclude: "src/*"  # don't tag oatpp sources as template
   test: 
-    - exclude: "oatpp/*" # don't tag oatpp sources as test
-    - oatpp/test         # tag test folder only as test
+    - exclude: "src/*"  # don't tag oatpp sources as test
+    - test              # tag test folder only as test
   docs:
     - README.md
     - LICENSE.txt
 extraction:
   cpp:
-    after_prepare:    
-      - mkdir oatpp # oatpp must be stored in the "oatpp" dir name.
-      - mv `ls -A | grep -v oatpp` ./oatpp/
+

+ 227 - 0
src/CMakeLists.txt

@@ -0,0 +1,227 @@
+
+#######################################################################################################
+## oatpp
+
+add_library(oatpp
+        oatpp/algorithm/CRC.cpp
+        oatpp/algorithm/CRC.hpp
+        oatpp/codegen/codegen_define_ApiClient_.hpp
+        oatpp/codegen/codegen_define_ApiController_.hpp
+        oatpp/codegen/codegen_define_DTO_.hpp
+        oatpp/codegen/codegen_undef_ApiClient_.hpp
+        oatpp/codegen/codegen_undef_ApiController_.hpp
+        oatpp/codegen/codegen_undef_DTO_.hpp
+        oatpp/core/Types.cpp
+        oatpp/core/Types.hpp
+        oatpp/core/async/Coroutine.cpp
+        oatpp/core/async/Coroutine.hpp
+        oatpp/core/async/Executor.cpp
+        oatpp/core/async/Executor.hpp
+        oatpp/core/async/Processor.cpp
+        oatpp/core/async/Processor.hpp
+        oatpp/core/base/CommandLineArguments.cpp
+        oatpp/core/base/CommandLineArguments.hpp
+        oatpp/core/base/Config.hpp
+        oatpp/core/base/Controllable.cpp
+        oatpp/core/base/Controllable.hpp
+        oatpp/core/base/Environment.cpp
+        oatpp/core/base/Environment.hpp
+        oatpp/core/base/StrBuffer.cpp
+        oatpp/core/base/StrBuffer.hpp
+        oatpp/core/base/memory/Allocator.cpp
+        oatpp/core/base/memory/Allocator.hpp
+        oatpp/core/base/memory/MemoryPool.cpp
+        oatpp/core/base/memory/MemoryPool.hpp
+        oatpp/core/base/memory/ObjectPool.cpp
+        oatpp/core/base/memory/ObjectPool.hpp
+        oatpp/core/collection/FastQueue.cpp
+        oatpp/core/collection/FastQueue.hpp
+        oatpp/core/collection/LinkedList.cpp
+        oatpp/core/collection/LinkedList.hpp
+        oatpp/core/collection/ListMap.cpp
+        oatpp/core/collection/ListMap.hpp
+        oatpp/core/concurrency/Runnable.cpp
+        oatpp/core/concurrency/Runnable.hpp
+        oatpp/core/concurrency/SpinLock.cpp
+        oatpp/core/concurrency/SpinLock.hpp
+        oatpp/core/concurrency/Thread.cpp
+        oatpp/core/concurrency/Thread.hpp
+        oatpp/core/data/buffer/FIFOBuffer.cpp
+        oatpp/core/data/buffer/FIFOBuffer.hpp
+        oatpp/core/data/buffer/IOBuffer.cpp
+        oatpp/core/data/buffer/IOBuffer.hpp
+        oatpp/core/data/mapping/ObjectMapper.cpp
+        oatpp/core/data/mapping/ObjectMapper.hpp
+        oatpp/core/data/mapping/type/List.cpp
+        oatpp/core/data/mapping/type/List.hpp
+        oatpp/core/data/mapping/type/ListMap.cpp
+        oatpp/core/data/mapping/type/ListMap.hpp
+        oatpp/core/data/mapping/type/Object.cpp
+        oatpp/core/data/mapping/type/Object.hpp
+        oatpp/core/data/mapping/type/Primitive.cpp
+        oatpp/core/data/mapping/type/Primitive.hpp
+        oatpp/core/data/mapping/type/Type.cpp
+        oatpp/core/data/mapping/type/Type.hpp
+        oatpp/core/data/share/MemoryLabel.cpp
+        oatpp/core/data/share/MemoryLabel.hpp
+        oatpp/core/data/stream/ChunkedBuffer.cpp
+        oatpp/core/data/stream/ChunkedBuffer.hpp
+        oatpp/core/data/stream/Delegate.cpp
+        oatpp/core/data/stream/Delegate.hpp
+        oatpp/core/data/stream/Stream.cpp
+        oatpp/core/data/stream/Stream.hpp
+        oatpp/core/data/stream/StreamBufferedProxy.cpp
+        oatpp/core/data/stream/StreamBufferedProxy.hpp
+        oatpp/core/macro/basic.hpp
+        oatpp/core/macro/codegen.hpp
+        oatpp/core/macro/component.hpp
+        oatpp/core/os/io/Library.cpp
+        oatpp/core/os/io/Library.hpp
+        oatpp/core/parser/ParsingCaret.cpp
+        oatpp/core/parser/ParsingCaret.hpp
+        oatpp/core/utils/ConversionUtils.cpp
+        oatpp/core/utils/ConversionUtils.hpp
+        oatpp/encoding/Base64.cpp
+        oatpp/encoding/Base64.hpp
+        oatpp/encoding/Hex.cpp
+        oatpp/encoding/Hex.hpp
+        oatpp/encoding/Unicode.cpp
+        oatpp/encoding/Unicode.hpp
+        oatpp/network/Connection.cpp
+        oatpp/network/Connection.hpp
+        oatpp/network/ConnectionProvider.cpp
+        oatpp/network/ConnectionProvider.hpp
+        oatpp/network/Url.cpp
+        oatpp/network/Url.hpp
+        oatpp/network/client/SimpleTCPConnectionProvider.cpp
+        oatpp/network/client/SimpleTCPConnectionProvider.hpp
+        oatpp/network/server/ConnectionHandler.cpp
+        oatpp/network/server/ConnectionHandler.hpp
+        oatpp/network/server/Server.cpp
+        oatpp/network/server/Server.hpp
+        oatpp/network/server/SimpleTCPConnectionProvider.cpp
+        oatpp/network/server/SimpleTCPConnectionProvider.hpp
+        oatpp/network/virtual_/Interface.cpp
+        oatpp/network/virtual_/Interface.hpp
+        oatpp/network/virtual_/Pipe.cpp
+        oatpp/network/virtual_/Pipe.hpp
+        oatpp/network/virtual_/Socket.cpp
+        oatpp/network/virtual_/Socket.hpp
+        oatpp/network/virtual_/client/ConnectionProvider.cpp
+        oatpp/network/virtual_/client/ConnectionProvider.hpp
+        oatpp/network/virtual_/server/ConnectionProvider.cpp
+        oatpp/network/virtual_/server/ConnectionProvider.hpp
+        oatpp/parser/json/Utils.cpp
+        oatpp/parser/json/Utils.hpp
+        oatpp/parser/json/mapping/Deserializer.cpp
+        oatpp/parser/json/mapping/Deserializer.hpp
+        oatpp/parser/json/mapping/ObjectMapper.cpp
+        oatpp/parser/json/mapping/ObjectMapper.hpp
+        oatpp/parser/json/mapping/Serializer.cpp
+        oatpp/parser/json/mapping/Serializer.hpp
+        oatpp/web/client/ApiClient.cpp
+        oatpp/web/client/ApiClient.hpp
+        oatpp/web/client/HttpRequestExecutor.cpp
+        oatpp/web/client/HttpRequestExecutor.hpp
+        oatpp/web/client/RequestExecutor.cpp
+        oatpp/web/client/RequestExecutor.hpp
+        oatpp/web/protocol/CommunicationError.cpp
+        oatpp/web/protocol/CommunicationError.hpp
+        oatpp/web/protocol/http/Http.cpp
+        oatpp/web/protocol/http/Http.hpp
+        oatpp/web/protocol/http/incoming/BodyDecoder.cpp
+        oatpp/web/protocol/http/incoming/BodyDecoder.hpp
+        oatpp/web/protocol/http/incoming/Request.cpp
+        oatpp/web/protocol/http/incoming/Request.hpp
+        oatpp/web/protocol/http/incoming/RequestHeadersReader.cpp
+        oatpp/web/protocol/http/incoming/RequestHeadersReader.hpp
+        oatpp/web/protocol/http/incoming/Response.cpp
+        oatpp/web/protocol/http/incoming/Response.hpp
+        oatpp/web/protocol/http/incoming/ResponseHeadersReader.cpp
+        oatpp/web/protocol/http/incoming/ResponseHeadersReader.hpp
+        oatpp/web/protocol/http/incoming/SimpleBodyDecoder.cpp
+        oatpp/web/protocol/http/incoming/SimpleBodyDecoder.hpp
+        oatpp/web/protocol/http/outgoing/Body.cpp
+        oatpp/web/protocol/http/outgoing/Body.hpp
+        oatpp/web/protocol/http/outgoing/BufferBody.cpp
+        oatpp/web/protocol/http/outgoing/BufferBody.hpp
+        oatpp/web/protocol/http/outgoing/ChunkedBufferBody.cpp
+        oatpp/web/protocol/http/outgoing/ChunkedBufferBody.hpp
+        oatpp/web/protocol/http/outgoing/CommunicationUtils.cpp
+        oatpp/web/protocol/http/outgoing/CommunicationUtils.hpp
+        oatpp/web/protocol/http/outgoing/DtoBody.cpp
+        oatpp/web/protocol/http/outgoing/DtoBody.hpp
+        oatpp/web/protocol/http/outgoing/Request.cpp
+        oatpp/web/protocol/http/outgoing/Request.hpp
+        oatpp/web/protocol/http/outgoing/Response.cpp
+        oatpp/web/protocol/http/outgoing/Response.hpp
+        oatpp/web/protocol/http/outgoing/ResponseFactory.cpp
+        oatpp/web/protocol/http/outgoing/ResponseFactory.hpp
+        oatpp/web/server/AsyncHttpConnectionHandler.cpp
+        oatpp/web/server/AsyncHttpConnectionHandler.hpp
+        oatpp/web/server/HttpConnectionHandler.cpp
+        oatpp/web/server/HttpConnectionHandler.hpp
+        oatpp/web/server/HttpProcessor.cpp
+        oatpp/web/server/HttpProcessor.hpp
+        oatpp/web/server/HttpRouter.cpp
+        oatpp/web/server/HttpRouter.hpp
+        oatpp/web/server/api/ApiController.cpp
+        oatpp/web/server/api/ApiController.hpp
+        oatpp/web/server/api/Endpoint.cpp
+        oatpp/web/server/api/Endpoint.hpp
+        oatpp/web/server/handler/ErrorHandler.cpp
+        oatpp/web/server/handler/ErrorHandler.hpp
+        oatpp/web/server/handler/Interceptor.cpp
+        oatpp/web/server/handler/Interceptor.hpp
+        oatpp/web/url/mapping/Pattern.cpp
+        oatpp/web/url/mapping/Pattern.hpp
+        oatpp/web/url/mapping/Router.cpp
+        oatpp/web/url/mapping/Router.hpp
+        oatpp/web/url/mapping/Subscriber.cpp
+        oatpp/web/url/mapping/Subscriber.hpp
+)
+set_target_properties(oatpp PROPERTIES
+        CXX_STANDARD 11
+        CXX_EXTENSIONS OFF
+        CXX_STANDARD_REQUIRED ON
+)
+
+set(CMAKE_THREAD_PREFER_PTHREAD ON)
+
+find_package(Threads REQUIRED)
+
+target_link_libraries(oatpp PUBLIC ${CMAKE_THREAD_LIBS_INIT})
+
+target_include_directories(oatpp PUBLIC
+    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+)
+
+#######################################################################################################
+## oatpp-test
+
+add_library(oatpp-test
+        oatpp-test/Checker.cpp
+        oatpp-test/Checker.hpp
+        oatpp-test/UnitTest.cpp
+        oatpp-test/UnitTest.hpp
+)
+set_target_properties(oatpp-test PROPERTIES
+        CXX_STANDARD 11
+        CXX_EXTENSIONS OFF
+        CXX_STANDARD_REQUIRED ON
+)
+
+target_link_libraries(oatpp-test PUBLIC oatpp)
+
+target_include_directories(oatpp-test PUBLIC
+        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+)
+
+add_dependencies(oatpp-test oatpp)
+
+#######################################################################################################
+## install targets
+
+if(OATPP_INSTALL)
+    include("../cmake/module-install.cmake")
+endif()

+ 0 - 0
test/Checker.cpp → src/oatpp-test/Checker.cpp


+ 0 - 0
test/Checker.hpp → src/oatpp-test/Checker.hpp


+ 0 - 0
test/UnitTest.cpp → src/oatpp-test/UnitTest.cpp


+ 1 - 1
test/UnitTest.hpp → src/oatpp-test/UnitTest.hpp

@@ -58,7 +58,7 @@ public:
   }
   
 };
-  
+
 #define OATPP_RUN_TEST(TEST) oatpp::test::UnitTest::runTest<TEST>(1)
   
 }}

+ 0 - 0
algorithm/CRC.cpp → src/oatpp/algorithm/CRC.cpp


+ 0 - 0
algorithm/CRC.hpp → src/oatpp/algorithm/CRC.hpp


+ 0 - 0
codegen/codegen_define_ApiClient_.hpp → src/oatpp/codegen/codegen_define_ApiClient_.hpp


+ 0 - 0
codegen/codegen_define_ApiController_.hpp → src/oatpp/codegen/codegen_define_ApiController_.hpp


+ 0 - 0
codegen/codegen_define_DTO_.hpp → src/oatpp/codegen/codegen_define_DTO_.hpp


+ 0 - 0
codegen/codegen_undef_ApiClient_.hpp → src/oatpp/codegen/codegen_undef_ApiClient_.hpp


+ 0 - 0
codegen/codegen_undef_ApiController_.hpp → src/oatpp/codegen/codegen_undef_ApiController_.hpp


+ 0 - 0
codegen/codegen_undef_DTO_.hpp → src/oatpp/codegen/codegen_undef_DTO_.hpp


+ 0 - 0
core/Types.cpp → src/oatpp/core/Types.cpp


+ 0 - 0
core/Types.hpp → src/oatpp/core/Types.hpp


+ 0 - 0
core/async/Coroutine.cpp → src/oatpp/core/async/Coroutine.cpp


+ 0 - 0
core/async/Coroutine.hpp → src/oatpp/core/async/Coroutine.hpp


+ 0 - 0
core/async/Executor.cpp → src/oatpp/core/async/Executor.cpp


+ 0 - 0
core/async/Executor.hpp → src/oatpp/core/async/Executor.hpp


+ 0 - 0
core/async/Processor.cpp → src/oatpp/core/async/Processor.cpp


+ 0 - 0
core/async/Processor.hpp → src/oatpp/core/async/Processor.hpp


+ 0 - 0
core/base/CommandLineArguments.cpp → src/oatpp/core/base/CommandLineArguments.cpp


+ 0 - 0
core/base/CommandLineArguments.hpp → src/oatpp/core/base/CommandLineArguments.hpp


+ 0 - 0
core/base/Config.hpp → src/oatpp/core/base/Config.hpp


+ 0 - 0
core/base/Controllable.cpp → src/oatpp/core/base/Controllable.cpp


+ 0 - 0
core/base/Controllable.hpp → src/oatpp/core/base/Controllable.hpp


+ 0 - 0
core/base/Environment.cpp → src/oatpp/core/base/Environment.cpp


+ 8 - 8
core/base/Environment.hpp → src/oatpp/core/base/Environment.hpp

@@ -36,13 +36,7 @@
 
 #include <stdlib.h>
 
-#define OATPP_VERSION "0.18.12"
-
-#define OATPP_ASSERT(EXP) \
-if(!(EXP)) { \
-  OATPP_LOGE("ASSERT[FAILED]", #EXP); \
-  exit(EXIT_FAILURE); \
-}
+#define OATPP_VERSION "0.19.1"
 
 typedef unsigned char v_char8;
 typedef v_char8 *p_char8;
@@ -80,7 +74,7 @@ namespace oatpp { namespace base{
   
 class Logger {
 public:
-  virtual ~Logger(){};
+  virtual ~Logger() = default;
   virtual void log(v_int32 priority, const std::string& tag, const std::string& message) = 0;
 };
   
@@ -159,6 +153,12 @@ public:
   static v_int64 getMicroTickCount();
   
 };
+
+#define OATPP_ASSERT(EXP) \
+if(!(EXP)) { \
+  OATPP_LOGE("ASSERT[FAILED]", #EXP); \
+  exit(EXIT_FAILURE); \
+}
   
 #ifndef OATPP_DISABLE_LOGV
   #define OATPP_LOGV(TAG, ...) oatpp::base::Environment::logFormatted(0, TAG, __VA_ARGS__);

+ 0 - 0
core/base/StrBuffer.cpp → src/oatpp/core/base/StrBuffer.cpp


+ 0 - 0
core/base/StrBuffer.hpp → src/oatpp/core/base/StrBuffer.hpp


+ 0 - 0
core/base/memory/Allocator.cpp → src/oatpp/core/base/memory/Allocator.cpp


+ 0 - 0
core/base/memory/Allocator.hpp → src/oatpp/core/base/memory/Allocator.hpp


+ 0 - 0
core/base/memory/MemoryPool.cpp → src/oatpp/core/base/memory/MemoryPool.cpp


+ 0 - 0
core/base/memory/MemoryPool.hpp → src/oatpp/core/base/memory/MemoryPool.hpp


+ 0 - 0
core/base/memory/ObjectPool.cpp → src/oatpp/core/base/memory/ObjectPool.cpp


+ 0 - 0
core/base/memory/ObjectPool.hpp → src/oatpp/core/base/memory/ObjectPool.hpp


+ 0 - 0
core/collection/FastQueue.cpp → src/oatpp/core/collection/FastQueue.cpp


+ 0 - 0
core/collection/FastQueue.hpp → src/oatpp/core/collection/FastQueue.hpp


+ 0 - 0
core/collection/LinkedList.cpp → src/oatpp/core/collection/LinkedList.cpp


+ 0 - 0
core/collection/LinkedList.hpp → src/oatpp/core/collection/LinkedList.hpp


+ 0 - 0
core/collection/ListMap.cpp → src/oatpp/core/collection/ListMap.cpp


+ 0 - 0
core/collection/ListMap.hpp → src/oatpp/core/collection/ListMap.hpp


+ 0 - 0
core/concurrency/Runnable.cpp → src/oatpp/core/concurrency/Runnable.cpp


+ 0 - 0
core/concurrency/Runnable.hpp → src/oatpp/core/concurrency/Runnable.hpp


+ 0 - 0
core/concurrency/SpinLock.cpp → src/oatpp/core/concurrency/SpinLock.cpp


+ 0 - 0
core/concurrency/SpinLock.hpp → src/oatpp/core/concurrency/SpinLock.hpp


+ 0 - 0
core/concurrency/Thread.cpp → src/oatpp/core/concurrency/Thread.cpp


+ 0 - 0
core/concurrency/Thread.hpp → src/oatpp/core/concurrency/Thread.hpp


+ 0 - 0
core/data/buffer/FIFOBuffer.cpp → src/oatpp/core/data/buffer/FIFOBuffer.cpp


+ 0 - 0
core/data/buffer/FIFOBuffer.hpp → src/oatpp/core/data/buffer/FIFOBuffer.hpp


+ 0 - 0
core/data/buffer/IOBuffer.cpp → src/oatpp/core/data/buffer/IOBuffer.cpp


+ 0 - 0
core/data/buffer/IOBuffer.hpp → src/oatpp/core/data/buffer/IOBuffer.hpp


+ 0 - 0
core/data/mapping/ObjectMapper.cpp → src/oatpp/core/data/mapping/ObjectMapper.cpp


+ 0 - 0
core/data/mapping/ObjectMapper.hpp → src/oatpp/core/data/mapping/ObjectMapper.hpp


+ 0 - 0
core/data/mapping/type/List.cpp → src/oatpp/core/data/mapping/type/List.cpp


+ 0 - 0
core/data/mapping/type/List.hpp → src/oatpp/core/data/mapping/type/List.hpp


+ 0 - 0
core/data/mapping/type/ListMap.cpp → src/oatpp/core/data/mapping/type/ListMap.cpp


+ 0 - 0
core/data/mapping/type/ListMap.hpp → src/oatpp/core/data/mapping/type/ListMap.hpp


+ 0 - 0
core/data/mapping/type/Object.cpp → src/oatpp/core/data/mapping/type/Object.cpp


+ 0 - 0
core/data/mapping/type/Object.hpp → src/oatpp/core/data/mapping/type/Object.hpp


+ 0 - 0
core/data/mapping/type/Primitive.cpp → src/oatpp/core/data/mapping/type/Primitive.cpp


+ 0 - 0
core/data/mapping/type/Primitive.hpp → src/oatpp/core/data/mapping/type/Primitive.hpp


+ 0 - 0
core/data/mapping/type/Type.cpp → src/oatpp/core/data/mapping/type/Type.cpp


+ 0 - 0
core/data/mapping/type/Type.hpp → src/oatpp/core/data/mapping/type/Type.hpp


+ 0 - 0
core/data/share/MemoryLabel.cpp → src/oatpp/core/data/share/MemoryLabel.cpp


+ 0 - 0
core/data/share/MemoryLabel.hpp → src/oatpp/core/data/share/MemoryLabel.hpp


+ 0 - 0
core/data/stream/ChunkedBuffer.cpp → src/oatpp/core/data/stream/ChunkedBuffer.cpp


+ 0 - 0
core/data/stream/ChunkedBuffer.hpp → src/oatpp/core/data/stream/ChunkedBuffer.hpp


+ 0 - 0
core/data/stream/Delegate.cpp → src/oatpp/core/data/stream/Delegate.cpp


+ 0 - 0
core/data/stream/Delegate.hpp → src/oatpp/core/data/stream/Delegate.hpp


+ 0 - 0
core/data/stream/Stream.cpp → src/oatpp/core/data/stream/Stream.cpp


+ 0 - 0
core/data/stream/Stream.hpp → src/oatpp/core/data/stream/Stream.hpp


+ 0 - 0
core/data/stream/StreamBufferedProxy.cpp → src/oatpp/core/data/stream/StreamBufferedProxy.cpp


+ 0 - 0
core/data/stream/StreamBufferedProxy.hpp → src/oatpp/core/data/stream/StreamBufferedProxy.hpp


+ 0 - 0
core/macro/basic.hpp → src/oatpp/core/macro/basic.hpp


+ 0 - 0
core/macro/codegen.hpp → src/oatpp/core/macro/codegen.hpp


+ 0 - 0
core/macro/component.hpp → src/oatpp/core/macro/component.hpp


+ 0 - 0
core/os/io/Library.cpp → src/oatpp/core/os/io/Library.cpp


+ 0 - 0
core/os/io/Library.hpp → src/oatpp/core/os/io/Library.hpp


+ 0 - 0
core/parser/ParsingCaret.cpp → src/oatpp/core/parser/ParsingCaret.cpp


+ 0 - 0
core/parser/ParsingCaret.hpp → src/oatpp/core/parser/ParsingCaret.hpp


+ 0 - 0
core/utils/ConversionUtils.cpp → src/oatpp/core/utils/ConversionUtils.cpp


+ 0 - 0
core/utils/ConversionUtils.hpp → src/oatpp/core/utils/ConversionUtils.hpp


+ 0 - 0
encoding/Base64.cpp → src/oatpp/encoding/Base64.cpp


+ 0 - 0
encoding/Base64.hpp → src/oatpp/encoding/Base64.hpp


+ 0 - 0
encoding/Hex.cpp → src/oatpp/encoding/Hex.cpp


+ 0 - 0
encoding/Hex.hpp → src/oatpp/encoding/Hex.hpp


+ 0 - 0
encoding/Unicode.cpp → src/oatpp/encoding/Unicode.cpp


+ 0 - 0
encoding/Unicode.hpp → src/oatpp/encoding/Unicode.hpp


+ 0 - 0
network/Connection.cpp → src/oatpp/network/Connection.cpp


+ 0 - 0
network/Connection.hpp → src/oatpp/network/Connection.hpp


+ 0 - 0
network/ConnectionProvider.cpp → src/oatpp/network/ConnectionProvider.cpp


+ 0 - 0
network/ConnectionProvider.hpp → src/oatpp/network/ConnectionProvider.hpp


+ 0 - 0
network/Url.cpp → src/oatpp/network/Url.cpp


Vissa filer visades inte eftersom för många filer har ändrats