Commit Graph

1610 Commits

Author SHA1 Message Date
Tommaso Pecorella
241867e64f core: fix original bug that slipped back in bf4c4fa9 2022-09-17 02:10:01 +02:00
Tommaso Pecorella
bf4c4fa9ef core: partially revert c35d3f5d - some chars must not be escaped 2022-09-17 02:07:07 +02:00
Tommaso Pecorella
c35d3f5d0e core: (fixes #744) Fix escape characters in introspected command line 2022-09-16 22:51:39 +02:00
Gabriel Ferreira
3bb39bd746 build, core: check for experimental std::filesystem and link the additional library if needed 2022-09-11 17:17:02 -03:00
Gabriel Ferreira
c9c01e7e2b core: Replace OS specific implementations with std::filesystem 2022-09-10 14:41:43 +00:00
Tommaso Pecorella
a181599749 core: remove empty.h 2022-09-07 21:54:04 +00:00
Stefano Avallone
3e20515664 core: Use std::function to implement callbacks 2022-09-02 19:04:38 +00:00
Tommaso Pecorella
749eaf3763 core: fix doxygen in ptr.h 2022-08-30 20:30:42 +00:00
Stefano Avallone
4e7f549db8 core: Add namespace std to nullptr_t
Fix build with clang++ 14.0.6 on Linux
2022-08-20 15:31:34 +02:00
Tommaso Pecorella
c04254fc75 core: (fixes #705) prevents GCC 12 warnings 2022-08-18 17:53:33 +00:00
Peter D. Barnes, Jr
b17083d854 Refine Ptr general doxy 2022-08-18 08:59:30 -07:00
Peter D. Barnes, Jr
36a638287b Deprecate Ptr::Tester 2022-08-18 08:59:30 -07:00
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07:00
Peter D. Barnes, Jr
253cb0107e core: Add explicit Ptr<T>::operator bool(), op== for nullptr 2022-08-18 08:58:33 -07:00
Peter D. Barnes, Jr
58148e5b15 doc: Ptr<>::Tester documentation 2022-08-18 08:58:33 -07:00
Tommaso Pecorella
652e2fbef2 core: (fixes #720) remove timeval and related functions from WallClock 2022-08-16 20:59:26 +00:00
Peter D. Barnes, Jr
643d06ed90 core: add deprecated for ns-3.37 2022-08-08 21:17:15 +00:00
Gabriel Ferreira
3e132cc9bc core: add missing sys/time.h include
Fixes build on Alpine
2022-08-07 21:18:59 +00:00
Eduardo Almeida
efcf45cecb core (fixes #719): Remove duplicate type names 2022-08-07 15:10:52 +01:00
Eduardo Almeida
180d71b7fa core (fixes #560): Unify TypeNameGet() in type-name.h and traced-value-callback-typedef-test-suite.cc 2022-08-06 21:50:25 +00:00
Gabriel Ferreira
0def08e813 core: use std::chrono for real-time clock synchronization 2022-08-05 01:42:12 +00:00
Tommaso Pecorella
5e551a2180 core: (fixes #416) remove librt checks 2022-08-05 01:42:12 +00:00
Gabriel Ferreira
4e1d606af5 bindings: fix segmentation violation in python scripts
And move sample-rng-plot.py code to a main function
2022-08-02 00:27:47 -03:00
Gabriel Ferreira
b45b583f10 ci: switch pybindgen CI to cppyy 2022-08-01 21:24:02 +00:00
Gabriel Ferreira
36df81be90 bindings: replace pybindgen bindings support with cppyy bindings 2022-08-01 21:24:02 +00:00
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 2022-08-01 21:24:02 +00:00
Tommaso Pecorella
1dfc512dba doc: fix doxygen warnings 2022-07-16 21:47:32 -05:00
Peter D. Barnes, Jr
1bf56b7697 utils: (merges !1000) Rename and refactor bench-simulator -> bench-scheduler
Add --all option to benchmark all schedulers.
2022-07-13 17:32:56 -07:00
Gabriel Ferreira
820dbeab66 doc: fix wrong uses of ns3 run 2022-07-06 10:06:41 -03:00
Gabriel Ferreira
60e1e4032c fixing dead links 2022-06-18 17:57:05 -03:00
Stefano Avallone
70ea7891fc core: Get the full type name for template classes
Also add a macro for class templates with two template parameters.
2022-06-08 15:31:44 +02:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Eduardo Almeida
e9c98de72c Mark more deleted copy constructors and operator= with delete keyword (fixes #279) 2022-06-04 20:40:44 +01:00
Eduardo Almeida
24fe685340 Fix typos in deleted methods 2022-05-31 07:56:34 -07:00
Stefano Avallone
ceb714e175 core: Make all usual accessors available to AttributeContainerValue 2022-05-30 16:13:05 +00:00
Eduardo Almeida
90c777a65b Mark deleted constructors and operator= with delete keyword 2022-05-26 18:55:52 -07:00
Eduardo Almeida
201676fca7 Remove "using namespace std;" from codebase 2022-05-26 17:14:03 -07:00
Gabriel Ferreira
c9cf798e5f core: Fix int64x64-cairo.h bool operator 2022-05-26 17:44:50 +00:00
Gabriel Ferreira
215f83f9ec core, examples: fix rollback mistake with HAVE_SQLITE3 and core build 2022-05-15 00:12:25 -03:00
Tom Henderson
0097a0b756 core: Rescan bindings for previous commit 2022-05-14 08:48:00 -07:00
Stefano Avallone
ca59097075 core: Use std::optional to return an optional value 2022-05-14 08:48:00 -07:00
Gabriel Ferreira
6473b7ec98 build: rollback linking to globally searched libraries 2022-05-13 18:50:55 -03:00
Gabriel Ferreira
ea7ca9b690 build: include and link to globally searched libraries 2022-05-12 19:15:48 -03:00
Tom Henderson
6a202f88ee bindings: Rescan APIs for inclusion of STL features 2022-05-05 13:31:45 -07:00
Eduardo Almeida
e5e58ebdbc build: Update CMake to use system threads
With the help of Gabriel Ferreira and Tommaso Pecorella.
2022-05-04 19:47:39 +01:00
Eduardo Almeida
f4d296baaa core: Replace SystemCondition class with STL 2022-05-04 19:04:20 +01:00
Eduardo Almeida
85ad3961fc core: Replace SystemThread class with STL 2022-05-04 19:04:09 +01:00
Eduardo Almeida
b32c80ecb0 core: Replace SystemMutex and CriticalSection classes with STL 2022-05-04 19:00:50 +01:00
Gabriel Ferreira
4b83eb7085 build: Fix features and make pthread an explicit dependency
Includes:
- Include threads sources even when NS3_PTHREAD=OFF
- Do not include realtime sources if NS3_REALTIME=OFF
- Disable tap-bridge if emulation or realtime features are disabled
- Build tap examples when tap-netdevice is enabled
- Remove NS3_PTHREAD option and make it an explicit requirement
2022-04-23 13:21:13 -03:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07:00