=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-14_02:42:00 (durk) /var/cvs/FlightGear-0.9/source/src/ATC/AIMgr.cxx
- Fix potential memory leak in AIMgr - Use SGSharedPointer to manage navaid database. The FGNavList classes are storing pointers to FGNavRecord object. In one case (DME and TACAN), objects were shared by by two lists, causing a double deletion. The SGShared pointer makes the explicit deletion of these lists obsolete, and handles memory deallocation in a safe and controlled way. - Possible fix for the ATC/tower.cxx destructor crash. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-14_02:42:01 (durk) /var/cvs/FlightGear-0.9/source/src/ATC/tower.cxx /var/cvs/FlightGear-0.9/source/src/Navaids/navdb.cxx /var/cvs/FlightGear-0.9/source/src/Navaids/navlist.cxx /var/cvs/FlightGear-0.9/source/src/Navaids/navlist.hxx /var/cvs/FlightGear-0.9/source/src/Navaids/navrecord.hxx - Fix potential memory leak in AIMgr - Use SGSharedPointer to manage navaid database. The FGNavList classes are storing pointers to FGNavRecord object. In one case (DME and TACAN), objects were shared by by two lists, causing a double deletion. The SGShared pointer makes the explicit deletion of these lists obsolete, and handles memory deallocation in a safe and controlled way. - Possible fix for the ATC/tower.cxx destructor crash. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-14_02:51:14 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx airportinfo(): add possibility to search for next airport of a particular type: "airport" (default), "seaport", "heliport" =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-14_05:05:43 (mfranz) /var/cvs/FlightGear-0.9/source/src/Airports/apt_loader.cxx fix off-by-one bug for airport type handling =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-14_08:28:54 (durk) /var/cvs/FlightGear-0.9/source/src/Main/globals.cxx More cleanup: * Valgrind reported an interaction between AIModels (AIBase::unbind() in particular) and other subsystems, i particular FGLight. Therefore we want to make sure we to take AIModels down first. Likewise, since the property tree is the backbone of FlightGear, it's probably best to take it down last * Remove valgrind loss record 135 from my todo list =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-14_08:28:55 (durk) /var/cvs/FlightGear-0.9/source/src/Navaids/navlist.hxx /var/cvs/FlightGear-0.9/source/src/Navaids/navrecord.hxx More cleanup: * Valgrind reported an interaction between AIModels (AIBase::unbind() in particular) and other subsystems, i particular FGLight. Therefore we want to make sure we to take AIModels down first. Likewise, since the property tree is the backbone of FlightGear, it's probably best to take it down last * Remove valgrind loss record 135 from my todo list =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-14_13:01:35 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.hxx revert meaning of third, optional argument, and add an optional fourth argument: setlistener(<property>, <func> [, <initial=0> [, <persistent=1>]]) This definition defaults to the old behavior. The fourth argument can be set to zero, in which case the function is only called when the node value has actually changed. It should really default to zero, but then all callers would have to be reviewed, which is a bit too dangerous "shortly" before a release. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-15_11:28:42 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.hxx - add argc/argv arguments to FGNasalSys::call - add support for childAdded/childRemoved listeners - use regular function arguments for property ghosts - warning-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-15_14:12:02 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx (depreciated) cmdarg() should return _node, not parent =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-16_02:55:46 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/main.cxx give FDMs one update cycle time before setting the fdm-initialized signal (YASim needs that to fully initialize the landing gear) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-16_10:01:29 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/main.cxx - use refcounted node pointers, so that no subsystem (nasal!) can invalidate them - add frame signal for debugging purposes =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-16_10:15:39 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.hxx /var/cvs/FlightGear-0.9/source/src/Scripting/nasal-props.cxx - listener: re-order and change callback function args; simplify code - make code look like Andy wrote it (so people know whom to blame :-) - nasal-props.cxx: warning-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-18_06:43:46 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.hxx - airportinfo(): don't bark when no airport was found (K. HOERCHER) - simplify listener purging and fix removelistener() return value for one-shot listeners - listener: inherit virtualness - s/handler/code/ in listener code to be consistent with NasalSys::call =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-20_12:16:47 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/nasal-props.cxx make node.getAttribute("refcount") return the SGSharedPtr's refcount (meant for debugging purposes) 2f585eeea02e2c79d7b1d8c4963bae2d ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel