Commit Graph

12 Commits

Author SHA1 Message Date
Justin Clark-Casey
7b094a35dd Handle incoming caps events sync rather than async to avoid unexpected out-of-order processing
Under moderate or greater CPU load, pushing to the threadpool means that events such as EstablishAgentCommunication may be processed before EnableSimulator
even though the simulator sends them in the reverse order.
This triggers the logging of various errors and warnings by libomv.
Handling these synchronously shouldn't have a huge impact since the number of events is not high and taking time here can only hold up event upload
2014-08-04 22:14:04 +01:00
Latif Khalifa
ae112d56fb Update copyright notices 2014-02-25 15:31:10 +01:00
Latif Khalifa
f1b8fcaf47 Added ability to use SmartThreadPool 2013-07-18 20:00:11 +02:00
Latif Khalifa
2e19e0881c LIBOMV-862: Null reference exception when shutting down after fetching textures
Spotted by Robert Adams

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3439 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-20 11:59:26 +00:00
John Hurliman
d999f404cb * Added an overload to NetworkManager.RegisterCallback() that specifies whether a callback should be ran synchronously or asynchronously. Existing RegisterCallback() call defaults to async, new overload is not used by any packet handlers yet
* Removed deprecated Settings.SYNC_PACKETCALLBACKS

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3418 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-12 19:44:57 +00:00
Jim Radford
95a87c7857 LIBOMV-686 Convert NetworkManager events/delegates to new patterns
* Remove INetworkManager interface (it was not being used for anything)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3182 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 08:01:52 +00:00
Jim Radford
9fa36f6466 LIBOMV-477 Adds TeleportFailed to message system, Also modified Caps handler to as a last ditch effort use our generic caps to packet decoder for unhandled caps messages.
Prints out necessary debug information to create new unhandled messages easily.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2668 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-27 23:08:20 +00:00
Jim Radford
57b74be3a9 Fix some compile time warnings, clean out cruft EnableSimulatorHandler code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2634 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 07:50:25 +00:00
Jim Radford
e24d24a201 LIBOMV-477 Big Messaging system update:
* Adds new IMessage interface for messaging system
* Adds additional Caps Messages + Tests for most (All incoming caps messages should now be handled by new messaging system)
* Unit Tests for new messaging system only test that decoding and encoding work properly, they do not confirm proper formatting required by the simulator
* Switches EventQueueCallback to decode and send message to registered callbacks
* Switches several caps requests over to new messaging interface
Some in-process work is left commented and cluttering up in a few places. Will remove after more cleanup is done
* Update source header/copyright in several classes
Note: this commit features several breaking changes to existing clients. Much code that has been only lightly tested, please report bugs in jira.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2599 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-13 09:32:25 +00:00
John Hurliman
bad3108ddf * Renamed LLSD to OSD. The LLSD-specific (de)serialization functions have been renamed to specify they use LLSD. Other serialization formats will be added in the future, along with better native support for vectors and unsigned integers
* Added Utils.SHA1()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2321 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-30 01:50:59 +00:00
John Hurliman
0bd77baba2 * Adding generic HttpServer to OpenMetaverse.Capabilites
* LoginResponseData can now serialize to XmlRpc
* Adding new Simian project, ultra-lightweight simulator for testing and development
* Shuffling OpenMetaverse.Capabilities around a bit in preparation for CAPS server implementation

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2094 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-16 02:04:20 +00:00
John Hurliman
c1f3d6a3c2 Renaming libsecondlife folder to OpenMetaverse. Part of a multi-step process, do not check out this revision!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1957 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-22 22:56:05 +00:00