Commit Graph

1430 Commits

Author SHA1 Message Date
Peter Barnes
1e2c2ad12d Murmur3 2020-05-05 15:47:30 +00:00
Tommaso Pecorella
2918a0d9b3 (core): Fix compilation error. 2020-05-02 11:25:51 +00:00
Peter Barnes
5879700a90 core: (fixes 2815) Config::Connect should throw warnings
This patch logs unconditionally when a trace path doesn't exist.

We also provide FailSafe versions of Config::Connect and
Config::ConnectWithoutContext. These should be used
when you can't be sure that a trace path exists in the current model.

This resolves the warnings from AnimationInterface::ConnectCallbacks()

Credit to "InquisitivePenguin (GCI 2019) <>" for diagnosing this issue,
opening the way to a solution.
2020-05-01 23:54:30 +00:00
Peter D. Barnes, Jr
2d1a05b405 core: fix ordering in PriorityQueueScheduler 2020-05-01 23:50:34 +00:00
Peter D. Barnes, Jr
df90b17e3b core: PriorityQueueScheduler: add complexity, move impl to .cc 2020-05-01 23:50:34 +00:00
ra1nst0rm3d
9c95f815ba core: implement Remove for PriorityQueueScheduler 2020-05-01 23:50:34 +00:00
Alexander Krotov
82b555582e core: PriorityQueueScheduler based on std::priority_queue
This has a stub for Remove, which just cancels the event.

In turn this causes the simulator test case to fail, because of
the sanity check at the end of DefaultSimulatorImpl::Run.
2020-05-01 23:50:34 +00:00
Alexander Krotov
4434c65c7a core: Event and EventKey comparison operators 2020-05-01 23:50:34 +00:00
Peter D. Barnes, Jr
b23be18b3b Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
885dc2297a core: add missing includes 2020-05-01 14:23:04 -07:00
Peter D. Barnes, Jr
5e624d5504 doc: Use the new COMMANDLINE macro in every example 2020-04-27 16:20:09 -07:00
Peter D. Barnes, Jr
20f5e442ed doc: Add CommandLine::Usage to the doxygen for every example 2020-04-27 16:20:09 -07:00
Peter D. Barnes, Jr
e070724fe4 core: regularize usage of getenv 2020-04-27 16:20:09 -07:00
Peter D. Barnes, Jr
da6e6b340f docs: various fixes for broken links, removed AttributeValue types 2020-04-27 16:20:09 -07:00
Peter D. Barnes, Jr
18d0e5742f core: fix failing enum test case 2020-04-11 09:57:49 -07:00
Peter D. Barnes, Jr
fddf3eaac4 doc: various doxygen fixups in core 2020-04-10 17:30:25 -07:00
Peter D. Barnes, Jr
2fb2ed1689 doc: use \pname{} instead of \p when referring to arguments. 2020-04-10 17:30:25 -07:00
Peter D. Barnes, Jr
6888c76550 core: refactor EnumChecker 2020-04-10 17:30:25 -07:00
Alexander Krotov
b0c443112f core: fix undefined behaviour sanitizer warning
m_information.push_back copies supportLevel value, so it should be
initialized to some valid value.
2020-04-09 22:51:32 +03:00
Peter Barnes
9c7ff4adba core: (fixes #168): change preprocessor symbol 'I' conflicting with <complex> 2020-04-07 20:51:57 +00:00
Peter D. Barnes, Jr
b98955f20a core: check-style for core/{examples,helper,test} 2020-03-27 16:40:58 -07:00
Peter D. Barnes, Jr
063d86c096 core: clear check-style -l3 errors 2020-03-25 15:18:01 -07:00
Alexander Krotov
78d7fa3d12 Add missing sys/select.h include
Required for select(), fd_set etc. on Alpine Linux.
2020-03-25 15:53:02 +03:00
Peter D. Barnes, Jr
f9b25ac56a core: CommandLine Callback typedef 2020-03-12 17:50:40 -07:00
Tommaso Pecorella
8d4297f245 core: Make Watchdog safe to delete 2020-02-27 08:49:12 +00:00
Tommaso Pecorella
cd1522e5d1 Fix (for real) NS_DEPRECATED_3_31 2020-02-16 10:11:41 +01:00
Tommaso Pecorella
52855374e2 Fix NS_DEPRECATED_3_31 definition for gcc 2020-02-15 21:50:40 +00:00
Tommaso Pecorella
6a27f55505 Add NS_DEPRECATED_3_31 to definitions 2020-02-15 19:21:09 +01:00
Tom Henderson
54593cee1b rescan all APIs 2020-02-11 18:14:45 -08:00
Eduardo Almeida
e906cde580 Implement additional operators for the vector class 2020-02-01 01:16:46 +00:00
Tommaso Pecorella
ad04db179a Remove references to unused BVT tests 2020-01-09 13:54:32 +01:00
Alexander Krotov
149f748cf9 core: assert that Ptr is not null on dereference
This way it is possible to catch errors even if the pointer is not actually dereferenced,
for example when it is used to call an object method or stored as a reference.
2019-11-11 19:48:22 +03:00
Alexander Krotov
29ba0867b0 core: Fix paper title in GammaRandomVariable documentation 2019-10-11 19:37:06 +03:00
Tom Henderson
80839b33e4 bindings: Rescan all APIs 2019-08-12 17:00:41 -07:00
Tom Henderson
0258405cc6 build: Upgrade scripts to Python 3 (many changes due to Ankit Deepak) 2019-08-12 16:55:34 -07:00
ZorazeAli
c001d59336 core: Enable NS_LOG_WARN in Config::Connect/Disconnect
see merge request nsnam/ns-3-dev!62
2019-05-17 19:56:23 +02:00
Alexander Krotov
95de59adae core: return non-const reference when a const Ptr is dereferenced
Address issue #47
2019-04-12 00:52:35 +03:00
Tom Henderson
d4cd46fbfe core: (fixes #43) Check if ObjectFactory has been configured 2019-03-31 09:54:35 -07:00
Gabriel Arrobo
dba4333f85 Fix various typos 2019-03-30 20:30:18 -07:00
Alexander Krotov
3ee1512428 core: fix return value documentation for TraceConnect/Disconnect 2019-03-12 16:19:07 +03:00
Natale Patriciello
441ae70c64 Example CI for ns-3 and Gitlab 2019-01-07 09:15:40 +01:00
Sébastien Deronne
71f95bb447 core: Fix potential compilation issue 2018-12-04 20:52:43 +01:00
Tom Henderson
3a7f6a1c06 bindings: Rescan all APIs 2018-11-14 11:53:21 -08:00
Alexander Krotov
c8a500f5a8 Remove duplicate semicolons 2018-11-07 16:54:53 +03:00
Alexander Krotov
a76867cf4d core: fix some documentation typos 2018-10-29 11:52:09 +03:00
Tom Henderson
ea4de5fcec Fix typos 2018-10-21 15:33:48 -07:00
Peter D. Barnes, Jr.
1edcd5ecd4 core: periodically show progress by elapsed simulation time, executed event count 2018-10-19 01:09:56 -04:00
Peter D. Barnes, Jr.
05cb0757bc core: Simulator::GetEventCount() 2018-10-19 00:59:43 -04:00
Peter D. Barnes, Jr.
4ed3987151 core: refactor LogTimePrinter, LogNodePrinter 2018-10-19 00:48:53 -04:00
Peter D. Barnes, Jr.
dff56925e5 core: time: replace int64_t operator/(Time,Time) with exact int64x64_t version,
add int64x64_t scaling.
2018-10-19 00:03:07 -04:00