Commit Graph

377 Commits

Author SHA1 Message Date
Jim Radford
f2dbbb00b6 LIBOMV-540 Adds parameter to CopyScriptToTask method which allows the scripts running state to be set.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2758 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 21:27:38 +00:00
Jim Radford
8290681242 LIBOMV-540 Adds check for ScriptRunningReply to the Event Decoder
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2757 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 20:37:03 +00:00
Jim Radford
168df79f12 LIBOMV-540 Adds method to InventoryManager to change the request the running status of a script contained in a Task inventory
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2756 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 20:35:47 +00:00
Jim Radford
9088bb0f6e LIBOMV-540 Adds method to InventoryManager to change the running state of a script.
* Switches RequestUpdateScriptAgentInventory method to use IMessage system
* Fixes a couple minor typos in InventoryManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2751 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 17:10:44 +00:00
John Hurliman
4a8079ff2e * Fixing GroupPowers struct. The previous bit-shifting math was created 32-bit values that wrapped around and then converting to 64-bit. Hardcoded integers are used for all of the values now (thank you mcortez)
* Replacing hardcoded paths in OAR archiving with constants

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2750 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 23:01:16 +00:00
Jim Radford
90825a5042 LIBOMV-539 Patch from Douglas Miles - Implements example TestClient command to upload a script to inventory + corrects capability name
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2748 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 11:58:12 +00:00
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
John Hurliman
0746947075 * Fixing premature commit of BakeLayer
* Adding an alternative implementation of one of the benchmark tests for serialization that should be more fair (untested)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2745 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-11 22:32:37 +00:00
John Hurliman
ad102f3ea9 Moving OpenMetaverseTypes library to its own folder. This will save a lot of prebuild headaches
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2744 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-11 19:28:50 +00:00
Jim Radford
b1917c36d5 * Start of full documentation for LindenMessages.cs classes,
* adds two Benchmark tests to MessageTests.cs for comparing the IMessage formatting vs the .NET BinaryFormatter 
* Updates Caps.cs with latest known capabilities

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2743 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-11 19:26:18 +00:00
Jim Radford
b32e8eda99 LIBOMV-538 Implement Generic ThreadSafe Dictionary
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2741 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-11 16:16:28 +00:00
Jim Radford
6b0eb9a34d LIBOMV-535 implements RezRestoreToWorld packet functionality in InventoryManager. New Method: RequestRestoreRezFromInventory which places an inventory item back at its previous simulator position from inventory.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2740 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 09:31:07 +00:00
Jim Radford
9ad17de8e3 LIBOMV-530 Updates Simulator object to include new variables included in 1.23 message template which are sent during the region handshake and include information on physical server location, the type of region (Homestead, OpenSpace, etc), CPU Class and CPU Ratio.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2738 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 09:05:06 +00:00
Jim Radford
946cd90a06 LIBOMV-477 Adds DirLandReplyMessage + Test to Message system
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2737 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 05:44:40 +00:00
Jim Radford
7155dfa2ac LIBOMV-529 Adds new UpdateAgentInformation Message + Test
LIBOMV-477 Adds PlacesReplyMessage + Test to Message system

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2736 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 04:59:43 +00:00
4af13d7890 [EstateTools.cs]
* Fixed SetRegionTerrainHeights not using correct float ToString overload supplying EnUsCulture

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2735 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 02:59:50 +00:00
Jim Radford
70576d8349 LIBOMV-528 Adds several methods to EstateTools, Patch courtesy of Daten, Thanks!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2734 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 01:53:31 +00:00
John Hurliman
3e314edc95 * [LIBOMV-530] Updating to the message_template.msg for LL viewer 1.23. In *theory* this should just work without breaking anything. _Packets_.cs has been regenerated as well
* Adding CB messages for authentication from World to Identity
* Removing simulation_key references from the CB message template
* Finished the first draft of the primitive LLIDL definition

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2733 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 01:14:42 +00:00
Jim Radford
4150bc611f LIBOMV-531 Creates Message for PlacesReply eventqueue message (Still need to add a unit test)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2731 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 22:46:38 +00:00
John Hurliman
eaf069d688 * Removing all references to SimulationKey from Cable Beach messages. This was a poorly thought out design that mixed architecture and implementation
* Slight tweaks to Cable Beach AvatarAttributes, trying to encompass all of the avatar data OpenSim currently uses

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2729 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 19:41:58 +00:00
Jim Radford
d6f857ba01 LIBOMV-527 Fixes crash in GridProxy due to Viewer sending bad capability requests (Our parser defaults them to GET when they should be POST)
LIBOMV-477 Adds known data on ProductInfoRequest capability, will have to finish this when the capability is on the simulator.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2727 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 07:29:44 +00:00
Jim Radford
1331591d27 MLIBOMV-505 moving progress callback outside of Progressive download check loop to allow partial progress updates for the download progress event.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2726 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 02:52:55 +00:00
Jim Radford
10be14ad3b LIBOMV-291 Adds new method to InventoryManager to update an existing script in an agents inventory. Thanks Angelo Biondi for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2725 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 02:23:39 +00:00
Jim Radford
c351d287c7 LIBOMV-526 Adds ability to send a string message when requesting friendship with OfferFriendship method.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2724 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:35:06 +00:00
Jim Radford
f88ca201e5 Adds several methods to EstateTools:
LIBOMV-523 Add Estate Managers 
LIBOMV-524 Remove Estate Managers
LIBOMV-525 Teleport All users on an estate to their home location
Thanks Daten for the patches!

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2723 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:18:36 +00:00
Jim Radford
ade2d9a2bf LIBOMV-505 Turning OFF timing debug I accidentally left on during the last commit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2722 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:10:10 +00:00
Jim Radford
24c283e121 LIBOMV-505 changes internal callback to a list of callbacks so duplicate texture requests both get the calbacks passed fired.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2721 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:06:10 +00:00
Jim Radford
07f8bfad06 LIBOMV-505
* Adds Delegate and Event for tracking the progress of textures being downloaded via the TexturePipeline class.
* Temporarily fixes noisy developers


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2718 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 21:26:14 +00:00
Jim Radford
5cb332ff1e Applies patches provided by Daten from LIBOMV-520 and LIBOMV-521 which adds methods to EstateManager to control various settings, and to do simwide returns of objects.
Also code cleanup and organization in EstateTools

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2717 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 20:03:35 +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
1ac746c3f2 LIBOMV-501 Pass 2: Cleanup of compile time warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2714 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 07:45:28 +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
John Hurliman
545e8c97bd Added TexturePipeline.TransferCount getter property
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2711 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 06:57:39 +00:00
John Hurliman
79beceeb1d * Rewrote the Header class as a struct and optimize for speed. This shouldn't be a breaking change for most apps, but GridProxy and WinGridProxy will need to be tested as thoroughly as possible. Important to note is that Packet.Header.AckList can be null now
* 404 checking in SeedRequestCompleteHandler
* A few new big endian conversion methods in Utils

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2709 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 06:38:28 +00:00
Jim Radford
9d0c803450 Fix xml-rpc login "0 avatars online> 4437 [XML-RPC Login] DEBUG - Login response failure: Object reference not set to an instance of an object." error which was occuring when the login response did not contain a "home" position (ie for new accounts)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2708 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 04:48:24 +00:00
Jim Radford
89401f4a5e LIBOMV-503 Corrects deserialization and TimeStamp field date decoding of LandStatReplyMessage
LIBOMV-512 Changes way sessions are saved to disk, better error checking and hopefully crashes won't cause corrupt settings.osd file now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2707 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 03:13:51 +00:00
John Hurliman
85f09236ee * Removing ultra-noisy debug line from TexturePipeline
* Removing the WinGridProxy Plugin menu command hookup since the function didn't exist

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2704 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 19:00:43 +00:00
John Hurliman
a7ba753336 Fixes [LIBOMV-518], wrong args were being passed to CreateItemFromAssetResponse the second time around
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2703 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 18:09:58 +00:00
John Hurliman
7dac216bf3 * Catch login timeouts in the XML-RPC login method
* Removed unused libopenjpeg-dotnet-2.1.3.0-dotnet-1.so
* Fixed login parameter construction in GridImageUpload
* Fixed GridImageUpload config file
* Updated GridImageUpload version number

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2702 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 17:46:31 +00:00
Jim Radford
59c8c38eba LIBOMV-505 Turning off timing checks by default, minor cleanup of AppearanceManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2700 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 16:20:57 +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
2725f1b660 [EstateTools.cs]
* Implemented LIBOMV-514 and LIBOMV-515 based on patches submitted by Daten Thielt for setting estate terrain textures and heights
* Resolved LIBOMV-516 by moving EstateTools instance to Client.Estate
* Added framework for storing the latest received estate texture info (not yet implemented)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2698 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 04:55:36 +00:00
John Hurliman
d8855b7b6e Marking InternalDictionary[] getter as public
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2697 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 00:36:09 +00:00
John Hurliman
fce25d2133 Marking InternalDictionary.Dictionary as internal
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2696 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-06 23:34:50 +00:00
John Hurliman
17932a2e7c * Fixes [LIBOMV-511], locking was happening on the wrong object for InternalDictionary
* Adds a new ForEach(KeyValuePair<TKey,TValue>) method to InternalDictionary
* Removing SafeAdd/SafeRemove from InternalDictionary and adding locks to normal Add/Remove. Also added locks to the [] operator and removed unnecessary locks from ContainsKey/ContainsValue
* Fixed rampant locking inconsistencies in FriendsManager. Rule of thumb: let InternalDictionary handle the locking for you

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2692 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-06 19:07:21 +00:00
John Hurliman
bb97bdcdc7 Fixing [LIBOMV-485] by replacing the GetHashCode() check at login with a randomly generated LoginID value
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2690 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-06 17:41:48 +00:00
Jim Radford
b78464a423 LIBOMV-508 Adds check for MediaData block in ParcelPropertiesMessage Deserializer, this block is missing in OpenSim so a parse except is thrown.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2684 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-02 00:59:50 +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
Latif Khalifa
6d6af6f3f8 LIBOMV-507 fix typo preventing SessionID from being populated
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2678 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-01 03:16:03 +00:00
Jim Radford
fd9e756ccf * Standardized Event Callback names for recently added Event Message handlers and some older Event Callbacks
* Switched ChatterBoxAcceptInvite and StartIMConference to use Message system
* Renamed misspelled StartIMConfrence to StartIMConference *BREAKING CHANGE*
* Minor XML documentation updates to be more clear and some typos corrected.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2675 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-29 18:33:46 +00:00