Commit Graph

159 Commits

Author SHA1 Message Date
Steve Smith
12a3af0e02 build: Updating Waf 1.8.19 to 2.0.9
*) Platform was no longer recognized as a attribute of Options.  Used waf
Utils call to obtain unversioned platform name.

*) Task classes renamed from <taskname>_task to <taskname>.

Waf was not finding the classes when named with _task suffix.

*) Waf removed check option for 'type_name' check.

Added explicit embedded code snippet based on previous Waf versions to perform uint128 checks.

*) Waf source attribute is now strings, need to convert to nodes to retrieve parent node.

# Orig 1.8.19 testdir = self.source[-1].parent.path_from(self.bld.srcnode)
testdir = self.to_nodes(self.source[-1])[0].parent.path_from(self.bld.srcnode)
2018-08-24 18:02:14 -07:00
Peter D. Barnes, Jr.
8d7160380e DES Metrics implementation. 2016-09-02 22:40:07 -04:00
Siddharth Santurkar
b5fde4107c port wscripts, test.py, and waf-tools to Python3 2015-09-03 21:14:55 -07:00
Peter D. Barnes, Jr.
f7311ec17a Build profile macros 2015-07-28 16:33:35 -07:00
Peter D. Barnes, Jr.
aa14800121 Add NonCopyable, refactor Singleton. 2015-07-21 16:21:49 -07:00
Tom Henderson
41b83c9851 remove deprecated RandomVariable class 2014-10-13 16:09:59 -07:00
Andrey Mazo
210aefc777 Bug 1170: Formulate best practices for dealing with unused debug variables.
Fixed clang-3.4 unused function warnings in optimized builds like the following:
"""
../examples/energy/energy-model-example.cc:39:1: error: unused function
'PrintReceivedPacket' [-Werror,-Wunused-function]
PrintReceivedPacket (Address& from)
^
1 error generated.
"""

Implemented "if (false)" trick inside NS_LOG* macros for optimized builds.

"sizeof()" trick might be a little better but it produces the following
warning with clang-3.4:
"""
../examples/energy/energy-model-example.cc:39:1: error: function
'PrintReceivedPacket' is not needed and will not be emitted
[-Werror,-Wunneeded-internal-declaration]
PrintReceivedPacket (Address& from)
^
1 error generated.
"""


Macros from log.h, that depend on NS3_LOG_ENABLE, were moved to log-macros-enabled.h and log-macros-disabled.h to make log.h smaller.
2014-03-23 19:08:54 +04:00
mmiozzo
efccb54a60 Add back forgotten rng testsuite (attibution: Peter Barnes noticed it) 2014-03-20 23:37:16 +01:00
Peter D. Barnes, Jr.
72cea610f0 [Bug 1882] int64x64 tests trigger valgrind bug 2014-03-14 15:31:15 -07:00
Peter D. Barnes, Jr.
022f3ad024 Enable selection of high precision int64x64 implementation at configure time. 2014-01-28 12:51:47 -08:00
Gustavo Carneiro
b2d76a1887 Add waf option to disable threads in build. 2013-10-13 18:20:40 +01:00
Peter D. Barnes, Jr.
4eda3b7ea1 Hashed TypeId
Speed LookupByName with std::map, add LookupByHash
Hash chaining, alphabetized
TypeId test suite
2013-07-18 12:01:05 -07:00
Peter D. Barnes, Jr.
705906ef5e Refactor namespaces 2012-11-13 16:38:48 -08:00
Peter D. Barnes, Jr.
94d417c60f Refactor to make include order explicit, without guards. 2012-11-13 16:34:34 -08:00
Peter D. Barnes, Jr.
a2019b566f Add FNV1a, manual documentation. 2012-11-13 16:30:38 -08:00
Peter D. Barnes, Jr.
1b09cf3092 General hash interface, with replaceable hash functions, defaults to murmur3. 2012-11-13 16:24:59 -08:00
Tom Henderson
201f7e084a move event-garbage-collector from tools module to core/helper 2013-06-18 10:05:15 -07:00
Tom Henderson
eb8227f290 make core/helper directory; move random-stream helper code there 2013-06-18 09:46:32 -07:00
Vedran Miletić
bbdb4231b3 Upgrade waf to 1.7.10 and fix included wscripts
This is a massive upgrade removing almost all pre-waf 1.6 script code. In addition, this does away with custom pkgconfig.py script for making .pc files and replaces it with waf's builtin mechanism.

