Commit Graph

  • 22fec82616 replace CallbackTraceSourceBase with TraceSource base class Mathieu Lacage 2007-08-12 22:23:08 +02:00
  • fcfdb18914 add some debugging for disconnect Mathieu Lacage 2007-08-12 21:23:55 +02:00
  • 23d17d56e9 test object-based tracing Mathieu Lacage 2007-08-12 21:23:40 +02:00
  • 4d50d21f78 rewrite tests with test.h macros Mathieu Lacage 2007-08-12 21:08:28 +02:00
  • 722285bd8f rewrite Object tests with test.h macros Mathieu Lacage 2007-08-12 18:43:15 +02:00
  • 2bd8f97709 add NS_TEST_ASSERT_UNEQUAL Mathieu Lacage 2007-08-12 18:37:38 +02:00
  • b4aae47556 replace the adhoc mobility course change callbacks with a trace source Mathieu Lacage 2007-08-12 18:28:37 +02:00
  • 1d546dbd83 an untested interface id trace resolver Mathieu Lacage 2007-08-12 18:28:13 +02:00
  • 9fbb2607a1 use the abstract base of CallbackTraceSource to avoid pushing too much code in the header Mathieu Lacage 2007-08-12 18:27:52 +02:00
  • 442d4c9e35 add an abstract base to CallbackTraceSource Mathieu Lacage 2007-08-12 18:27:30 +02:00
  • de7999c932 constify Mathieu Lacage 2007-08-12 18:00:15 +02:00
  • 03cf88211e constify Mathieu Lacage 2007-08-12 17:59:56 +02:00
  • ec4d9bbcb9 use the Object::GetTraceResolver tracing support rather than the old adhoc tracing code Mathieu Lacage 2007-08-12 16:28:29 +02:00
  • 2df1260c87 remove const keyword and add a TraceConnect method which takes a TraceContext argument Mathieu Lacage 2007-08-12 16:27:42 +02:00
  • 6e762c1ae3 the TerminalTraceResolver is not used anymore by the CompositeTraceResolver implementation Mathieu Lacage 2007-08-12 16:26:53 +02:00
  • 2db3a828d6 rewrite the CompositeTraceResolver to use a simpler implementation, not based on callbacks Mathieu Lacage 2007-08-12 16:26:25 +02:00
  • c62cf3c82d rewrite the ArrayTraceResolver to use iterators Mathieu Lacage 2007-08-12 16:25:19 +02:00
  • 883d92940f global routing csma patch Tom Henderson 2007-08-10 13:33:45 -07:00
  • 5da9cd2205 remove spurious examples/simple-p2p.cc Tom Henderson 2007-08-10 13:49:41 -07:00
  • f53e19589d merge ns-3-csma with tip Craig Dowell 2007-08-10 10:52:30 -07:00
  • 8e6b694d6e move m_rxTrace to trace enet header Craig Dowell 2007-08-10 10:45:59 -07:00
  • c298892833 print length/type in hex Craig Dowell 2007-08-10 10:44:02 -07:00
  • 971997fbc1 use implicit conversion rather than private explicit conversion: fixes build Mathieu Lacage 2007-08-10 19:18:19 +02:00
  • 8b87d39c72 merge with trunk Mathieu Lacage 2007-08-10 16:28:09 +02:00
  • 1124cf3a03 add Object::TraceConnect, TraceDisconnect, and GetTraceResolver methods Mathieu Lacage 2007-08-10 16:05:20 +02:00
  • 3691c3cc98 fix includes Mathieu Lacage 2007-08-10 15:57:33 +02:00
  • 072734f7e8 move trace code to core module Mathieu Lacage 2007-08-10 15:53:43 +02:00
  • 0b34c336f7 convert TraceResolver * to Ptr<TraceResolver> Mathieu Lacage 2007-08-10 15:47:13 +02:00
  • 6b64959309 avoid problems by converting back and forth between pointers and references Mathieu Lacage 2007-08-10 15:47:00 +02:00
  • 704cab010d remove dead code Mathieu Lacage 2007-08-10 15:08:50 +02:00
  • 3153bfd916 add refcounting to TraceResolver Mathieu Lacage 2007-08-10 14:43:15 +02:00
  • 493c34dfb9 remove dead code Mathieu Lacage 2007-08-10 14:28:52 +02:00
  • 346cdbfb18 override Connect from ArrayTraceResolver Mathieu Lacage 2007-08-10 14:25:58 +02:00
  • cb9fdc66e3 override Connect and Disconnect in Composite and Terminal Trace resolvers Mathieu Lacage 2007-08-10 14:14:29 +02:00
  • 07aedd4bb2 allow resolvers to override Connect and Disconnect directly Mathieu Lacage 2007-08-10 14:13:47 +02:00
  • 8881f8bd91 avoid more spurious whitespaces during testing Mathieu Lacage 2007-08-10 13:24:36 +02:00
  • ee2b9fc885 avoid output of spurious whitespaces during testing Mathieu Lacage 2007-08-10 13:17:57 +02:00
  • 250109b215 remove old file Craig Dowell 2007-08-09 15:58:13 -07:00
  • aaa8a45658 rename to csma Craig Dowell 2007-08-09 15:56:28 -07:00
  • e683e1ab1c remove TraceContext argument from TraceResolver constructor and move it to Connect Mathieu Lacage 2007-08-09 21:25:23 +02:00
  • 23a116b96e merge with win32 tree Mathieu Lacage 2007-08-09 13:42:42 +02:00
  • 29014acd87 add missing space in default PacketPrinter Mathieu Lacage 2007-08-09 13:38:04 +02:00
  • c4ccb4a8ca merge Mathieu Lacage 2007-08-09 09:39:29 +02:00
  • b392b2a867 merge with trunk Mathieu Lacage 2007-08-09 09:36:59 +02:00
  • a7de7bcf31 Removing (again?) src/devices/p2p Tom Henderson 2007-08-08 20:56:59 -07:00
  • 371b1b01cb fix race in csma-cd channel Craig Dowell 2007-08-08 14:19:56 -07:00
  • 08062bc3c5 By popular demand, add the working waf snapshot to the ns-3 source tree. Gustavo J. A. M. Carneiro 2007-08-08 21:17:48 +01:00
  • bac11af00e Build all modules as a single ns3 shared library. Gustavo J. A. M. Carneiro 2007-08-08 21:07:52 +01:00
  • 69ccebd108 avoid initialization ordering problem Mathieu Lacage 2007-08-08 23:23:24 +02:00
  • 7f3f471f12 rename Bind to DefaultValue::Bind. fix bug 62 Mathieu Lacage 2007-08-08 16:41:59 +02:00
  • 9f7eb9eecb merge Mathieu Lacage 2007-08-08 16:29:26 +02:00
  • 86f50b36d6 merge Gustavo J. A. M. Carneiro 2007-08-08 15:25:00 +01:00
  • 0eca73234a WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file. Gustavo J. A. M. Carneiro 2007-08-08 15:10:36 +01:00
  • f346815b18 use fixed-width types to avoid portability problems Mathieu Lacage 2007-08-08 15:59:08 +02:00
  • 5e9325fad1 merge with trunk Mathieu Lacage 2007-08-08 15:49:41 +02:00
  • d668f7749f use NS_TEST_ASSERT macros Mathieu Lacage 2007-08-08 15:43:05 +02:00
  • a34d15da01 Revert experimental code in src/wscript accidentally committed. Gustavo J. A. M. Carneiro 2007-08-08 14:11:29 +01:00
  • 7bc4564029 merge with trunk Mathieu Lacage 2007-08-08 14:00:45 +02:00
  • f302d055e9 WAF: handle --doxygen before building; now only generates docs and does not build anything. Gustavo J. A. M. Carneiro 2007-08-08 12:36:59 +01:00
  • 9cb258d920 doxygen API documentation for TraceContextElement base class Mathieu Lacage 2007-08-08 13:13:24 +02:00
  • 4b8e9cf7d1 use full reference for \relates tag Mathieu Lacage 2007-08-08 13:13:09 +02:00
  • 9b33c46995 make sure assert macros are documented Mathieu Lacage 2007-08-08 12:54:21 +02:00
  • 6ae06014c5 fix dox warning Mathieu Lacage 2007-08-08 12:51:12 +02:00
  • 32cd28829a fix dox warning Mathieu Lacage 2007-08-08 12:34:18 +02:00
  • aceebd88bb fix dox warning Mathieu Lacage 2007-08-08 12:33:33 +02:00
  • 7ad0b27460 revert part of gustavo's patch for 'better breakpoints' Mathieu Lacage 2007-08-08 12:33:14 +02:00
  • 635374075f re-write header and trailer doxygen API doc Mathieu Lacage 2007-08-08 12:18:11 +02:00
  • d3672ded33 beautify packet API doxygen Mathieu Lacage 2007-08-08 11:27:17 +02:00
  • b5f68770a3 move header sample and build tag sample Mathieu Lacage 2007-08-08 11:20:49 +02:00
  • 1bd35c2b55 make sure udp-header.h is exported for main-packet-printer Mathieu Lacage 2007-08-08 11:20:35 +02:00
  • 1242430e2f improve print output Mathieu Lacage 2007-08-08 11:20:09 +02:00
  • 771bf92f78 Tag doxygen documentation Mathieu Lacage 2007-08-08 11:19:39 +02:00
  • 042f455113 add Packet::PrintTags and move tag documentation to tag.h Mathieu Lacage 2007-08-08 11:19:19 +02:00
  • 57464209b8 update reference to header sample code Mathieu Lacage 2007-08-08 11:18:49 +02:00
  • d6f35d7c5c make sure we include a space between tag printed output Mathieu Lacage 2007-08-08 11:16:41 +02:00
  • 1f73d0d258 remove dead code Mathieu Lacage 2007-08-08 11:16:11 +02:00
  • 7f9545754c sample packet tag code Mathieu Lacage 2007-08-08 11:15:45 +02:00
  • 1e22e6d203 rework the NS_XX_ENSURE_REGISTERED macros and make sure we typecheck the input to TraceContext::Add and TraceContext::Get methods Mathieu Lacage 2007-08-08 10:18:55 +02:00
  • 496f1d91d0 TraceContextElement::Register -> TraceContextElement::AllocateUid Mathieu Lacage 2007-08-08 10:06:58 +02:00
  • 5a38178db2 Trailer::Register -> Trailer::AllocateUid and Header::Register -> Header::AllocateUid Mathieu Lacage 2007-08-08 10:01:19 +02:00
  • 55b4291df0 introduce Tag base class similar to Header and Trailer Mathieu Lacage 2007-08-08 09:49:56 +02:00
  • 5c419ea37f remove Chunk base class Mathieu Lacage 2007-08-08 09:12:55 +02:00
  • 02ccad8fbc add unreachable statement to solve gcc-4.0.x compiler bug for optimized builds on os x Tom Henderson 2007-08-07 20:37:52 -07:00
  • 9a8e9dc34b merge with trunk Mathieu Lacage 2007-08-07 08:36:31 +02:00
  • e6aae4aa5f Fix compilation of BreakpointFallback on win32/mingw, which has signal.h but does not define SIGTRAP. Gustavo J. A. M. Carneiro 2007-08-07 00:16:13 +01:00
  • b8458246b8 fix opt warnings, let compiler do tail call optimization in csma nd, remove protected access from router iface Craig Dowell 2007-08-06 14:40:43 -07:00
  • 287416006a tweak ascii trace output Mathieu Lacage 2007-08-06 19:43:09 +02:00
  • 1a1dda1796 build with the new TraceContextElement API Mathieu Lacage 2007-08-06 19:40:18 +02:00
  • 3fd0b3ba42 merge with trunk Mathieu Lacage 2007-08-06 17:21:57 +02:00
  • 77712a63ad work in progress towards a working trace context Mathieu Lacage 2007-08-06 17:19:13 +02:00
  • caf9c39afa make the previous merge actually work Mathieu Lacage 2007-08-06 15:45:29 +02:00
  • 0db07e14d6 merge implicit conversion tree Mathieu Lacage 2007-08-06 15:32:27 +02:00
  • 988d512b77 Correct misspelled BreakpointFallback function implementation; fixes OS X build. Gustavo J. A. M. Carneiro 2007-08-06 11:55:17 +01:00
  • 06c632fa50 merge from trunk Mathieu Lacage 2007-08-06 12:35:06 +02:00
  • f750bcefab fix memory leak Mathieu Lacage 2007-08-06 10:29:28 +02:00
  • 4946bbcf97 main should return a value Mathieu Lacage 2007-08-06 10:29:19 +02:00
  • dcdca3338d fix memory leak Mathieu Lacage 2007-08-06 10:09:18 +02:00
  • fbbd5dc9a6 use the InetSocketAddress API for ip sockets Mathieu Lacage 2007-08-06 10:06:25 +02:00
  • 913319d9e3 merge packet socket with trunk Mathieu Lacage 2007-08-06 09:59:29 +02:00
  • 3919d03f97 merge with trunk Mathieu Lacage 2007-08-06 09:58:03 +02:00