Removed Development libs from non-dev debian package(Fixes duplicate files between -dev and normal package)
Signed-off-by: Martin Winter <mwinter@netdef.org>
Changed Versionnumber to 0.5.99 (from 0.6-dev)Making sure that a future 0.6 release has a simple higher version number
and package get correctly updated
Signed-off-by: Martin Winter <mwinter@netdef.org>
*Config files for cmake.Upstream provides a FindCapnProto.cmake, but this needs to be installed in a
version-specific directory. In this patch we generate CapnProtoConfig.cmake
and CapnProtoConfigVersion.cmake so that we don't need to move our Find*
files around any time the cmake package is upgraded.
(Changes taken from 0.5.3 Debian Package)
Signed-off-by: Martin Winter <mwinter@netdef.org>
Copied LICENSE from main directory to c++ directory to replace symlink.Making sure the LICENSE.txt is included in debian package (which only
uses c++ subdirectory)
Signed-off-by: Martin Winter <mwinter@netdef.org>
Fix message corruption bug introduced in 2c9c5c8.As of that change, adopting an empty struct into a pointer that already had some other value fails to overwrite the upper 32 bits of the pointer, thus resulting in a struct pointer with totally bogus bounds. Normally this will either cause a bounds check exception to be thrown when that pointer is later accessed, or lead to a struct containing bogus data (but if teh struct was expected to be em...
Support extracting the current exception count on MSVC2015.The MSVC runtime was heavily refactored, so the internal function we call to
get the current exception count changed for newer MSVC versions (as did the
offset).
json: Hide the input array from parser methodsThis 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
Remove calls to setup-autotools.shsetup-autotools.sh is no longer needed as of 6cd2526035aa2b.
The instructions work without having Subversion installed as well.
Replace <cfoo> with <foo.h>This reduces dependencies on stdc++. For rationale, see
https://github.com/kamalmarhubi/capnproto/commit/62a562f6d2c7bd147958106a1cf4169533d43f83#commitcomment-14375773
Add simple functions for interpreting a word array as just the data section of a struct.Requested by jo_liss on Twitter:
https://twitter.com/jo_liss/status/664884038252027905
(Also implement defaultValue<>() helper which was defined but apparently never implemented.)
JSON: encode NaNs and infinite floats as `null`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