Commit Graph
404 Commits
Author SHA1 Message Date
Davide Pesavento 54bf15afef Update C++ badge in README.md
Change-Id: I776fbdf1438b68ef8eb35ab00fa0015209b89c9c
2022-07-26 03:23:32 -04:00
Davide Pesavento 8663ed1c21 build: migrate to C++17
Change-Id: Ic5c01274f62556764ea96fc232cf3d835c4ab659
2022-07-23 13:51:24 -04:00
Davide Pesavento 5a6292db4e build: explicitly require libndn-cxx >= 0.8.0
Change-Id: I029ded8120e149e945a74feaf58739960dbfa3f2
2022-03-12 15:26:16 -05:00
Davide Pesavento 5f5101adc3 Avoid deprecated ndn-cxx functions
Also, waf is updated to version 2.0.23

Change-Id: I053d7dce733455ec352931a1614082542ca00570
2022-03-11 20:05:03 -05:00
Davide Pesavento 26a0326dc5 build: align minimum build dependencies with ndn-cxx
* gcc 7.4
 * clang 6.0
 * Xcode 10.0 (11.3 or later recommended)

Change-Id: Ie867798d37898dbabb0620de719fff4bd46df590
2022-03-07 13:37:34 -05:00
Davide Pesavento 44ec20773e Drop redundant calls to Interest::setCanBePrefix(false)
Change-Id: I319ec178e3bb27c0dd77318d0cb201850a1e7126
2022-03-07 13:32:04 -05:00
Davide Pesavento 22eeb2914f ci: replace Travis with GitHub Actions
Sync docs/conf.py with ndn-cxx

Change-Id: I2c7106ef52a0e7c00de6767c6b59dbd3ce1dc082
2021-10-02 04:13:24 -04:00
Davide Pesavento ad7a61b745 ci: don't use deprecated ndnsec commands
Change-Id: I8f9976fb990471c1ab883635568c6fd2df6a3ef8
2021-06-04 13:40:03 -04:00
Philipp Moll 96b9a1d5fd docs: Deprecated note in README.md
Change-Id: I510c090670ff18b7534d58ece6866d0bc589686c
2021-02-27 06:44:39 +01:00
Davide Pesavento dbac16ad65 Prepare release 0.5.4
Change-Id: Ie87fa94ed401a8552632c0d861a70bdda228e634
0.5.4
2021-02-18 20:55:43 -05:00
Davide Pesavento 780e646ff5 ci: compile-check installed headers
Script copied from ndn-cxx with minor modifications

Also, move tlv.hpp to detail/ and cleanup includes in common.hpp

Change-Id: I6240601f005c61bb3547bd5acf854200f3b13093
2021-02-10 13:43:26 -05:00
Davide Pesavento 07684bced7 Move config.hpp and a few more private headers to a 'detail' subdir
Also upgrade waf to version 2.0.21

