Commit Graph

290 Commits

Author SHA1 Message Date
Tom Henderson
93b60d0036 Update VERSION and documentation tags for ns-3.36.1 release 2022-05-23 11:31:14 -07:00
Tom Henderson
29d201eef8 doc: Fix copy-paste error in Docker section of Python API scanning 2022-04-25 18:23:51 -07:00
Tom Henderson
ccf26928d5 doc: Update manual for Python API scanning (gitlab-ci-local) 2022-04-18 14:04:33 -07:00
Tom Henderson
72c64cd500 doc: Update manual for Python API scanning 2022-04-17 15:46:35 -07:00
Tom Henderson
d511fdce79 doc: Update Python API scanning commands 2022-04-02 13:32:30 -07:00
Gabriel Ferreira
d3f9e0742f build, doc: add "--trace-performance" argument to ns3 configure 2022-04-01 14:50:21 -03:00
Gabriel Ferreira
cbb7628473 build, docs: fixes find_external_library header search paths and docs
Includes:
- search for headers in the library directory when using find_external_library
- prevent module processing (brite, click and openflow) from continuing if ${dependency_name}_FOUND is not set
2022-03-25 23:30:04 -03:00
Gabriel Ferreira
3ee4eb41cb build: fix remaining "lib" prefix removal steps in CMake 2022-03-17 21:48:01 -03:00
Gabriel Ferreira
2298d97452 doc: update build profile docs and add CMake profiling subsection 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
fbebb61a6f build: refactoring CMake and ns3
Includes:
- summarize ns3 commands on top-level --help
- add --quiet as a post-positional argument
- refactor verbose variable names
- aggregate ./ns3 --check-config|profile|version into ./ns3 show config|profile|version
- remove ns3 --check deprecated option
- set VERBOSE environment variable when building/running with -v/--verbose
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590#note_870520212
- enable verbose Makefiles when NS3_VERBOSE is enabled
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590
- introduce default build profile and refactor others
  https://gitlab.com/nsnam/ns-3-dev/-/issues/591
- use "-Og" in "CMAKE_BUILD_TYPE=Debug"/"ns3 -d debug"
- add back FindPython3 and fallback to FindPythonInterp if needed
- redirect pybindgen apiscan output to apiscan.log
- enable CMAKE_FIND_DEBUG_MODE with NS3_VERBOSE and CMake >= 3.17
- add search path logging to find_external_library
  Requires NS3_VERBOSE=ON. This is an anternative to CMAKE_FIND_DEBUG_MODE=true available in CMake >= 3.17
- remove C support
- reduce Int128 checks
- fuse Boost Units Quantity and SI header checks
- replace not found messages with skipping
2022-03-13 21:23:47 +00:00
Gabriel Ferreira
f728b1f8d0 doc: complement how CMake searches for external libraries 2022-03-13 21:23:47 +00:00
Tommaso Pecorella
1ada1e8db1 doc: add section on GitLab CI skip option 2022-03-05 03:24:03 +01:00
Gabriel Ferreira
4aedba2f00 build: CMake refactoring and fixes
Includes:
- fix int64x64 parsing order, remove cached entries in macros-and-definitions and in the docs
- update launch.json scratch names
- add a ctest entry per executable
- forward POSIX signal in ns3 (to get segmentation fault)
- prioritize Ninja generator instead of Makefiles
- add tests for unused utils source files
- remove dummy file and add tests to check for unused source files
- add missing examples and clean up unnecessary definitions
- missing feature entry for LTE used by pybindgen
- refactor CMake related filenames
- fix python libraries and include directories bindings
- fix brite example name
- Keep C++ compiler and flags when refreshing
- Disable precompiled headers when Ccache is found
- Mark find_external_library headers as advanced
- consolidate auxiliary files: build-status.py, _cache.py and .lock-waf_sys.platform_build files are merged into .lock-ns3_sys.platform_build
- scan .cc sources used in bindings and update docs
2022-02-21 22:18:42 -03:00
Gabriel Ferreira
e3575d031d doc: add profiling and gitlab-ci-local sections to the manual
Includes:
- Profilers
 - Memory profilers:
   - Heaptrack
   - Sanitizers
   - Valgrind
 - Performance profilers:
   - AMD uProf
   - Intel VTune
   - Linux's Perf with Hotspot
 - Syscall profilers:
   - Strace
 - Compilation profilers:
   - GCC -ftime-report
   - Clang -ftime-trace and ClangBuildAnalyzer
- Gitlab-CI-Local
  - GitLab CI introduction
  - Rootless docker
  - Using gitlab-ci-local
