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
Eduardo Almeida
4af0fe4b85
Fix clang-tidy modernize-use-nullptr warnings
2022-10-07 11:48:10 +00:00
Eduardo Almeida
be07b6487a
Fix clang-tidy modernize-use-override warnings
2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562
Fix clang-tidy modernize-redundant-void-arg warnings
2022-10-07 11:48:10 +00:00
Eduardo Almeida
27c86ec146
Fix clang-format guards in valgrind.h
2022-10-07 11:48:10 +00:00
Eduardo Almeida
d732248530
ci: Show all clang-tidy errors
2022-10-07 10:18:17 +00:00
Tom Henderson
ca9b33ded6
lte: Fix missing Doxygen of an example function
2022-10-06 14:18:10 -07:00
Eduardo Almeida
b34e5426a5
Add clang-tidy guards
2022-10-06 21:12:15 +00:00
Eduardo Almeida
2e2c3d7cba
doc: Add clang-tidy to "coding-style.rst"
2022-10-06 21:12:15 +00:00
Eduardo Almeida
2ce78604b9
ci: Rename "coding-style" stage to "code-linting"
2022-10-06 21:12:15 +00:00
Eduardo Almeida
d0fe6b613c
ci: Add clang-tidy CI job
2022-10-06 21:12:15 +00:00
Eduardo Almeida
a1ca545eea
Add .clang-tidy file
2022-10-06 21:12:15 +00:00
Stefano Avallone
ae984bcf48
wifi: Improve doxygen of GetMldAddress()
2022-10-06 23:00:22 +02:00
Eduardo Almeida
0c73646d9f
lte: Do not import std::vector to namespace
2022-10-06 20:41:07 +00:00
Eduardo Almeida
4c318dde52
Fix missing includes
2022-10-06 20:41:07 +00:00
Eduardo Almeida
371bb9e6f0
Convert tabs to spaces in Python scripts
2022-10-06 20:41:07 +00:00
Eduardo Almeida
6854e62de8
Convert tabs to spaces in files largely copied from elsewhere
2022-10-06 20:41:07 +00:00
Eduardo Almeida
3e39cb0724
Fix formatting of some files before clang-format application
2022-10-06 20:41:07 +00:00
Eduardo Almeida
fcb90b1ef6
Add clang-format guards to protect code formatting
2022-10-06 20:38:36 +00:00
Eduardo Almeida
3d9e2d39b7
doc: Convert tabs to spaces
2022-10-06 19:49:38 +00:00
Tom Henderson
c72bdf2c37
doc: Update enhancements.rst
2022-10-06 19:49:37 +00:00
Eduardo Almeida
7279f9c135
doc: Update coding style documentation to the new ns-3 style
2022-10-06 19:49:37 +00:00