Commit Graph

1124 Commits

Author SHA1 Message Date
Mohit P. Tahiliani
44c85d30ca examples: Update fifth.cc and the cwnd plot in the tutorial 2022-04-15 21:50:57 +05:30
Tom Henderson
43d7c91d3f documentation: coding style guidance for [[maybe_unused]] 2022-04-15 09:05:48 -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
Tom Henderson
f50ba3169c wifi: (fixes #470) Update default Wi-Fi standard to 802.11ax 2022-02-14 12:26:32 -08:00
Tom Henderson
92e80e50eb doc: Update recommended Doxygen version to 1.9 2022-02-11 13:30:01 -08:00
Gabriel Ferreira
42e320d676 doc: CMake docs 2022-02-08 18:40:09 -03:00
Peter D. Barnes, Jr
d368877d92 doc: disable multi-threaded Doxygen
This was causing seg-faults on Mac
2022-02-07 12:40:00 -08:00
Peter D. Barnes, Jr
ad46ec35a0 doc: update doxygen.conf to Doxygen v 1.9.3 2022-02-07 12:40:00 -08:00
Peter D. Barnes, Jr
692235b4a3 doc: fix menu bar formatting bug 2022-02-07 12:40:00 -08:00
Tommaso Pecorella
5b28481d4f ci: fix wrong exit code in doxygen CI 2022-02-07 12:11:17 -06:00
Tommaso Pecorella
1eac22c4b0 documentation: Doxygen post fixes 2022-01-31 22:19:11 +00:00
Gabriel Ferreira
41aacec626 build: CMake refactoring
Includes:
- refactor build_lib and build_lib_example macros
    - unify src and contrib macros
    - replace macro with function not to leak definitions
    - parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Gabriel Ferreira
0888aa9f4d CI: use ns3 for the doxygen job 2022-01-27 18:27:29 -03:00
Peter D. Barnes, Jr
0c40e7b4f7 doc: Update Doxygen configuration 2022-01-24 12:13:16 -08:00
Peter D. Barnes, Jr
3592c97e90 doc: put drop down menus always on top 2022-01-24 12:12:21 -08:00
Gabriel Ferreira
33f2ee841b doc: update ns3 API 2022-01-19 16:25:03 -03:00
Tom Henderson
4ee323f8fd build: (merges !837) Remove libgcrypt detection 2022-01-13 17:41:39 -08:00
Tommaso Pecorella
efdb2e21f4 Doxygen related fixes 2022-01-08 07:08:25 +00:00
Tommaso Pecorella
ee43ff631c doc: fix indentation warnings and py3 compatibility 2022-01-03 13:22:08 -06:00
Tom Henderson
12dee93f70 fd-net-device: (merges !811) Remove PlanetLab helper 2022-01-02 11:46:59 -08:00
Peter D. Barnes, Jr
5398e79dc4 doxy: put warnings built docs in separate directory html-warn 2021-12-28 08:47:40 -08: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
Eduardo Almeida
64099b3e50 doc: Fix typo in coding style doc 2021-12-27 20:04:54 +00:00
Tom Henderson
38ec28bf50 documentation: Update obsolete links in manual 2021-12-20 21:42:33 -08:00
Eduardo Almeida
1b6a5c0508 Update coding style for deleted constructors and operators 2021-12-18 16:41:52 -08:00
Tommaso Pecorella
2d3389005b internet: further NSC cleanup 2021-12-17 13:59:48 -08:00
Gabriel Ferreira
91e1ffbd87 doc: Remove ns3 verbose references 2021-12-11 12:04:15 -03:00
Tom Henderson
2c19b5b453 internet: Remove Network Simulation Cradle (NSC) 2021-12-10 09:07:03 -08:00
Tom Henderson
48d8bf45f8 Add wifi model subheader on changes across releases 2021-12-07 09:45:04 +01: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
49d6754d42 doc: Update coding style 2021-11-18 11:54:22 -08:00
Peter D. Barnes, Jr
6e5f36a795 doc: (fixes #469) Add license to file.
This is based on the following email exchange with the author of this
file:

From: Konstantin Yagola info@spicebrains.com
Subject: Re: License for Simple Javascript Drop-Down Menu v2.0
Date: November 6, 2021 at 12:50 PM
To: Barnes, Peter D. barnes26@llnl.gov
Hi Peter,

> Please let me know if this is acceptable.

acceptable.

-K.

On 05.11.2021 23:38, Barnes, Peter D. wrote:
> Hello Konstantin,
>
> I apologize but I have led you astray.  Apparently the license I suggested
> is not appropriate for source code.  An appropriate software license would
> be the “modified BSD (3 clause) license”, which is here:
> https://directory.fsf.org/wiki/License:BSD-3-Clause
>
> Please let me know if this is acceptable.
>
> Thanks again for your help in resolving this.
> Peter
>
> On Oct 13, 2021, at 9:15 AM, Konstantin Yagola <info@spicebrains.com> wrote:
>>
>> Hello Barnes,
>>
>> You are right, I'm not familiar with licensing )
>> This is old not complicated script, so you may maintain it based on fair use.
>> If you think "CC BY-SA 4.0” suits best - then ok.
>>
>> -Kind regards,
>> -K Y.
>>
>> On 12.10.2021 1:55, Barnes, Peter D. wrote:
>>> Hello Folks,
>>>
>>> I am one of the maintainers for the ns-3 Simulator project:
>>> https://www.nsnam.org
>>>
>>> It has come to my attention that we are using your Simple Javascript
>>> Drop-Down Menu v2.0, but the use license is not clear.
>>>
>>> Our use is here:
>>> https://gitlab.com/nsnam/ns-3-dev/-/blob/master/doc/ns3_html_theme/static/drop-down-menu.js
>>>
>>> As requested on your page, we have given attribution to your page.
>>> However, since the javascript is copyrighted, there should be a
>>> statement of licensing terms, or reference to a standard license.
>>>
>>> Could you please advise us of the license terms?  If you are not familiar
>>>  with licensing, perhaps you would consider one of the well-known Creative
>>> Commons licenses?  They have a short form which can help you pick one
>>> to meet your needs:
>>> https://chooser-beta.creativecommons.org
>>>
>>> Given  your encouraging statement
>>>
>>>> That's it! All you have to do now is add some hover styles and make it
>>>> your own. Enjoy!
>>>> If you want to use this script on your page, please place link to
>>>> http://javascript-array.com at one of your pages.
>>>
>>> might I suggest "CC BY-SA 4.0”.
>>>
>>> Please let me know if that is acceptable, or if you choose another license,
>>> and I will update our file to reflect that.
>>>
>>> Thanks,
>>> Peter
2021-11-11 18:03:46 +00:00
Tom Henderson
80134a570d Update references to RELEASE_NOTES 2021-11-03 18:01:13 -07:00
Tom Henderson
e3590d611a documentation: Add contributing guide 2021-10-27 07:32:11 -07:00
Ameya Deshpande
97d5f8d069 nix-vector-routing: Fix documentation
- The examples section formatting is fixed
- NMS image is shown properly
- Correct backward header compatibility note with
  header deprecation note.

Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-10-22 17:07:33 +00:00
Tom Henderson
fdba90a9bd documentation: Update ns-3 version in tutorial examples 2021-10-01 12:41:22 -07:00
Tom Henderson
ab476ddcde documentation: Add quick start section to ns-3 tutorial 2021-09-22 13:45:39 -07:00
Tom Henderson
162b924130 doc: Remove sudo from command (reported by Gabriel Arrobo) 2021-08-20 14:42:44 -07:00