Commit Graph
132 Commits
Author SHA1 Message Date
Davide Pesavento 2f46d6543e Avoid deprecated Boost.Asio interfaces
Change-Id: I00d285893ff61619f49dff8a8a55d0d0e2c309a7
2023-11-10 17:40:43 -05:00
Davide Pesavento 550d8c99ab build: require boost >= 1.71.0
Refs: #5276
Change-Id: I0f179707020fc6e0908af8aeb1d535ca3cd81410
2023-11-05 01:30:01 -04:00
Davide Pesavento 5686c51b87 build: decouple handling of boost libs not needed by libndn-cxx
Refs: #5210
Change-Id: Ia8e3d80dd92b5e8a7bd7d79ea811332220a883ed
2023-09-07 22:08:46 -04:00
Davide Pesavento c996742bad build: use python f-strings
Change-Id: I17695613bb737ac4ba297468c5859ceb18bfdf96
2023-09-07 22:04:34 -04:00
Davide Pesavento 869d1a3c36 util: remove obsolete backport of std::to_string
Change-Id: Ib2ba051b84032b227ce75f41e242af20b4a43c3c
2023-03-14 23:55:02 -04:00
Davide Pesavento ae39daf4de build: switch source archive to xz compression
And a few minor README improvements

Change-Id: I667860f46b19d1ec885fd81910a116581007ac8f
2023-02-14 23:46:46 -05:00
Davide Pesavento 81de5d98e9 Prepare release 0.8.1
Refs: #5250
Change-Id: I99931c1300cd752554aea764e9688d027b5de29e
2022-12-31 01:50:11 -05:00
Davide Pesavento 2d7c585965 tests: run FaceUri canonization tests sequentially
Many of these tests issue DNS queries and it seems that Boost.Asio
performs only one resolution at a time (on a single io_service).
Therefore, parallelization is pointless and can in fact cause later
queries to spuriously timeout if those scheduled earlier take a long
time to finish.

Change-Id: I07e3dba5662626fd988ff0c7363f043319ee737d
2022-07-19 00:10:02 -04:00
Davide Pesavento 85be940ae9 encoding+security: remove deprecated functions
Replaced by span-based equivalents

Change-Id: Ie723aa8a84b5cd3cd7c58693a684547779560066
2022-04-09 15:35:06 -04:00
Davide Pesavento 541a822ae6 build: raise minimum build requirements
* Make gcc 7.4 and boost 1.65.1 hard dependencies, both are
   available out-of-the-box on Ubuntu 18.04
 * Require Xcode 10 on macOS but recommend 11.3 or later
 * If using clang on non-Apple platforms, the minimum supported
   version is now 6.0

Change-Id: I79c84a266741c9a66655da4fd467fe0d8218e8f0
2022-03-08 21:09:01 -05:00
Davide Pesavento 273ea019b6 build: require OpenSSL >= 1.1.1
Change-Id: I17a09ac60b867617af7a49fe19ab6e906dc14f61
2022-02-20 17:50:02 -05:00
Alexander Afanasyev 778ad714f0 Prepare release 0.8.0
Change-Id: I4fd006cc7f8f1a672b6cf0ddd422a4653da6d87f
Refs: #5172
2022-02-15 11:24:18 -05:00
Davide Pesavento 949075ab7b ndnsec: improve error reporting when loading a Certificate or SafeBag fails
Refs: #5164
Change-Id: I6f594a921bb063ad808f311d8ff978bf0f7d528d
2021-10-22 16:23:50 -04:00
Davide Pesavento 2b47ac0a6f build: fix detection of openssl 3.0
Refs: #5154
Change-Id: I93ccd3d3ac0f9b8940cda76e7a6df02a65999c90
2021-09-08 22:38:08 -04:00
Davide Pesavento d8e0cad339 build: build with BOOST_FILESYSTEM_NO_DEPRECATED
Change-Id: I8d49dc03bd052c04c00b71f7ccf02cab79e64b7c
2021-05-27 21:07:50 -04:00
Davide Pesavento f3089c3522 tools: replace most ndnsec shell wrappers with symlinks
Change-Id: I40488dddaaee13ee4391e906646b9f651b26c2de
2021-05-25 21:28:21 -04:00
Davide Pesavento dbe645f879 build: make graphviz optional for building documentation
Change-Id: Icff993cccc675c95cd6f671cd217c74d7768fac9
2021-04-16 00:42:52 -04:00
Alexander Afanasyev 39535f4493 util: Out-of-the-box support for Android logging
Refs: #4970
Change-Id: I01cbb59faf505046c792393eb2e8df347212abcb
2021-04-07 11:10:23 -04:00
Eric Newberry bdfb53aa09 Prepare release 0.7.1
refs #5129

