John Hurliman
a8a41e8044
Improved unit testing for ToBytesMultiple(). This catches at least one error that needs to be fixed
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3193 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 06:34:13 +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
b60db797b2
LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +00:00
Jim Radford
bdeda88b3c
* Cleanup of message system, remove some cruft code, message keys are not neccessary to be included in classes, reuse uploader request class used by notecards for gestures
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2996 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-16 20:10:44 +00:00
Jim Radford
75dfeb8342
* Updates Message system to support all known message types and variants used for updating assets which are uploaded using the temporary uploader capabilities
...
* Adds a ton of inline documentation so the classes and fields are easier to understand
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2975 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 08:16:43 +00:00
Latif Khalifa
61fc8e61b6
Fixed serialization of AgentGroupDataUpdateMessage, problem discovered by unit tests
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2946 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 13:50:45 +00:00
Latif Khalifa
61cc6acf43
LIBOMV-613 Make ListInProfile actually work
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2945 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 13:00:58 +00:00
Latif Khalifa
024c4b151d
Proper implementation of messages related to RemoteParcelRequest capability
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2926 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 23:07:04 +00:00
Latif Khalifa
6453428d60
Fix tests RemoteParcelRequest -> RemoteParcelResponseMessage
...
Are these created automatically?
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2914 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 21:21:20 +00:00
omegaworks
79f0534e5c
Fixes LIBOMV-584, NetworkTests race.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2860 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-08 21:46:56 +00:00
John Hurliman
baaf1fb1f4
* Only append ACKs to outgoing packets if one or more ACKs are successfully dequeued
...
* Commented out noisy CAPS debugging messages
* Added a test (under packet tests for lack of a better place) to measure Environment.TickCount resolution and fail if the resolution is not consistently under a 10ms variance
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2813 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-27 00:29:43 +00:00
Latif Khalifa
dcb7da5a24
* [LIBOMV-549] Added Packet.ToBytesMultiple() class that will automatically split a packet with variable blocks up into multiple packets that fit in the MTU (1200). Unit test is included. This is not actually being used by the library anywhere (yet), but hopefully it will be soon
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2799 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-22 00:09:22 +00:00
John Hurliman
41dc784a91
Fixing a silly issue with NUnit thinking a helper method is actually a test
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2768 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 00:44:37 +00:00
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
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
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
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
Jim Radford
4570370c27
LIBOMV-477 Adds TeleportFinishMessage to unit tests to verify encode/decode match
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2670 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-28 00:02:33 +00:00
Jim Radford
2ad91ceeb6
LIBOMV-477 Adds 3 known variants of ChatSessionRequestMessage to Message System
...
Adds a little documentation, and some naming cleanup
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2660 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-25 01:54:52 +00:00
Jim Radford
a9258c3cdc
LIBOMV-477 Some minor fixes to messaging system, and some test updates to fix TeamCity Test Failure.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2652 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-24 04:39:44 +00:00
Jim Radford
7129ee185e
LIBOMV-477 LindenMessages additions/fixes:
...
* New LandStatReplyMessage
* Test added for UpdateNotecardAgentInventoryMessage
LIBOMV-492 More WinGridProxy Goodness:
* New Inspectors: Notation, Raw changed to show Request/Response Headers, default Request/Response tab shows a formatted string representation of the Packet/Message being decoded.
* All messages are wire-data tested against IMessage system.
* Changed login box to be a dropdown with a few default grid options: Agni, Aditi, OSGrid, and LocalHost for Simian connections
* Some changes to GridProxy to pass along raw byte encoded data and Headers to the Caps Delegate.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2644 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-22 00:01:30 +00:00
Jim Radford
b0b7df3c8e
LIBOMV-477 Adds SendPostcardMessage to Message system
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2629 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-18 06:20:20 +00:00
Jim Radford
5f785e9dfc
LIBOMV-477 Adds UpdateScriptAgentMessage and UpdateScriptTaskMessage to the messaging system for uploading scripts to an agents inventory and a prims task inventory respectively, Tests Included
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2628 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-18 05:57:46 +00:00
Jim Radford
1293118b89
LIBOMV-477 Adds RemoteParcelRequestMessage to Message system including encode/decode test
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2608 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-16 04:25:09 +00:00
John Hurliman
d1d990f052
* Changed old references in the tests from OSDURI to OSDUri
...
* Added OpenMetaverse.Messages.CableBeach which contains several packets for the Cable Beach protocol and several OpenID Attribute Exchange definitions for avatar data
* Better handling for IPAddress values in OpenMetaverse.Messages by using helper functions
* Removed OpenMetaverse.Messages.Simian and merged those messages into the CableBeach protocol
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2607 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-15 23:17:51 +00:00
Jim Radford
8d029fa3d5
LIBOMV-477 Fix a bug deserializing AgentGroupDataUpdateMessage, LL sends the AgentID in an Array
...
* Converted URLs in Parcel Properties messages back to string (having them as Uri's did not work for null/empty URLS)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2602 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-14 05:32:20 +00:00
Jim Radford
afe715a30f
LIBOMV-477 Adds several capabilities message classes
...
* Some cleanup of LindenMessages.cs class
* Tests for all messages encode/decode are implemented and included
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2601 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-14 04:47:55 +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
Jim Radford
7c76da6f4f
LIBOMV-142 Adds attribute to Network tests to allow the ability to exclude from automated processing
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2598 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-10 23:51:59 +00:00
Jim Radford
ecbfb4b1f9
* Increased Timeout for DetectObjects Unit Test
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2548 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 18:03:00 +00:00
Jim Radford
8b2f3b6df8
* Fixed verbosity error in notation unit tests
...
* Disabled Network Tests in Automated builds
* Fixed minor compile time warning due to XML comment mismatch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2547 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 17:33:54 +00:00
John Hurliman
26e0e50615
* Fixed two failing OSD tests. OSDReal.AsString() now uses a slower but more accurate method to produce values that will always round-trip. A random "B" character was removed from the XmlSD DeserializeLLSDSample() test
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2508 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-19 18:15:49 +00:00
John Hurliman
8106fccdd2
* Changed Primitive.TextureEntry.ToBytes() to GetBytes() to follow naming conventions
...
* Added Primitive.TreeSpecies and Primitive.ScratchPad
* Converted Primitive.SoundFlags to the new SoundFlags enum
* Added a Utils.BytesToString() overload that accepts index and count parameters
* Added Utils.FloatToUInt16()
[Simian]
* Lots of changes in Simian to use the new unified ISceneProvider.ObjectAddOrUpdate() function
* Update flags are checked to determine the minimum sized packet that needs to be sent out for an update. ImprovedTerseObjectUpdate is working, and started work on ObjectUpdateCached (updates using this will currently not send)
* Adding three new variables to SimulationObject to store attachment-related state
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2478 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-10 01:54:45 +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
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
Jim Radford
be51acd649
Updating Unit tests, disabled U64Receive test which keeps failing due to when the test is being called
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2219 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-13 06:33:41 +00:00
John Hurliman
4f94adf5ec
* IMPORTANT OpenMetaverseTypes CHANGE! Changed string to UUID typecast operator from implicit to explicit. This prevents accidents like "if (myUUID == null)" from compiling
...
* Added ImageCodec enum
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2209 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-10 18:42:11 +00:00
John Hurliman
e0caa6a48e
Neutered the NUnit network tests to prevent a failure when the test bots logs into the wrong sim (very common, not our fault)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2203 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-08 18:42:05 +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
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
John Hurliman
99239ebcfc
* Splits libomv into OpenMetaverseTypes.dll and OpenMetaverse.dll
...
* All MathUtils and non-SL-specific Helpers functions have been put in OpenMetaverseTypes.dll inside the Utils class. Helpers only contains SL-specific functions now
* LLSD encoding/decoding for custom types has been moved out of the types and implemented as static functions in the LLSD class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2082 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-12 22:38:02 +00:00
omegaworks
2d3b4be947
Renaming OfflineInventoryTests to LocalInventoryTests, OnlineInventoryTests to RemoteInventoryTests, for clarity. All tests have been done online since r2042.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2066 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-05 05:58:30 +00:00
Jim Radford
177391dcb6
LIBOMV-337 Updated OfflineInventoryTests unit tests from Ninja Chris Omega
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2042 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-31 06:23:10 +00:00
Jim Radford
cc8289ddd2
LIBOMV-337 Adds Unit tests for InventoryManager from Chris Omega
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2041 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-31 03:55:49 +00:00
Jim Radford
2ec24f22fa
Compiler warning cleanup, fixes all unmatched parameters (adds empty placeholders for CrisOmega to fill in when he wakes up :)), Adds additional warning supressions to prebuild.xml
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2033 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-30 06:51:51 +00:00
Jim Radford
525c0887d3
Update Unit NetworkTests, U64Receive test was being checked against the wrong region handle
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2031 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-30 06:17:40 +00:00
Jim Radford
369c54040c
Fixed DeserializeDate unit test which got inadvertently fubared during the recent library rename
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2030 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-30 05:42:25 +00:00
John Hurliman
e294f47afd
* Basic types renaming continued
...
* Corrected ManagedImage.ExportRaw() function to flip the image (OpenGL has a texture origin in the bottom-left)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2015 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 22:23:48 +00:00