Changes since version 0.2.0

Release date: February 2, 2015

New features:

-   Build
    -   The code now requires C++11. The minimum supported gcc version
        is 4.6, as earlier versions do not have proper support for C++11
        features.
-   Base
    -   Enable detailed version information when built from shallow
        clone or tarball (Issue 1915)
    -   Make default transport configurable (Issue 2189)
    -   Add ability to do partial Name comparison (Issue 2090)
-   Security
    -   Add support for KeyDigest key locator (Issue 1426)
    -   Add a method to get KeyDigest from a PublicKey instance (Issue 1964)
    -   Add support for KeyChain to sign Interest using SHA256 digest
        (Issue 2218)
    -   Add ndnsec-dsk-gen tool to generate a pair of Data-Signing-Key
        (DSK) for the specified identity (Issue 2246)
    -   Pair-up PIB and TPM in KeyChain: PIB remembers the last used TPM
        type/location, which is used during KeyChain construction
        (unless overriden) (Issue 2242)
-   Wire encoding
    -   Add support for application-defined meta information blocks
        (Issue 2021)
    -   Introduce new name::Component::is* methods to allow checking if
        the name component follows the specific naming convention
        without relying on the exception handling (Issue 2088)
    -   Add definition of producer-generated NACK (Issue 2111)
    -   Add std::hash<Name> specialization to support unordered_map
        container (Issue 2147)
    -   Add support for ImplicitSha256DigestComponent (Issue 1640)
    -   Allow tagging Interest and Data packets with arbitrary
        information (Issue 2336)
-   Management
    -   Support NFD face query operation (Issue 2085)
-   Miscellaneous tools
    -   Add a new helper to calculate digests over dynamic inputs (Issue 1934)
    -   Add DNS resolver helper (Issue 1918)
    -   Import and re-license Ethernet and FaceUri classes from NFD
        codebase, add FaceUri canonization support for udp, tcp, and
        ether schemas (Issue 1994)
    -   Add per-application in-memory storage with LRU, LFU, and FIFO
        replacement policies (Issue 1940)
    -   Add ability to specialize system and steady clocks (e.g., for
        unit tests and simulation purposes) (Issue 2158)
    -   Expose DummyClientFace as public API
    -   New IndentedStream helper class to simplify writing to streams
        with the specified indents or prefixes (Issue 2238)
    -   New Signal class template as an enhanced version of the
        deprecated EventEmitter (Issue 2279)
    -   New scheduler::ScopedEventId helper to automatically cancel
        scheduled events upon destruction (Issue 2442)
    -   New NetworkMonitor helper to detect network state changes (Issue 2443)

Updates and bug fixes:

-   Base
    -   Prevent flags being set for rib/unregister command (Issue 1945)
    -   Fix segfault caused by Face::unregisterPrefix when
        registeredPrefixId does not exist
    -   Add explicit internal KeyChain to Face class. KeyChain
        previously existed in the Face as part of NFD controller class.
        (Issue 2039)
    -   Properly disable assertions in release builds (Issue 2135)
    -   Connect to Transport during construction of Face instance (Issue 2318)
-   Wire encoding
    -   Fix segfault when decoding empty Exclude element (Issue 1970)
    -   Provide EqualityComparable concept for Exclude element
    -   Correct Marker in Name::appendVersion() (Issue 2086)
    -   Ensure that wire-encoding errors are inherited from tlv::Error
        (Issue 1983)
-   Management
    -   Replace FaceFlags with individual fields in face management data
        structures (Issue 1992)
    -   ndn::nfd::Controller extended to allow generating ControlCommand
        for remote prefix registration (Issue 2039)
    -   Change ForwarderStatus.NfdVersion to string (Issue 2003)
-   Security
    -   Fix ndnsec-cert-gen to correctly infer prefix before KEY
        component (Issue 2052)
    -   Help message corrections in ndnsec-cert-dump, ndnsec-cert-gen,
        and ndnsec-key-gen (Issue 2052)
    -   Accept --sign-id and --cert-prefix in ndnsec-cert-revoke (Issue 2058)
    -   Changes output format of ndnsec-cert-revoke to base64 encoding
        (Issue 2059)
    -   Add a new (safer) option to ndnsec-cert-gen allowing inclusion
        of additional information blocks into the certificate. The new
        --signed-info parameter makes minimum assumptions, treating text
        before first space as OID and the rest as the associated string
        with this OID.
    -   Make Face optional in Validator class (Issue 2124)
    -   Display signature information when printing a certificate (Issue 2196)
    -   Handle certificate decoding error in validation process (Issue 2212)
    -   Fix segmentation fault in ndnsec-sign-req (Issue 2211)
    -   Allow verbose option in ndnsec-list (Issue 2197)
    -   Allow generation of DSK using ndnsec-key-gen (Issue 2247)
    -   Allow ndnsec-key-gen to generate ECDSA keys (Issue 2248)
    -   Fix memory leak in SecPublicInfoSqlite3 (Issue 2253)
    -   Properly report status of ndnsec-delete execution (Issue 2275)
