=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-21_22:14:18 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/AirportList.cxx /var/cvs/FlightGear-0.9/source/src/GUI/AirportList.hxx /var/cvs/FlightGear-0.9/source/src/GUI/dialog.cxx /var/cvs/FlightGear-0.9/source/src/GUI/dialog.hxx
the last patch fixed the AirportList ... and broke all other PUCLASS_LIST.; Unfortunately, there's no simple way to distinguish them. plib has no user defined widget classes, and getTypeString() -- which could be used for that -- isn't virtual. Sigh. I'll discuss the problem on the plib list. For now I can only offer an ugly workaround. (Don't look closely!) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-22_14:33:01 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/puList.cxx /var/cvs/FlightGear-0.9/source/src/GUI/puList.hxx - backport plib/cvs (transparency feature; never tried that :-) - backport submissions for plib 1.8.5: * set slider size correctly * remove slider/arrow when all entries fit into the view * don't allow to scroll off the list =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-22_14:34:20 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx /var/cvs/FlightGear-0.9/source/src/GUI/property_list.hxx new property browser widget =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-22_14:34:59 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/Makefile.am add property_list.[ch]xx =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-22_14:35:39 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/dialog.cxx make new widget available as <property-list> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-22_16:14:50 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/AirportList.hxx /var/cvs/FlightGear-0.9/source/src/GUI/dialog.cxx /var/cvs/FlightGear-0.9/source/src/GUI/dialog.hxx /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx /var/cvs/FlightGear-0.9/source/src/GUI/property_list.hxx - move the ID stuff to dialog.hxx - add an identifier to fgPropertyList(), which is also PUCLASS_LIST based =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-22_20:18:40 (mfranz) /var/cvs/FlightGear-0.9/source/src/AIModel/AIAircraft.cxx /var/cvs/FlightGear-0.9/source/src/AIModel/AIMultiplayer.cxx Vivian MEAZZA: "Bug Fix - amend the code so that JSBSIm can have more than one tanker in the environment at the same time. A nasal script has to be added to each aar-capable JSBSim model to complete this fix." =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-23_16:44:10 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.hxx fix for broken plib 1.8.4 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-23_16:49:32 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx ugly "fix": the constructor was commented out in prop_picker.cxx since *many* years, so the property browser always leaked memory. I activated this line in property_list.cxx and ... got a crash right there. So this was the reason for it being commented out? Doing the same for now, until I know the exact reason and can really fix it. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-23_18:55:38 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx /var/cvs/FlightGear-0.9/source/src/Scripting/nasal-props.cxx don't abort fgfs only because a nasal script called a property function with an invalid path, as in getprop("/sim/model/737") or x.getNode("f:1"). Forward sg's error message to the Nasal runtime error function instead, so you get something like: Nasal runtime error: name must begin with alpha or '_' at /home/m/fgfs/Base.local/Nasal/props.nas, line 30 Unfortunately, the location points to the line where the ghost wrapper sits, rather than the offending script line. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-23_20:24:56 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx /var/cvs/FlightGear-0.9/source/src/GUI/property_list.hxx treat widget input correctly =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-23_20:48:01 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx catch non-existent nodes, too =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-23_21:35:38 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx - don't jump to top after bool toggling =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-24_09:42:10 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx /var/cvs/FlightGear-0.9/source/src/GUI/property_list.hxx ok, now I know why the destructor was commented out in prop_picker.cxx: there's a bug that I had copied: update() checks each list node: if it has no children, then a listener is attached. Later, when freeing the children list, it assumed again that each node without children would have a listener attached. This caused a crash when a node had children before, but lost them in the meantime. Now we tried to remove a listener where there never was one. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-24_10:06:44 (mfranz) /var/cvs/FlightGear-0.9/source/src/Instrumentation/tacan.cxx /var/cvs/FlightGear-0.9/source/src/Instrumentation/tacan.hxx Vivian MEAZZA: "Remove unnecessary, redundant or duplicated code. Functionally, there is no change" =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-24_10:51:35 (fredb) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx Compile =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-24_14:00:56 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx - force multiline contents (Nasal scripts!) into one line, so that they don't print over other entries or even leak out of the widget - warning-- (MSVC) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-24_20:46:10 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/puList.cxx /var/cvs/FlightGear-0.9/source/src/GUI/puList.hxx - fix slider - order functions like in puAuxList.cxx (plib/cvs) for easier back/forward-porting =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-24_21:02:52 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx s/isascii/isprint/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-24_21:05:48 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx not that! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-05-26_05:23:40 (mfranz) /var/cvs/FlightGear-0.9/source/src/AIModel/AIAircraft.cxx /var/cvs/FlightGear-0.9/source/src/AIModel/AIAircraft.hxx - use guarded pointer for (unused) refuel_node - comment out refuel_node->setBoolValue() (as it was in the original patch :-) 2f585eeea02e2c79d7b1d8c4963bae2d ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel