Commit Graph

16993 Commits

Author SHA1 Message Date
Eduardo Almeida
b2c5bcd032 doc: Remove emacs comment from coding-style.rst 2022-10-14 14:13:12 +00:00
Eduardo Almeida
453dd70612 core, internet, sixlowpan: Declare unused variables as [[maybe_unused]] 2022-10-14 13:51:50 +00:00
Eduardo Almeida
d03f12151e fd-net-device: Fix alpine builds about "redefinition of struct ethhdr" 2022-10-14 13:50:34 +00:00
Gabriel Ferreira
9e0c6b281d build: widen the dependencies search to streamline Bake use 2022-10-13 23:54:47 -03:00
Eduardo Almeida
2b01a49af3 ci: Add 3h timeout to code-linting jobs 2022-10-13 19:24:56 +01:00
Eduardo Almeida
3ac4bba216 ci: Clean clang-tidy job output to only show errors and save it as artifact 2022-10-13 19:23:20 +01:00
Pavinberg
4d2bf393fc internet: Fix index checking in Ipv[4,6]ListRouting::GetRoutingProtocol 2022-10-13 15:26:53 +00:00
Gabriel Ferreira
6ac24de27c doc: fix typos in Windows docs 2022-10-12 20:58:14 -03:00
Gabriel Ferreira
aee234645a build: remove bindings dependency on the lock, add opt-in installation 2022-10-12 13:13:11 -03:00
Gabriel Ferreira
8f250053b5 doc: add missing line to default Vagrantfile contents for Windows 2022-10-12 11:31:30 -03:00
Alberto Gallegos
0367e17772 lr-wpan: Queue pointer fixes and queue limits addition 2022-10-12 13:19:50 +09:00
Gabriel Ferreira
f957f3996e visualizer: dereference cppyy's smartptr to get the real netdevice 2022-10-11 19:52:28 -03:00
André Apitzsch
3a5fa97271 visualizer: Improve module import 2022-10-11 18:36:15 -03:00
André Apitzsch
e10586ee02 visualizer: Fix warning when using wayland
'window [..] is a temporary window without parent, application will not be able to position it on screen'
2022-10-11 18:36:15 -03:00
André Apitzsch
b44f4911fc visualizer: Remove unavailable GTK dialog flag 2022-10-11 18:36:15 -03:00
André Apitzsch
783dd68270 visualizer: Remove deprecated GTK stock images 2022-10-11 18:36:15 -03:00
André Apitzsch
45dc0ed604 visualizer: Remove Python 2 compatibility code 2022-10-11 18:36:15 -03:00
André Apitzsch
3480f0324d visualizer: Replace deprecated stock icon
https://lazka.github.io/pgi-docs/#Gtk-3.0/constants.html#Gtk.STOCK_MEDIA_PLAY
2022-10-11 18:31:40 -03:00
André Apitzsch
8a4ac80069 visualizer: Remove gnomedesktop dependency 2022-10-11 18:31:40 -03:00
Gabriel Ferreira
82bbdfacb1 ci: Cleanup build artifacts after testing 2022-10-11 15:25:05 -03:00
Gabriel Ferreira
087e71393e core: Fix clang-tidy modernize-use-nullptr warnings 2022-10-10 23:31:12 -03:00
Gabriel Ferreira
23872428f0 build: update NS3_CLANG_FORMAT and NS3_CLANG_TIDY messages to throw error when not found 2022-10-10 23:31:12 -03:00
Gabriel Ferreira
1c417da685 docs: enable doxygen CREATE_SUBDIRS and DOT_MULTI_TARGETS
The first option is nicer to slow filesystems and the second speeds up the build by reusing the same Dot (graphviz) process for multiple steps of a single target
2022-10-10 20:09:59 -03:00
Gabriel Ferreira
d3b011b0db CI: add Github CI jobs for Windows, MacOS, code coverage and CodeQL 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
72240683a6 doc: Windows section
Includes:
- Native Windows shells usage (CMD/PowerShell)
- Unix-like shells (Msys2/Bash)
- Installation instructions
- Packaging instructions for Docker container and Vagrant VM
2022-10-10 20:09:59 -03:00
Gabriel Ferreira
67c512c3ef internet, sixlowpan: use win32-internet.h as an alternative to netinet/in.h and sys/socket.h 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
a29d8ad552 internet: add win32-internet.h internet header wrapper
Undefines colliding symbols defined in winsock2.h.
2022-10-10 20:09:59 -03:00
Gabriel Ferreira
19433392de core: rework RUNNING_ON_VALGRIND to support Windows in int64x64 tests 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
cf96b77c12 core: trim short program name for Windows compatibility 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
d88afc4379 core: replace 32-bit lround (Windows) with llround in Time constructor 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
529d30b0da core: handle sigaction on Windows 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
10673c56e9 core: capture example-as-tests return code directly from ns3 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
83099b7bda core: add win32-fd-reader 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
14c4221f15 core: rename unix-fd-reader.h to fd-reader.h 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
881f64017f build: support "private" headers (unlisted in module headers) 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
4d8ef16f60 build: remove C++ format checking tests from test-ns3.py 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
49430233ee lte: add missing <map> header to lte-spectrum-value-helper.h 2022-10-10 20:09:59 -03:00
Eduardo Almeida
78984d28b9 doc: Minor adjustments to coding-style.rst 2022-10-10 19:25:49 +01:00
Eduardo Almeida
f115e188bd gitignore: Update scratch/ .gitignore to not exclude itself 2022-10-09 22:45:49 +00:00
Eduardo Almeida
68855672f9 gitignore: Create dedicated ".gitignore" for .vscode/ 2022-10-09 22:45:49 +00:00
Eduardo Almeida
05e28c23ee utils: Find default clang-format in check-style-clang-format.py 2022-10-09 18:56:11 +00:00
Eduardo Almeida
facde1d432 utils: Find latest clang-format versions first in check-style-clang-format.py 2022-10-09 18:55:46 +00:00
Eduardo Almeida
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Tommaso Pecorella
b0c841f63f core, lte: Fix Doxygen warnings 2022-10-07 20:02:16 +00:00
Eduardo Almeida
ebb596910c Fix remaining clang-tidy warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
afb0f160d4 Fix clang-tidy performance-faster-string-find warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
c1e7757315 Fix clang-tidy readability-isolate-declaration warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
f65238a0db Fix clang-tidy readability-string-compare warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
1b78ecc117 Fix clang-tidy readability-braces-around-statements warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
f87b53bbc5 Fix clang-tidy modernize-use-emplace warnings 2022-10-07 11:48:11 +00:00