Baptiste Lepilleur
7dec64f57e
Moved jsontestrunner data from test/ to test/data.
2009-11-21 18:20:25 +00:00
Baptiste Lepilleur
45c499d310
- added mini unit testing framework
...
- added unit tests for Value.isXYZ() and iteration over Value members to compute size
2009-11-21 18:07:09 +00:00
Baptiste Lepilleur
932cfc798b
Added support for valgrind memory checks
2009-11-19 20:16:59 +00:00
Baptiste Lepilleur
f73d4b9a6b
Fixed compilation issue with vs2005
2009-11-19 19:13:18 +00:00
Baptiste Lepilleur
43e25c3b09
Fixed documentation example. Bounced version number.
2009-11-19 19:03:14 +00:00
Baptiste Lepilleur
2a787ec8e6
Moved Visual Studio projects file under makefiles/vs71 to allow usage of multiple versions on the same source tree.
2009-11-19 13:29:25 +00:00
Baptiste Lepilleur
86ccb76138
- fixed build issue on Solaris (wrong compilation flags for multi-threading)
...
- fixed build issue on Linux redhat 3: python does not has tarfile module
2009-11-19 13:05:54 +00:00
Baptiste Lepilleur
bf95d0f619
- fixed build issue on AIX. Build both shared and static library is now only activated on Linux. Building static library on other platforms.
2009-11-19 12:19:07 +00:00
Baptiste Lepilleur
4e19f180b8
- fixed build issue with mingw (bug 2834969)
2009-11-19 12:07:58 +00:00
Baptiste Lepilleur
f179a180bd
Fixed comment after value in object value signaled by Frederic Surleau.
2009-11-18 22:25:34 +00:00
Baptiste Lepilleur
8868147835
- added Features class that describes allowed extension for Reader, to allow for strict configuration
...
- added tests from json.org jsonchecker and modified jsontestrunner to use strict parsing mode when executing them
2009-11-18 21:38:54 +00:00
Baptiste Lepilleur
64e07e54ed
- fixed SCons build on Windows: only build static library (support static/dynamic at the same time requires significant changes)
...
- renamed SCons glob tool to globtool to avoid clash with python glob module. This prevented running the tests.
- check target now works with SCons 1.x
2009-11-18 21:27:06 +00:00
Malay Shah
617270bfaa
Fixing string index issue when checking for control characters
2009-11-18 17:40:22 +00:00
Baptiste Lepilleur
5d0ed235c6
Fixed default constructor initialization.
2009-11-18 17:12:24 +00:00
Baptiste Lepilleur
eda47b61b5
Fixed bug introduced by utf-8 patch with fix provided by Henry Ludemann. All unit tests are now passing.
2009-11-18 17:01:09 +00:00
Baptiste Lepilleur
b0ab79bc5b
Added patch for mingw from Sebastien Vincent
2009-11-15 22:49:54 +00:00
Malay Shah
ee4b4dab54
Implementing support for reading and writing Unicode escape sequences.
2009-11-13 04:21:14 +00:00
Christopher Dunn
060c45a38d
Patch from Sebastien Vincent
2009-05-24 22:22:08 +00:00
Christopher Dunn
8f5ddcfa8d
Added cstring for memcpy(), as suggested by sebastien.vincent@turnserver.org . This allows gcc-4 to compile. Removed doxygen from SConstruct, since it is now broken; I have been unable to get it to work with either scons 0.97 or scons 2.1; hopefully someone else can get that working again.
2009-05-11 20:04:10 +00:00
Baptiste Lepilleur
230b1f675f
- Added basic string test (all char in ASCII range 33-126) and a large string test.
2008-09-26 07:15:11 +00:00
Christopher Dunn
2083c9e3bf
Forgot to add # to %g modifier for sprintf in valueToString for floats. Otherwise no decimal point appears when only zeroes would follow, which changes the type to integer.
2008-01-24 20:21:11 +00:00
Christopher Dunn
ed971e180e
Changed valueToString for floats so that zeroes after a decimal are truncated -- saves file size esp. for StyledStreamWriter which uses tabs instead of spaces.
2008-01-24 20:09:48 +00:00
Baptiste Lepilleur
32927b0b22
Sketched out some idea to make the build system more reusable across projects.
2008-01-21 08:37:06 +00:00
Baptiste Lepilleur
e1aad35ae5
Fixed compilation issue on windows (avoid using cstring and use string.h instead).
2008-01-20 16:55:26 +00:00
Baptiste Lepilleur
f66d370741
- rewrote doxygen documentation generation integration with Scons (still need some clean-up): list of sources is explicitly passed to a doxyfile builder which is used as input of a doxygen builder. Hence, the doxyfile depends on all the sources.
...
- documentation is now correctly generated once when source are changed on the first scons run.
2008-01-20 16:49:53 +00:00
Baptiste Lepilleur
4882d0a595
Added rought roadmap.
2008-01-19 12:12:35 +00:00
Christopher Dunn
452ccb3c70
Unneeded comment.
2007-06-14 22:07:15 +00:00
Christopher Dunn
a3992389bb
This file is auto-generated, even if it already exists. That is causing scons dependency problems, but the right answer is not to add the file, apparently.
2007-06-14 22:04:54 +00:00
Christopher Dunn
de10f45285
added comment -- I always have to run twice to build docs because the doxyfile gets updated and causes scons to get confused. I do not know how to fix this, but I simply run 'scons doc/doxyfile' first.
2007-06-14 22:03:11 +00:00
Christopher Dunn
e1f8a4799a
added dependency
2007-06-14 22:01:40 +00:00
Christopher Dunn
f986423955
Stripped carriage return and added eol-style native prop.
2007-06-14 21:01:26 +00:00
Christopher Dunn
f1a49467cf
Updated platform on linux-gcc to include compiler version (necessary for multiple targets built in same directory, and not a bad idea for other builds).
2007-06-14 20:59:51 +00:00
Christopher Dunn
02c7fe78d3
Without this file, scons must be run twice initially. Hopefully, the file gets rebuilt properly, as I do not know how to fix the scons rule correctly.
2007-06-14 19:41:21 +00:00
Christopher Dunn
d2fdeb3a9a
LD_LIBRARY_PATH needed for linux build tests. (Really, passing -Wl,-rpath to the linker would be better, but scons is not good about automating that.)
2007-06-14 19:32:40 +00:00
Christopher Dunn
e0d7224804
Added svn:eol-style native
2007-06-14 17:58:59 +00:00
Christopher Dunn
f4b73938d2
I always have compiler problems when using operator[](unsigned) when I pass int instead, so I added a note to the comments.
2007-06-13 17:02:59 +00:00
Christopher Dunn
9f8abcb258
Indentation is not perfect, but pretty good. Not sure how to perfect, given the difficulty of testing the last char written.
2007-06-13 17:02:01 +00:00
Christopher Dunn
605cd7e902
Added StyledStreamWriter, which has no reason to derive from Writer, since its write() method does cannot return a string and must take a stream.
2007-06-13 15:55:50 +00:00
Christopher Dunn
8985cee674
Added prop svn:eol-style native. Stripped carriage-returns on unix. Hopefully, this will work for Windows too now.
2007-06-13 15:52:48 +00:00
Christopher Dunn
6d135cb5e3
Added prop svn:eol-style native. Stripped carriage-returns on unix. Hopefully, this will work for Windows too now.
2007-06-13 15:51:04 +00:00
Christopher Dunn
b2f720456e
Added prop svn:eol-style native. Stripped carriage-returns on unix. Hopefully, this will work for Windows too now.
2007-06-13 15:48:30 +00:00
Christopher Dunn
a44cffb342
Fixed compilation warnings. Added -Wall to linux-gcc compilation. JSON_ASSERT_MESSAGE now throws exception (but JSON_ASSERT does not).
2007-05-09 19:35:15 +00:00
Christopher Dunn
842d64e8d7
Added virtual destructor to StyledWriter to avoid -Wall warning from g++
2007-04-19 22:20:46 +00:00
Christopher Dunn
f153eaaed0
Fixed 2.95.3 header probs
2007-03-23 10:19:49 +00:00
Christopher Dunn
56a1d6cbf5
Added istream/ostream funcs/operators
2007-03-23 09:57:01 +00:00
Christopher Dunn
2370789d67
Renamed buildLibary to buildLibrary and added SharedLibrary rule.
2007-03-23 08:57:57 +00:00
Christopher Dunn
208a781e47
Added empty() operator-bang and isNull()
2007-03-23 08:55:25 +00:00
Christopher Dunn
1aa20f9e58
Added removeMember() and altered a few comments.
2007-03-23 08:30:20 +00:00
Christopher Dunn
02ff716d2f
Added/clarified comments. Move extra verbiage out of brief sections.
2007-03-23 07:28:19 +00:00
Christopher Dunn
0c498695a7
fixed compiler warning
2007-03-23 07:16:59 +00:00