81 Commits

Author SHA1 Message Date
Junxiao Shi 7639daa564 consumer: gather constructor args into Options struct
refs #5069

Change-Id: I4eeacc2045157dd12728dab589538d6994ffcb5a
2023-11-26 02:16:21 +00:00
Davide Pesavento 60e5043d0c Switch to Face::getIoContext()
Change-Id: I56ea53ce8db3a3f24abe958065b9251eb025fbf7
2023-11-11 18:35:05 -05:00
Davide Pesavento 690272d427 build: require boost >= 1.71.0
Refs: #5276
Change-Id: Ia1014604d6933ca0042cecbaa25e8df2e7e2356c
2023-09-23 20:33:42 -04:00
Davide Pesavento 0b272e0e69 build: more accurate dependencies on Boost libraries
See also named-data/ndn-cxx@5686c51b87

Change-Id: I0ff9b60ae9a5e51f597d16221bbe1d97afc9704a
2023-09-23 20:22:01 -04:00
Davide Pesavento 9dea7a2334 build: update waf to version 2.0.26
Change-Id: I3e8d2fe200ae8502bbc3ce423a611a0d95245c83
2023-08-19 02:04:03 -04:00
Davide Pesavento 822c579cb6 build: sync default build flags with ndn-cxx
Change-Id: I74812a748fd65151a462c3a1f0beb8dcf3241c28
2023-08-16 15:06:23 -04:00
Junxiao Shi c5f5eb1f14 Change namespace of DummyClientFace, Signal, Segmenter
refs #3940

Change-Id: Id014e1487bfaceac96e97af51dcfd77c4964ef11
2023-08-11 08:05:23 +00:00
Davide Pesavento 88b7bbd797 build: align minimum build requirements with ndn-cxx
Change-Id: I717d0a2ade24bfd6884f54209f06944601e8fe1a
2023-04-26 15:48:02 -04:00
Davide Pesavento 46bac78888 ci: adopt reusable workflows from named-data/actions
Switch source archive (tarball) to xz compression and
mention using gerrit for code review in the README

Change-Id: Ie69de065311737f6fe48976fbab5f896f3960e06
2023-02-23 20:01:25 -05:00
Davide Pesavento ec8f854672 Prepare release 0.4.0
Change-Id: I361b0a37f48c729b31ea6a61aefb513c8d3d670f
0.4.0
2023-01-18 23:10:24 -05:00
Davide Pesavento 36651f17f3 docs: improve formatting and document structure
Change-Id: I4b0b4cc3eae000aa1c988c5d308c3f78052ad96d
2023-01-05 04:07:05 -05:00
Davide Pesavento 59f6fabe50 build: update waf to version 2.0.24
Change-Id: I3b7226af85fa686d33866899a9c2e487313fc842
2022-12-02 20:36:32 -05:00
Saurab Dulal 737f2de0bd partial-sync: add unsubscribe feature
Change-Id: Ib32aa2c0acebb5be40bb8d99689a3ea18113a692
2022-11-22 04:53:29 +00:00
Davide Pesavento b68f28497e Use ndn-cxx's Segmenter in SegmentPublisher
This commit also makes lld the preferred linker on Linux

Change-Id: I3a66f2e79a5378d005046c61a8ec2d49345508d6
2022-11-17 19:07:04 -05:00
Davide Pesavento 03426efa2c Minor code cleanups
Change-Id: I2b67216754ba30563a65a2697e6801e363986da1
2022-09-25 14:06:26 -04:00
Davide Pesavento c45a4eaef4 **breaking** Add KeyChain parameter to the producer API
Applications must be able to specify the KeyChain instance to use

Change-Id: If5054dbb8c00e2d18af8bf6a9199ded7266688f3
2022-09-25 14:04:36 -04:00
Davide Pesavento e010c78946 docs: simplify conf.py and fix compatibility with upcoming Sphinx 6.0
Change-Id: Id1ba3c27d4b1d295eb334f875931b56c0adcfc1b
2022-09-25 03:12:53 -04:00
Davide Pesavento da1a4d36a0 build+ci: support macOS on arm64
This commit also syncs the CI config and scripts with ndn-cxx

