Skip to content

Commit

Permalink
Jsonifier Release v0.9.94
Browse files Browse the repository at this point in the history
* Implemented a prettify function that utilizes simd instructions.
* Implemented a minify function that utilizes simd instructions.
* Implemented a validate function that utilizes simd instructions.
* Implemented a function for parsing into std::variant types.
* Implementing a fix to a buffer-overflow.
  • Loading branch information
RealTimeChris committed Dec 27, 2023
1 parent 46f4237 commit b6b8720
Show file tree
Hide file tree
Showing 95 changed files with 47,272 additions and 12,383 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,15 @@ target_include_directories(
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/Include/>"
)

target_compile_options (
"${PROJECT_NAME}" INTERFACE
"$<$<CXX_COMPILER_ID:MSVC>:$<$<STREQUAL:${ASAN_ENABLED},TRUE>:/fsanitize=address>>"
)

target_compile_definitions(
"${PROJECT_NAME}" INTERFACE
"JSONIFIER_CPU_INSTRUCTIONS=${JSONIFIER_CPU_INSTRUCTIONS}"
"$<$<STREQUAL:${ASAN_ENABLED},TRUE>:ASAN>"
"$<$<STREQUAL:${DEV},TRUE>:DEV>"
)

Expand Down
326 changes: 164 additions & 162 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -1,170 +1,172 @@
{
"version": 3,
"configurePresets": [
{
"binaryDir": "${sourceDir}/Build/${presetName}",
"condition": {
"lhs": "${hostSystemName}",
"rhs": "Windows",
"type": "equals"
},
"generator": "Visual Studio 17 2022",
"hidden": true,
"installDir": "${sourceDir}/Install/${presetName}",
"name": "Windows-Base"
},
{
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" },
"inherits": "Windows-Base",
"name": "Windows-Release"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"JSONIFIER_TEST": true,
"DEV": true
},
"inherits": "Windows-Base",
"name": "Windows-Release-Dev"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" },
"inherits": "Windows-Base",
"name": "Windows-Debug"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"JSONIFIER_TEST": true,
"DEV": true
"configurePresets": [
{
"installDir": "${sourceDir}/Install/${presetName}",
"binaryDir": "${sourceDir}/Install/${presetName}",
"condition": {
"lhs": "${hostSystemName}",
"rhs": "Windows",
"type": "equals"
},
"generator": "Visual Studio 17 2022",
"hidden": true,
"name": "Windows-Base"
},
"inherits": "Windows-Base",
"name": "Windows-Debug-Dev"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"ASAN_ENABLED": true,
"CMAKE_BUILD_TYPE": "Release",
"JSONIFIER_TEST": true
},
"inherits": "Windows-Base",
"name": "Windows-Release-Asan"
},
{
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"ASAN_ENABLED": true,
"CMAKE_BUILD_TYPE": "Debug",
"JSONIFIER_TEST": true
},
"inherits": "Windows-Base",
"name": "Windows-Debug-Asan"
},
{
"binaryDir": "${sourceDir}/Build/${presetName}",
"condition": {
"lhs": "${hostSystemName}",
"rhs": "Linux",
"type": "equals"
},
"generator": "Unix Makefiles",
"hidden": true,
"name": "Linux-Base"
},
{
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" },
"inherits": "Linux-Base",
"name": "Linux-Release"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"JSONIFIER_TEST": true,
"DEV": true
{
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" },
"inherits": "Windows-Base",
"name": "Windows-Release"
},
"inherits": "Linux-Base",
"name": "Linux-Release-Dev"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" },
"inherits": "Linux-Base",
"name": "Linux-Debug"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"JSONIFIER_TEST": true,
"DEV": true
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"JSONIFIER_TEST": true,
"DEV": true
},
"inherits": "Windows-Base",
"name": "Windows-Release-Dev"
},
"inherits": "Linux-Base",
"name": "Linux-Debug-Dev"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"ASAN_ENABLED": true,
"CMAKE_BUILD_TYPE": "Release",
"JSONIFIER_TEST": true
},
"inherits": "Linux-Base",
"name": "Linux-Release-Asan"
},
{
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"ASAN_ENABLED": true,
"CMAKE_BUILD_TYPE": "Debug",
"JSONIFIER_TEST": true
},
"inherits": "Linux-Base",
"name": "Linux-Debug-Asan"
}
],
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" },
"inherits": "Windows-Base",
"name": "Windows-Debug"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"JSONIFIER_TEST": true,
"DEV": true
},
"inherits": "Windows-Base",
"name": "Windows-Debug-Dev"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"ASAN_ENABLED": "TRUE",
"CMAKE_BUILD_TYPE": "Release",
"JSONIFIER_TEST": true
},
"inherits": "Windows-Base",
"name": "Windows-Release-Asan"
},
{
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"ASAN_ENABLED": "TRUE",
"CMAKE_BUILD_TYPE": "Debug",
"JSONIFIER_TEST": true
},
"inherits": "Windows-Base",
"name": "Windows-Debug-Asan"
},
{
"installDir": "${sourceDir}${presetName}",
"binaryDir": "${sourceDir}${presetName}",
"cacheVariables": {"CMAKE_CXX_COMPILER": "/usr/bin/clang++-18", "CMAKE_C_COMPILER": "/usr/bin/clang-18"},
"condition": {
"lhs": "${hostSystemName}",
"rhs": "Linux",
"type": "equals"
},
"generator": "Unix Makefiles",
"hidden": true,
"name": "Linux-Base"
},
{
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" },
"inherits": "Linux-Base",
"name": "Linux-Release"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"JSONIFIER_TEST": true,
"DEV": true
},
"inherits": "Linux-Base",
"name": "Linux-Release-Dev"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" },
"inherits": "Linux-Base",
"name": "Linux-Debug"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"JSONIFIER_TEST": true,
"DEV": true
},
"inherits": "Linux-Base",
"name": "Linux-Debug-Dev"
},
{
"architecture": {
"strategy": "external",
"value": "x64"
},
"cacheVariables": {
"ASAN_ENABLED": true,
"CMAKE_BUILD_TYPE": "Release",
"JSONIFIER_TEST": true
},
"inherits": "Linux-Base",
"name": "Linux-Release-Asan"
},
{
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"ASAN_ENABLED": true,
"CMAKE_BUILD_TYPE": "Debug",
"JSONIFIER_TEST": true
},
"inherits": "Linux-Base",
"name": "Linux-Debug-Asan"
}
],
"buildPresets": [
{
"configurePreset": "Windows-Release",
Expand Down
Loading

0 comments on commit b6b8720

Please sign in to comment.