New features:
- Base
- The license under which the library is released is changed to Lesser GNU Public
License version 3.0.
- New ways to use incoming Interest dispatching:
- New InterestFilter abstraction that supports filtering based on name prefixes
and regular expressions.
- Separated Face::registerPrefix() and Face::setInterestFilter() methods allow
distinct operations of registering with the local NDN forwarder and setting up
application-specific OnInterest call dispatch using InterestFilters.
- Security
- Add type dir trust-anchor in ValidatorConfig to add all certificates under the
specified directory as trust anchors. The new option also allows periodic
reloading trust anchors, allowing dynamic trust models.
- Added support for multiple signature types to PublicKey, SecPublicInfo
abstractions
- New SignatureSha256WithEcdsa signature type
- Wire encoding
- Data::getFullName() method to get Data packet name with implicit digest
- New Name::getSuccessor() method to get name successor
- Management
- Support for ChannelStatus, StrategyChoice datasets
- Build
- enabled support of precompiled headers for clang and gcc compilers to speed up
compilation
Updates and bug fixes:
- Wire encoding
- Nonce field is now encoded as 4-byte uint8_t value, as defined by NDN-TLV spec.
- Optimized Data packet signing
KeyChain::sign method now pre-allocates EncodingBuffer, requests unsigned portion
of Data using Data::wireEncode(EncodingBuffer, true), and then appends the
resulting signature and prepends Data packet header. This way there is no extra
memory allocation after Data packet is signed.
- Security
- Allow user to explicitly specify the cert name prefix before 'KEY' component in
ndnsec-certgen
- SignatureSha256 has been renamed to DigestSha256 to conform with NDN-TLV
specification.
- Add checking of Timestamp and Nonce fields in signed Interest within
ValidatorConfig
- Allow validator customization using hooks:
Sub-classes of Validator class can use the following hooks to fine-tune the
validation process:
- Validator::preCertificateValidation to process
received certificate before validation.
- Validator::onTimeout to process interest timeout
- Validator::afterCheckPolicy to process validation
requests.
- Other minor fixes and corrections
Deprecated:
- SignatureSha256 class, use DigestSha256 instead.
- All Face constructors that accept shared_ptr<io_service>.
Use versions that accept reference to io_service object.
- Face::ioService method, use Face::getIoService instead.
- Interest constructor that accepts name, individual selectors, and individual guiders
as constructor parameters.
Use Interest().setX(...).setY(...) or use the overload taking Selectors
- name::Component::toEscapedString method, use name::Component::toUri instead.
- SecPublicInfo::addPublicKey method, use SecPublicInfo::addKey instead.
- Tlv::ConentType constant (typo), use Tlv::ContentType instead.
Removed:
- support of ndnd-tlv (only NFD management protocol is supported now)
- SecPublicInfoMemory and SecTpmMemory classes that were no longer used
- Removing concept of periodic event from Scheduler.
In applications, periodic events should be just re-scheduled within the callback for
single-shot events.
- c169a81 src: Switching to LGPL 3.0 license by Alexander Afanasyev · 10 years ago
- 258ec2b src: Refactoring common.hpp and minimizing exposed includes by Alexander Afanasyev · 10 years ago
- b67090a build+tests: Fixing c++11 mode compilation and correcting integrated test with faces by Alexander Afanasyev · 10 years ago
- dfa52c4 docs: Updating documentation and license boilerplates in all files by Alexander Afanasyev · 10 years ago
- 766cea7 ====== Renaming library to ndn-cxx ====== by Alexander Afanasyev · 10 years ago
- 1160baa build: Reorganizing wscript into a set smaller function-specific scripts by Alexander Afanasyev · 10 years ago
- b78bc4d build: add -std=c++03 (in non C++11 mode) and -pedantic to the default CXXFLAGS by Alexander Afanasyev · 10 years ago
- c145d49 tlv, name: add missing FaceEventKind TLV, deprecate Name::appendVersion/Segment by Steve DiBenedetto · 10 years ago
- 809805d encoding: Optimized Data packet encoding, preparation for memory-efficient signing operation by Alexander Afanasyev · 11 years ago
- 1515131 encoding: Extending Block and EncodingBuffer interfaces by Alexander Afanasyev · 11 years ago
- 233750e encoding: Fixing bugs in EncodingBlock and Block by Alexander Afanasyev · 11 years ago
- 8460afb face: Mark Face class as noncopyable by Alexander Afanasyev · 11 years ago
- e2dcdfd build: Experimental support to build using precompiled headers by Alexander Afanasyev · 11 years ago
- 1950885 build+src: Updating common.hpp to import (std|boost)::(shared_ptr|function|...) into ndn namespace by Alexander Afanasyev · 11 years ago
- 09c613f src: Another round of source updates: moving all headers close to implementation files by Alexander Afanasyev · 11 years ago[Renamed (96%) from include/ndn-cpp-dev/common.hpp]
- d409d59 build: Finalizing waf building system (removing legacy code) by Alexander Afanasyev · 11 years ago
- 9b18c56 build: Fix bug with enabling use of system-installed boost libraries by Alexander Afanasyev · 11 years ago
- b790d95 face+node: Improving async operations by Alexander Afanasyev · 11 years ago
- 61ec272 renaming: ndn-cpp to ndn-cpp-dev by Yingdi Yu · 11 years ago[Renamed (93%) from include/ndn-cpp/common.hpp]
- 31b4af2 security: refactoring KeyChain and related classess by Yingdi Yu · 11 years ago
- 472fa02 include: Add sanity check for enabled C++11 features by Alexander Afanasyev · 11 years ago
- ee94031 time: Changing time units to have int64_t type instead of double by Alexander Afanasyev · 11 years ago
- 0541cf4 build: Conditional check for C++11 and add ability to use system's boost instead of bundled version by Alexander Afanasyev · 11 years ago
- 86b6d64 ndnboost: Include boost::iostreams for internal use. by Jeff Thompson · 11 years ago
- 9a8e82f common.hpp: time: Added typedef for Milliseconds and MillisecondsSince1970, and use instead of double where appropriate. by Jeff Thompson · 11 years ago
- 6d485a6 ndnboost: also replace the mpl_ barrier namespace. by Jeff Thompson · 11 years ago
- 2491bd6 ndnboost: Also replace header include guards which don't start with BOOST_ . by Jeff Thompson · 11 years ago
- 3d613fd ndnboost: Also rename BOOST_ to NDNBOOST_ by Jeff Thompson · 11 years ago
- 9939dcd ndnboost: Also need to rename " boost/" and "(boost/" to ndnboost. by Jeff Thompson · 11 years ago
- d0a7d6d DER: In visitor code, use ndnboost::any. We can use ndnboost::any because this is an internal header and will not conflict with the application if it uses boost::any. by Jeff Thompson · 11 years ago
- cf6b431 security: Temporarily move the Time definition into common.hpp. by Jeff Thompson · 11 years ago
- 25b4e61 make: Global change: Move all public headers to include folder. Change source to including public headers using #include <ndn-cpp/*>. Split some header files to minimize exposing C .h files. by Jeff Thompson · 11 years ago[Renamed (94%) from ndn-cpp/common.hpp]
- 6e22904 make: Create include directory for make install to install headers. Put ndn-cpp-config.h in include/ndn-cpp. by Jeff Thompson · 11 years ago
- b752300 make: In ndn-cpp-config.h, to avoid polluting the global name space, generate NDN_CPP_HAVE_BOOST_FUNCTION etc. instead of HAVE_BOOST_FUNCTION, etc. by Jeff Thompson · 11 years ago
- 649e95f make: Change configure to output ndn-cpp/ndn-cpp-config.h instead of config.h by Jeff Thompson · 11 years ago
- 10ad12a global: Rename unsigned char to uint8, DynamicUCharArray to DynamicUInt8Array and DynamicUCharVector to DynamicUInt8Vector. by Jeff Thompson · 11 years ago
- c868dd0 config: Added c/common.h and move check for uint8_t into there. by Jeff Thompson · 11 years ago
- 0c13a53 config: Put HAVE_STDINT in common.h and use to define uint8_t. by Jeff Thompson · 11 years ago
- 0050abe Code style: Put function return type on a line by itself. by Jeff Thompson · 11 years ago
- 7687dc0 All source files: Added UC Copyright. Added jefft0 email address. by Jeff Thompson · 11 years ago
- 04bfd94 Remove unused setVector. by Jeff Thompson · 11 years ago
- 1656e6a Code style: Declare (Type& value) instead of (Type &value) by Jeff Thompson · 11 years ago
- ef2d5a4 Include bind in ndnboost. by Jeff Thompson · 11 years ago
- a28eed8 In common.h, define func_lib for function objects. In configure.ac, define HAVE_STD_FUNCTION and HAVE_BOOST_FUNCTION. Include function headers in ndnboost. by Jeff Thompson · 11 years ago
- a8d7b06 Added ndn::toHex by Jeff Thompson · 11 years ago
- f03af34 Added ndnboost::weak_ptr by Jeff Thompson · 11 years ago
- a0d18c9 Code style: replace tabs with spaces by Jeff Thompson · 11 years ago
- 2277ce5 Rename the extracted boost subdirectory to ndnboost by Jeff Thompson · 11 years ago
- f7d4994 If no HAVE_STD_SHARED_PTR or HAVE_BOOST_SHARED_PTR then set ptr_lib to ndnboost in the boost headers in this distribution. by Jeff Thompson · 11 years ago
- 51dd5fd Added setVector in common.hpp by Jeff Thompson · 11 years ago
- 47eecfc Change all copyright notices to refer to file COPYING by Jeff Thompson · 11 years ago
- 571f352 Rename common.h to common.hpp and only define ptr_lib by Jeff Thompson · 11 years ago