Change-Id: I0403bfcf211e41e15fa59bbbee4cbd1966d9c708
2022-08-19 19:54:33 -04:00
Davide Pesavento c407dee7bd build: migrate to C++17
Change-Id: Ic66b1703fc7d1d51d61c442de859e0921c0bdd7a
2022-07-27 01:50:24 -04:00
Davide Pesavento f278438bc7 build: support CentOS Stream 9
Change-Id: I8864a856b4f777110cea37528d963e9eb77ed973
2022-07-09 19:58:53 -04:00
Alexander Afanasyev 16d493eceb Add advisory "incomingFaceId" to missing data notifications
Change-Id: Ida1acdc7c86d1110a8586d4a396301b89c37229b
Refs: #3626
2022-05-19 12:22:36 -04:00
Davide Pesavento 0ba5eb6d6c ci: require gcovr 5.1 for code coverage reports
Stop passing `-j`, it wasn't very useful and it's broken in gcovr 5.1

Change-Id: Ie567fc8cf6ed70783c8f4f46983fe0d3a61e3d71
2022-04-19 18:05:16 -04:00
Davide Pesavento f6fd2fbd34 Convert to span and avoid deprecated ndn-cxx functions
Change-Id: I260639ef4c13e6a492b29d3b976cca0ae29876cb
2022-03-18 21:00:36 -04:00
Davide Pesavento 85a73d2b75 build: align minimum build dependencies with ndn-cxx
* gcc 7.4
 * clang 6.0
 * Xcode 10.0 (11.3 or later recommended)

Change-Id: I365e7b1e2c9b081e512f511bf5beee2487cfc361
2022-03-16 20:08:16 -07:00
Junxiao Shi fadcde5921 full-sync: cleanup test cases
refs #4659

Change-Id: I5043c1ed7698b7cdf6fc3774f5bfa4b0c05ea204
2022-02-28 00:38:45 +00:00
Junxiao Shi 32ccfc4d1d **breaking** use Name TLV-VALUE as input to murmurHash3
Previously the library was using Name URI string, which is not guaranteed
to be stable and unique.

refs #4838

Change-Id: Ic5e29f11f1320f95a754fb5def03faeb4d89cc01
2022-01-09 21:26:22 +00:00
Davide Pesavento e51936f8c6 build: update waf to version 2.0.23
Change-Id: I259ccd62d04ced56eb8dedab612de02789ba2971
2022-01-02 18:44:21 -05:00
Davide Pesavento f078fb5134 ci: add code coverage reporting via gcovr
Change-Id: I246bb21b55c40182184f849dedd27be81be202b1
2021-11-05 16:08:44 -04:00
Davide Pesavento 51189595bd docs: various fixes and cleanups
Change-Id: Ib20f89395bf7864e04080c0e69aec93ab8099a47
2021-10-03 17:40:04 -04:00
Davide Pesavento 8dce194d9a ci: replace Travis with GitHub Actions
Change-Id: Id9f6bc462115c1c49f02b8b75d65304f777e0ffd
2021-10-02 22:31:26 -04:00
Davide Pesavento 9f14dcd319 ci: don't use deprecated ndnsec commands
Change-Id: Ie85898f91fa44a22d87bb79aec7ebe4a7e5ef42e
2021-06-04 13:41:43 -04:00
Davide Pesavento 75496288d0 build: make graphviz optional for building documentation
Change-Id: I779e69037ecef1d49e035a572a843ef3a861e614
2021-04-26 00:06:26 -04:00
Davide Pesavento bb55addec0 ci: compile-check installed headers
Script copied from ndn-cxx with minor modifications

Change-Id: Ib2e82e97161078d653f965c769de149cc28c60dd
2021-02-10 13:50:23 -05:00
Davide Pesavento eeca59e0c3 Centralize/deduplicate some constants
Change-Id: I80c542abbf6d4978261c0f7e839bef2fb1fa3a91
2021-01-15 16:06:06 -05:00
Saurab Dulal 32b97d7654 Prepare release 0.3.0
Change-Id: I193b7cde69fcab7d2757a7823a727121572b51ad
0.3.0
2020-12-31 15:00:05 -06:00
Davide Pesavento db7895644a Move non-public classes and functions to psync::detail namespace
CompressionScheme, CompressionError, and MissingDataInfo, which are
public types, are instead moved to a new header PSync/common.hpp

