58 Commits
Author SHA1 Message Date
Davide Pesavento 1af7949d1b build: require boost >= 1.71.0
Refs: #5276
Change-Id: I287a52dab0212d1ce0da77afb563554214cac68a
2023-09-22 15:45:21 -04:00
Davide Pesavento 9330c2ee49 build: more accurate Boost lib dependencies
See also named-data/ndn-cxx@5686c51b87

Change-Id: I33cfbf95ed267c6a549a934185bcb610c0c34a80
2023-09-14 21:38:02 -04:00
Davide Pesavento 48dbab6de8 tests: follow DummyClientFace namespace change
Change-Id: Ia2ca95d8621e264747b299d1ecd5405bca0dd5af
2023-08-12 16:06:52 -04:00
Davide Pesavento ebc0275572 tests: fix compilation with latest ndn-cxx
Change-Id: I32579dd584efee508c862b3d5f2f1bdad7487bab
2023-05-09 15:37:05 -04:00
Davide Pesavento 8663ed1c21 build: migrate to C++17
Change-Id: Ic5c01274f62556764ea96fc232cf3d835c4ab659
2022-07-23 13:51:24 -04: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 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 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
Davide Pesavento 0d837e3f2a ndn::util::scheduler => ndn::scheduler
Refs: #4883
Change-Id: I4049fdd424b6037b754b0d0a0e740667b82298e6
2019-03-17 15:04:42 -04: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
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 40491df37b build: update waf to version 2.0.6
Change-Id: I9cb1f2dbd01312a0b113dd33a4ca9fae344b087c
2018-03-11 10:53:55 -04: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 6ee98ff2f9 **Breaking change** Use bzip2 compression of sync data payload
Change-Id: I0a322e3268a5adc9d221c23c43fc6899c9dbf836
Refs: #4140
2018-02-15 08:21:45 -05:00
Alexander Afanasyev 890362930f Add ability to configure maximum packet size for sync data
Change-Id: Iab7913d094a1b5d64ef5cc8e00b2624993b59ab5
Refs: #4140
2018-02-14 17:09:10 -05:00
Ashlesh Gawande 4a9ecd5d51 logic: handle sending data packets larger than MAX_NDN_PACKET_SIZE
refs: #4140

Change-Id: I722604a55765ffc1f27639f4d21e69f118cec77d
2018-02-07 21:32:05 -06:00
Davide Pesavento 5473abe82c Use ndn::Buffer::data() instead of buf()
The latter is considered deprecated.

Change-Id: If92406ccedca391e3551b456491ebb47737f1bc1
2017-10-09 01:39:53 -04:00
Ashlesh Gawande 08784d4485 Fix compilation with latest ndn-cxx
Change-Id: Iaf468a75466134d18ecbb1fef66e4cb401d781a4
2017-09-09 10:43:22 -05:00
Ashlesh Gawande 687cf92fd4 Adapt to ndn-cxx security changes
refs: #4090, #4195, #3828

Change-Id: Ie1bf11d604af12d3b26fba24054ed67fe735ae7c
2017-07-28 10:51:58 -05:00
Ashlesh Gawande 8d1347ab07 socket: allow applications to set seq numbers
refs: #4032

Change-Id: I4ed379baaebc1643abf5864f7b674724f901e0e6
2017-04-11 12:40:57 -05:00
Alexander Afanasyev e9eda8a7e6 Remove use of deprecated code
Change-Id: Iad490b91ca7e28cbbfbf02a4c83ad6a9223354d4
Refs: #3988
2017-03-11 13:45:37 -08:00
Sonu Mishra 4d3a2e09ff logic: Implement Recovery mechanism
This commit implements the recovery mechanism that is critical for
handling network partitions.  When a node receives a sync interest with
unrecognizable digest, it goes into recovery.

Change-Id: I205687b9791b286cf6eca4c0159b49f744b38bed
Refs: #3929
2017-01-22 11:10:29 -08:00
Alexander Afanasyev 36eb3edb81 Replace logging with one provided by ndn-cxx
Change-Id: I737d517c6a042120f8d81ea9b77c209444dc2b89
2017-01-11 12:50:33 -08:00
Alexander Afanasyev f3192eb789 build+ci: Upgrade build scripts, enable coverage and sanitizer flags
Change-Id: I825ea4fdf4f40c4af06b5667af432f1c0eab368d
2017-01-11 12:06:21 -08:00
Junxiao Shi 0c7f56ad29 tests: don't use makeDummyClientFace
refs #3383

