Commit Graph

1188 Commits

Author SHA1 Message Date
Tom Henderson
8baac9e338 add comment about history of ns3/math.h 2014-11-07 11:51:49 -08:00
Peter D. Barnes, Jr.
1e1a1edbdc [Doxygen] various in src/core 2014-11-03 12:40:24 -08:00
Peter D. Barnes, Jr.
ee641c723b [Doxygen] Remove inappropriate uses of @internal 2014-11-03 12:33:13 -08:00
Peter D. Barnes, Jr.
cccfc167dd [Doxygen] Attribute implementations. 2014-10-21 16:14:35 -07:00
Peter D. Barnes, Jr.
9d326c107d [Doxygen] Attribute implementation. 2014-10-21 12:21:13 -07:00
Tom Henderson
5d2310d3d8 removed unused includes 2014-10-14 10:02:08 -07:00
Tom Henderson
a532ec20b1 remove deprecated test methods 2014-10-14 07:37:10 -07:00
Tom Henderson
c41ba4e79a rescan bindings 2014-10-13 21:25:21 -07:00
Tom Henderson
41b83c9851 remove deprecated RandomVariable class 2014-10-13 16:09:59 -07:00
Tommaso Pecorella
013d328e7d [PyBindings] rescan core module 2014-10-09 12:40:54 +02:00
Peter D. Barnes, Jr.
dd7996b57d Set default TypeId size. 2014-10-08 21:04:32 -07:00
Peter D. Barnes, Jr.
792c339edc [Doxygen] Include the size of registered types in the long description for the class. 2014-10-08 13:52:14 -07:00
Peter D. Barnes, Jr.
06777c4102 Missing NS_OBJECT_ENSURE_REGISTERED 2014-10-08 13:51:06 -07:00
Peter D. Barnes, Jr.
9346f805f2 Generate doxygen list of all LogComponents 2014-10-06 17:24:00 -07:00
Tom Henderson
d471d382ac rescan bindings 2014-10-07 12:19:52 -07:00
Tom Henderson
1ba5df7bc3 add doxygen 2014-10-06 16:32:44 -07:00
Tom Henderson
d00ccf814c add missing GPLs 2014-10-06 10:24:56 -07:00
Peter D. Barnes, Jr.
cc56e83767 TracedValue callback function signatures. 2014-10-02 21:17:48 -07:00
Peter D. Barnes, Jr.
24144c56f9 Implementation for documenting TracedValue and TracedCallback signatures. 2014-10-02 21:05:15 -07:00
Tom Henderson
c9f4bc4e68 bug 1551 postfix: enable logging for functions outside namespace ns3 2014-10-01 20:50:46 -07:00
Peter D. Barnes, Jr.
bfdb6ef10a [Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 15:51:00 -07:00
Peter D. Barnes, Jr.
3611bd11a5 [Bug 1551] NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 12:44:13 -07:00
Peter D. Barnes, Jr.
fdfece661a Bug 1972: documentation to clarify the behavior with repeated argument 2014-09-15 14:35:11 -07:00
Tom Henderson
45b1b3daa1 silence compiler warning 2014-09-12 18:19:47 -07:00
Alexander Afanasyev
5b1096a52a Bug 1673: Config::Set/Connect does not search for attributes in parent classes 2014-09-12 17:34:43 -07:00
Tom Henderson
161c703a1f test case for config path attribute search on parent classes (bug 1673) 2014-09-12 17:42:12 -07:00
Peter D. Barnes, Jr.
070e2da241 Bug 1964: GetInteger overflow 2014-09-12 13:03:06 -07:00
Tom Henderson
3048ebcced regression test for bug 1964 2014-09-12 12:55:00 -07:00
Natale Patriciello
b4a48d02b2 GT_OR_EQ and LT_OR_EQ macros for testing 2014-09-04 15:17:22 -07:00
Peter D. Barnes, Jr.
e34b13367b Show default attribute value in command line example - cleanup 2014-08-18 16:00:42 -07:00
Tommaso Pecorella
fb985d0860 Show default attibute value in command line example - fix 2014-08-18 23:45:04 +02:00
Peter D. Barnes, Jr.
97f06df836 Show initial values of arguments; show attribute value. 2014-08-18 12:36:07 -07:00
Peter D. Barnes, Jr.
06fe039cd9 Fix misspelled argument name; refactor to use LookupAttributeByName 2014-08-18 12:35:33 -07:00
Tommaso Pecorella
27e7935c6c [PyBindGen] Rescan core module 2014-08-15 14:27:15 +02:00
Peter D. Barnes, Jr.
b8b676a8d7 CommandLine Attribute shorthand 2014-08-14 12:46:11 -07:00
Peter D. Barnes, Jr.
fa19c3d5e3 [doxygen] CommandLine formatting 2014-08-14 12:41:38 -07:00
Peter D. Barnes, Jr.
60505541ec Sort output of the CommandLine::Print functions 2014-08-14 11:31:12 -07:00
Peter D. Barnes, Jr.
49bf6a544f [Doxygen] Fix errors; fix organization of Callback; organize Time. 2014-08-13 17:17:26 -07:00
Peter D. Barnes, Jr.
e4f944939c NS_LOG_CONDITION to control logging based on file-local state. 2014-07-17 15:34:57 -07:00
Tom Henderson
70f3450c5e update bindings 2014-05-30 10:07:22 -07:00
Peter D. Barnes, Jr.
1164685c68 [doxygen] Fix generation of Time docs 2014-05-15 16:09:51 -07:00
Mitch Watrous
d7bd267c7e Bug 1717 - Detect unsettable attributes 2014-04-29 22:38:13 +02:00
Tom Henderson
af31d858d2 add missing include 2014-04-24 17:38:36 -07:00
Tommaso Pecorella
1abd142de9 [Python bindings] rescan core module 2014-04-05 07:53:58 +02:00
Peter D. Barnes, Jr.
45530120f2 Simplify output of Times in a specific unit; see Time::As () 2014-04-02 18:47:04 -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
Andrey Mazo
9afed6b932 make various implementation-specific tables static const.
This should prevent possible name collisions, clean up ns3 namespace a little
and allow compiler to place them in a sharable read-only data section.
Also make various global variables static not to pollute ns3 namespace and to
force use of Attribute framework where appropriate.
2014-03-26 14:51:14 +04:00
Andrey Mazo
be090649a2 mark private global variables as static in log.cc 2014-03-23 16:51:32 +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