Change-Id: I3c86a1fb10e542f825c92bd0d935a2814fea1f04
2020-10-08 16:19:10 -07:00
Alexander Afanasyev 3de8aac22d 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: Ie858b8966496d23f38f722d8115be988e6b4d048
2020-05-30 18:14:45 -04:00
Davide Pesavento 25d4f1c95e build: add PCHs for ndnsec and unit tests, fine-tune the existing ones
A full debug+tests build now takes 10% less time with gcc-9 and 21% less
with clang-10. Release builds (without tests) are only marginally faster
with gcc and 7% faster with clang.

Change-Id: I494778fe44cecc6209819a49f48a03f4d16c36af
2020-04-29 23:31:04 -04:00
Davide Pesavento 78338c5ee8 build: recommend boost >= 1.65.1
With this commit, Ubuntu 16.04 is no longer officially supported
and may require manual installation of a newer version of Boost.

Refs: #5087
Change-Id: I17197f72ee8f7cd4d0954658fe57c324076f1311
2020-04-22 17:09:24 -04:00
Eric Newberry 9603325ba6 build: link against libatomic if necessary
refs #5100

Change-Id: Ida51c0830d3f0ce5ea949745b879a65b3e446111
2020-04-10 15:37:55 -07:00
Alexander Afanasyev cf8ffd495a Prepare release 0.7.0
Change-Id: Id6bba5f9b83c3f317f5ee81b170bc5ce50806a29
Refs: #5045
2020-01-13 13:22:16 -05:00
Davide Pesavento 4fb35d8a35 security: stop installing headers of concrete PIB, TPM, and KeyHandle implementations
Refs: #4782
Change-Id: I23bb75c485034140f29b10bd3a103f4aa480be4b
2019-11-01 11:07:48 -04:00
Alexander Afanasyev 0d748af32f Prepare release 0.6.6
Change-Id: I2896cf769547e7afbedcc4f00bf28b48e0729426
Refs: #4916
2019-04-27 15:00:06 -04:00
Davide Pesavento b310efbdaa docs+ndnsec: improve description and parsing of command options, rewrite man pages
Replace custom redmine_issue extension with sphinx.ext.extlinks

Refs: #4907
Change-Id: Ib0cb94156ae4fc80cdcaf4c70d7c8d55c16fcbc3
2019-04-14 16:50:19 -04:00
Davide Pesavento fc27d3b659 Fix build with Xcode 10.2
Refs: #4860
Change-Id: I6a5ee5259185ac6311cc3ea75921a8d0ce522f1b
2019-03-09 15:49:26 -05:00
Davide Pesavento 77f1c7665e build: do not look for unneeded libraries
Change-Id: Ifcf45442b947bf23355e270f1f9bda298792d4a2
2019-02-19 15:06:16 -05:00
Davide Pesavento fd674016ab util: introduce NDN_THROW
Refs: #4834
Change-Id: I35ff77a1d4e96caa17523cbdbb6f169390975d1b
2019-02-10 19:32:18 -05:00
Alexander Afanasyev 8fdae8909d build: Propagate DEFINES of dependent libraries to libndn-cxx.pc
Refs: #3982
Change-Id: Id3c3bb219fe074c0e7427d34e0a0da4981952be3
2019-02-10 17:17:28 -05:00
Alexander Afanasyev b72360faee Prepare release 0.6.5
Change-Id: Ifc28a3a32d572b2455353bf164427ca2d37aebf9
Refs: #4821
2019-02-04 13:30:04 -05:00
Junxiao Shi d1fc9a7104 detail: move common.hpp to 'detail'
common.hpp and config.hpp are implementation details that should be
installed to target system.

common-pch.hpp is moved to 'impl'.

This commit also adds README.md to 'detail' and 'impl'
directories to explain their semantics.

refs #4782

Change-Id: I4f3e607338b3bdccbaddaed735f6326adcc2fda0
2018-12-12 16:35:34 +00:00
Junxiao Shi 24c5a00073 impl: rename 'detail' to 'impl'
'impl' directory contains implementation-detail headers that are NOT
installed. 'detail' directory will be used for implementation-detail
headers that ARE installed.

