Commit Graph

2030 Commits

Author SHA1 Message Date
John Hurliman
5c5a0d9b3b Trying again with Prebuild
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2390 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 09:45:42 +00:00
John Hurliman
e16d81d585 Another attempt to fix Prebuild
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2389 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 09:25:10 +00:00
John Hurliman
a7dbcc84d0 Another patch to Prebuild to fix NAnt output directory
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2388 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 04:37:48 +00:00
John Hurliman
1d4455a9cc Upgrading to the latest Prebuild (patched to let NAnt compile to trunk/bin/)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2387 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 04:22:52 +00:00
John Hurliman
e611558add * Adding the first (of many to come) unit tests for Simian
* Removed Simian's Agent.AgentID, it was redundant with Agent.Avatar.ID
* Added IUDPProvider.OnOutgoingPacket to hook all outgoing Simian packets (for testing)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2386 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 02:09:54 +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
344d327a15 * Removed all strings from _Packets_.cs, including warning messages for null arrays and Packet.ToString(). GridProxy needs a new Packet.ToString() method that uses reflection now
* Fixed foliage decoding and removed OnNewFoliage in favor of OnNewPrim only
* Flexi, light, sculpt, and object properties (all inside of Primitive) are now classes that can be null instead of structs
* Added Primitive.GetExtraParamsBytes()
* Massive improvements to Simian and periscope

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2384 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-18 21:45:38 +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
ee6211550e * Initial commit of Periscope, an experimental Simian plugin that uses a libomv bot to proxy a foreign simulator
* Small cleanups and bugfixes in Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2382 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-16 08:43:27 +00:00
John Hurliman
94ea54bed6 * Changed EventQueueServer to always obey the KeepAlive setting requested by the client
* Added (very slow, O(n)) DoubleDictionary.Remove(TKey1) and DoubleDictionary.Remove(TKey2) functions

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2381 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-15 21:05:50 +00:00
John Hurliman
4e791ad340 Adding new OpenMetaverseTypes.dll source files to the annoying prebuild.xml exclusion hack
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2380 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-15 19:30:29 +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
Latif Khalifa
674d4ea653 Allow setting appearance to continue even dispate some textures failing to bake properly [LIBOMV-420] - Patch by Robin Cornelius
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2378 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-14 02:01:21 +00:00
John Hurliman
a5ede98e87 * Added more DateTime/string/integer/float conversion methods for OSD types
* Slight fix to default output for login response serialization

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2377 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-11 01:36:47 +00:00
John Hurliman
66669a773c * Added method to serialize OSD to a JsonWriter
* Added more OSD.As*() functions to match the OSD.From*() functions
* Added more Utils.BytesTo*() functions

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2376 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-10 02:54:50 +00:00
1b544e0bc0 Fixed previous commit (corrupted in the patch process?)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2375 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-07 02:17:55 +00:00
a1a92dd7aa Initial version of SimExport, saves simulator data in OpenSim OAR format
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2374 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-07 00:35:32 +00:00
Jim Radford
c363e5ae3b Updates Helpfile Builder to add depdendant StructuredData library
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2373 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-05 22:51:01 +00:00
John Hurliman
52eb143b44 Changing some optimized assembly to standard C code to get openjpeg-dotnet compiling on 64-bit Windows
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2372 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-05 18:04:44 +00:00
John Hurliman
4b1f441574 * Sanity check in DeserializeLLSDXml() to return an empty LLSD block instead of throwing an exception
* Removing redundant code from OpenMetaverse.Utilities
* Using System.Diagnostics.StopWatch instead of Environment.TickCount for rate limiting, and speeding up packet sending from 75ms gaps to 10ms (might be slightly too fast, but it works for me)
* Cleaning up the logic a big in RequestAllSimParcels()
* Try/catch block in GridProxy around packet delegates

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2371 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-05 01:34:24 +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
John Hurliman
dd408d38fb * Fixed JSON->OSD deserialization error on empty strings
* Fixed exception strings in OpenJPEG.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2369 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-01 23:58:45 +00:00
Jim Radford
c768eef6cc Removing Serializable attribute from ParcelInfo struct (was accidentally comitted previously and is unnnecessary)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2368 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-01 21:18:34 +00:00
Jim Radford
f9701dcbd7 Adds check/warning for GetParcelLocalID method if ParcelMap/Dictionary has not been previously populated
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2367 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-01 21:13:24 +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
John Hurliman
57704143e4 * Added locking to OpenJPEG encoding and decoding
* Better log output when OpenJPEG sanity check fails

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2364 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-24 22:10:26 +00:00
John Hurliman
0c502322f9 Cleaning up comments in JSON code to avoid visual studio complaints
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2363 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-19 00:32:05 +00:00
John Hurliman
c4bcb8e2bc Added more sanity checking to JPEG2000 layer boundary decoding
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2362 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-18 19:13:25 +00:00
John Hurliman
5fbcd0c4d6 * Moved OpenMetaverse.StructuredData to a separate library
* Added experimental JSON serialization/deserialization to OSD using LitJSON (works, but subject to change soon)
* Moved packet handling code out of Simian.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2361 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-18 03:16:38 +00:00
John Hurliman
8e84377b22 * Removing EnUsCulture from Helpers as it already exists in Utils
* Removing Helpers.NewLine as it already exists in Environment.NewLine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2360 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 23:37:02 +00:00
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
d4cc4e96e6 Updating the openjpeg binaries for Linux/Linux64/OSX. Using a new naming convention of libopenjpeg-dotnet-[openjpeg-version]-dotnet-[patch-version], so Makefile/Makefile.osx/OpenMetaverse.dll.config has been updated as well
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2358 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 19:32:05 +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
8e2c951789 * Adding ExtensionLoader as an svn:external
* Manually specifying a guid for ExtensionLoader in prebuild.xml so the ExtensionLoader.csproj that is generated is identical to the existing one

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2356 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 18:10:30 +00:00
John Hurliman
7792f4f6d5 Migrating to external ExtensionLoader project at http://code.google.com/p/extensionloader/ (temporarily breaking the build)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2355 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 18:01:46 +00:00
John Hurliman
335ac4d9b3 Updating OpenJPEG for the "other" platforms :-)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2354 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-15 02:52:35 +00:00
John Hurliman
a7e0fb7860 Hacky fix to force 8-byte alignment on a misbehaving struct in OpenJPEG
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2353 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-15 02:28:36 +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
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
107355edb0 Fixed a ghosting bug in MiniMap from previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2346 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-11 00:31:45 +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
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
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