Change-Id: Id290b8336c607fb3939f2ab96dd066dae9810c1e
2021-02-07 20:09:28 -05:00
Davide Pesavento e7dc77695c Replace all uses of BOOST_THROW_EXCEPTION with NDN_THROW
Refs: #4834
Change-Id: I99a5c3665735f245e943506893faade3954cae5e
2020-12-23 01:05:53 -05:00
Davide Pesavento 5f408ae7f5 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: I71aef00147a7ad93b537904bb309745fed77f509
2020-07-21 16:35:35 -04:00
Alexander Afanasyev cc6f67cec9 Adjust includes for the updated locations of ndn-cxx security headers
Change-Id: I3f7c9823881552114a6e9c9182c2d06b7742f552
2020-06-06 16:16:36 -04:00
Alexander Afanasyev 675d6fb210 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: I7f8dd4703c76e833797135b980bbcc6c2e97bcef
2020-06-01 18:55:17 -04:00
Davide Pesavento dbee9bf49a ci: update Travis configuration
* Add testing on arm64, ppc64le, and s390x with select compiler versions
   (s390x is allowed to fail due to bug #5098)
 * 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: I87c5c76ee4fd7295c4bd5ffce6a30076e0d0143e
2020-04-02 16:23:05 -04:00
Davide Pesavento d6a0956c35 logic: fix -Wrange-loop-construct warning with clang 10
Change-Id: Ia4cd193e099b9e85da48f83087cd93482db9a628
2020-04-02 02:48:46 -04:00
Davide Pesavento a0546dbc86 build+ci: switch to python3
Also in this commit:
 * Sync CI scripts with other projects
 * Modernize docs/conf.py
 * Cleanup README.md
 * Use the official markdown version of the GPLv3

Refs: #5095
Change-Id: Ie607fcde1f6e41fa5efbbb41b21cb08583017442
2020-04-01 21:19:45 -04:00
Eric Newberry e3fe048411 docs: restructure and update AUTHORS.md
refs #5078

Change-Id: I69e84ca2aeee4f049171d332ed545a851edf24b1
2020-02-04 15:12:13 -08:00
Davide Pesavento e275292728 build: upgrade waf to version 2.0.19
Change-Id: I5ca28fd7cfd26988952fccb275c5ce925e94bbb8
2020-01-23 23:40:02 -05:00
Davide Pesavento 27416441b3 logic: remove some leftover code
Change-Id: I6e98ac216ce49f078e59c55efd856ce8e03d0b71
2020-01-23 23:10:24 -05:00
Davide Pesavento dd000762d6 Prepare release 0.5.3
Change-Id: I2c9ca578746cdbadebacaed10ad175923d31a5aa
0.5.3
2020-01-15 01:34:33 -05:00
Davide Pesavento c47774fd95 build: pass pkg_config_path to check_cfg() when looking for libndn-cxx
Instead of modifying os.environ.

This commit also updates some waf tools and fixes the value of
includedir in the generated .pc file.

Refs: #5042
Change-Id: Idf0481f36664cc085571265747a004655001c0ed
2019-11-10 18:39:08 -05:00
Ashlesh Gawande a1ad604672 src: schedule sync interest on NoRoute NACK
refs #5012

Change-Id: I671b507c66e1957aae976c859e81591c93dc4d94
2019-10-08 16:34:24 -05:00
Davide Pesavento dfd704aa4e ci: upgrade Travis config to Ubuntu 18.04
Also in this commit:

 * Drop clang 3.8 (no easy way to install it on 18.04)
 * Add clang 10 (trunk)
 * Drop Xcode 8.3
 * Upgrade Xcode 10.2 to 10.3
 * Add Xcode 11

Change-Id: Ic8fd05fdacdfc190c722244372a8852705762f32
2019-09-26 00:52:33 -04:00
Davide Pesavento d7de2d45b2 logic: initialize m_syncReset before using it
This commit also disables sending the reset interest upon
initialization of the Logic to preserve the previous behavior, where a
meaningless interest was sent out as a result of a bug.

Change-Id: Iec35d7745a0be06e768d4ae5f6afb8d867e590fc
2019-08-13 10:51:44 -04:00
Davide Pesavento 4db56c8e3f ci: add gcc-9 to Travis CI build matrix
Change-Id: I37c8399650666a4682fda4229c3ded2dca8e5ebd
2019-06-23 19:42:05 -04:00
Davide Pesavento d057cf1969 Follow ndn::Scheduler API changes
Refs: #4883
Change-Id: I71e39f13f62302248d13825481d06d10f694cd94
2019-03-20 23:38:40 -04:00
Davide Pesavento 5c39ba1b6e ci: enable LeakSanitizer
Change-Id: If9472204a11cef3e4b4e743ac08d7a0ecf173ef6
2019-03-20 01:08:00 -04:00
Davide Pesavento 5188f31d50 ci: update .travis.yml and jenkins scripts
Change-Id: I22034ef33a13910e2a5639deec4a5609b5a6ad99
2019-03-18 19:22:12 -04:00
Davide Pesavento 0d837e3f2a ndn::util::scheduler => ndn::scheduler
Refs: #4883
Change-Id: I4049fdd424b6037b754b0d0a0e740667b82298e6
2019-03-17 15:04:42 -04:00
Junxiao Shi c490212fb2 logic: use ScopedEventId
refs #4698

Change-Id: Ic5b4cd3327a690693eb416be31c25ed95516ab99
2019-02-12 07:33:21 -08:00
Junxiao Shi 8e4e76d3ff logic+socket: use PendingInterestHandle and RegisteredPrefixHandle
refs #4316, #3919

Change-Id: I0ddde90dddd235535faab6a27e67c57d0767aa07
2019-02-08 15:25:08 -07:00
Davide Pesavento fae9def359 build: various updates
* Upgrade waf to 2.0.14
 * Sync default compiler flags with ndn-cxx
 * Simplify compilation of unit-tests

Change-Id: I94865d405240c181dd4cfdd1cb730b756ad5166a
2019-01-30 10:37:24 -05:00
Ashlesh Gawande 9a306fe0a9 logic: use properly seeded rng via ndn::random::getRandomNumberEngine
Change-Id: I2a3a84b62ef9b21857097ce6a56fed92f8ddea86
2019-01-14 16:52:29 -06:00
Alexander Afanasyev e19f3f6b5a Prepare release 0.5.2
Change-Id: I32adf57b09e27107b87f293bb785d6f67db4b558
0.5.2
2018-10-17 08:00:15 -07:00
Ashlesh Gawande 1d1092d356 Transition to v0.3 format
Set CanBePrefix on interests
Remove remaining exclude filter logic

refs: #4691, #4684

Change-Id: I6d1b23ba9973f5b54ba49e5122b18ac0d9f88720
2018-08-05 11:04:15 -05:00
Davide Pesavento 4a9395bb6e build: require gcc >= 5.3 and switch to C++14
Change-Id: Ifb805ced42e9f8aedce473c1fe91f68b27acefec
Refs: #3076, #4462
2018-06-06 16:28:16 -04:00
Alexander Afanasyev e374e7000c Prepare release 0.5.1
Change-Id: I6355c350822fa5de1f68db6d205ca2ba4044b0dc
0.5.1
2018-05-06 20:47:13 -07:00
Eric Newberry e87d8e2c4a build: find Boost lib architecture automatically
refs #4573

Change-Id: If1778e8479a325bdcc29255e42d82a83f98d7a6f
2018-04-05 22:04:02 -07:00
Ashlesh Gawande db862e01c9 src: Fix compilation after ndn-cxx marked Component explicit
Change-Id: Id74423ea8144a16df63729153eba06f9f7943d1e
2018-03-30 17:15:08 -05:00
Eric Newberry d74b6977ca docs: only use sphinxcontrib-doxylink on Python 3
disable sphinxcontrib-googleanalytics

refs #4553

Change-Id: Idf9bb27e2ec98d30f1fb16394552d87ffc6dc471
2018-03-26 15:18:23 -07:00
Nick Gordon 0b3beaba0c logic: Don't shutdown face when destructing Logic instance
refs: #4525

Change-Id: I3a50b818c6553d08fc807869107e53f55775c43d
2018-03-22 08:08:46 -04:00
Alexander Afanasyev a3aad847a5 Remove obsolete parts
Change-Id: I6794afc88f863ace988d2953bbd83bf277f4eb41
2018-03-11 10:53:55 -04:00
Alexander Afanasyev 40491df37b build: update waf to version 2.0.6
Change-Id: I9cb1f2dbd01312a0b113dd33a4ca9fae344b087c
2018-03-11 10:53:55 -04:00
Alexander Afanasyev f5fca3a95d Prepare release 0.5.0
This commit also upgrades waf to version 2.0.6

Change-Id: I13fa30b1ae405bb2a2b43aa124b1dd8ca701ddea
0.5.0
2018-02-22 13:07:05 -05:00
Alexander Afanasyev bf5bc6cb74 Allow override of the session number (required by NLSR)
Change-Id: Ifb08868d6a640518aa826d3bec4546dc4e001dfa
2018-02-19 11:42:18 -05:00
Alexander Afanasyev fcbf81d234 logic: Disable use of exclude
Change-Id: I8c41f6e56476cbd0c573c93f2d7b7618cc6de6ae
2018-02-19 10:25:46 -05:00
Alexander Afanasyev 6ee98ff2f9 **Breaking change** Use bzip2 compression of sync data payload
Change-Id: I0a322e3268a5adc9d221c23c43fc6899c9dbf836
Refs: #4140
2018-02-15 08:21:45 -05:00