2022-02-18 17:06:26 +00:00
Gabriel Ferreira
42e320d676 doc: CMake docs 2022-02-08 18:40:09 -03:00
Gabriel Ferreira
33f2ee841b doc: update ns3 API 2022-01-19 16:25:03 -03:00
Tom Henderson
447bf043d1 stats: Simplify dia figures 2021-12-28 08:29:37 -08:00
Peter D. Barnes, Jr
d689d74798 doc: refactor Manual, add Simulator, Time and Scheduler sections 2021-12-28 06:53:15 -08:00
Tom Henderson
38ec28bf50 documentation: Update obsolete links in manual 2021-12-20 21:42:33 -08:00
Tommaso Pecorella
2d3389005b internet: further NSC cleanup 2021-12-17 13:59:48 -08:00
Tom Henderson
2c19b5b453 internet: Remove Network Simulation Cradle (NSC) 2021-12-10 09:07:03 -08:00
Stefano Avallone
6ec6fc2eb6 core: Add an attribute value storing a std::tuple 2021-12-06 10:49:40 +01:00
Gabriel Ferreira
3c604d5b2e Update docs with CMake and ns3 wrapper 2021-12-01 12:29:56 -08:00
chendaojin
e888cb168a doc: fix some typos 2021-11-25 22:53:03 +00:00
Tom Henderson
162b924130 doc: Remove sudo from command (reported by Gabriel Arrobo) 2021-08-20 14:42:44 -07:00
Tom Henderson
e780523fa6 doc: Update documentation about making releases 2021-07-14 12:14:27 -07:00
Tom Henderson
38bf93a8b5 documentation: Update Python API scanning section 2021-04-30 22:08:23 -07:00
Tom Henderson
5155713aac documentation: Update Python chapter of manual 2021-03-19 07:42:45 -07:00
Tommaso Pecorella
fda2c4f87d config-store: GtkConfig bug fixes 2020-12-25 00:19:20 +00:00
Steven Smith
dded72e02e build: (fixes #217) Guard compilation of example used as a test
* Added documentation to ExampleAsTestSuite on the need for this guarding
* Updated with Peter's patch for examples-as-test placeholders in wscripts
2020-06-08 09:35:50 -07:00
Alexander Krotov
d7a144bcf8 troubleshoot.rst: replace --command-template with --gdb and --valgrind 2020-06-01 07:18:03 +03:00
Steven Smith
3a15ad78b8 core: Add test suite support for running examples as tests with comparison of output for regression testing 2020-05-26 21:42:16 +00:00
Peter D. Barnes, Jr
9ddd31c6f9 More flexible create-module.py script
Changed the default creation directory from src/ to contrib/
  Moved create-modules.py from src/ to utils/

Added two new optional command line arguments: --project and --use-src-dir
--project specifies a directory name or path under which the new modules
will be created.
--use-src-dir directs the script to create new modules in the src
directory instead of contrib.  This argument cannot be combined
with --project.

Updated contrib/wscript to search for modules at
arbitrary depths instead of just the child directories under
contrib.

Assume the following directory structure:
contrib/
  project1/
    module1/
      wscript
    module2/
      wscript
  project2/
    sub_project1/
      	module3/
        	wscript
      	module4/
        	wscript
    sub_project2/
      	module5/
        	wscript
      	module6/
        	wscript
    data/
  module7/
    wscript

waf configure will discover the following modules under contrib:
project1/module1
project1/module2
project2/sub_project1/module3
project2/sub_project1/module4
project2/sub_project2/module5
project2/sub_project2/module6
module7
2020-05-20 13:55:28 -07:00
Peter D. Barnes, Jr
e4e7818e27 doc: fix sphinx warnings 2020-05-20 13:47:38 -07: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
hax0kartik (GCI 2019)
50423cf34b doc: Add Utilities chapter to the Manual 2020-02-26 14:00:55 -08:00
Peter D. Barnes, Jr
a9b201bc22 doc: Fix Sphinx warnings 2020-02-26 13:52:51 -08:00
Tommaso Pecorella
cf8ad56ced Add file name pattern matching to tests 2020-01-09 14:03:13 +01:00
Tommaso Pecorella
ad04db179a Remove references to unused BVT tests 2020-01-09 13:54:32 +01:00
Tom Henderson
779ff1435c documentation: Align other configuration files with commit 06865c73 2019-11-06 13:16:23 -08:00
Rediet
a9c54ea956 wifi: Use wifi- prefix for all test-suites and examples
Will enable easier wildcarding
2019-10-08 12:41:32 -07:00
Mohit P. Tahiliani
e026a70c7d doc: Minor updates and fix typos 2019-10-02 15:57:15 +00:00
Tom Henderson
85212c63cd docs: Update git workflow and release procedure 2019-09-18 13:20:52 -07:00
Tom Henderson
c0997bc821 build: (works around #14) add Waf option to run without building 2019-04-03 15:34:32 -07:00
Tom Henderson
d82d059ab4 documentation: Fix block formatting 2019-01-07 13:22:18 -08:00
Manuel Requena
6d1405bda6 doc: fix some typos 2018-12-18 17:20:44 +01:00
Natale Patriciello
3329e8737b doc: finished last things 2018-12-17 11:31:19 +01:00
Natale Patriciello
7c3388f09f doc: updated manual git section 2018-12-16 18:24:36 +01:00
Natale Patriciello
a9f19edb3b doc: moved contributing-with-git to working-with-git 2018-12-16 11:24:14 +01:00
Natale Patriciello
9784271f51 doc: finished manual 2018-12-16 11:20:00 +01:00