Commit Graph

206 Commits

Author SHA1 Message Date
Tommaso Pecorella
63ebe3e674 [Doxygen] Clarify Simulator::Run() 2013-12-14 10:13:57 +01:00
Peter D. Barnes, Jr.
8ef0956af1 [Bug 1496] Finish the documentation.
Also amended scratch-simulator so printing the list of log
components works as advertised.
2013-12-12 14:42:43 -08:00
Peter D. Barnes, Jr.
8ef28580f8 [doxygen] fix errors 2013-12-11 15:20:29 -08:00
Vedran Miletić
df005f262e Introduce additional Time units (Year, Day, Hour, Minute) 2013-12-06 19:42:02 +01:00
Peter D. Barnes, Jr.
b6b1371fd1 [doxygen] Uan module 2013-12-04 13:29:04 -08:00
Vedran Miletić
a3e7cb04e6 Remove unused consts to fix building with Clang 3.4 pre-release versions 2013-11-24 23:48:49 +01:00
Peter D. Barnes, Jr.
5a2488e6db [doxygen] Suppress "warning: Member NS_LOG_COMPONENT_DEFINE is not documented" 2013-11-14 16:58:56 -08:00
Peter D. Barnes, Jr.
d75ff3559e doxygen] Suppress "warning: Member NS_OBJECT_ENSURE_REGISTERED is not documented" 2013-11-14 16:58:28 -08:00
Peter D. Barnes, Jr.
578f3a1f04 Fix doxygen module references 2013-11-14 16:52:11 -08:00
Tommaso Pecorella
2fa1712985 Doxygen fixes to Topology-read, Ipv6, and tcp-socket 2013-11-14 22:43:53 +01:00
John Abraham
6da37422ba bug 1792: call basic_ostream constructor 2013-11-12 10:36:14 -08:00
Peter D. Barnes, Jr.
10381f6af1 Print log component list alphabetically. 2013-10-28 15:10:24 -07:00
Peter D. Barnes, Jr.
4e6c8358f8 Logging wildcards: allow "***" as synonym for "*=**" 2013-10-28 15:04:01 -07:00
Peter D. Barnes, Jr.
f6e90ca97a [bug 1552] Storing log name inside LogComponent class (NS_LOG) as std::string 2013-10-28 14:50:08 -07:00
Vedran Miletić
f781366d2e Fix compilation with Clang 3.2 and newer versions, including Apple Clang 5.0
Clang 3.2 requires all class members to be used in the code; this patch either removes class members that are not used or adds NS_UNUSED/NS_UNUSED_GLOBAL around them. Thanks to Andrey Mazo and Tommaso Pecorella for review.
2013-10-20 12:46:27 +02:00
Peter D. Barnes, Jr.
05561c4e71 Fix Time class doxygen. 2013-10-18 16:25:06 -07:00
Peter D. Barnes, Jr.
41500833ab Fix aliasing bug in optimized static builds with gcc-4.4. 2013-08-30 12:33:03 -07:00
Peter D. Barnes, Jr.
94507fe6f1 bug 954: eliminate valgrind warnings 2013-08-21 15:27:21 -07:00
Peter D. Barnes, Jr.
3fb1d11a1e [Bug 954] Protect g_markingTimes with a mutex. 2013-08-16 11:10:19 -07:00
Peter D. Barnes, Jr.
eba69d2728 Handle showpos bug in gcc libstc++ 4.2. 2013-08-14 16:55:47 -07:00
Peter D. Barnes, Jr.
39f6b03211 Restore "x.0ns" to result of operator<< (Time) 2013-08-14 16:55:06 -07:00
Peter D. Barnes, Jr.
fbf500f9b0 Fix bug affecting conversion of Time::Min/Time::Max during Time::SetResolution 2013-08-14 16:54:22 -07:00
Peter D. Barnes, Jr.
ffcfd9de72 Trim trailing whitespace, doxygen comments 2013-08-14 16:53:41 -07:00
Peter D. Barnes, Jr.
85e9ba3b48 bug 954: Changing the simulation time resolution does not work well with attributes
v.3 Responding to code review comments

https://codereview.appspot.com/6821106/
2013-08-14 16:52:06 -07:00
Peter D. Barnes, Jr.
8695d856a1 Link to bug num in bug database with \bugid{num} 2013-08-15 12:01:57 -07:00
Peter D. Barnes, Jr.
4a6adc5e51 Make CommandLine print boolean defaults as text.
And
- clarify the documentation
- make example arguments more explicit
- make "--boolArg" toggle the value, not set to true (this enables
    toggle on default true values)
