Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Put the most recent image first in appveyor builds.newer-appveyor | Eric Haszlakiewicz | 2021-11-29 | 1 | -2/+5 |
| | |||||
* | Skip most "Release" builds. s/b_config/CONFIGURATION/ to fix artifact creation. | Eric Haszlakiewicz | 2021-11-29 | 1 | -3/+17 |
| | |||||
* | There doesn't seem to be a way to extend the appveyor build matrix for just ↵ | Eric Haszlakiewicz | 2021-11-27 | 1 | -20/+77 |
| | | | | one image, so instead list a whole bunch of excluded builds. | ||||
* | Use the newer appveyor images to build for VS2017 and VS2019. Trim the ↵ | Eric Haszlakiewicz | 2021-11-27 | 1 | -16/+30 |
| | | | | number of builds we do. | ||||
* | Note the need to also set CTEST_OUTPUT_ON_FAILURE to get test output | Eric Haszlakiewicz | 2021-11-26 | 1 | -1/+1 |
| | |||||
* | Merge pull request #732 from DiracResearch/fix/static_include_dirs | Eric Hawicz | 2021-11-11 | 4 | -9/+14 |
|\ | | | | | Fix/static include dirs | ||||
| * | Fix uninitialized value error for clang-8 msan | Robert Bielik | 2021-11-11 | 1 | -3/+3 |
| | | |||||
| * | Fix for clang ub sanitizer | Robert Bielik | 2021-11-11 | 2 | -6/+6 |
| | | |||||
| * | Add target include dirs for static library as well | Robert Bielik | 2021-11-11 | 1 | -0/+5 |
|/ | |||||
* | Merge pull request #727 from jobol/propo2 | Eric Hawicz | 2021-10-22 | 5 | -8/+19 |
|\ | | | | | Really use prefix JSON_C_OBJECT_ADD_ | ||||
| * | Really use prefix JSON_C_OBJECT_ADD_* | José Bollo | 2021-10-19 | 5 | -8/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces JSON_C_OBJECT_ADD_CONSTANT_KEY as a replacement of JSON_C_OBJECT_KEY_IS_CONSTANT. The description of json_object_object_add_ex tells to look at the flags JSON_C_OBJECT_ADD_* but it is not for JSON_C_OBJECT_KEY_IS_CONSTANT. From the point of vue of a developper using json-c, the function json_object_object_add_ex is mainly used, not the hash facility, it seems more natural to provide a regular naming of prefix JSON_C_OBJECT_ADD_CONSTANT_KEY. | ||||
* | | Merge pull request #729 from DeX77/patch-1 | Eric Hawicz | 2021-10-17 | 1 | -1/+2 |
|\ \ | |/ |/| | * don't assume includedir | ||||
| * | * don't assume includedir | DeX77 | 2021-10-15 | 1 | -1/+2 |
|/ | | | This change syncs the public header include install location with what gets written into pkgconfig file. | ||||
* | Merge pull request #726 from leongross/fix/test-cmake3.1 | Eric Hawicz | 2021-10-09 | 2 | -2/+2 |
|\ | | | | | fix cmake version for tests | ||||
| * | fix cmake version for tests | Leon Gross | 2021-10-06 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #722 from imaami/fix-json_tokener_new_ex-use-after-free | Eric Hawicz | 2021-09-04 | 1 | -1/+1 |
|\ | | | | | Fix use-after-free in json_tokener_new_ex() | ||||
| * | Fix use-after-free in json_tokener_new_ex() | Juuso Alasuutari | 2021-09-04 | 1 | -1/+1 |
|/ | | | | | | | | | The failure path taken in the event of printbuf_new() returning NULL calls free() on tok->stack after already having freed tok. Swap the order of the two calls to fix an obvious memory access violation. Fixes: bcb6d7d3474b ("Handle allocation failure in json_tokener_new_ex") Signed-off-by: Juuso Alasuutari <juuso.alasuutari@gmail.com> | ||||
* | Merge pull request #718 from Pawday/master | Eric Hawicz | 2021-07-31 | 1 | -6/+9 |
|\ | | | | | CMake create uninstall target if unix generator is used | ||||
| * | Setted cmake "uninstall" target to exist in unix like operating systems only | Pawday | 2021-07-26 | 1 | -6/+9 |
|/ | |||||
* | Add workaround for Visual Studio not knowing about "inline". | Eric Haszlakiewicz | 2021-07-25 | 1 | -0/+7 |
| | |||||
* | Switch the Travis build to use osx_image: xcode12.5, in an attempt to avoid ↵ | Eric Haszlakiewicz | 2021-07-25 | 1 | -1/+1 |
| | | | | timeouts with Homebrew. | ||||
* | Merge some old work to include (some of) PR #464 into the current master branch. | Eric Haszlakiewicz | 2021-07-25 | 27 | -110/+274 |
|\ | |||||
| * | Only define an "uninstall" target if it's not already defined (e.g. by ↵ | Eric Haszlakiewicz | 2021-07-25 | 1 | -4/+6 |
| | | | | | | | | projects that include json-c) | ||||
| * | Merge pull request #714 from Hex052/clang-format_AfterCaseLabel | Eric Hawicz | 2021-07-05 | 1 | -0/+2 |
| |\ | | | | | | | Add AfterCaseLabel to .clang-format | ||||
| | * | Add AfterCaseLabel to .clang-format | Hex052 | 2021-07-04 | 1 | -0/+2 |
| |/ | | | | | | | This is to fix the behavior that might've changed between older versions of clang-format, I'm not sure. Version 10 tries to put the bracket on the same line as case without this. | ||||
| * | If inttypes.h is present, use it, even on Windows. | Eric Haszlakiewicz | 2021-06-13 | 1 | -1/+4 |
| | | |||||
| * | Issue #709: adjust some include guards to be a bit more json-c specific. | Eric Haszlakiewicz | 2021-06-02 | 4 | -8/+8 |
| | | |||||
| * | Merge pull request #706 from davidjmccann/master | Eric Hawicz | 2021-05-15 | 1 | -2/+2 |
| |\ | | | | | | | Check __STDC_VERSION__ is defined before checking its value | ||||
| | * | Merge branch 'json-c:master' into master | David McCann | 2021-05-13 | 50 | -1360/+2427 |
| | |\ | | |/ | |/| | |||||
| * | | Merge pull request #696 from ssrlive/master | Eric Hawicz | 2021-05-01 | 5 | -4/+8 |
| |\ \ | | | | | | | | | To avoid target exe file export JSON functions. | ||||
| | * | | To avoid target exe file export JSON functions. | ssrlive | 2021-03-02 | 5 | -4/+8 |
| | | | | |||||
| * | | | Merge pull request #701 from commodo/configurable-opts | Eric Hawicz | 2021-04-17 | 4 | -28/+43 |
| |\ \ \ | | | | | | | | | | | [RFC] json_pointer: allow the feature to be disabled | ||||
| | * | | | json_pointer: allow the feature to be disabled | Alexandru Ardelean | 2021-04-16 | 4 | -5/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some users may not want to included it in their build/system. So allow a cmake symbol to disable it. A user can do 'cmake -DDISABLE_JSON_POINTER=ON <json_c_root_dir>' and disable the json_pointer functionality. That saves about 17 KB (on an x86_64) machine. This may be useful on smaller embedded systems; even though the saving would be fewer kilobytes. One thing that also needs to change a bit, is that the 'json.h' be autogenerated via cmake, in order to conditionally include that "json_pointer.h" file. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> | ||||
| | * | | | tests: CMakeLists.txt: move test names to variable | Alexandru Ardelean | 2021-04-16 | 1 | -24/+26 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The intent is to be able to disable some features that get built into the library. When we do that, we also need to disable some tests. It's easier when adjusting a variable that contains the list of test names, versus modifying the list in the foreach() statement. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> | ||||
| * | | | Merge pull request #700 from Philosoph228/werror-fix | Eric Hawicz | 2021-04-14 | 1 | -1/+0 |
| |\ \ \ | | |/ / | |/| | | Fix unused variable for Win32 build in random_seed.c | ||||
| | * | | random_seed: fix unused variable for win32 build | Philosoph228 | 2021-04-13 | 1 | -1/+0 |
| |/ / | |||||
| * | | Add a DISABLE_EXTRA_LIBS option to skip using libbsd, per @neheb's request ↵ | Eric Haszlakiewicz | 2021-02-15 | 2 | -1/+6 |
| | | | | | | | | | | | | on issue #692/commit 0f61f692. | ||||
| * | | If arc4random is used, don't bother compiling in the other fallback methods ↵ | Eric Haszlakiewicz | 2021-02-13 | 1 | -11/+30 |
| | | | | | | | | | | | | since they'll never be used. Fixes PR#695 about unreachable code too. | ||||
| * | | Merge pull request #694 from ihsinme/patch-1 | Eric Hawicz | 2021-02-06 | 1 | -3/+3 |
| |\ \ | | | | | | | | | fix invalid unsigned arithmetic. | ||||
| | * | | Update json_object.c | ihsinme | 2021-02-05 | 1 | -3/+3 |
| |/ / | |||||
| * | | Iesue #692: use arc4random() if it's available (in libc on BSD systems, and ↵ | Eric Haszlakiewicz | 2021-01-13 | 3 | -2/+28 |
| | | | | | | | | | | | | libbsd on Linux). | ||||
| * | | Keep the doc directory in the nodoc release tarball, just exclude its contents. | Eric Haszlakiewicz | 2021-01-13 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #674 from ploxiln/random_seed_err_continue | Eric Hawicz | 2021-01-12 | 1 | -40/+29 |
| |\ \ | | | | | | | | | random_seed: on error, continue to next method | ||||
| | * | | random_seed: on error, continue to next method | Pierce Lopez | 2020-10-07 | 1 | -40/+29 |
| | | | | | | | | | | | | | | | | instead of exiting the process | ||||
| * | | | Merge pull request #689 from neheb/patch-1 | Eric Hawicz | 2020-12-18 | 1 | -1/+1 |
| |\ \ \ | | |/ / | |/| | | fix compilation with clang | ||||
| | * | | fix compilation with clang | Rosen Penev | 2020-12-17 | 1 | -1/+1 |
| |/ / | | | | | | | | | | | | | | | | | | | Fixes the following warning: json_pointer.c:230:7: warning: implicit declaration of function 'vasprintf' is invalid in C99 [-Wimplicit-function-declaration] rc = vasprintf(&path_copy, path_fmt, args); | ||||
| * | | Merge pull request #667 from stoeckmann/regression | Eric Hawicz | 2020-09-11 | 1 | -0/+2 |
| |\ \ | | | | | | | | | Fixed test1 regression. | ||||
| | * | | Fixed test1 regression. | Tobias Stoeckmann | 2020-09-11 | 1 | -0/+2 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | SIZEOF_SIZE_T might be only defined in config.h. Include config.h for these systems to pass tests which are only supposed to be run on 32 bit systems. Fixes issue #666. | ||||
| * | | Merge pull request #665 from stoeckmann/tokener | Eric Hawicz | 2020-08-24 | 1 | -0/+6 |
| |\ \ | | | | | | | | | Handle more allocation failures in json_tokener* functions | ||||
| | * | | Handle allocation failure in json_tokener_new_ex | Tobias Stoeckmann | 2020-08-22 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | The allocation of printbuf_new might fail. Return NULL to indicate tis error to the caller. Otherwise later usage of the returned tokener would lead to null pointer dereference. |