Commit Graph

188 Commits

Author SHA1 Message Date
John Hurliman
aede2ea203 * Adding Packet.BuildPacket() function back, OpenSim uses it
* Converted ParcelAccessEntry.Flags to AccessList enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2359 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 20:29:13 +00:00
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
f6628a86e7 * Sanity checks in DoubleDictionary.Add()
* Added DoubleDictionary indexing operators
* ExtensionLoader now prints out compile errors for .cs files
* ExtensionLoader silently skips assemblies that fail to load instead of throwing an exception

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2351 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-14 20:10:41 +00:00
a019922572 * Added map overlay to GUI MiniMap control
* Fixed default tab stop position in GUI LocalChat control
* Enabled texture caching in Dashboard example


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2345 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-10 23:39:38 +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
Latif Khalifa
c72d548ca5 cloneprofile now clones profile picks as well [TC-19]. Patch by Daten Thielt
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2341 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-10 01:26:10 +00:00
Latif Khalifa
7ecdfa97bc Fixed LIBOMV-416 by disabling output packet throttling allowing link and permissions packets to reach the sim before logout
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2336 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 18:25:27 +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
61c8451fac * Allow HttpServer AddHandler() and RemoveHandler() while the server is running
* Simplified HttpServer calback exception handling
* Fixed a recently introduced typo in LLSD binary serialization
* Allow LLSD binary serialization to work with any Stream instead of only MemoryStream
* Improved Utils.HexStringToBytes(), changed function signature
* Added an efficient Utils.EnumTryParse<T>()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2323 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-05 01:50:24 +00:00
John Hurliman
f53aee6fa8 Renaming LLSDParser to OSDParser since it will encompass more than just LLSD parsing in the future
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2322 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-30 16:54:17 +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
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
ce99ebcab7 Fixed TestClient JumpCommand.cs to work with previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2315 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-28 18:36:29 +00:00
Jim Radford
21abeaec88 LIBOMV-398 Better yet, splits out AccessList into two lists, a WhiteList and a Blacklist in the Parcel object. This works much better for storing this information in our internal dictionaries and makes it less obscure for end library users to understand.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2302 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-18 23:53:30 +00:00
8b2875f0d7 Simian: Fixed "bouncing" when jump button is held. A new jump is now started each time the avatar lands.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2297 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-12 16:17:45 +00:00
d68cc44214 Simian: Fixed link/unlink math by using Vector3.Transform
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2296 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-12 14:49:23 +00:00
John Hurliman
9dd0b44a48 * Wait up to 10 seconds for an event queue to connect if Self.Teleport() is called when no event queue is connected
* Check if a command exists before running it in TestClient

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2295 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-11 00:17:21 +00:00
John Hurliman
7939843f0d More fixes to TestClient, I even tested this time
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2294 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-10 21:53:47 +00:00
John Hurliman
5fd194130d Another TestClient fix
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2293 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-10 21:02:06 +00:00
John Hurliman
5457ff705c More TestClient fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2292 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-10 20:23:51 +00:00
John Hurliman
ff5401f42f Removed all "new TestClient" lines from TestClient except for during login. Hopefully should fix some bugs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2291 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-10 20:15:13 +00:00
John Hurliman
f261913087 Fixing a nullreference in TestClient by adding a global reference to ClientManager. Hacky, but TestClient is aging anyways
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2290 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-10 19:41:05 +00:00
John Hurliman
e32dd38a80 Committing a patch from Dan Lake to fix --gettextures in TestClient and add --scriptfile
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2288 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 21:24:20 +00:00
John Hurliman
4d30c30b16 Adding --gettextures command line to TestClient to enable automatic texture downloading. "textures [on/off]" will also globally enable/disable texture downloading
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2287 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 18:04:06 +00:00
John Hurliman
96f66d4b13 Adding special handling for help and script commands to TestClient, you can now run them without any logged in bots
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2286 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 17:42:18 +00:00
John Hurliman
af97cb2d48 * Fixed [LIBOMV-370], problem with Prebuild generation for WinForms projects
* Removing more scaling code from Meshmerizer plugin
* Removed dead GUITestClient project

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2285 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 17:19:29 +00:00
John Hurliman
046a778b09 Applying [LIBOMV-395] from Jeff Ames to comment out dead code and fix lots of compiler warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2284 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 16:48:44 +00:00
John Hurliman
29026f68f0 * Implemented asset and appearance persistence in Simian
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2283 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 04:50:03 +00:00
John Hurliman
003eb8a220 * Added a download command to TestClient to download non-texture assets
* ls -l in TestClient now also prints AssetIDs
* Removed ExportOutfit and ImportOutfit, they didn't work
* Added default eyes and more clothing textures to Simian. Appearance is working for me now. Appearance won't persist until we have a persistent asset store

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2282 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 01:55:46 +00:00
John Hurliman
e180f7a612 * Added Helpers.SplitBlocks() that calculates how to split multiple blocks into multiple packets
* Fixed a typo in TestClient login command usage
Simian:
* Asset uploads were returning the TransactionID instead of the AssetID causing uploads to seemingly fail
* Added ISceneManager.AvatarAppearance and OnAvatarAppearance
* Added UI sounds from OpenSim and sound asset loading
* Split up FetchInventoryReply and InventoryDescendents into multiple packets when necessary

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2281 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-08 22:10:14 +00:00
John Hurliman
16c07999af TestClient:
* Commands from the console and scripts are executed on a separate thread for each bot now
* Added support for starting without any logins
* Changed handling of login and quit commands (these are really hacks)
* Added support for passing a loginuri to the login command

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2280 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-08 20:21:32 +00:00
John Hurliman
b8c9b612c3 Added "follow off" to TestClient follow command
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2279 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-08 19:08:10 +00:00
John Hurliman
2e4aa31e4a * Remove an unused BuildPacket function in _Packets_.cs
* Make all blocks inherit from the abstract base class PacketBlock

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2278 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-08 17:08:17 +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
6e52169c9d * MoveInventoryItem, MoveInventoryFolder, and PurgeInventoryDescendents added to Simian. Untested
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2272 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 06:22:27 +00:00
John Hurliman
28d7cbeb07 * Big cleanup of UtilsConversions.cs, added functions to go straight from data types to an existing byte array
* Changed _Packets_.cs to use Utils functions for going to and from bytes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2271 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 03:04:03 +00:00
John Hurliman
df47694569 * Fixed Simian packet resend bug, agents should properly time out now
* Force Simian inventory permissions to full for now
* Small LoginResponseData.ToXmlRpc() improvements

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2270 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 02:06:29 +00:00
John Hurliman
731c22045d Small fix in Simian's AuthFreeForAll to get persistent inventory functioning. Make sure to delete simian-data.xml and your SL cache first
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2269 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 01:05:19 +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
0f792a1404 * Changed AgentThrottle documentation to bits instead of bytes, thank you justincc
* Reduced memory usage in Simian ParcelManager by storing parcel overlay as 4x4 blocks

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2265 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 19:11:32 +00:00
John Hurliman
60b4252e72 * Added support for opening Prim Package files in Prim Workshop
* Fixed Prim Workshop rotations in preview mode
* Increased PrimWorkshop texture pipeline to 10 simultaneous texture downloads

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2264 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 06:12:10 +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
cfff91f0b9 Simian: Fixed crash when linking several prims together caused by oversized ObjectProperties and UpjectUpdate packets. Cleaned up some unnecessary "using" statements.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2256 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-03 22:14:18 +00:00
6c1e9a0e7b Simian: Added support for prim texturing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2255 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-03 08:11:32 +00:00
John Hurliman
86679aa74d Working image delivery server (first correct implementation ever)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2253 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-01 00:19:53 +00:00