Commit Graph

34 Commits

Author SHA1 Message Date
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
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
63517c20c2 LIVOMV-451 Prevent DiscardLevel from being set to below 0 which can cause transfers to be very slow on busy simulators Thanks Snowdrop Short for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2495 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-18 18:11:31 +00:00
John Hurliman
3ad7551a4a * Added Utils.EmptyBytes which is equal to new byte[0] and replaced all references of new byte[0] to Utils.EmptyBytes
* Added a CRC32 implementation to OpenMetaverseTypes.dll
* Added ToBytes() functions to most of the OMV types for writing bytes into an existing byte array

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2470 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-06 01:32:02 +00:00
John Hurliman
8f7775a7ac [LIBOMV-448] Applying a patch from Snowdrop Short to allow the TransactionID to be specified for asset uploads
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2445 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-18 19:07:06 +00:00
Jim Radford
e1f7110a46 LIBOMV-434 Applies patch from Robin Cornelius - AppearanceManager - corrects cached bake issues, work in progress
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2415 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-14 11:29:29 +00:00
John Hurliman
1df78cb074 * Split up asset store and transfer manager in Simian into two extensions
* Added PeriscopeTransferManager to handle animation and sound transfers
* Misc. transfer bugfixes in libomv
* Misc. improvement to TexturePipeline and some numbers tweaking
* Attempted to pass object touch events through to foreign grid in Periscope, may not be working
* Added new chat commands in Periscope

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2385 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-19 03:39:29 +00:00
John Hurliman
194752abc1 * Moved TexturePipeline into libOpenMetaverse (still needs to be instantiated separately)
* Moved TextureCache into its own file
* New version of Periscope, major improvements. Check the Simian.ini file for usage, and change the const values in Periscope.cs
* Lots of miscellaneous cleanups and improvements in Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2383 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-17 03:49:42 +00:00
John Hurliman
7f8cffafd2 * Moved BlockingQueue, DoubleDictionary, and ExpiringCache into OpenMetaverseTypes.dll
* First attempt at an EventQueueServer implementation, untested
* Implemented a capabilities server that can route capabilities to local callbacks or remote URIs
* Modified HttpServer.HttpRequestCallback to return a bool: true to close the connection, false to leave it open
* Removed all locks from HttpServer and added try/catch around HttpListenerContext operations
* Added Color4.FromHSV()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2379 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-15 19:13:24 +00:00
John Hurliman
9d80aaae54 Added an attempted fix to keep out of order Xfer packets from killing the transfer
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2350 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-11 23:55:33 +00:00
John Hurliman
5376dcdb17 Fixing endianness bug in xfer downloads
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2349 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-11 23:07:43 +00:00
John Hurliman
2e2eb76f65 Added a debugging line for Xfer downloads
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2348 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-11 22:28:36 +00:00
John Hurliman
932306aba9 Added a param to AssetManager.RequestAssetXfer() that specifies if LLPath.Cache (4) or LLPath.Unknown (0) should be used in the request
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2347 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-11 22:20:50 +00:00
John Hurliman
0317e6a35f Reverting [LIBOMV-420], OpenSim trunk correctly obeys the 1000 byte packet size so this is unnecessary
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2344 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-10 18:37:25 +00:00
John Hurliman
983f235b3a Applying patch from Anton Lauridsen for [LIBOMV-420] to support texture downloads from simulators that use a non-standard size for transfer packets. Will definitely increase memory usage and fragmentation, but not much can be done until the udp texture transfer protocol goes away entirely
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2343 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-10 18:19:45 +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
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
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
2b8196c8d9 Fixing bugs in the previous commit for refreshing texture downloads
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2228 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-16 01:48: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
Jim Radford
038c6eede0 LIBOMV-379 Added Animation type support to wrapper creation in AssetManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2218 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-13 03:16:21 +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
f0ba48353b * Fixing a few lingering endian issues [LIBOMV-361]
* Removing all big endian methods from Helpers to avoid future confusion
* Sanity check in InventoryCommand.PrintFolder()
* Some GridProxy hackery to work with the OGP client, this will be cleaned up later

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2148 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 21:51:20 +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
cfb75b85b0 * Fixed mapgenerator bug caused by types name change
* Fixed mapgenerator bug causing all packets to default to Unencoded
* Added Helpers.BytesToInt()
* Fixed endian problem in Helpers.BytesToUIntBig()
* Fixed LoginResponseData.ToXmlRpc() to return non-broken inventory skeleton
* Added EstateAssetType and TransferError enums
* Changed an Asset constructor to also take an AssetID

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2124 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-20 22:46:28 +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
John Hurliman
e2986fbf06 * Heralding in a new era of botdom with [LIBOMV-343], rate limiting for outgoing packets
* Converted BlockingQueue to a generic collection

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2048 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-02 01:49:20 +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
John Hurliman
bfa6f6ca3f Applying patches from [LIBOMV-288] to completely redo the InventoryManager system, hopefully for great justice
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2021 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 21:36:53 +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
John Hurliman
81e6342d36 Removing LL prefix from all basic types
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1998 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 05:15:05 +00:00
John Hurliman
c1f3d6a3c2 Renaming libsecondlife folder to OpenMetaverse. Part of a multi-step process, do not check out this revision!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1957 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-22 22:56:05 +00:00