=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-04-29_04:58:37 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/main.cxx
(hopefully) fix the problem that some people have: "FATAL: PUI: No Live Interface! Forgot to call puInit ?" We shouldn't use the splash progress message before guiInit(). Leave the "idle_state" step for now, to keep the similarity with fg/plib as big as possible. This can be dropped later. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-04-29_04:58:39 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/main.cxx (hopefully) fix the problem that some people have: "FATAL: PUI: No Live Interface! Forgot to call puInit ?" We shouldn't use the splash progress message before guiInit(). =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-04-29_16:15:45 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/splash.cxx set viewport in every progress step, so that the splash texture gets rescaled on window resize in fg/osg (works in fg/plib without that, but can't hurt there either) (thanks to Tim MOORE) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-04-29_16:15:47 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/splash.cxx set viewport in every progress step, so that the splash texture gets rescaled on window resize in fg/osg (works in fg/plib without that, but can't hurt there either) (thanks to Tim MOORE) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-01_04:18:11 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/util.cxx since the submodel_mgr subsystem does now also hold references to AI models, we need to explicitly destroy that here, too, so that it has guaranteed access to the Nasal subsystem. Otherwise we get a segfault on exit. When the next subsystem needs this special treatement (radar?), we should introduce a new subsystem group (in addition to INIT and GENERAL) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-01_04:18:13 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/util.cxx since the submodel_mgr subsystem does now also hold references to AI models, we need to explicitly destroy that here, too, so that it has guaranteed access to the Nasal subsystem. Otherwise we get a segfault on exit. When the next subsystem needs this special treatement (radar?), we should introduce a new subsystem group (in addition to INIT and GENERAL) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-01_12:03:45 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/util.cxx remove util.cxx workaround for listener-call-at-exit-segfault, and make NasalSys.cxx more robust instead. The reason for the crash was that during fgfs shutdown destroyed subsystems (GENERAL group) still need Nasal access (for AI Model destruction listeners), but at that point globals->get_subsystem() can't even deliver the "nasal" subsystem (INIT group). One way to solve that problem would have been to replace globals->get_subsystem("nasal") by globals->get_subsystem_mgr()->get_group(SGSubsystemMgr::INIT)->get_subsystem("nasal"), but Andy decided to store a pointer to the active "nasal" subsysten in NasalSys.cxx instead, as the "nasal" subsystem needs to be accessed in every single Nasal extension function, and multiple "nasal" subsystems are out of the question, anyway. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-01_12:03:46 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx remove util.cxx workaround for listener-call-at-exit-segfault, and make NasalSys.cxx more robust instead. The reason for the crash was that during fgfs shutdown destroyed subsystems (GENERAL group) still need Nasal access (for AI Model destruction listeners), but at that point globals->get_subsystem() can't even deliver the "nasal" subsystem (INIT group). One way to solve that problem would have been to replace globals->get_subsystem("nasal") by globals->get_subsystem_mgr()->get_group(SGSubsystemMgr::INIT)->get_subsystem("nasal"), but Andy decided to store a pointer to the active "nasal" subsysten in NasalSys.cxx instead, as the "nasal" subsystem needs to be accessed in every single Nasal extension function, and multiple "nasal" subsystems are out of the question, anyway. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-01_12:03:50 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/util.cxx remove util.cxx workaround for listener-call-at-exit-segfault, and make NasalSys.cxx more robust instead. The reason for the crash was that during fgfs shutdown destroyed subsystems (GENERAL group) still need Nasal access (for AI Model destruction listeners), but at that point globals->get_subsystem() can't even deliver the "nasal" subsystem (INIT group). One way to solve that problem would have been to replace globals->get_subsystem("nasal") by globals->get_subsystem_mgr()->get_group(SGSubsystemMgr::INIT)->get_subsystem("nasal"), but Andy decided to store a pointer to the active "nasal" subsysten in NasalSys.cxx instead, as the "nasal" subsystem needs to be accessed in every single Nasal extension function, and multiple "nasal" subsystems are out of the question, anyway. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-01_12:03:51 (mfranz) /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx remove util.cxx workaround for listener-call-at-exit-segfault, and make NasalSys.cxx more robust instead. The reason for the crash was that during fgfs shutdown destroyed subsystems (GENERAL group) still need Nasal access (for AI Model destruction listeners), but at that point globals->get_subsystem() can't even deliver the "nasal" subsystem (INIT group). One way to solve that problem would have been to replace globals->get_subsystem("nasal") by globals->get_subsystem_mgr()->get_group(SGSubsystemMgr::INIT)->get_subsystem("nasal"), but Andy decided to store a pointer to the active "nasal" subsysten in NasalSys.cxx instead, as the "nasal" subsystem needs to be accessed in every single Nasal extension function, and multiple "nasal" subsystems are out of the question, anyway. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-01_13:06:46 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/fg_init.cxx /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx move the "interpolator" subsystem into the INIT group (same as "nasal"), because nasal's f_interpolate() may be called in Nasal at times when the GENERAL subsystem group is being deconstructed; access it by addressing the group directly, as using globals->get_subsystem() does then not work any more then; yeah, it's all for a rare border case ... :-) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-01_13:06:48 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/fg_init.cxx /var/cvs/FlightGear-0.9/source/src/Scripting/NasalSys.cxx move the "interpolator" subsystem into the INIT group (same as "nasal"), because nasal's f_interpolate() may be called in Nasal at times when the GENERAL subsystem group is being deconstructed; access it by addressing the group directly, as using globals->get_subsystem() does then not work any more then; yeah, it's all for a rare border case ... :-) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-02_13:49:31 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/renderer.cxx /var/cvs/FlightGear-0.9/source/src/Main/splash.cxx /var/cvs/FlightGear-0.9/source/src/Main/splash.hxx Free the splash texture memory when it's no longer needed. Nowadays splash textures are mostly 512x512 pixels, so we wasted 786 kB (RGB) or 1MB (RGBA) during the whole fgfs runtime for mere startup prettification. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-02_13:49:34 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/renderer.cxx /var/cvs/FlightGear-0.9/source/src/Main/splash.cxx /var/cvs/FlightGear-0.9/source/src/Main/splash.hxx Free the splash texture memory when it's no longer needed. Nowadays splash textures are mostly 512x512 pixels, so we wasted 786 kB (RGB) or 1MB (RGBA) during the whole fgfs runtime for mere startup prettification. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_13:12:29 (frohlich) /var/cvs/FlightGear-0.9/source/src/GUI/new_gui.cxx /var/cvs/FlightGear-0.9/source/src/GUI/new_gui.hxx Modified Files: src/GUI/new_gui.cxx src/GUI/new_gui.hxx src/Main/main.cxx src/Main/renderer.cxx src/Main/renderer.hxx src/Main/splash.cxx src/Main/splash.hxx src/Scenery/scenery.hxx: Move splash screen into the scenegraph. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_13:12:30 (frohlich) /var/cvs/FlightGear-0.9/source/src/Main/main.cxx /var/cvs/FlightGear-0.9/source/src/Main/renderer.cxx /var/cvs/FlightGear-0.9/source/src/Main/renderer.hxx /var/cvs/FlightGear-0.9/source/src/Main/splash.cxx /var/cvs/FlightGear-0.9/source/src/Main/splash.hxx /var/cvs/FlightGear-0.9/source/src/Scenery/scenery.hxx Modified Files: src/GUI/new_gui.cxx src/GUI/new_gui.hxx src/Main/main.cxx src/Main/renderer.cxx src/Main/renderer.hxx src/Main/splash.cxx src/Main/splash.hxx src/Scenery/scenery.hxx: Move splash screen into the scenegraph. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_13:47:39 (frohlich) /var/cvs/FlightGear-0.9/source/src/Main/renderer.cxx /var/cvs/FlightGear-0.9/source/src/Scenery/Makefile.am /var/cvs/FlightGear-0.9/source/src/Scenery/redout.cxx Modified Files: src/Main/renderer.cxx src/Scenery/Makefile.am Added Files: src/Scenery/redout.cxx src/Scenery/redout.hxx: Add simple redout effect. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_13:47:40 (frohlich) /var/cvs/FlightGear-0.9/source/src/Scenery/redout.hxx Modified Files: src/Main/renderer.cxx src/Scenery/Makefile.am Added Files: src/Scenery/redout.cxx src/Scenery/redout.hxx: Add simple redout effect. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_14:00:55 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx property browser: shift click on the "." entry dumps the contents of that dir level to the terminal (remember: ctrl-click -> toggle additional info, and ctrl-click on ".." move to root level) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_14:01:05 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx property browser: shift click on the "." entry dumps the contents of that dir level to the terminal (remember: ctrl-click -> toggle additional info, and ctrl-click on ".." move to root level) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_14:15:20 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/fg_commands.cxx new fgcommand: "terrain-elevation" - input: longitude-deg, latitude-deg - output: elevation-m =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_14:15:22 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/fg_commands.cxx new fgcommand: "terrain-elevation" - input: longitude-deg, latitude-deg - output: elevation-m =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_16:20:12 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx write a more useful list on shift-"."-click, not the whole subtree =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-03_16:20:15 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx write a more useful list on shift-"."-click, not the whole subtree =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-04_09:58:52 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/viewmgr.cxx /var/cvs/FlightGear-0.9/source/src/Main/viewmgr.hxx - remove dependence on /sim/number-views: the view manager just uses all /sim/view[*] that it finds. It's not only unnecessary that view definitions have subsequent indices, but aircraft are now *requested* to use indices 100++. /sim/view[0] .. /sim/view[99] are reserved for the system. (Not that we'd ever need that many, This is just a convention, it's nowhere hard-coded.) - replace the string operations for property paths by method calls & other improvements =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-04_09:58:56 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/viewmgr.cxx /var/cvs/FlightGear-0.9/source/src/Main/viewmgr.hxx - remove dependence on /sim/number-views: the view manager just uses all /sim/view[*] that it finds. It's not only unnecessary that view definitions have subsequent indices, but aircraft are now *requested* to use indices 100++. /sim/view[0] .. /sim/view[99] are reserved for the system. (Not that we'd ever need that many, This is just a convention, it's nowhere hard-coded.) - replace the string operations for property paths by method calls & other improvements =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-04_14:34:19 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/viewmgr.cxx add missing property names =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-04_14:34:21 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/viewmgr.cxx add missing property names =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_03:08:24 (frohlich) /var/cvs/FlightGear-0.9/source/src/AIModel/AIBase.cxx /var/cvs/FlightGear-0.9/source/src/AIModel/AICarrier.cxx /var/cvs/FlightGear-0.9/source/src/ATC/AIEntity.cxx /var/cvs/FlightGear-0.9/source/src/Cockpit/hud_rwy.cxx /var/cvs/FlightGear-0.9/source/src/FDM/groundcache.cxx Modified Files: src/AIModel/AIBase.cxx src/AIModel/AICarrier.cxx src/ATC/AIEntity.cxx src/Cockpit/hud_rwy.cxx src/FDM/Makefile.am src/FDM/flight.hxx src/FDM/groundcache.cxx src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx src/Main/renderer.cxx src/Main/viewer.cxx src/Main/viewer.hxx src/Model/acmodel.cxx src/Model/modelmgr.cxx src/Scenery/scenery.cxx src/Scenery/scenery.hxx src/Scenery/tileentry.cxx src/Time/tmp.cxx: Remove the scenery center handling. Osg has double valued transforms at any relevant place. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_03:08:25 (frohlich) /var/cvs/FlightGear-0.9/source/src/Instrumentation/HUD/HUD_runway.cxx /var/cvs/FlightGear-0.9/source/src/Main/main.cxx /var/cvs/FlightGear-0.9/source/src/Main/renderer.cxx /var/cvs/FlightGear-0.9/source/src/Main/viewer.cxx /var/cvs/FlightGear-0.9/source/src/Main/viewer.hxx /var/cvs/FlightGear-0.9/source/src/Model/acmodel.cxx /var/cvs/FlightGear-0.9/source/src/Model/modelmgr.cxx /var/cvs/FlightGear-0.9/source/src/Scenery/scenery.cxx /var/cvs/FlightGear-0.9/source/src/Scenery/scenery.hxx /var/cvs/FlightGear-0.9/source/src/Scenery/tileentry.cxx Modified Files: src/AIModel/AIBase.cxx src/AIModel/AICarrier.cxx src/ATC/AIEntity.cxx src/Cockpit/hud_rwy.cxx src/FDM/Makefile.am src/FDM/flight.hxx src/FDM/groundcache.cxx src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx src/Main/renderer.cxx src/Main/viewer.cxx src/Main/viewer.hxx src/Model/acmodel.cxx src/Model/modelmgr.cxx src/Scenery/scenery.cxx src/Scenery/scenery.hxx src/Scenery/tileentry.cxx src/Time/tmp.cxx: Remove the scenery center handling. Osg has double valued transforms at any relevant place. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_03:08:26 (frohlich) /var/cvs/FlightGear-0.9/source/src/Time/tmp.cxx Modified Files: src/AIModel/AIBase.cxx src/AIModel/AICarrier.cxx src/ATC/AIEntity.cxx src/Cockpit/hud_rwy.cxx src/FDM/Makefile.am src/FDM/flight.hxx src/FDM/groundcache.cxx src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx src/Main/renderer.cxx src/Main/viewer.cxx src/Main/viewer.hxx src/Model/acmodel.cxx src/Model/modelmgr.cxx src/Scenery/scenery.cxx src/Scenery/scenery.hxx src/Scenery/tileentry.cxx src/Time/tmp.cxx: Remove the scenery center handling. Osg has double valued transforms at any relevant place. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_03:51:16 (mfranz) /var/cvs/FlightGear-0.9/source/docs-mini/README.xmlpanel remove all traces to --props =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_03:51:49 (mfranz) /var/cvs/FlightGear-0.9/source/docs-mini/README.xmlpanel remove all traces to --props =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_04:16:59 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/options.cxx Declare --props option obsolete and issue a warning message. Rationale: - props is easy to mix up with the --prop option (for setting properties) - the name is unspecific and inconsistent: other option names describe the protocol -- the way to get the properties. How is, for example, --httpd less about prop(ertie)s? - two identical options easily confuse people, as can be seen in The FlightGear Manual, where --telnet and --props were described differently =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_04:17:01 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/options.cxx Declare --props option obsolete and issue a warning message. Rationale: - props is easy to mix up with the --prop option (for setting properties) - the name is unspecific and inconsistent: other option names describe the protocol -- the way to get the properties. How is, for example, --httpd less about prop(ertie)s? - two identical options easily confuse people, as can be seen in The FlightGear Manual, where --telnet and --props were described differently =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_04:57:17 (mfranz) /var/cvs/FlightGear-0.9/source/docs-mini/README.xmlpanel revert last: keep --props option because of option architecture =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_04:58:40 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/options.cxx revert last: keep --props option because of option architecture =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_05:03:25 (mfranz) /var/cvs/FlightGear-0.9/source/docs-mini/README.xmlpanel revert last: keep --props option because of option architecture =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_05:06:28 (mfranz) /var/cvs/FlightGear-0.9/source/src/Main/options.cxx revert last: keep --props option because of option architecture =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_06:40:11 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx use STL_IOMANIP to load <iomanip> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2007-05-05_06:40:12 (mfranz) /var/cvs/FlightGear-0.9/source/src/GUI/property_list.cxx use STL_IOMANIP to load <iomanip> 2f585eeea02e2c79d7b1d8c4963bae2d ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel