Commit graph

1086 commits

Author SHA1 Message Date
Aaron Burghardt
ea3e922a12 Fix performance regression introduced with the parsing callback feature. 2015-05-04 09:08:55 -04:00
Niels
2b825760b5 removed failing test case 2015-05-03 21:37:14 +02:00
Niels
07dd3af848 another try 2015-05-03 21:28:57 +02:00
Niels
370929ac08 overworked test case 2015-05-03 21:10:22 +02:00
Niels
c458bf18e6 more test cases 2015-05-03 20:59:11 +02:00
Niels
106705ed73 more tests 2015-05-03 20:42:24 +02:00
Niels
10bbb77491 test case for filter function 2015-05-03 20:18:16 +02:00
Niels
1143094e4c testing the callback function 2015-05-03 20:07:31 +02:00
Niels
093b97efc4 more tests 2015-05-03 19:55:45 +02:00
Niels
f66e603686 more test cases 2015-05-03 18:59:58 +02:00
Niels
1ac4d673b6 fixed test case 2015-05-03 18:46:26 +02:00
Niels
ab1ff9de53 added more test cases 2015-05-03 18:27:43 +02:00
Niels
84561d8866 improved test case coverage 2015-05-03 18:19:12 +02:00
Niels
952cbbc795 manually merged pull request #41 2015-05-03 17:52:13 +02:00
Niels
faae8bb843 some typename fix 2015-04-27 23:09:51 +02:00
Niels
14e54b2b72 Appveyor 2015-04-27 22:53:46 +02:00
Niels
ecc97bcf96 added /EHsc parameter 2015-04-27 22:45:21 +02:00
Niels
1068ad106b fixed Makefile 2015-04-27 22:35:45 +02:00
Niels
e7da0b4b7c Appveyor 2015-04-26 23:56:42 +02:00
Niels
0c0a462c28 Appveyor 2015-04-26 23:47:11 +02:00
Niels
257bf46133 Appveyor 2015-04-26 23:41:11 +02:00
Niels
c16ee07601 Appveyor 2015-04-26 23:31:22 +02:00
Niels
35485c05e3 Appveyor 2015-04-26 23:21:16 +02:00
Niels
f3447b2b80 Appveyor 2015-04-26 23:14:51 +02:00
Niels
4a3c0edb75 Appveyor 2015-04-26 23:09:10 +02:00
Niels
4c7fbd7647 Appveyor 2015-04-26 23:03:15 +02:00
Niels
711e465f4a Appveyor test 2015-04-26 22:53:17 +02:00
Niels
1e20bfa14a another try 2015-04-26 22:47:40 +02:00
Niels
ae2676e7f0 fixed Makefile 2015-04-26 22:25:38 +02:00
Niels
5e0d4d3830 does not 2015-04-26 22:09:15 +02:00
Niels
a3ca1ae217 trying appveyor again 2015-04-26 22:00:20 +02:00
Niels
81d3973151 undid changes that broke the build 2015-04-26 21:51:35 +02:00
Niels
f874b5f0f8 clean up
- removed m_final member
- parse_internal now takes a reference to a basic_json object to fill
with data
- header is automatically regenerated if re2c file is changed
2015-04-26 21:43:47 +02:00
Niels
f09df96742 updated README 2015-04-26 15:16:07 +02:00
Niels
7a32bd22e9 Merge pull request #63 from Florianjw/master
Improve the implementations of the comparission-operators
2015-04-26 15:10:32 +02:00
Niels
c7f95cc636 minor change to the parsing of objects/arrays 2015-04-26 15:10:04 +02:00
Florian Weber
4fbff7d140 simplify value_t::operator< by using a lookup-table 2015-04-26 14:55:06 +02:00
Florian Weber
f5e95522aa remove braces around single-return-statement switch-cases 2015-04-26 14:44:56 +02:00
Florian Weber
d2771eb1bb Fix comparission between integers and floats
Until now it depended on the parameter-order whether
integers and floats were compared as integers or floats.

Appart from being not logical, this might even have meant that
the provided “order” was in fact not that. (not sure here, but I
like to be carefull)
2015-04-26 14:39:39 +02:00
Florian Weber
306695dd25 fix typos and improve operator== 2015-04-26 14:31:31 +02:00
Florian Weber
28f64c22a9 simplify operator< 2015-04-26 14:19:56 +02:00
Niels
a372937424 fixed some small issues 2015-04-26 13:37:01 +02:00
Niels
e3ab0bc74a addressing issue #62 2015-04-25 23:10:23 +02:00
Niels
89a8491914 minor changes 2015-04-25 01:25:42 +02:00
Niels
fc58a73523 fix #60 (double escaping) 2015-04-24 22:06:57 +02:00
Niels
28f21c43f4 updated README to recent pull request 2015-04-15 17:52:25 +02:00
Niels
3eb1b2a756 Merge pull request #59 from dkopecek/master
Fix compilation of json_unit with GCC 5
2015-04-15 08:53:40 +02:00
Daniel Kopecek
ad6ad4ae1e Fix compilation of json_unit with GCC 5
Addressing:
```
+ make json_unit
g++ -std=c++11  -Wall -Wextra -pedantic -Weffc++ -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder -Wdeprecated -Wfloat-equal  -I src -I test -Dprivate=public test/unit.cpp  -o json_unit
In file included from test/catch.hpp:65:0,
                 from test/unit.cpp:11:
/usr/include/c++/5.0.0/sstream:300:7: error: 'struct std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs' redeclared with different access
       struct __xfer_bufptrs
```
2015-04-14 16:02:49 +02:00
Niels
4c55ada0f7 another test case 2015-04-12 18:33:38 +02:00
Niels
6ddb115072 more coverage 2015-04-12 18:12:29 +02:00