Petri Lehtinen
074bb3838f
Update copyrights for 2016
2016-09-18 14:17:03 +03:00
Petri Lehtinen
17ec22f514
Merge branch '2.6'
2014-02-11 14:49:15 +02:00
Petri Lehtinen
8f80c2d838
CVE-2013-6401: Change hash function, randomize hashes
...
Thanks to Florian Weimer and Eric Sesterhenn for reporting, reviewing
and testing.
2014-02-11 08:41:30 +02:00
Petri Lehtinen
30fdf6067e
Update copyrights for 2014
2014-01-28 09:16:05 +02:00
Joakim Soderberg
3fe8f74e7f
Renamed config.h -> jansson_private_config.h
...
This is because it's really easy to get a name collission if compiling
Jansson as a subproject in a larger CMake project. If one project includes
several subprojects each having their own config.h, this will cause the
wrong file to be loaded.
2014-01-27 12:48:52 +01:00
Chip Salzenberg
6ebd0bc7a6
fix type mismatch anywhere int != int32 (Vorne)
2013-09-30 16:56:01 -07:00
Chip Salzenberg
9c259c07aa
Support \u0000 - add size_t string lengths to API, load and dump \u000, etc.
...
Also:
Steal strings during parsing for half the mallocs!
Change all input-caused assertions to errors. No crashes please, we're programmers.
2013-09-27 17:32:06 -07:00
Petri Lehtinen
2489ea90b1
Update copyrights for 2013
2013-07-23 13:20:06 +03:00
Petri Lehtinen
3c6e36ba2d
Update copyright notices for 2012
2012-03-20 20:55:55 +02:00
Petri Lehtinen
fa7c2ea070
Update copyright notices for 2011
2011-01-22 13:43:14 +02:00
Petri Lehtinen
c7611e7a0d
Make int32_t available when the configure script is not used
2010-12-18 23:02:54 +02:00
Petri Lehtinen
cbb3855d97
On Windows, typedef int to int32_t
...
There's no inttypes.h or stdint.h in the stdlib on Windows.
2010-09-05 21:30:02 +03:00
Petri Lehtinen
a112563214
Use config.h only if it exists
...
This makes it easier to compile without the configure script (e.g. on
Windows).
2010-09-05 21:18:46 +03:00
Petri Lehtinen
286823227c
Make int32_t available on all systems
...
Use AC_TYPE_INT32_T and include inttypes.h (if it exists) instead of
stdint.h for maximum portability.
2010-02-06 21:11:41 +02:00
Petri Lehtinen
08dc8d9baf
Add year 2010 to copyright notices
2010-02-02 21:26:11 +02:00
Petri Lehtinen
50031440a3
Implement JSON_ENSURE_ASCII encoding flag
...
With this flag, all Unicode characters outside the ASCII range are
escaped.
2009-12-05 22:55:30 +02:00
Petri Lehtinen
2f4d6f8ae7
Add LICENSE and a copyright note to all sources
2009-07-30 11:32:24 +03:00
Petri Lehtinen
9240146c10
Implement support for \u escapes
2009-07-16 09:58:23 +03:00
Petri Lehtinen
902bcdaa5e
Decode and check for correct UTF-8
...
All strings (decoded JSON text, the argument of json_string(), the key
argument of json_object_set()) are checked for valid UTF-8.
2009-07-13 23:38:01 +03:00