Davide Pesavento
9bf64cc60d
face: use new-style async_accept API
...
Change-Id: Id9de72c0922ec9ea13e5b1d9ded27dd7edf67e38
2023-10-05 02:12:02 -04:00
Davide Pesavento
d91fe6d921
core+face: avoid deprecated Boost.Asio interfaces
...
Change-Id: I07ec286531edf63f258babe1561b4da2a88edd10
2023-10-04 21:40:02 -04:00
Davide Pesavento
5d64263dcb
daemon: use asio::defer() instead of asio::post() where appropriate
...
Change-Id: I24d0fab6499d6430dd500ca157daa87f48960d15
2023-10-03 00:36:08 -04:00
Davide Pesavento
a9e1ab2664
build: require boost >= 1.71.0
...
Refs: #5276
Change-Id: Ie428541639dcf1113acfb9e9d0a80f9be87d6cd3
2023-10-02 22:42:02 -04:00
Davide Pesavento
910232fce0
build: use python f-strings
...
Change-Id: I955739ac40508642509521760c1bc75286c94f30
2023-09-08 14:20:02 -04:00
Davide Pesavento
decaf509b4
tools: modernize nfd-status-http-server and improve error handling
...
Change-Id: I5715c35f79d7dcd8dbefed328ebb625e9150a846
2023-08-30 22:50:03 -04:00
Davide Pesavento
8f0b8b6063
Simplify some code with Boost.Operators
...
Change-Id: Ic873bcbaf6be00d5c35601cfc8090df534d815ee
2023-08-29 21:04:08 -04:00
Davide Pesavento
11f1fd8340
build: update waf to version 2.0.26
...
Change-Id: I896871a312983ff36f1784aa53484c5edf95ebda
2023-08-19 01:50:04 -04:00
Davide Pesavento
bf2e67fb14
build: enable a few more compiler warnings
...
Refactor default-compiler-flags.py to reduce duplication
Change-Id: I627b05257c2eec5c3ada9994bcd2b9a9be362157
2023-08-07 17:06:02 -04:00
Davide Pesavento
5b15e2fe97
build: decrease level of debug information produced by default
...
Refs: #5279
Change-Id: I537ff2a0a2e411279922823ae46cb7fee6586670
2023-08-07 16:35:35 -04:00
Davide Pesavento
95afc6d8a4
fw: increment nOutNacks when sending a Nack from onInterestLoop
...
Also expand test coverage of all forwarder counters
Change-Id: I6948af05aca1b5589e2f1c8a1f23c002d39d0ec0
2023-08-02 21:20:05 -04:00
Alex Lane and Davide Pesavento
653eb07e29
fw: refactor strategy logging and improve ASF probe logging
...
Bring strategy logging in line with format from 6bf94c0 .
This should also marginally improve performance when log level is raised.
Refs: #5262 , #5267
Co-authored-by: Davide Pesavento <davidepesa@gmail.com >
Change-Id: I6493b6476f3d0c6ae5562b66abfa46f6c6f4903d
2023-07-28 14:14:11 -04:00
Alex Lane
6bf94c02f5
fw: add Interest nonce to Forwarder logging where appropriate
...
Refs: #5262
Change-Id: Id3675fe1adb973d403f1e2ba386e9a4ec686c7b6
2023-06-08 02:42:02 -04:00
Davide Pesavento
191a7a24e6
core+daemon: declare all equality operators as hidden friends
...
Change-Id: Id832ee1fb16fb6742879c8b87f56002f94745103
2023-05-17 22:50:32 -04:00
Davide Pesavento
ae43030f6f
Further reduce the use of std::bind()
...
And also avoid deprecated ndn-cxx type aliases
Change-Id: I87e903b9671a3cf1c1b9ab30d4594d595c3c6da9
2023-05-11 01:50:11 -04:00
Davide Pesavento
63b3ae818f
tools: fix compilation with latest ndn-cxx
...
Change-Id: Ifded624f3256452be98f288f9193dd26e464cd36
2023-03-27 14:05:04 -04:00
Davide Pesavento
4064127b97
mgmt+tools: add missing includes
...
Change-Id: I53aeaa6b223b616c170697662d02a028cea67400
2023-03-16 13:31:12 -04:00
Davide Pesavento
d6ea0b1e0e
tests: use std::nullopt
...
Change-Id: I7efdc8076c1bc4ced11dd3bdab7f199609009545
2023-03-13 22:54:15 -04:00
Davide Pesavento
c5e3e7a55d
build: drop official support for Ubuntu 18.04 and macOS 10.15
...
Increase the minimum required version of clang to 7.0 on linux, because
older versions fail to compile libstdc++'s implementation of std::variant
Change-Id: I6320973cbe3ff00faa8a36cd0e7ddf564c20d965
2023-03-07 21:25:27 -05:00
Davide Pesavento
bf4c131f82
docs: update several URLs to point to docs.named-data.net
...
Change-Id: I4bab897f17e2b929675119198c9eab0309b6cc3e
2023-02-23 20:32:01 -05:00
Davide Pesavento
39c67f6291
build: switch source archive to xz compression
...
And a few minor README improvements
Change-Id: Iae8dc8fb3f5ac53296ffdadc8d2b893d13b8e684
2023-02-15 00:26:26 -05:00
Davide Pesavento
269b702f3d
ci: adopt reusable workflows from named-data/actions
...
Change-Id: Iefd142d82f56a6fb83c5039565b6eba83c6e6445
2023-02-12 16:14:56 -05:00
Davide Pesavento
3bc8e19a89
Prepare release 22.12
...
Refs: #5250
Change-Id: I6b9a3daab498cbffb78a108207e92bc2596be378
NFD-22.12
2022-12-31 01:40:11 -05:00
Davide Pesavento
0b0156887b
face: put the pcap handle in non-blocking mode
...
This prevents NFD from getting stuck in pcap_next_ex()
when the network interface goes down
Change-Id: I5760fcc7c950b46aecb7619bd889508ee24133aa
2022-12-12 22:01:28 -05:00
Davide Pesavento
6b78a53cf7
build: update waf to version 2.0.24
...
Change-Id: I57b597fb5933e46b55979ad6b1a62a7fd40c645d
2022-12-02 18:24:16 -05:00
Ikko Ashimine
a68af8129e
docs: fix typo in release-notes-22.02.rst
...
accomodate -> accommodate
Closes: https://github.com/named-data/NFD/pull/11
Change-Id: Ibad215a723cd51881760d2e43c05694a0e8928fe
2022-11-25 22:15:12 -05:00
Davide Pesavento
a42efcb408
ci: add Xcode 14.1
...
Change-Id: I8415fb1375da16813a69fa7a03bf37a7b0efc8b7
2022-11-15 02:43:16 -05:00
Davide Pesavento
aa9e3b2148
docs: fix capitalization in doxygen comments
...
Change-Id: Ibf5ee5119d12d60d382b0acef8dfd08277c18fcb
2022-10-29 21:45:24 -04:00
Davide Pesavento
b83d3df256
mgmt: finalize migration to the new signed Interest format
...
Change-Id: I6d3fe1bd092fa80e185d36746a42c188ab00a60e
2022-10-13 09:45:33 -04:00
Davide Pesavento
6d6f207661
mgmt: rename extractRequester() and support signed Interest v0.3
...
Change-Id: I6bb6635896fa1b9fa54beb70b902c5a35831dc9c
2022-10-13 08:55:42 -04:00
Davide Pesavento
9bfdaef62d
build: link with lld if available
...
Change-Id: Ie390c511c711508b6bb8c326a9a62fb1eca291c5
2022-10-05 17:38:44 -04:00
Davide Pesavento
20d94f67f8
Use inline on all namespace-scope constants defined in headers
...
Change-Id: Ic61f8d26f59fdc2895415ca47065c02d6eec28ed
2022-09-26 03:30:53 -04:00
Davide Pesavento
36184f6893
docs: restore exception handling in conf.py
...
Change-Id: Ie6408385e821e509e964bcea001a39f8cfdc5da0
2022-09-25 03:48:58 -04:00
Davide Pesavento
6cc9541220
docs: simplify conf.py and fix compatibility with upcoming Sphinx 6.0
...
Change-Id: Iacf4a72d30babc4a7c3fab0fea619a798eff2df1
2022-09-20 19:10:55 -04:00
Davide Pesavento
279af1ceac
tests: fix UDP multicast transport tests with IPv6
...
A valid scope id is always required on the multicast address
Change-Id: Ic676fcde0ee50daf75eb38c137e3cb917f43699f
2022-08-29 20:18:32 -04:00
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