david bigagli
82a55ef205
doc patch for jansson
2014-12-15 07:47:19 +02:00
Joakim Söderberg
19f33c0e71
Add support for coverage/coveralls.io in cmake project.
...
This adds support for http://coveralls.io/ to the cmake project. This can then be run via a new Travis job, which uploads json containing the coverage data to the website.
To use this, please login usin github at http://coveralls.io/ and enable the Jansson project. You can then get a nice percentage badge for code coverage after each Travis buid. Coveralls will also comment on pull request with coverage info.
To test and run it locally do:
```bash
$ mkdir build && cd build
$ cmake -DJANSSON_COVERALLS=ON -DCMAKE_BUILD_TYPE=Debug ..
$ cmake --build . # $ make
$ cmake --build . --target coveralls # $ make coveralls
```
There is also another script that generates a local HTML page using lcov CodeCoverage.cmake which can be run using
```bash
$ make coverage
```
The required depdencies to run this are:
gcov
curl
lcov (is needed for the normal CodeCoverage script)
2014-12-12 23:57:01 +01:00
Petri Lehtinen
3c9e5c9925
Move the list member to the top of hashtable_pair struct
...
This may make debugging easier with limited debuggers.
2014-12-10 07:41:41 +02:00
Petri Lehtinen
1c38ab17f5
Include jansson_config.h with quotes
...
Fixes #209 .
2014-12-04 10:45:26 +02:00
Petri Lehtinen
d5edfcc6fd
Merge pull request #208 from skeid21/master
...
Fix warnings on LLVM 6.0 targetion iOS arm64.
2014-11-29 11:52:11 +02:00
Shawn Harris
9b435df3d4
Warnings - use size_t where appropriate to prevent warning when compilation is targeting 64 bit
2014-11-28 18:11:26 -07:00
Petri Lehtinen
bc743ad2d9
README: Documentation is hosted at RTD
2014-10-20 20:27:56 +03:00
Petri Lehtinen
19cc800ad3
Merge pull request #206 from chrullrich/fix-win-build
...
Fix CMake configuration for Windows build
2014-10-14 12:28:19 +03:00
Christian Ullrich
b52e7a69aa
Fix CFLAGS for static-CRT build.
...
Setting the variables to only "/MT(d)" resets all other flags to their defaults, so the debug build used release flags.
2014-10-13 13:06:02 +02:00
Christian Ullrich
1395e4303a
Fix static CRT selection.
2014-10-13 13:04:04 +02:00
Petri Lehtinen
d7a6269a17
Use expr instead of $((...)) in shell scripts
...
For Solaris 10 compatibility.
2014-10-03 08:49:08 +03:00
Petri Lehtinen
7fbe7c3960
Don't use the nonstandard __FUNCTION__ macro
2014-10-03 08:38:57 +03:00
Petri Lehtinen
ee27b7e3dd
jansson 2.7
2014-10-02 13:10:45 +03:00
Petri Lehtinen
391d9101a8
Update CHANGES for 2.7
2014-10-02 08:57:07 +03:00
Petri Lehtinen
2137e0c895
Add AppVeyor badge to README.rst
2014-09-25 07:51:55 +03:00
Petri Lehtinen
5fc44e10aa
Merge pull request #205 from JoakimSoderberg/appveyor
...
Added Windows CI support with appveyor
2014-09-25 07:45:24 +03:00
Joakim Soderberg
b94d767f86
Added Windows CI support with appveyor
...
Added support for http://www.appveyor.com/ (login via github account).
This will build the project and run the unit tests on Windows as well.
Possible to add a badge like with Travis in the README.md as well.
2014-09-24 18:08:45 +02:00
Petri Lehtinen
43f17d010a
Merge pull request #204 from bgoglin/master
...
Don't use GNU-make specific export for global AM_CFLAGS
2014-08-27 08:02:59 +03:00
Petri Lehtinen
fa20e80860
Parse subnormal numbers correctly
...
Fixes #202 .
2014-08-27 07:59:52 +03:00
Brice Goglin
485c7640a1
Don't use GNU-make specific export for global AM_CFLAGS
...
Just define it at configure time, it's automatically set in all makefiles.
Fixes #203 .
2014-08-26 15:01:13 +02:00
Petri Lehtinen
d4a7de7c11
Android.mk: Add -DHAVE_STDINT_H to LOCAL_CFLAGS
...
See #200 .
2014-07-31 07:50:31 +03:00
Petri Lehtinen
a6229a2d3e
doc: Enhance string overview
2014-07-21 08:15:34 +03:00
Petri Lehtinen
abd151f5d7
Merge pull request #198 from Smilex/mem_fix
...
Fixed cases where file would be opened, but not closed.
2014-07-21 08:09:18 +03:00
Ian T. Jacobsen
4f1238af71
Fix whitespace issues
2014-07-16 00:21:16 +01:00
Ian T. Jacobsen
122a1e2af9
Fixed cases where file would be opened, but not closed. And small realloc memory issue.
2014-07-16 00:16:32 +01:00
Petri Lehtinen
c8d017bd88
Merge branch '2.6'
2014-07-12 06:43:07 +03:00
Petri Lehtinen
23b1b7ba9a
Document JANSSON_BUILD_SHARED_LIBS CMake option
...
Fixes #187 .
2014-07-12 06:42:36 +03:00
Petri Lehtinen
88943b64e3
Define JSON_MAX_INDENT
...
Fixes #191 .
2014-07-07 11:34:50 +03:00
Petri Lehtinen
348401e7b8
CMake: Use add_definitions for compiler flags
...
Fixes #193 .
2014-07-02 22:04:34 +03:00
Petri Lehtinen
df248712a5
Include android config in tarballs
...
Issue #166 .
2014-06-28 22:41:48 +03:00
Petri Lehtinen
de1b5db70e
Fix autoreconf on Debian
...
For some reason, Automake doesn't search the current directory correctly
when searching for helper scripts.
Fixes #182 .
2014-05-14 16:03:22 +03:00
Petri Lehtinen
4debe8e567
Add missing tests for JSON_REAL_PRECISION
2014-05-07 08:19:39 +03:00
Petri Lehtinen
28d362cf28
Merge pull request #180 from Sannis/master
...
Enable usage of AddressSanitizer to check Jansson
2014-05-05 14:45:09 +03:00
Oleg Efimov
541cdf5960
Remove unneeded undef
2014-05-05 15:40:41 +04:00
Oleg Efimov
fc6e314498
Enable usage of AddressSanitizer to check Jansson
2014-05-04 00:34:08 +04:00
Petri Lehtinen
17b5fdd94b
Add JSON_REAL_PRECISION
...
Fixes #178 .
2014-04-30 12:46:34 +03:00
Petri Lehtinen
5b88cc5ded
Merge branch '2.6'
2014-04-30 12:06:03 +03:00
Petri Lehtinen
db285b3764
Check uint16_t and uint8_t support correctly
...
Fixes #177 .
2014-04-30 12:05:51 +03:00
Petri Lehtinen
a425f8c650
Rename variables to work aroung a GCC bug on Solaris
...
Fixes #175 .
2014-04-23 12:17:14 +03:00
Petri Lehtinen
96f8916e50
Merge pull request #174 from KimJeongYeon/master
...
fix build error for android
2014-04-14 08:32:47 +03:00
KimJeongYeon
dd2bf2971e
fix build error for android
2014-04-11 23:14:34 +09:00
Petri Lehtinen
34a64cfe53
Merge pull request #171 from firepick1/master
...
Solaris build fix
2014-04-08 20:39:46 +03:00
Karl Lew
571617ebfc
use __sun instead of sun
2014-04-08 15:57:58 +00:00
Karl Lew
3bd8a5729d
Merge remote-tracking branch 'refs/remotes/origin/master'
2014-04-06 04:31:34 +00:00
Karl Lew
33e4988180
SmartOS build fix
2014-04-06 04:28:52 +00:00
firepick1
663fbfb7a4
SmartOS (Solaris) build
2014-04-04 17:28:08 -07:00
Petri Lehtinen
88aa6a9e30
Remove VS2010 project files, CMake should be used on Windows instead
...
Fixes #165 .
2014-03-04 08:28:52 +02:00
Petri Lehtinen
92e2588d6e
Merge branch '2.6'
2014-02-16 22:22:14 +02:00
Petri Lehtinen
960ead07f2
Merge pull request #164 from vincentbernat/fix/gitignore
...
Add new autotools-generated files to .gitignore
2014-02-16 22:20:25 +02:00
Petri Lehtinen
78da1de021
Merge pull request #163 from vincentbernat/fix/unpack-mix-optional-and-strict
...
Fix unpack when mixing strict mode and optional keys
2014-02-16 22:20:02 +02:00