refs #4782

Change-Id: I13428e032c93207753a6b856c693511c4fc3bbb8
2018-12-12 04:47:15 +00:00
Davide Pesavento 7e78064871 Change #include style
Header files are now always included with their path from the
project's root directory rather than the path relative to
the includer.

Change-Id: If39b8510eef8da00baf5fe88337c45dbdf8c766e
Refs: #3084
2018-12-08 16:03:34 -05:00
Davide Pesavento 1944281719 Rename 'src' directory to 'ndn-cxx'
Change-Id: I14394023680901a86977313ca87fb017333614dd
Refs: #3084
2018-11-23 18:27:19 -05:00
Alexander Afanasyev a3bf4319ed Prepare release 0.6.3
Change-Id: Ie4bc2812544224110eb371e4dd096fc1681ab1f0
Refs: #4727
2018-09-17 23:50:23 -04:00
Davide Pesavento 4b8eab72f3 build: drop dependency on unused CoreServices framework
Change-Id: I91df33fafbcf275f7b41394112f8c002bc98af97
2018-09-02 12:38:25 -04:00
Davide Pesavento 474c3b2f33 build: check for linux/genetlink.h
Change-Id: Id18fcc81a49e769a05c4416cdce03022a2179051
Refs: #4020
2018-08-25 16:31:17 -04:00
Davide Pesavento 50b9226465 net: refactor netlink message parsing, add extack support
Change-Id: Iaa132d8cb1aece6cfc608cc1c3b4478982ac706e
2018-07-15 14:48:35 -04:00
Davide Pesavento 90db7eeafc net+util: remove dependency on Boost.Regex
Use std::regex instead.

Change-Id: I6c53edf177b7861d47a1f256aa975e4100e00d45
2018-06-11 20:28:13 -04:00
Davide Pesavento 21be81676f build: ignore OSError raised by subprocess.check_output()
For example, when git is not installed.

Change-Id: I2a44b9c647e2b2e0344e2c831217db1595a9db68
2018-05-10 20:37:18 -04:00
Davide Pesavento 844b09331b build: require gcc >= 5.3, boost >= 1.58, openssl >= 1.0.2
This effectively drops support for all versions of Ubuntu older than 16.04

Change-Id: Ie3ab7df9147e97f6467658a6399a4f9379f089c1
Refs: #4462
2018-05-08 21:00:00 -04:00
Alexander Afanasyev d9b083e825 Prepare release 0.6.2
Change-Id: Ia5fefd6729fdf9cb5887a5165ba60614ab931280
Refs: #4564
2018-05-03 09:25:10 -04:00
Alexander Afanasyev 5560fd40ae build: update waf to version 2.0.6
Cleanup in most build scripts

Change-Id: Ib024e95fb6f80e72b0c00e1dc8bb9300d6c5f191
2018-03-08 21:49:25 -05:00
susmit f47cef64a2 Prepare for 0.6.1 release
Change-Id: Iaf148b70c3e30a0cd6737239a769d54c24e43a80
Refs: #4497
2018-02-19 09:39:50 -05:00
Alexander Afanasyev c381bca7f6 Prepare 0.6.0 release
Change-Id: I4cea28b09b20f5359f0e2ddaf188b234b2b102f9
Refs: #4275
2017-10-15 22:25:00 -04:00
Alexander Afanasyev b82d8c3a1b build: Add -isystem and set specialized flags as a last configuration step
This change prevents global flags from interacting with library/feature
detection scripts.

Change-Id: Ic0dba06a9afd66a810172d4a512f35f6df6b25b6
Refs: #4296
2017-09-22 12:30:57 -04:00
Alexander Afanasyev adc71845c5 security: Remove old security framework
This commit also finalizes removal of CryptoPP dependency.

Change-Id: Ia670cbeaf21b28d3b93fd36bb3781da3ac822662
Refs: #4246, #3946
2017-08-24 09:30:24 -07:00
Davide Pesavento ba4fbbefbb docs: update doxygen configuration
Most notably:
 - disable OPTIMIZE_OUTPUT_FOR_C, this is a C++ project
 - enable sorting of brief descriptions of class members
 - stop generating documentation for detail headers (not installed)

Change-Id: Ie0608888f53f9b38f0a6e09cf198981cd7474109
2017-07-04 14:32:33 -04:00