2013-08-07 10:36:45 -07:00
Peter D. Barnes, Jr.
cb27e3276b Silence erroneous strict alias warning from a gcc 4.4 bug
Casting \c (void*) triggers a strict alias warning bug
in gcc 4.4 (see \bugid{1738}).

In the murmur3 code, data is returned by
\code
  void Function (... , void * out)
  {
    ...
    *(uint32_t *)out = ...
  }
\endcode

which triggers the erroneous warning.

We suppress strict-alias warnings in this compilation unit.
(gcc 4.4 doesn't support the <tt>diagnostic push/pop</tt> pragmas,
so we can't narrow down the suppression any further.)
2013-08-14 12:56:31 -07:00
Alexander Afanasyev
47a985c9ca [PATCH] core: Extending public interface of CommandLine class 2013-08-13 23:19:31 -07:00
Peter D. Barnes, Jr.
c703785f9e Restore original casts, see bug 1738 2013-08-02 12:31:16 -07:00
Peter D. Barnes, Jr.
8831c14c0c Handle showpos bug in gcc libstc++ 4.2. 2013-08-01 16:26:07 -07:00
Vedran Miletić
e1f1e9a1ad Revert 097891ca7dea (Change upper-bounded TimeChecker to actually do what documentation says) and fix documentation instead 2013-07-26 21:24:35 +02:00
Vedran Miletić
19c09725a9 Change upper-bounded TimeChecker to actually do what documentation says 2013-07-26 14:17:48 +02:00
Peter D. Barnes, Jr.
d14530f0ca Fix unit conversion of negative Times
Thanks to Vedran for finding this.

Example:

  Time tneg = Seconds (-1);
  NS_LOG_UNCOND ( tneg << ", in s: " << tneg.ToInteger (Time::S));

produces

  -1000000000.0ns, in s: 18446744072

Correct result is

  -1000000000.0ns, in s: -1
2013-07-25 12:17:08 -07:00
Peter D. Barnes, Jr.
0ae8b1cb8d [Doxygen] src/core 2013-07-24 17:15:33 -07:00
Peter D. Barnes, Jr.
6385919add [Doxygen] Organize Core/Random Variables 2013-07-24 17:05:36 -07:00
Peter D. Barnes, Jr.
83e2874283 [Doxygen] Collect Attribute docs into Core/Attributes 2013-07-24 17:03:28 -07:00
Peter D. Barnes, Jr.
53c2bea724 [Doxygen] Move Debugging module to core 2013-07-24 16:42:51 -07:00
Peter D. Barnes, Jr.
3c12e54cb1 [Doxygen] use \internal 2013-07-24 16:31:58 -07:00
Peter D. Barnes, Jr.
77e292a965 Fix output of int64x64_t when value is near min
Old:

int64x64_t i = std::numeric_limits<int64_t>::min ();
std::cout << i;

produced:
--9223372036854775808.0

(Note doubled '-' signs)
2013-07-24 11:34:04 -07:00
Peter D. Barnes, Jr.
8196d37bc1 Fix strict aliasing warning. 2013-07-22 16:13:07 -07:00
Peter D. Barnes, Jr.
4eda3b7ea1 Hashed TypeId
Speed LookupByName with std::map, add LookupByHash
Hash chaining, alphabetized
TypeId test suite
2013-07-18 12:01:05 -07:00
Peter D. Barnes, Jr.
f49c7968a5 Change to Time::Min () and Time::Max ()
This avoids a conflict with a (pending) Time::MIN unit.
2013-07-15 15:08:10 -07:00
Peter D. Barnes, Jr.
9ee33b67ca Fix strict aliasing warning. 2013-07-15 14:19:57 -07:00
Peter D. Barnes, Jr.
82e00f603e Tweak Hash docs, fix manual index error 2013-07-11 17:20:11 -07:00
Peter D. Barnes, Jr.
8243868539 Remove obsolete typedef. 2012-11-13 16:44:26 -08:00
Peter D. Barnes, Jr.
83ccafd97d Document cached hash state, used for incremental hashing. 2012-11-13 16:42:50 -08:00
Peter D. Barnes, Jr.
4b9a304277 Delete obsolete comment. 2012-11-13 16:42:22 -08:00
Peter D. Barnes, Jr.
efe21f7763 Use uint32/64/_t instead of Hash32/64_t 2012-11-13 16:41:46 -08:00
Peter D. Barnes, Jr.
71f5e2d9ea Document origin of FNV1a code; fix type. 2012-11-13 16:41:15 -08:00
Peter D. Barnes, Jr.
6a6b5699b8 Incremental hashing, fix hash function ptr, additional test cases, check-style. 2012-11-13 16:40:29 -08:00