-   Miscellaneous tools
    -   Fix incorrect tag map in tlvdump tool
    -   Change to default resolver behavior in util::dns::Resolver
        (Issue 2415)
-   Documentation
    -   Update of tutorials and installation instructions
    -   Rename manpage of client.conf to ndn-client.conf (Issue 1967)
    -   Updated and extended ndn-cxx code style:
        -   add rules for some C++11 constructs
        -   prefer BOOST_ASSERT and static_assert
    -   Improve example applications (Issue 1976)
-   Tests
    -   Improve security unit test cases (Issue 1683)
    -   Embedding CI build and test running scripts into the repository
    -   Partial unit test coverage for Face class (previously covered
        only by integration tests) (Issue 1947)
    -   Improve stability of unit tests by using UnitTestTime (wall
        clock independent time) (Issue 2152)
-   Build
    -   Redesign the way default compiler flags are determined (Issue 2209)
    -   Support tools and examples with multiple translation units
        (Issue 2344)
    -   Disable installation of internal headers and headers of the
        disabled components (2266, and 2269)
    -   Enable conditional compilation based on presence of getpass()
        function
-   Other minor fixes and corrections

Deprecated:

-   ndn::ptr_lib and ndn::func_lib namespace aliases
-   The following nfd::Controller methods:
    -   Controller::start overloads, except the overload taking
        CommandOptions
    -   Controller::Sign typedef
    -   Controller::getDefaultCommandTimeout
    -   ControlCommand::getPrefix
    -   ControlCommand::getRequestName(ControlParameters)
    -   Controller::Controller(Face&)
-   MetaInfo::TYPE_* constants
-   EventEmitter is deprecated in favor of Signal

Removed:

-   FaceFlags APIs (Issue 1992)
-   ControlCommand::makeCommandInterest (Issue 2008)
-   namespace ndn::Tlv (Issue 2079)
-   shared_ptr<io_service> constructor and getter in Face class
-   tlv::ConentType (typo in the name)
-   Selectors::Selectors(int, int, Exclude, int, bool) constructor
-   Interest::Interest(Name, int, int, Exclude, int, bool, int, time::milliseconds, uint32_t)
    constructor
