Commit Graph

884 Commits (c6b967ce6b5750882970aa421cbe192576763ba6)

Author SHA1 Message Date
Steven Kabbes cfdd67577c Use strtod not atof 2015-04-08 11:37:06 -07:00
Steve Carroll ae9542cc35 in encode_utf8, there is an implicit truncating cast that VS2015CTP6 is
warning about.  I've added static_cast<char> to silence the warning and
express the intent.
2015-04-08 10:24:36 -07:00
j4cbo 51166ddca6 Merge pull request #27 from k0zmo/const-pair
iterate over pair of const string and Json
2015-01-08 13:41:49 -08:00
k0zmo 7fd738ae42 iterate over pair of const string and Json 2014-12-30 10:31:43 +01:00
j4cbo be631169db Merge pull request #24 from masamitsu-murase/use_compare
Use string::compare to improve performance.
2014-12-04 10:14:07 -08:00
j4cbo e31ac4ebb4 Merge pull request #23 from masamitsu-murase/use_static_cast_for_hierarchy_navigation
Use static_cast instead of reinterpret_cast for hierarchy navigation.
2014-12-03 16:29:28 -08:00
Masamitsu MURASE 37ca641d82 Use static_cast instead of reinterpret_cast for hierarchy navigation. 2014-11-30 03:49:23 +09:00
Masamitsu MURASE c6a8736171 Use string::compare to improve performance. 2014-11-30 03:36:23 +09:00
Jacob Potter 6de4c29e76 fix int->double->int conversion in JsonInt 2014-09-22 12:07:43 -07:00
Jacob Potter 73baf7e677 Style fixes 2014-09-22 10:19:33 -07:00
Jacob Potter 679e4b83d2 Another VS14 fix 2014-08-14 12:14:21 -07:00
Jacob Potter 7103522344 Identify map- and vector-like objects in a VS14-compatible way 2014-08-13 15:12:44 -07:00
Jacob Potter d9bdd84c76 Limit maximum nesting depth (issue reported by Jeff Larson) 2014-06-04 16:24:02 -07:00
j4cbo 80578664de Merge pull request #1 from CodeFridge/feature/const
Add const to comparisons
2014-03-27 08:42:43 -07:00
Steven Kabbes 731322c2b8 Add const to comparisons 2014-03-27 03:55:52 -07:00
Jacob Potter 277e1b166f Make Json safe to use during static initialization. 2014-01-29 15:01:41 -08:00
Jacob Potter d2e5485973 Spacing fix 2014-01-27 10:59:17 -08:00
Jacob Potter 979cb4ca76 Add LICENSE.txt; some minor cleanups
- Add LICENSE.txt
- Add a comment about how we handle numbers
- Add more test code
- Fix a narrowing-conversion issue
- Fix a comment typo
2013-10-01 19:05:12 -07:00
Jacob Potter fe5e2167a5 Initial commit 2013-09-06 15:07:12 -07:00
Joshua MacDonald 92ec61e4b8 Fix the printf problem -- use std::cout :) 2013-02-08 23:14:47 -08:00
Joshua MacDonald 54f346f981 Update README / CMakeLists.txt; fix for -Wformat warning in btree_bench.cc 2013-02-08 22:56:25 -08:00
josh macdonald f85129d4d7 Fixes for open-source build following upstream bug fix 2013-02-05 22:12:13 -08:00
Joshua MacDonald c790956d18 Fix several range constructor bugs: (a) btree_multiset's range constructor did not compile (b) btree_map's range constructor ignored the inputs! These bugs were masked by the test, which due to an oversight skipped the use of range constructors as part of the {base,unique,multi}_checker testing types. Verified that the corrected test fails without the fix, added an additional sanity check (which made the problem stand out independent of the problems discovered in btree_test.h) 2013-02-05 22:04:33 -08:00
Joshua MacDonald 5633058db4 Update copyright notices; scrub a few references to Cord, StringPiece 2013-01-25 00:46:48 -08:00
sername=jmacd 7aad0f28fd Update README; remove benchmarks.awk 2013-01-22 15:57:34 -08:00
josh macdonald ce6c9fd34c Build fixes 2013-01-14 02:08:38 -08:00
josh macdonald 2fd7ed36a9 Make btree_bench work; compiled & tested on OS X 10.7.5 using gcc 4.7.2 -std=c++11 2013-01-13 00:16:02 -08:00
Josh MacDonald 88853fbc9e Build outside of Google; add CMakeLists.txt, README 2012-07-17 17:25:01 -07:00
Josh MacDonald 9783752d62 Remove files that are very google-specific 2012-07-17 17:22:55 -07:00
Josh MacDonald eaf6eb103d Updates from google3; adding safe_btree comments, container (in)equality operators 2012-07-17 17:20:45 -07:00
Josh MacDonald 89a0af9086 Simplify btree_base_field_type<> 2011-12-14 13:47:35 -08:00
Josh MacDonald 9fe3bb3b33 support for >= 256 values per node 2011-12-14 10:14:35 -08:00
Josh MacDonald dd97f135d0 Fix for kTargetNodeSize too large 2011-12-13 10:48:14 -08:00
Josh MacDonald 1a14ff58c9 Initial checkin of C++ btree code, has some useless google3-specific
bits to be removed and needs a Makefile.
2011-12-12 13:46:12 -08:00