Thank you; I was hoping to revisit that file this evening. I like the way you did the cache timing. Did you intentionally retain the cache flush on location update, or should I port that part of my patch onto your version? When we run out of real time requests, I think it is a good idea to finish up the places we used to be, since there is a good chance of the pilot going back to them in future.
On Sat, Feb 7, 2009 at 10:44 AM, Frederic Bouvier <fredfgf...@free.fr> wrote: > Alex, > > It appeared that my last version of terrasync was not up to the > standards I asked for your version. It should now work as I was first > thinking. I also added a cache with an age to retry tiles already > downloaded but not more often than once every 10 minutes. > > Regards, > -Fred > > Alex Perry a écrit : >> Thank you, those are both useful bug reports with the approach I took. >> Let me come up with clean fixes for both of them and then get back to >> you. >> >> On Wed, Feb 4, 2009 at 11:57 PM, Frederic Bouvier <fredfgf...@free.fr> wrote: >> >>> Hi Alex, >>> >>> your version compiles under windows, but needs a continuous feed of >>> messages to work. So it doesn't work with the new fgrun button that send a >>> positional message to get a chunk of scenery without having to start the >>> simulator. Moreover, I also thought about a tile cache that will prevent >>> refetching an already downloaded tiles, but it would need to stop terrasync >>> to have updates ( objects are added continuously to the repository ) or >>> implement a sophisticated aging mechanism. >>> >>> So, in other words, I am not keen to commit your changes as they are. >>> >>> -Fred >>> >>> ----- "Alex Perry" a écrit : >>> >>> >>>> Following up on Fred's improvement to maintain a queue of pending >>>> tile >>>> syncs, the attached version extends the deque to a priority ordered >>>> list and also ensures we never repeat a sync that's already just been >>>> performed. Consequently, we're now as responsive as possible to the >>>> location change menu item. >>>> >>>> I'd appreciate if someone could check that this compiles under >>>> Windows >>>> and then commit. >>>> > > > -- > Frédéric Bouvier > http://my.fotolia.com/frfoto/ Photo gallery > http://fgsd.sourceforge.net/ FlightGear Scenery Designer > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel