=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-07_12:35:15 (mfranz) /var/cvs/FlightGear-0.9/source/src/Environment/environment_ctrl.cxx /var/cvs/FlightGear-0.9/source/src/Environment/environment_ctrl.hxx
Anders GIDENSTAM: (backported from fg/osg) Fix for weather interpolation problem. AG: "With Stuart's help I've looked closer at this and I think I've tracked down the cause of the problem: At least on my computer the sort() call on line 234 in Environment/environment_ctrl.cxx sorts the vector entries by memory address instead of altitude, i.e. the custom comparison predicate is not used. This causes the tables of environment conditions to be reordered into a wrong order at some weather updates, depending, basically, on where the memory allocator places the objects. (Btw. why are they are freshly allocated for each update?)" =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-07_12:46:00 (mfranz) /var/cvs/FlightGear-0.9/source/src/Airports/runways.cxx better check all runways, not just the first one :-) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-07_14:27:06 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/fg_init.cxx save some startup parameters under /sim/startup/options/. options.cxx puts them under /sim/presets/ but they aren't save there, and as fgInitPosition and its subroutines overwrite them, we lose the information about what the user really wanted. This is a temporary solution -- it really belongs into options.cxx. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-10_14:24:19 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx setprop(): report error on writing to unwritable property =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-10_17:11:16 (mfranz) /var/cvs/FlightGear-0.9/source/src/FDM/JSBSim/models/FGLGear.cpp JSB: "Fixed uninitialized variables; patch by Anders Gidenstam" mf: backporting from JSB/CVS to fix serious gear problem =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-11_02:41:15 (mfranz) /var/cvs/FlightGear-0.9/source/src/AIModel/submodel.cxx don't write past array bounds =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-11_02:44:35 (mfranz) /var/cvs/FlightGear-0.9/source/src/Airports/simple.cxx /var/cvs/FlightGear-0.9/source/src/Airports/simple.hxx /var/cvs/FlightGear-0.9/source/src/Environment/environment_ctrl.cxx rename FGAirportSearchFilter::acceptable() -> ::pass() =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-11_02:44:36 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx rename FGAirportSearchFilter::acceptable() -> ::pass() =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-11_02:58:58 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx setprop(): make sure return value is always set =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-11_08:51:14 (mfranz) /var/cvs/FlightGear-0.9/source/src/Navaids/awynet.cxx prevent endless loop. The new awy.dat.gz has entries like line 2632 ... AMIBO 34.973889 021.658056 ARLOS 34.625278 023.000000 1 095 195 M871-MT E-MT W-N4 ... where unexpected ids follow (here E-MT W-N4). The loader didn't skipeol. The additional values are for a first quick&dirty fix just dropped. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-11_10:33:43 (mfranz) /var/cvs/FlightGear-0.9/source/src/Navaids/navlist.cxx cleaner & faster (don't use STL functions ::size() and ::end() in loop condition statements, don't use multiple vector array access via index) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-11_11:22:45 (mfranz) /var/cvs/FlightGear-0.9/source/src/Airports/apt_loader.cxx ignore strange 00 entry in apt.dat.gz as committed today; example: 00 12600 HONOLULU CNTR =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-12_05:20:57 (mfranz) /var/cvs/FlightGear-0.9/source/src/ATC/transmissionlist.cxx fix another creative char[] == "" comparison =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-12_12:24:49 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.hxx add new listener type: setlistner(<prop>, <func> [, <type=0>]); 0 -> trigger whenever property is written to (even if it's the old value; default) 1 -> like 0, but also trigger the function initially 2 -> trigger initially, but then only on changes =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-12_15:53:44 (mfranz) /var/cvs/FlightGear-0.9/source/src/Airports/runways.cxx - make weighting factors for search function with target heading permanent - add "good" offset as suggested by Thomas FOERSTER - minor tweaks =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-13_09:47:34 (durk) /var/cvs/FlightGear-0.9/source/src/Aircraft/replay.cxx /var/cvs/FlightGear-0.9/source/src/Aircraft/replay.hxx /var/cvs/FlightGear-0.9/source/src/Airports/runways.cxx /var/cvs/FlightGear-0.9/source/src/Cockpit/cockpit.cxx /var/cvs/FlightGear-0.9/source/src/Cockpit/hud_card.cxx /var/cvs/FlightGear-0.9/source/src/Cockpit/hud_gaug.cxx /var/cvs/FlightGear-0.9/source/src/Cockpit/hud_labl.cxx /var/cvs/FlightGear-0.9/source/src/Cockpit/hud_ladr.cxx /var/cvs/FlightGear-0.9/source/src/Environment/environment_ctrl.cxx Cleanup and Fixes: Memory Leaks (as reported by valgrind) * Instrumentation/gps.cxx (minor) * Gui/new_gui.cxx (minor) * Navaids/navlist.cxx (potentially major) * Main/globals.cxx (potentially major, but not seriously problematic) Moved timestamp debug printing from various subsystems, to SimGear base class. Miscellaneous sprintf -> snprinf changes. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-10-13_09:47:35 (durk) /var/cvs/FlightGear-0.9/source/src/Environment/environment_ctrl.hxx /var/cvs/FlightGear-0.9/source/src/GUI/new_gui.cxx /var/cvs/FlightGear-0.9/source/src/Input/input.cxx /var/cvs/FlightGear-0.9/source/src/Input/input.hxx /var/cvs/FlightGear-0.9/source/src/Instrumentation/gps.cxx /var/cvs/FlightGear-0.9/source/src/Instrumentation/heading_indicator.cxx /var/cvs/FlightGear-0.9/source/src/Instrumentation/heading_indicator.hxx /var/cvs/FlightGear-0.9/source/src/Main/fg_props.cxx /var/cvs/FlightGear-0.9/source/src/Main/globals.cxx /var/cvs/FlightGear-0.9/source/src/Navaids/navlist.cxx /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx Cleanup and Fixes: Memory Leaks (as reported by valgrind) * Instrumentation/gps.cxx (minor) * Gui/new_gui.cxx (minor) * Navaids/navlist.cxx (potentially major) * Main/globals.cxx (potentially major, but not seriously problematic) Moved timestamp debug printing from various subsystems, to SimGear base class. Miscellaneous sprintf -> snprinf changes. 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