Massive thanks to Alex Afanasyev for ideas and bugfixing, to Alina Quereilhac for bugfixing and testing, and to Tom Henderson for thorough testing.
2013-04-01 22:33:46 +02:00
Mitch Watrous
5ef163d11a Bug 1284 - ./test.py performance tests do not exist 2012-09-10 17:15:07 -07:00
Vedran Miletić
71e380b55e Bug 1237 - code cleanups related to includes 2012-09-01 20:57:21 +02:00
Mitch Watrous
3c3123dc4a update wscript 2012-07-10 21:51:44 -07:00
Mathieu Lacage
7fa5a5d5d8 initial patch to fix rng variability 2012-07-10 21:31:47 -07:00
Tom Henderson
4789d43a7a Remove Ns2CalendarScheduler event scheduler 2012-04-18 10:21:35 -07:00
Tom Henderson
7bebe48f82 only test threaded-simulator cases appropriate for the configuration 2012-04-10 16:07:39 -07:00
Alina Quereilhac
efe4c2ed68 Finally enable a thread-safe ScheduleWithContext 2012-03-22 18:05:13 +01:00
Mathieu Lacage
87309ec7f0 remove abstraction that is going to be broken 2012-03-22 15:27:50 +01:00
Andrey Mazo
cec21ade43 Bug 1170: Formulate best practices for dealing with unused debug variables. 2012-02-10 19:02:12 +04:00
Gustavo Carneiro / Vedran Miletić
ff86ca198d Bug 1327 - Version installed ns-3 files 2012-01-11 14:34:14 +00:00
Alexander Afanasyev
30e6359e85 Adding required PTHREAD dependency to RT library check. Adding missing include to ipv6-address.cc 2011-10-06 10:42:21 -07:00
Gustavo J. A. M. Carneiro
05b726cc71 Fix modules wscript usage of 'use' parameter 2011-09-22 13:03:25 +01:00
frederic.
5f040a5727 Export system-path include. 2011-09-19 09:29:55 +02:00
Gustavo J. A. M. Carneiro
0536f2416f More waf 1.6.7 build fixes 2011-09-12 14:54:27 +01:00
Gustavo J. A. M. Carneiro
c3059b6e68 Upgrade to waf-1.6.7, work in progress 2011-09-08 16:13:40 +01:00
Mathieu Lacage
c3618453d2 refactor ObjectVector generic code into a separate file and introduce ObjectMap. 2011-08-10 11:48:19 -04:00
Mathieu Lacage
f2d7c8f05a introduce Config::Reset 2011-08-03 13:58:10 -04:00
Mathieu Lacage
8a38290eb8 add support for --update-data to test.py, move test runner code to library for modular build, add support for hierarchical tests beyond the previous two-level hierarchy. 2011-07-29 03:38:59 -04:00
Mitch Watrous
1717d90e90 Add manual chapter for adding new modules 2011-05-12 14:13:48 -07:00
Mathieu Lacage
1ea256f802 forgot ns3 postfix 2011-04-19 14:11:12 +02:00
Mathieu Lacage
086d30464b install core-config.h 2011-04-19 08:25:57 +02:00
Mathieu Lacage
7b89cdcd95 merge 2011-04-17 13:58:26 +02:00
Mitch Watrous
6c0d5166e8 Make examples that were in samples directory run 2011-04-15 13:03:02 -07:00
Mathieu Lacage
7ff702d6b1 early work to make python bindings work again with ns-3-time 2011-04-13 09:08:05 +02:00
Mathieu Lacage
8c7070077b fix small bugs 2011-04-13 08:35:49 +02:00
Mathieu Lacage
a2fab881af merge with HEAD 2011-04-13 08:26:47 +02:00
Mitch Watrous
a0ab62ad90 Move tests from core module to its test library and update CHANGES.html 2011-04-06 15:32:12 -07:00
Mitch Watrous
b833bd577c Move tests from core module to its test library and update CHANGES.html 2011-04-06 12:20:27 -07:00
Mitch Watrous
3ea59bed63 Move tests from some modules to their test libraries 2011-03-25 12:55:27 -07:00
Mitch Watrous
28384516a2 Create separate module and test-module libraries 2011-03-18 10:58:21 -07:00
Josh Pelkey
403e100f56 remove unknown wscript entry 2011-03-18 14:43:00 -04:00