Petri Lehtinen
074bb3838f
Update copyrights for 2016
2016-09-18 14:17:03 +03:00
Petri Lehtinen
30fdf6067e
Update copyrights for 2014
2014-01-28 09:16:05 +02:00
Petri Lehtinen
2489ea90b1
Update copyrights for 2013
2013-07-23 13:20:06 +03:00
Daniel Griscom
b49280be72
Fixed "comparison between signed and unsigned" warning
2013-05-12 15:45:33 -04:00
Daniel Griscom
7121134abd
Removed (non-functioning) printfs from test code
2013-05-12 15:36:09 -04:00
Daniel Griscom
e8c812b500
Added test cases and documentation for json_array_foreach()
2013-05-12 15:34:26 -04:00
Petri Lehtinen
93a3c7f663
Enable gcc specific flags in tests correctly
...
... and fix issues found.
2013-02-04 09:49:58 +02:00
Petri Lehtinen
e0a7f81b39
Really fix the off-by-one error in json_array_remove()
...
It didn't affect only the last element but all of them. One item too
much was always moved.
2012-12-04 21:20:59 +02:00
Petri Lehtinen
54d59c743c
Fix an off-by-one error in json_array_remove()
...
Uninitialized memory was read when the last item of a "full" array was
removed.
2012-12-04 09:32:45 +02:00
Petri Lehtinen
3c6e36ba2d
Update copyright notices for 2012
2012-03-20 20:55:55 +02:00
Petri Lehtinen
d7ddbf3661
Make real number encoding and decoding work under all locales
...
The decimal point '.' is changed to locale's decimal point
before/after JSON conversion to make C standard library's
locale-specific string conversion functions work correctly.
All the tests now call setlocale(LC_ALL, "") on startup to use the
locale set in the environment.
Fixes GH-32.
2011-10-02 21:31:17 +03:00
Petri Lehtinen
fa7c2ea070
Update copyright notices for 2011
2011-01-22 13:43:14 +02:00
Petri Lehtinen
08dc8d9baf
Add year 2010 to copyright notices
2010-02-02 21:26:11 +02:00
Petri Lehtinen
3add1cf361
Refactor the test system
2009-12-16 22:45:29 +02:00