-   signature-sha256.hpp file
-   unused encryption-manager.hpp file
-   unused openssl dependency
  1. a6452ac name: partial Name comparison by Junxiao Shi · 10 years ago
  2. 6486d52 name: Add support for ImplicitSha256DigestComponent by Alexander Afanasyev · 10 years ago
  3. 90e2358 name: Add std::hash<Name> to support unordered_map container by Yingdi Yu · 10 years ago
  4. 15f6731 name: Make use of naming conventions for segment, version, timestamp, and sequence number encoding by Alexander Afanasyev · 10 years ago
  5. 54ce668 all: rename Tlv namespace to tlv for consistency by Steve DiBenedetto · 10 years ago
  6. 5aa8c74 name: New method to get "successor" of a name by Shuo Chen · 10 years ago
  7. 197e565 data: Optimize Data signing by Alexander Afanasyev · 10 years ago
  8. c169a81 src: Switching to LGPL 3.0 license by Alexander Afanasyev · 10 years ago
  9. 9c57818 src: Making use of DEPRECATED macro and updating library code not to use deprecated methods by Alexander Afanasyev · 10 years ago
  10. 258ec2b src: Refactoring common.hpp and minimizing exposed includes by Alexander Afanasyev · 10 years ago
  11. f73f063 src: Removing unnecessary use of cref() in concert with make_shared by Alexander Afanasyev · 10 years ago
  12. dfa52c4 docs: Updating documentation and license boilerplates in all files by Alexander Afanasyev · 10 years ago
  13. 2a7f720 exceptions: Make Tlv::Error a base class for all packet-processing exceptions by Alexander Afanasyev · 10 years ago
  14. fdbfc6d src: Improving consistency and correcting code style by Alexander Afanasyev · 10 years ago
  15. 1dd95c5 src: Enabling -Werror in debug mode and some style updates by Alexander Afanasyev · 10 years ago
  16. 4b98e8c name: Implementing appendNumber/toNumber to use nonNegativeInteger by Alexander Afanasyev · 10 years ago
  17. 0df2836 name: Implementing ``operator>>`` method to constuct Name from standard input by Alexander Afanasyev · 10 years ago
  18. c145d49 tlv, name: add missing FaceEventKind TLV, deprecate Name::appendVersion/Segment by Steve DiBenedetto · 10 years ago
  19. c234429 name: Make 'at' method to check if requested components is in bounds by Alexander Afanasyev · 11 years ago
  20. 6d48bc1 management: Finalizing LocalControlHeader implementation by Alexander Afanasyev · 11 years ago
  21. c348f83 encoding: Optimized encoding of Interest and related data structures by Alexander Afanasyev · 11 years ago
  22. 2ff94df encoding: Removing unnecessary explicit instantiations of wireEncode by Alexander Afanasyev · 11 years ago
  23. bf9671d management: Fixing regression with ndnd prefix/face registration by Alexander Afanasyev · 11 years ago
  24. 29e5c3d encoding: Fixing Block (and as a result Name) encoding bugs by Alexander Afanasyev · 11 years ago
  25. 380420b name: Converting name to use EncodingBuffer by Alexander Afanasyev · 11 years ago
  26. 52eb20d name: Fixes and improvements in Name and name::Component classes by Alexander Afanasyev · 11 years ago
  27. 95e8c2f name: Optimization of Name implementation by Alexander Afanasyev · 11 years ago
  28. 7794921 fast-encoding: implement fast encoding for Name, NameComponent and FibManagementOptions, including test case. by Wentao Shang · 11 years ago
  29. 09c613f src: Another round of source updates: moving all headers close to implementation files by Alexander Afanasyev · 11 years ago[Renamed from include/ndn-cpp-dev/name.hpp]
  30. b790d95 face+node: Improving async operations by Alexander Afanasyev · 11 years ago
  31. afc45a9 name: Added compare and comparison operators. Remove breadthFirstLess by Jeff Thompson · 11 years ago
  32. 61ec272 renaming: ndn-cpp to ndn-cpp-dev by Yingdi Yu · 11 years ago[Renamed from include/ndn-cpp/name.hpp]
  33. 5874333 name: Small implementation changes by Alexander Afanasyev · 11 years ago
  34. 2a74276 name: Updating toEscapedString interface by Alexander Afanasyev · 11 years ago
  35. 594cdb2 name: Two more append methods by Alexander Afanasyev · 11 years ago
  36. 848c61a name: More changes related to TLV encoding/decoding implementation by Alexander Afanasyev · 11 years ago
  37. af283d8 name: Converting Name to TLV by Alexander Afanasyev · 11 years ago
  38. 8f9aa8bed name: allow negative argument for 'get' method to get component from the back by Alexander Afanasyev · 11 years ago
  39. 82568ad Name: Added function breadthFirstLess to use in sort, and function object BreadthFirstLess to use in map. by Jeff Thompson · 11 years ago
  40. 7781b39 Name: In set and fromEscapedString, support std::string as well as char *. by Jeff Thompson · 11 years ago
  41. eb0358f Name: In getPrefix, support a negative argument, e.g. getPrefix(-1). Refs #1086. by Jeff Thompson · 11 years ago
  42. a98000c Name: In Name::Component, added operator<, etc. for comparison. Refs #1085. by Jeff Thompson · 11 years ago
  43. 0849359 Name: Fix doc comments. by Jeff Thompson · 11 years ago
  44. c7d6550 Name: Fix typo in comment. by Jeff Thompson · 11 years ago
  45. eba62eb Name: Mark getComponentCount and getComponent as deprecated. Use size and get. by Jeff Thompson · 11 years ago
  46. d8e53e6 Name (internal): Make fromEscapedString return a Blob and make it a member of Name. by Jeff Thompson · 11 years ago
  47. d760236 Name: Remove unused append(const char *). Should use fromEscapedString for clarity. by Jeff Thompson · 11 years ago
  48. 27b2bf9 Name: Need to include string.h to get ::strlen. by Jeff Thompson · 11 years ago
  49. 16c56cc Name: Added append(const char*) by Jeff Thompson · 11 years ago
  50. d129ac1 Name: Added appendVersion. Added Name::Component::fromNumberWithMarker. by Jeff Thompson · 11 years ago
  51. 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 (97%) from ndn-cpp/name.hpp]
  52. 50b3791 Name: Added toSegment and toVersion. by Jeff Thompson · 11 years ago
  53. 27cae53 Name: Added Component toNumber and toNumberWithMarker. by Jeff Thompson · 11 years ago
  54. 9303453 Internal: Use C struct ndn_Blob where possible. Make ndn::Blob work with ndn_Blob. by Jeff Thompson · 11 years ago
  55. 49e321a Name: added operator << for ostream. by Jeff Thompson · 11 years ago
  56. 91737f5 Added operator == and != by Jeff Thompson · 11 years ago
  57. ec39fbd Added vector equivalent interface methods. by Jeff Thompson · 11 years ago
  58. 3c2ab01 Name: Added equals. by Jeff Thompson · 11 years ago
  59. 21eb721 Name: Added append method which takes a Component. by Jeff Thompson · 11 years ago
  60. 3549ef3 Name: Added constructor for string. by Jeff Thompson · 11 years ago
  61. 97223af globa: Change unsigned int to size_t where it is the size of a byte array or an index/offset into it. by Jeff Thompson · 11 years ago
  62. 10ad12a global: Rename unsigned char to uint8, DynamicUCharArray to DynamicUInt8Array and DynamicUCharVector to DynamicUInt8Vector. by Jeff Thompson · 11 years ago
  63. 26b0d79 Name: Added append(const Name& name). by Jeff Thompson · 11 years ago
  64. d0159d7 Name: Added getSubName. by Jeff Thompson · 11 years ago
  65. 0aa66f2 Name: Added appendComponent, deprecated addComponent. by Jeff Thompson · 11 years ago
  66. 6653b0b Name: Added toEscapedString to Component. by Jeff Thompson · 11 years ago
  67. 0050abe Code style: Put function return type on a line by itself. by Jeff Thompson · 11 years ago
  68. 46411c9 Change Component setFromEscapedString and setSegment to static makeFromEscapedString and makeSegment, and make the class read-only. by Jeff Thompson · 11 years ago
  69. c1c12e4 Change setFromEscapedString to take the string plus begin and end offsets. by Jeff Thompson · 11 years ago
  70. 7687dc0 All source files: Added UC Copyright. Added jefft0 email address. by Jeff Thompson · 11 years ago
  71. 0f74345 In Component, added constructor that takes a Blob. by Jeff Thompson · 11 years ago
  72. 05c8c1b In Name::Component.get, set value to 0 for 0 size. by Jeff Thompson · 11 years ago
  73. 9bdb3b2 Make Name::Component.getValue() return Blob& . by Jeff Thompson · 11 years ago
  74. 995aba5 Make Name::Component use a Blob. by Jeff Thompson · 11 years ago
  75. 1656e6a Code style: Declare (Type& value) instead of (Type &value) by Jeff Thompson · 11 years ago
  76. 15dc964 match should be a const method. by Jeff Thompson · 11 years ago
  77. a166b73 For component value, should pass const unsigned char *. by Jeff Thompson · 11 years ago
  78. ec7789a Make toEscapedString public static. by Jeff Thompson · 11 years ago
  79. cc35cd4 Added match by Jeff Thompson · 11 years ago
  80. f72b1ac Added addComponent(vector<unsigned char>) by Jeff Thompson · 11 years ago
  81. 67515bd Added set(const char *uri) by Jeff Thompson · 11 years ago
  82. 38d0e08 Change the ExcludeEntry to use a name component directly. by Jeff Thompson · 11 years ago
  83. 8aac199 Added appendSegment by Jeff Thompson · 11 years ago
  84. 2d27e2f Convert tabs to spaces. by Jeff Thompson · 11 years ago
  85. 21844fc Added toUri and deprecated to_uri by Jeff Thompson · 11 years ago
  86. 5341219 Major code style change to rename all files to lower case. by Jeff Thompson · 11 years ago[Renamed (98%) from ndn-cpp/Name.hpp]
  87. 5a6b5ab Change NameComponent to Name::Component inner class. by Jeff Thompson · 11 years ago
  88. 3f2175b Added a Name constructor taking the array of components. Updated doc comments. by Jeff Thompson · 11 years ago
  89. a234d5d In WireFormat, remove encodeName and decodeName since a name doesn't go over the wire. by Jeff Thompson · 11 years ago
  90. dd3d229 In set methods, make the argument const by Jeff Thompson · 11 years ago
  91. d345a5b Use const where possible. by Jeff Thompson · 11 years ago
  92. 47eecfc Change all copyright notices to refer to file COPYING by Jeff Thompson · 11 years ago
  93. 76f63ca Don't need to include "common.h" by Jeff Thompson · 11 years ago
  94. 8b27e3a In set, fix comment. by Jeff Thompson · 11 years ago
  95. 443398d Implement Name(const char *uri) by Jeff Thompson · 11 years ago
  96. 2a749d1 Added decode that takes a vector & by Jeff Thompson · 11 years ago
  97. 016ed64 Added NameComponent. by Jeff Thompson · 11 years ago
  98. ccb13c1 Added get(struct ndn_Name &) by Jeff Thompson · 11 years ago
  99. b468c31 Added set(struct ndn_Name &) by Jeff Thompson · 11 years ago
  100. e606351 Added to_uri by Jeff Thompson · 11 years ago