Commit Graph

67 Commits

Author SHA1 Message Date
John Hurliman
a970cbd661 Initial commit of the OpenMetaverse.Assets namespace. Serialization/deserialization for new PrimObject is done, but OAR saving/loading is still a work in progress
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2746 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 00:07:35 +00:00
Jim Radford
d520cd3263 LIBOMV-530 Updates TestClient regioninfo command to display additional information included in previous commit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2739 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 09:13:03 +00:00
John Hurliman
9a3bbecc54 Added a special WaitForLoginCommand (waitforlogin) to TestClient that allows the command line or a script to wait until all current logins have completed before continuing. Automated scripting of TestClient will need to use this command
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2716 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 19:19:53 +00:00
John Hurliman
9801078b08 * Replacing hacky ClientManagerRef in TestClient with a proper singleton implementation of ClientManager
* Use BeginLogin in TestClient to try out asynchronous logins (this is experimental and may very likely break things, hooray for trunk)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2715 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 18:57:45 +00:00
Jim Radford
9bed5f15f9 LIBOMV-501 Pass 1: Cleanup of compile time warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2713 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 07:32:49 +00:00
Jim Radford
14869cab48 LIBOMV-505 Merge in jradford-texturepipeline branch
This changes the way texture requests are handled, the AssetManager
RequestImage method signatures have been changed and are now expecting
the callback with the request.
Progressive requests for textures are supported for rendering viewers
Tuning parameters have been moved to Settings


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2699 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 16:10:52 +00:00
John Hurliman
c5409af63f * [LIBOMV-506] Complete rewrite of CapsBase to use HttpWebRequest instead of our homebrewed WebRequest hack. We lose the upload progress callback but gain IOCP thread instead of System.Thread usage and Keep-Alive support
* Content-Types described in http://tools.ietf.org/html/draft-hamrick-llsd-00 are used for CAPS requests. This *may* be incompatible with the current SL grid, needs testing
* Modified CapsClient requests to require OSDFormat enum and timeout values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2680 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-01 06:04:32 +00:00
Jim Radford
6293315a9e LIBOMV-481 Added back in XML Conversion method in LoginResponseData which Simian uses
* Cleaned out some extra cruft debug statements

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2585 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-08 06:58:31 +00:00
Jim Radford
b64699b32c LIBOMV-427 Adds TestClient commands to empty Trash and Lost and Found folders
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2546 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 23:44:50 +00:00
Jim Radford
2180899da3 LIBOMV-180 Adds support for uploading terrain raw files, includes new TestClient uploadterrain command.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2545 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 22:56:44 +00:00
Jim Radford
a9e38221f3 LIBOMV-180 Adds packet handler for InitiateDownload packet which the simulator sends in response to a request for a raw terrain download via the EstateMessage packet
Adds new downloadterrain TestClient Command

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2539 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-25 21:39:24 +00:00
Jim Radford
e5b5fdceec LIBOMV-412 Adds new TestClient Turnto command, Thanks glem02 for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2499 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-18 19:08:51 +00:00
John Hurliman
f6c6eb13b2 [TC-59] Applying patch from dahlia to fix the primregex command in TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2442 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-17 19:00:08 +00:00
John Hurliman
471c99e458 Thank you Dan Lake, for patches to TestClient:
* Login command now supports starting location
* Added comment character for script files (either ; or # may be used as first non-whitespace on a line)
* Shout and whisper commands no longer encode extra whitespace to end of messages
* Modified say command to the same format as whisper and shout commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2438 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-17 18:29:00 +00:00
John Hurliman
71f3ff77ca Switched HttpServer.dll to the "lite" branch in the official C# WebServer repository. The fork maintained by libopenmetaverse will be removed soon
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2432 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-09 07:26:50 +00:00
John Hurliman
48982dfb7f Moved AgentManager enums to the OpenMetaverse namespace to match other enums (maybe all enums should be placed in a separate file?)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2425 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-03 18:14:11 +00:00
3444200bc1 * Fixed a null reference exception in ObjectManager where prim Properties was null while calling .Properties.SetFamilyProperties, and a related problem in TestClient. Also fixed a null reference exception in sculpt data for ExportCommand.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2403 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-05 18:01:37 +00:00
John Hurliman
364c2c26d9 * Moved all capabilities code to the new library, OpenMetaverse.Http
* OpenMetaverse.Http contains a CAPS client + server, event queue client + server, SSL certificate generation (root CA, server certs, client certs), and client certificate authentication
* HttpServer.dll and Mono.Security.dll are new dependencies for OpenMetaverse.Http.dll

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2400 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-29 20:44:28 +00:00
John Hurliman
d816950d40 Make TestClient logins always obey the --loginuri parameter
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2370 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-03 20:52:29 +00:00
Jim Radford
9fa63a6d5c TC-53 Added Experimental movement command that allows an avatar to use movement controls to fly to a specific point in a sim Thanks to Cla Hyun for the command
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2366 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-29 02:20:53 +00:00
Jim Radford
c77573a296 TC-55 Adds check to login command, displays usage information instead of throwing an exception if no args are passed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2365 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-29 02:08:34 +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
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
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
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
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
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
2582304f4e * OnImageReceiveProgress now returns the packet number it just received
* Texture re-request timer will now reduce the DiscardLevel by one each re-request. This is temporary while we re-think the callback system for texture downloads
* TestClient downloadtexture now takes an optional DiscardLevel
* Added int support to Utils.Clamp()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2246 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-29 13:58:08 +00:00
John Hurliman
eb258fbf68 Added a TexturesCommand to TestClient to enable downloading of textures as they become visible to the bot
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2244 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-26 17:29:19 +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
6b040fd03a * Moved ParcelManager enums out into the main OpenMetaverse namespace
* Removed some members from the Parcel struct that shouldn't be there

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2232 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 13:02:27 +00:00
John Hurliman
6497ef03ca * Modified ImageDownload to hold ImageType and DiscardLevel
* RequestImage() now takes a starting packet number as a parameter
* Image download refresh timer calculates which packet to restart the transfer at

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2227 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-16 00:31:55 +00:00
John Hurliman
3ef7649a81 * Defaulting AgentManager.Movement.AutoResetControls to false since most non-interactive bots will expect this behavior. May break a few bots that expect movement flags to be reset every update!
* Fixed a crashing typo in TestClient ScriptCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2225 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-15 23:37:35 +00:00
John Hurliman
939b2d50a8 * Added SleepCommand to TestClient which uses AgentPause and AgentResume to sleep for a given number of seconds
* Added ScriptCommand to TestClient to execute commands from a script

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2223 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-15 22:12:56 +00:00
John Hurliman
5caece8c45 Resolving [TC-51], added forward/back/left/right movement commands to TestClient and confirmed autopilot still functions
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2222 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-15 20:06:36 +00:00
Jim Radford
d73eca1a4f TC-50 Adds new viewnote command to download and display a notecard asset
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2216 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 23:46:28 +00:00
Jim Radford
1a886fb085 LIBOMV-375 Removes duplicate GroupPowers struct, adds XML comments to the one that stayed
LIBOMV-374 Adds new ModerateChatSessions method to AgentManager which allows a group member with Moderator rights to silence idiots
LIBOMV-372 Fixes exception thrown while using Group Chat functions caused by recent changes to the LL Simulator, Also fixes TestClient IMGroup command
* Adds (2) Events OnGroupChatJoin/OnGroupChatLeft fired when a member enters or leaves a group chat session



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2207 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-09 04:58:58 +00:00