Change-Id: I510e17d2aeef1739d50c680a251e1d7dd3a5a26a
2016-07-14 15:27:14 +00:00
Yingdi Yu 372697f937 build: remove unnecessary dependency on protobuf
Change-Id: I1443710479945e5a24bc63f1418d4c7db813ff79
Refs: #2475
2015-02-09 15:09:39 -08:00
Qiuhan Ding fb8c9e0b7e tests: move integrated tests into unit tests
Change-Id: Ifed29e53091ca430582b1c2e7f3514e02d7c8d14
2015-01-30 14:04:55 -08:00
Qiuhan Ding d71a08a9ba remove scheduler in unit test InterestTableTest
Change-Id: I82df733ebbd3d848e1ca550a648614af234d0d0d
2014-12-30 22:55:55 -08:00
Qiuhan Ding 8c095fd188 logic: allow manipulating multiple nodes in single logic
Change-Id: Iaa2a2b08e891d41c9aa71c13ffc531bef406b6d8
2014-11-25 09:37:32 -08:00
Alexander Afanasyev 3573e131d2 build: Fix compilation against the latest ndn-cxx
Change-Id: I240628743aa00715b48993903f2831150ef6e7f3
2014-11-18 10:15:34 -05:00
Yingdi Yu 906c2eab6d build: Always build in C++11 mode.
Change-Id: Id8c26bc5951a0b60c4f2f0868ad0167b2f0d56af
Refs: #2103
2014-11-02 16:03:47 -08:00
Yingdi Yu 31ad44cf14 Fix socket
Change-Id: I0076010933c0edd3f5a0960ca55e02e5fff809be
2014-10-17 17:06:19 -07:00
Yingdi Yu f7ede412d3 Fix logic
Change-Id: I7bfb72e8bb245fab3e9a9d575abc7217bbae86d0
2014-10-17 14:37:03 -07:00
Yingdi Yu 1c4ba9a324 Fix InterestTable
Change-Id: I203e9a28ec2e6c7a699df25fb00919172e20e1d0
2014-09-20 23:19:44 -07:00
Yingdi Yu 6f79778852 Fix DiffState
Change-Id: Id4d48a263e60a1d7416a8181e19e1db0f5d0d67c
2014-09-10 10:11:25 -07:00
Yingdi Yu d514c17845 Fix State
Change-Id: Ifced47b044cfd994eeaf53991f516ef702dd8eaa
2014-09-10 09:30:21 -07:00
Yingdi Yu 274a2272bb Fix LeafContainer
Change-Id: Ie708e64c1d30751d902f99d17ce0cae0c8d5d08a
2014-09-10 00:23:55 -07:00
Yingdi Yu dea99beeb6 Simplify Leaf and its sub-classes.
Change-Id: I711db26bedee2bebdd39ffd8b637fa8918c16ff9
2014-09-10 00:23:55 -07:00
Yingdi Yu b20ae8125c test: Disable test cases
All test cases are disabled temporarily. We wil fix them one-by-one in later commits.

Change-Id: I16c20fa86cd9472f48125210b89805c865af79e1
2014-08-26 15:58:23 -07:00
Alexander Afanasyev 7eb5911450 build: Update of waf and waf-tools (fixing boost detection on some platforms)
Change-Id: I35ec6db068ee5f309a5af6f2e2e0b9b43430969f
2014-07-02 14:23:39 -07:00
Alexander Afanasyev 8722d87dcf src: Update license to GPL 3.0
Change-Id: I79d18746f51f630dc78b0b97b8081bb9c8dce5d5
2014-07-02 13:01:39 -07:00
Alexander Afanasyev 7fe59830f4 build: Fix compilation errors and deprecation warnings
Change-Id: Ibbe2d30ced038f0c46a8669b5957b68c4f265350
2014-07-02 12:17:46 -07:00
Yingdi Yu 7c64e5c3a8 build: == Dependency change == ChronoSync now depends on ndn-cxx library 2014-04-30 14:10:08 -07:00
Yingdi Yu a873d64541 security: Fix compile problem caused by changes in Validator constructor
Change-Id: Ia0132ef46e1894c4468d922f6dd4a802d23c9d7f
Refs: #1481
2014-04-15 21:31:33 -07:00
Yingdi Yu 6e1c9cda36 time: adapt to the new API time structrue 2014-03-25 12:59:59 -07:00
Yingdi Yu d4ef5d3bd5 routing: Add routable prefix support
Change-Id: I31c860adf7aa985b96063dbf5444f308e5ea0b21
2014-03-01 02:02:01 -08:00
Yingdi Yu aed0f3e954 security: Add security switch in SyncSocket
Change-Id: I65b8fb17ff1794cfdb0ffc6e724b743e6b1945bb
2014-02-28 14:54:16 -08:00
Yingdi Yu 3da10fe5a7 security: Integrate certificate exchanging into sync
Change-Id: I6ea284b0683d75013f6b72845d894eaed29e468c
2014-02-27 16:37:34 -08:00
Yingdi Yu 0eee600916 security: Add Validator
Change-Id: Ib97bbb1a95f43684f14f02d0e50b1b6b6f93979b
2014-02-25 16:19:16 -08:00