Commit Graph

40 Commits

Author SHA1 Message Date
John Hurliman
f11dd21677 * Forced struct alignment to 4-bytes for openjpeg-dotnet on Windows
* Removed padding hack from openjpeg
* Added sanity check to Simian when copying texture data
* Ignore common unused login parameters in Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2357 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 19:08:50 +00:00
John Hurliman
f68e6c9477 Pre-sort extensions in ExtensionLoader if a whitelist is specified. Makes interface assignment work as expected and client extension starting code much easier
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2352 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-15 00:47:24 +00:00
John Hurliman
99b3b74cd6 * More cleanup to acking and resending in libomv and Simian
* Fixed typo in Simian.ini that was disabling connection management
* Replaced several unnecessary foreach loops in Simian with dictionary lookups
* Simian now uses the last detected system IP address instead of the first

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2342 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-10 18:00:05 +00:00
John Hurliman
1f527a843b Fixing up Simian's regular expressions to get login working again
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2332 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-07 18:32:45 +00:00
John Hurliman
126ccc79bb * Added a List<string> extensionList param to ExtensionLoader.LoadAllExtensions() to only load whitelisted extensions (used in conjunction with .ini file support)
* Modified ExtensionLoader .ini support to allow values with no keys by default
* Added Simian .ini file config support
* Merged Simian's CoarseLocationUpdates extension into AvatarManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2328 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-06 23:41:07 +00:00
John Hurliman
3243e3153d * Added contentType parameter to new HttpListener.AddHandler() overload
* Updated Simian to use the simplified HttpListener.AddHandler() overload

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2317 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-29 20:19:08 +00:00
John Hurliman
dad28f767a * HttpRequestSignature uses regular expressions for the path now
* Added a simplified HttpListener.AddHandler() overload
* Lots of improvements in ExtensionLoader, simplified interface
* Updated Simian to latest ExtensionLoader

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2316 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-29 20:11:28 +00:00
John Hurliman
599605ea25 * Bug fix in ExtensionLoader, will now properly throw an exception if all assignable interfaces do not have an extension assigned
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2276 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 22:28:20 +00:00
John Hurliman
419f4485a7 Simian:
* Cleaned up ImageDelivery
* Implemented CopyItemInventory
* Serialize with indented XML
* Only read an inventory skeleton if the login succeeded

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2274 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 19:12:06 +00:00
John Hurliman
b3380d2c11 * Add exclusion of UtilsConversion.cs to prebuild.xml, should fix the build
* First stab at working inventory persistence

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2268 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 00:42:05 +00:00
John Hurliman
3e5fcb7fab * Moving conversion functions from Helpers to Utils (in OpenMetaverseTypes)
* Added GetLLSD() and FromLLSD() to Permissions
* Started on inventory persistence for Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2267 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 22:34:38 +00:00
John Hurliman
644d415e60 * Added ExtensionLoader, a generic plugin system with internal, external assembly, and source file plugin loading as well as interface binding
* Switched Simian over to ExtensionLoader

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2258 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-05 22:05:18 +00:00
John Hurliman
eaaef001fb Simian:
* Added more profile fields to Agent
* Removed inventory hack from AccountManager
* Create an inventory skeleton in AuthFreeForAll
* Simplify logout process with DisconnectClient()
* Handle FetchInventory
* Added CreateFolder and CreateRootFolder to IInventoryProvider

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2251 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-01 00:12:59 +00:00
John Hurliman
a23f41fdca Simian:
* First pass at persistence support
* Fixed a chat crashing bug
* Remove avatars from the scene on logout
* Sanity check before adding objects to the scene in ObjectAdd
* Sanity check in CompleteAgentMovementHandler if the avatar is already in the scene
* Added ContainsKey() to DoubleDictionary

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2245 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-28 21:28:10 +00:00
John Hurliman
44e49f8195 * Reverted the Simulator.ParcelOverlay change to an array of enums, Buffer.BlockCopy and Array.Copy both barf. Added a comment that you can typecast afterward to decode the byte
* Finished TerrainManager.DecompressWind() and added TerrainManager.WindSpeeds. Holds a 16x16 array of Vector2s, each one representing the wind speed at a 16x16m area
* Added a WindCommand to TestClient to print the wind speed where the avatar is standing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2241 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-26 13:11:00 +00:00
John Hurliman
4d45aa3a13 Simian:
* Adding IAuthenticationProvider and IAccountProvider interfaces to let extensions handle authenticating logins and creating/removing/storing account information

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2238 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-24 15:04:35 +00:00
John Hurliman
1e9ee1f5b6 Simian:
* Moved water height to ISceneProvider
* Removed + 3m hack for prim placement
* Added ParcelPropertiesUpdate handler. Media textures are working now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2235 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 16:33:42 +00:00
John Hurliman
858b230e6b * Added IParcelProvider and ParcelManager that provide very basic parcel information
* More sane default flags in Simian RegionHandshake

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2234 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 15:11:39 +00:00
John Hurliman
805fb7c18d Simian:
* Decode layer boundaries when storing a texture asset
* Started fleshing out correct texture downloading
* Add avatars to the scene along with prims

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2224 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-15 23:17:21 +00:00
John Hurliman
9fda90f2a0 Simian:
* Added IAssetProvider interface, converted AssetManager to new interface
* Some prep work to get ready for proper image delivery

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2206 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-09 00:41:55 +00:00
John Hurliman
53072cf669 * Adding GetHashCode override to Permissions
* Adding PrimFlags.None back (for OpenSim), marking as obsolete
* Slowly transitioning ISceneProvider to become the central resource of Simian (instead of the Simian class). The callbacks are going to change soon

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2200 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-06 18:02:38 +00:00
John Hurliman
f656d185a3 * Removed unused AgentManager.AgentMovementCallback
* Added Avatar.ControlFlags (not used by libomv directly)
Simian:
* Added ISceneProvider interface
* Fixed ObjectSelect crash (due to a packet block not being filled out if the selected object was missing)
* Simplified BuildFullUpdate()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2196 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-04 21:09:44 +00:00
5adda79c5a Added timeout to Simian for disconnecting users after no packets are received for 10 seconds
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2189 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-30 18:23:15 +00:00
John Hurliman
fe869df89f Major change in Simian to abstract all UDP handling away from Agent into an IUDPProvider. UDPServer is now thinly wrapped with a UDPManager extension to provide the main packet handling facilities of Simian
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2180 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-28 22:11:47 +00:00
John Hurliman
11776ef202 libomv:
* Completed DeRezDestination enum
Simian:
* Added IInventoryProvider to allow other extensions to create inventory items
* Basic derez support for deleting items (the new inventory items in the trash won't actually work because the assetID is meaningless until we have an IAssetProvider)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2175 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 23:27:48 +00:00
8054e49347 Added interactive water to Swimian... I mean Simian.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2168 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-25 21:08:13 +00:00
John Hurliman
07754f7016 OpenMetaverse:
* LLObject is gone, it is now merged into Primitive
* Avatar inherits from Primitive
Simian:
* Added SimulationObject to track prims
* Added IMeshingProvider and a connector to OpenMetaverse.Rendering plugins

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2161 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-24 05:06:51 +00:00
John Hurliman
d672f821ce Simian:
* Implemented the first interface, IAvatarManager, along with automatic interface binding
* Changed the way animations are tracked and sent to minimize locking/execution time/redundant packets
* Fixed TimeDilation value to correct the walking animation

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2158 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-22 19:20:02 +00:00
John Hurliman
cc1c6762b7 Simian:
* Added default assets for avatar appearance
* Fixed default heightmap loading
* Removed ugly appearance hacks and replaced with hardcoded but not so ugly default assets
* Simplified the inventory classes to work with the libomv inventory system rollback

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2135 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 06:46:36 +00:00
John Hurliman
908e31fa04 Simian:
* Agent stores more data
* Fixed ImageDelivery to return default bakes along with default textures
* ObjectUpdates for avatars contain more (and corrected) data

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2130 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 05:14:16 +00:00
Jim Radford
c551283fd8 LIBOMV-359 Reverting InventoryManager/Inventory system to old inventory system based on r2020, Disabled GUI library in prebuild.xml as its based on the new inventory system and needs to be rewritten to be used with the old inventorymanager (or re-enabled when new inventory system is added back to trunk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2126 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 01:19:06 +00:00
29bc6cf3aa Changed Simian to use real IP address instead of loopback
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2120 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-19 21:17:48 +00:00
John Hurliman
24055f1e79 * Changed HttpRequestCallback to pass the signature of the incoming request
* Added NameValue.NameValuesToString() to serialize NameValue arrays
* Fixed the avatar name tag in Simian, and added a hack to keep the client from trying to download wearables (for now)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2116 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-19 18:38:29 +00:00
65064ca1dd Fixes missing part of previous commit for Simian heightmap
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2115 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-19 11:04:31 +00:00
42548b14a0 Fix for previous commit - Adds missing RegionHandle property to Simian class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2107 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-18 09:39:29 +00:00
John Hurliman
1d153a4cde Shuffled Simian around again to remove SceneAvatars, move Agents under Simian, and add an Avatar to each Agent (along with ControlFlags)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2102 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-18 05:11:13 +00:00
John Hurliman
5654fb2e70 Moving agent and prim tracking to the main Simian class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2101 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-18 04:45:01 +00:00
John Hurliman
1cd988d35c * Updating PrimWorkshop to reflect new TerrainManager changes
* Adding a SceneManager extension to Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2100 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-18 04:40:05 +00:00
John Hurliman
5429180bff * Created a plugin interface for Simian that loads files from the running assembly, separate .dlls, or separate .cs files
* Converted the current Simian packet callbacks to an extension
* Added README explaining Simian extension development
* Added an example of a Simian.*.cs plugin

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2096 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-16 23:38:10 +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