-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jsonc #10183
Jsonc #10183
Commits on May 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5f07ffd - Browse repository at this point
Copy the full SHA 5f07ffdView commit details -
[cmake] add JSON library find modules
* Add module for cJSON * Add module for json-c
Configuration menu - View commit details
-
Copy full SHA for 29bb435 - Browse repository at this point
Copy the full SHA 29bb435View commit details -
[winpr,utils] add JSON parser wrapper
as we now support cJSON and json-c we need to wrap the functions we use. also allows drop in replacements for older cJSON versions lacking certain functions.
Configuration menu - View commit details
-
Copy full SHA for 1b735a5 - Browse repository at this point
Copy the full SHA 1b735a5View commit details -
[core,client] replace cJSON with WinPR wrapper
use the new WinPR JSON wrapper API
Configuration menu - View commit details
-
Copy full SHA for aaded54 - Browse repository at this point
Copy the full SHA aaded54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bdf92c - Browse repository at this point
Copy the full SHA 8bdf92cView commit details -
Configuration menu - View commit details
-
Copy full SHA for de49d32 - Browse repository at this point
Copy the full SHA de49d32View commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4bdc9ad - Browse repository at this point
Copy the full SHA 4bdc9adView commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 702acc9 - Browse repository at this point
Copy the full SHA 702acc9View commit details -
[core,gateway] always return in case of error
Currently, the `arm_handle_bad_request` function returns `FALSE` when the `cJSON_ParseWithLength` function fails to parse the message, but only when the `cJSON_GetErrorPtr` returns a valid pointer. It would be better to return regardless of the `cJSON_GetErrorPtr` return value.
Configuration menu - View commit details
-
Copy full SHA for 9aca06e - Browse repository at this point
Copy the full SHA 9aca06eView commit details -
[cmake] really use pkg_check_modules results for json-c
Although, the `pkg_check_modules` function is used when finding the json-c library, the results are never used. Let's add the `HINTS` params for the `find_path` and `find_library` functions.
Configuration menu - View commit details
-
Copy full SHA for 15c78a2 - Browse repository at this point
Copy the full SHA 15c78a2View commit details -
[client,sdl] move prefs to static lib
This is in preparation for the subsequent commit adding test case for the prefs functionality to avoid building the code twice.
Configuration menu - View commit details
-
Copy full SHA for e197d27 - Browse repository at this point
Copy the full SHA e197d27View commit details -
[client,sdl] use WITH_WINPR_JSON instead of WINPR_JSON_FOUND
The WINPR_JSON_FOUND macro is never defined currently. Consequently, the SDL prefs always use the fallback implementation. Let's use the WITH_WINPR_JSON instead to really parse the sdl-freerdp.json file.
Configuration menu - View commit details
-
Copy full SHA for 945c496 - Browse repository at this point
Copy the full SHA 945c496View commit details -
[winpr,utils] fix cJSON detection
* pkg-config sets CJSON_FOUND, check for that instead of the paths, which might be unset or set to <var>-NOTFOUND * move detection to own file. find_package targets are meant to be used in same directory or below, but we define the WinPR target one above, so include it in parent
Configuration menu - View commit details
-
Copy full SHA for 4b3ecfa - Browse repository at this point
Copy the full SHA 4b3ecfaView commit details