Change-Id: If1b8cb037cb321ff32c080c67df9dc3689223c00
2020-12-30 18:27:28 -05:00
Davide Pesavento aafef2bd91 bloom-filter: code cleanup
Change-Id: I72cec068778d26c62b05060030013f148ef7c5da
2020-12-23 21:04:05 -05:00
Davide Pesavento b60398c5fc Replace remaining uses of BOOST_THROW_EXCEPTION with NDN_THROW
Minor formatting improvements in examples/README.md

Change-Id: Ib8f605074b9ee07c8dea2e9ea2bf04892251d945
2020-12-18 00:07:06 -05:00
Davide Pesavento f91d1dfe15 tests: sync common testing infrastructure with ndn-cxx
Also upgrade waf to version 2.0.21

Change-Id: Ibfd3386772d48df287b6be73e6d778d3661abe86
2020-11-25 14:50:41 -05:00
Ashlesh Gawande 8ab7572247 Consumer: react fast on sync Interest timeout
refs: #5124

Change-Id: Ic28cd6d10e59645c2a209c5efc446ef28b600462
2020-08-09 18:36:15 -07:00
Davide Pesavento 87d4e20b35 ci: enable code coverage
Change-Id: I1fb68bc05b1a4a75c249a11c87fd6139c1700e75
2020-08-09 12:56:45 -07:00
Ashlesh Gawande cbdc0122a4 **breaking** Consumer: change hello data callback to include sequence number
refs: #5122

Change-Id: Ief5cf9e9c542739613b54790e66209c66f4b6172
2020-08-05 21:35:51 -07:00
Davide Pesavento 042dfb3ec5 build: align minimum build dependencies with ndn-cxx
* Recommend gcc >= 7.4.0
 * Require clang >= 4.0, or Xcode >= 9.0 on macOS
 * Silence an ABI-related diagnostic message from gcc on armv7
 * Update Travis CI job matrix

Refs: #5087, #5106
Change-Id: I659aa617dad0ed7eb23967215c37586ef168d88c
2020-07-23 21:07:16 -04:00
Alexander Afanasyev 89edd8f3a9 Rename VERSION to VERSION.info to avoid conflicts with modern STL
On case-insensitive file systems (e.g., macOS), inclusion of the new
standard <version> header resulted in unexpected inclusion of VERSION
file.

Change-Id: I156cb3a49d3ee2139c1c830eaa8b20be00c3fb98
2020-06-01 18:58:54 -04:00
Davide Pesavento 5653b640d4 ci: update Travis configuration
* Add testing on arm64, ppc64le, and s390x with select compiler versions
   (s390x is allowed to fail due to bug #4818)
 * Drop all versions of gcc < 7 and clang < 5
 * Add clang 11 (development branch)
 * Reenable ASan on Linux with clang 7, the upstream bug has been fixed
 * Drop Xcode 9.2 (macOS 10.12 is no longer supported)
 * Upgrade Xcode 11 to 11.3

Change-Id: Ia67057c9583ef67af3b11378849ec0f226b2b715
2020-04-04 19:28:24 -04:00
Davide Pesavento 133067f1c0 build+ci: switch to python3
Also in this commit:
 * Sync CI scripts with other projects
 * Modernize docs/conf.py
 * Fix typo in docs/doxygen.conf.in
 * Cleanup README.md

Refs: #5095
Change-Id: If95b6f00e4f48a102054b47e14e9c021da069e71
2020-04-04 19:02:40 -04:00
Davide Pesavento 5b3cf7621c tests: use BOOST_REQUIRE and Name::at() to prevent out-of-bound accesses
Various other cleanups

Change-Id: Ie099e618b12b7b6cf36c32be96d753221f14a8b6
2020-04-04 19:00:12 -04:00
Ashlesh Gawande 79c5baf1b9 **breaking** IBLT: make encoding endian safe
refs: #5076

Change-Id: I0bbe2c321d971128733b87acbdf06bcaaa8b0571
2020-03-05 17:45:24 -08:00
Ashlesh Gawande e23b53bd1b State: reset wire after adding names; fix tests when zlib is disabled
refs: #5083, #5077

Change-Id: I48f24ad53d676036f6b03cc0472be9bb5026016e
2020-02-22 15:10:58 -08:00
Eric Newberry 1c7cd5224f docs: restructure and update AUTHORS.md
refs #5078

Change-Id: I1c2fa18d57b7d405093329bf569932d3e610dad6
2020-02-05 19:26:51 -08:00