Teng Liang
d94b7b3b24
face: reimplement EndpointId with std::variant
...
Refs: #5041
Change-Id: Ib8aced49a7aa14b137fb06de4a0ae8b979f07587
2022-08-24 19:38:47 -04:00
Davide Pesavento
e541d1b250
build+ci: support macOS on arm64
...
Refs: #5135
Change-Id: I86f1955366df12cfb8b3e6f9d5e9f202778cc211
2022-08-18 20:50:05 -04:00
Davide Pesavento
4791fcb8ba
ci: refresh GitHub Actions matrix
...
* Add ubuntu-22.04, remove 18.04
* Add macos-12, remove 10.15
Change-Id: I775ea45661259ba1353e3f6ee0c602abee58acbd
2022-08-14 17:40:05 -04:00
Davide Pesavento
72517b5510
ci: auto-detect the OS instead of relying on NODE_LABELS
...
And remove WAF_JOBS: waf already defaults to the number of available
CPUs, which is appropriate in most cases, and we can always use the
built-in JOBS variable to override it where necessary.
Change-Id: I555dda0ccc48ee791271dbdaf4225cd1cfec4f3d
2022-08-13 18:50:55 -04:00
Davide Pesavento
20cafa8715
tests: minor code cleanups
...
Change-Id: I9759ba4b7eb467d4d1df4b379efad91bc4f5cc3a
2022-07-25 01:15:03 -04:00
Davide Pesavento
2150da8ee5
build+docs: support CentOS Stream 9, drop CentOS 8
...
Refs: #5181
Change-Id: I2d8bc595bad047ceaa78bd3729848491b843e83d
2022-07-08 18:18:51 -04:00
Davide Pesavento
990620ac3b
nfdc: merge canonizer.hpp and find-face.hpp into face-helpers.hpp
...
Change-Id: I19ca5cbce8cab54e61eb7af0a32c33c3aa73faf1
2022-06-13 16:33:25 -04:00
Davide Pesavento
a9b09b6994
build: make precompiled headers more useful
...
This can reduce the compilation time of a release
build (without tests) by more than 40%
Refs: #5212
Change-Id: I977aff0c0c7becbfee8a8b55605b81d0c014829b
2022-06-13 16:30:11 -04:00
Davide Pesavento
9a28c3f752
fw+table: workaround bogus doxygen warnings
...
Change-Id: I0a093658f4b27620ba9731a0640ca71c3d03360a
2022-06-11 21:52:05 -04:00
Davide Pesavento
e422f9e1e9
Refactor and modernize namespace declarations
...
Move all unit tests to namespace nfd::tests
Delete unused header core/algorithm.hpp
Change-Id: I5591f0c5f3bb5db67f8b45fae95471f8a555ca68
2022-06-11 20:10:26 -04:00
Davide Pesavento
a3a7a4e330
Use more C++17 features
...
Mainly structured bindings, inline variables, and class template
argument deduction, plus many more smaller things.
Change-Id: I810d17e0adb470426e4e30c898e03b3140ad052f
2022-06-04 20:26:02 -04:00
Davide Pesavento
b7bfcb904a
build: switch to C++17
...
Change-Id: Ie68020a04b7e20b74778b6d0370544ded55c5e26
2022-05-23 03:42:32 -04:00
Junxiao Shi
4b84a2c9be
tests: expect certificate name in KeyLocator
...
Also, delete unused KeyChainFixture::makeCert function.
refs #5112
Change-Id: I59b1ca81fca0481a37126270c447f639080ec75f
2022-04-28 03:17:05 +00:00
Davide Pesavento
6153eafa62
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: I17ffb97c2dc9cd8db7c900fbbd4ab5f8f92184dd
2022-04-19 19:45:03 -04:00
Ashlesh Gawande
1ef93d0316
fw: add strategy parameters to configure exponential retx suppression
...
Supported by ASF, BestRoute, and Multicast strategies
Refs: #4924
Change-Id: I215d9212d90b93fa622cc65278703dc5198d0c9d
2022-04-08 00:27:27 -04:00
Davide Pesavento
deb5427bb4
daemon+tests: avoid deprecated ndn-cxx functions
...
Change-Id: Idfa341629919d63fac140eda0b465f8f8abd38e6
2022-03-11 18:51:05 -05:00
Davide Pesavento
1b22a8c156
tests: drop redundant calls to Interest::setCanBePrefix(false)
...
Change-Id: I6afd1028ab370633c64a74ab4310396dab3c8a03
2022-03-07 21:23:23 -05:00
Davide Pesavento
c52cd5eec1
build: align minimum build dependencies with ndn-cxx
...
* boost 1.65.1
* gcc 7.4
* clang 6.0
* Xcode 10.0 (11.3 or later recommended)
Change-Id: I5e41f2a70d6c510dcb889a083a51504121b4627d
2022-03-05 20:40:54 -05:00
Alexander Afanasyev
5006c1d6af
Prepare release 22.02
...
Change-Id: Ie0d8db596c11c4f298755aa4b7fde5e616f32ceb
Refs: #5172 , #5184
NFD-22.02
2022-02-17 16:07:18 -05:00
Davide Pesavento
a599d2aac9
Convert to span and avoid deprecated ndn-cxx functions
...
Change-Id: I45c50527fe53498b53a3d951458bdff8e7d7778c
2022-02-16 18:52:43 -05:00
Junxiao Shi
b98aa3aca6
face: handle error in TCP socket remote_endpoint
...
refs #5158
Change-Id: I67fa134cd01a80a4f91122bbdcfc64e089d8145e
2022-01-12 01:14:08 +00:00
Junxiao Shi
727b61087a
table+fw: update ForwardingHint format
...
refs #5187
Change-Id: Ic8e32c83caeb60404f1b035a4f7e9841cc513f0b
2022-01-11 18:40:04 +00:00
Davide Pesavento
80111b72f9
face: adapt to API change in ndn::Transport
...
Change-Id: Ib424af03b7ec7d7bccce8d9498da6c593e16362f
2022-01-09 16:32:33 -05:00
Davide Pesavento
07da3fec95
build: update waf to version 2.0.23
...
Change-Id: I33bccd3f9aacdd22b690b6ff08fabd964dc022db
2021-12-29 19:14:42 -05:00
Alexander Afanasyev
5e02c04ca7
docs: Update sample nfd.conf to allow use of v0.3 Signed Interests
...
Change-Id: I72769d6caf52718b0e9ce4f6d3d8b0a29cf04925
2021-12-22 23:01:07 -05:00
Alexander Afanasyev
c414ca5895
tools: Allow batch command processing by nfdc
...
Change-Id: Ia6f70fed88f2d4c918e2ca2b786222840dbd9076
Refs: #5169
2021-12-21 14:27:26 -05:00
Davide Pesavento
f28a061c22
ci: add macOS 11 Big Sur
...
Remove all traces of Travis CI
Change-Id: Ie9ad527af4921c4f3c56903851200131ed0d5e87
2021-09-29 23:13:32 -04:00
Saurab Dulal
af3ff5a8c6
fw: rename n-silent-timeouts to max-timeouts in AsfStrategy
...
Change-Id: Ie2790a4e1fd545aacf8b297d7ec33b204f2cdbfc
2021-09-19 19:45:25 -04:00
Davide Pesavento
2c61bad944
ci: use gcovr 5.0 to generate code coverage reports
...
Change-Id: Ib7284d1616f9bce527aa98ccbb32e58d0bfa9dfb
2021-08-30 22:40:35 -04:00
Davide Pesavento
4d030c3896
Add CITATION.cff
...
Remove duplicate/obsolete files. Use the corresponding
files in https://github.com/named-data/.github instead.
Change-Id: Ife0d7551dd44091a8343ea233072c22a03149a71
2021-08-30 21:48:42 -04:00
Davide Pesavento
13dae355cb
ci: restrict token permissions and add badges to README.md
...
Change-Id: Ia7e254eefb6658aa5110a7fea5a6847cb257a84b
2021-08-13 15:40:54 -04:00
Davide Pesavento
8f0028de4e
ci: add GitHub Actions
...
Change-Id: Idc715edf136550b088f89c19b581f5478b296653
2021-07-30 19:26:03 -04:00
Davide Pesavento
412c982a63
Reduce usage of std::bind()
...
C++14 lambdas are easier to read, easier to debug,
and can usually be better optimized by the compiler.
Change-Id: I294f275904f91942a8de946fe63e77078a7608a6
2021-07-02 00:21:05 -04:00
Philipp Moll
a103334b1c
fw: Add default HopLimit to Interest when missing
...
Refs: #5171
Change-Id: I5973811b5ca7c7cf5ff344872afa51b253b9cae8
2021-06-25 00:24:23 -04:00
Davide Pesavento
0498ce85b0
fw: reorder function params to make the strategy API more uniform
...
Also add a non-const overload of Face::getCounters to avoid const_cast
Refs: #5173
Change-Id: Iff0bfbdedb90e68a373090cf3f247d9a7501f58d
2021-06-14 14:18:03 -04:00
Davide Pesavento
7647cc7635
table: increase initial and minimum capacity of DeadNonceList
...
Change-Id: Iaec6299ed985fcf165e23d31a339a6cbf073b55d
2021-06-10 14:30:04 -04:00
Davide Pesavento
e08cc4cd7e
table: improve logging in DeadNonceList
...
Refs: #5165
Change-Id: I97f9e28af90d857b33808d385eb077380cafe00a
2021-06-09 03:03:32 -04:00
Varun Patil
67ad70fbd5
table: prevent duplicates in DeadNonceList
...
refs #5167
Change-Id: Ia7546f75b844cfa1d857a641b015fbc6e9dfaf3d
2021-06-07 16:18:02 -07:00
Davide Pesavento
d69070ef50
ci+docs+tools: stop using deprecated ndnsec commands
...
Change-Id: If77f479b45581a9a70619c329e713524678e35fb
2021-06-04 18:50:52 -04:00
Davide Pesavento
d412393379
table: DeadNonceList code cleanup/modernization
...
Change-Id: I7d2bb8982b60b138c979470406b0a607301f2768
2021-05-28 19:21:03 -04:00
Davide Pesavento
6a699be8cd
tests: use InterestSigner instead of deprecated CommandInterestSigner
...
Change-Id: Iaf98026c9c0a7ee3950d79f4d810e0a7abba43b1
2021-05-17 02:13:37 -04:00
Davide Pesavento
a47cca2634
build: make graphviz optional for building documentation
...
Change-Id: I5434bbef22c840341623bff16f9e8de129249be2
2021-04-16 02:30:11 -04:00
Eric Newberry
7249fb4d52
docs+tests: finalize migration to typed naming conventions
...
refs #5044
Change-Id: Ia6f52ae0a31db33ca0f9fa6c4553b8fbbc7809bc
2021-04-05 18:16:44 -04:00
Davide Pesavento
86644d36ff
mgmt: don't extend the dataset expiration in ForwarderStatusManager
...
No other managers do this. Moreover, StatusDatasetContext::setExpiry()
has odd semantics and is being removed from ndn-cxx.
Change-Id: I5255aec5c6464e48f4b4765ae2c06f557e094044
2021-04-02 15:20:16 -04:00
Eric Newberry
358414d82f
fw: remove reliance upon marker name components
...
refs #5044
Change-Id: Iea6c98e03dbd3e4463f7bb6fca0be4953a2cdc40
2021-03-25 21:10:38 -07:00
Davide Pesavento
22085365d2
mgmt: fix construction of CertificateRequest in CommandAuthenticatorValidationPolicy
...
Just pass the KeyLocator name and let CertificateRequest deal
with constructing the Interest and setting CanBePrefix
Refs: #4582
Change-Id: I323d8ac5e16605bb978addc623e525b2536238bf
2021-03-18 22:08:03 -04:00
Saurab Dulal
432be57380
fw: use per-upstream suppression in ASF strategy
...
Refs: #5140
Change-Id: I49b27ce6b55d01724d0eafa792785d081c6009f7
2021-03-17 16:50:10 -04:00
Davide Pesavento
3db9807200
daemon: mark some classes and methods 'final'
...
As suggested by gcc's -Wsuggest-final-types and -Wsuggest-final-methods
Change-Id: I1622857ee53581efd0c6ce3fe93199c72202d817
2021-03-15 18:15:01 -04:00
Davide Pesavento
03a75f6c88
tests: add test case for retx suppression in multicast strategy
...
Refs: #4066
Change-Id: I78953b91b1fc1c6599b83cd1f39c11722261dd98
2021-03-15 18:14:26 -04:00
Davide Pesavento
7922d12449
fw: rename BestRouteStrategy2 class to BestRouteStrategy
...
Also rename ad-hoc-forwarding.t.cpp to strategy-ad-hoc-face.t.cpp
and broadcast-medium.t.cpp to strategy-broadcast-medium.t.cpp,
for consistency with the other strategy-*.t.cpp test suites.
Change-Id: Ia8f5257260563732d74c7d58e35481b73a231f06
2021-03-09 20:11:24 -05:00