- 22 May, 2017 1 commit
-
-
Kenton Varda authored
This conversion would end up including the NUL terminator in the array, which is almost never what you want. We can perhaps re-enable this in the future and have it automatically remove the NUL terminator, but we should do at least one release with it disabled to catch anyone who might be affected by the change in behavior.
-
- 29 Apr, 2017 3 commits
-
-
Kenton Varda authored
This reverts commit f836a5fc.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 07 Apr, 2017 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 30 Mar, 2017 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
TODO: - Rename Guarded to Bounded? - Consider bounded array (where size and indexes are bounded quantities). - Implement non-CAPNP_DEBUG_TYPES fallback. - Don't allow casting kj::maxValue to bounded type, this won't work right when not using debug types! - Verify that this change doesn't hurt performance.
-
- 24 Jan, 2017 1 commit
-
-
Harris Hancock authored
-
- 19 Nov, 2016 1 commit
-
-
Harris Hancock authored
-
- 19 May, 2016 1 commit
-
-
Branislav Katreniak authored
-
- 18 May, 2016 1 commit
-
-
Branislav Katreniak authored
This method provides kj-ish interface to parse numbers. Moves code from capnp json decoder to kj::StringPtr.
-
- 02 May, 2016 1 commit
-
-
Kenton Varda authored
Fix JSON handler for DynamicStruct. The handler needs to be told the struct's schema to construct an orphan. Also improve error message when addTypeHandler() is given a handler for a dynamic type but no specific schema is specified. We could support this eventually but we don't presently.
-
- 01 May, 2016 1 commit
-
-
Kenton Varda authored
Problem discovered and initial test case contributed by Harris Hancock.
-
- 23 Apr, 2016 1 commit
-
-
Kenton Varda authored
-
- 21 Apr, 2016 1 commit
-
-
Branislav Katreniak authored
-
- 06 Apr, 2016 4 commits
-
-
Harris Hancock authored
-
Harris Hancock authored
json.capnp.{h,c++} must have been generated using an earlier version of the code generator, or an earlier version of capnpc-c++. Cloning capnproto/master, building and installing, then running regenerate-bootstraps.sh results in this diff.
-
Branislav Katreniak authored
This allows to preserve these values in capnp -> json -> capnp conversion.
-
Branislav Katreniak authored
-
- 02 Apr, 2016 2 commits
-
-
Oliver Kuckertz authored
-
Oliver Kuckertz authored
-
- 31 Mar, 2016 1 commit
-
-
Branislav Katreniak authored
-
- 30 Mar, 2016 1 commit
-
-
Branislav Katreniak authored
-
- 29 Mar, 2016 1 commit
-
-
Branislav Katreniak authored
-
- 23 Mar, 2016 1 commit
-
-
Branislav Katreniak authored
-
- 16 Dec, 2015 1 commit
-
-
Kamal Marhubi authored
This encapsulates the input array, hiding it from the parser's methods. Access is forced to go through `advance` and `consume*` methods on the new `Input` object. The aim is to make it harder to have errors like https://github.com/sandstorm-io/capnproto/pull/270
-
- 13 Dec, 2015 5 commits
-
-
Erik Sjölund authored
-
Erik Sjölund authored
-
Erik Sjölund authored
-
Erik Sjölund authored
-
Erik Sjölund authored
-
- 24 Nov, 2015 1 commit
-
-
Erik Sjölund authored
-
- 20 Nov, 2015 1 commit
-
-
Kenton Varda authored
-
- 16 Nov, 2015 3 commits
-
-
Kamal Marhubi authored
-
Kamal Marhubi authored
This reduces dependencies on stdc++. For rationale, see https://github.com/kamalmarhubi/capnproto/commit/62a562f6d2c7bd147958106a1cf4169533d43f83#commitcomment-14375773
-
Kamal Marhubi authored
-
- 13 Nov, 2015 1 commit
-
-
Kamal Marhubi authored
-
- 12 Nov, 2015 1 commit
-
-
Kamal Marhubi authored
Such values are not allowed by the JSON spec. We match the behavior of JSON.stringify in Firefox and Chrome. fixes https://github.com/sandstorm-io/capnproto/issues/261
-