Commit Graph

1999 Commits

Author SHA1 Message Date
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
4055e121a6 Cleaned up previous commit involving profile picks
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2340 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 23:59:48 +00:00
Latif Khalifa
285bd80925 Adding functions for updating/creating and deleting profile picks [LIBOMV-421]. Patch by Daten
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2339 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 23:52:35 +00:00
69bf9bf5f3 More additions relating to LIBOMV-418
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2338 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 20:29:04 +00:00
ae2f5ce1b3 * Implemented LIBOMV-418: Add SetObjectSaleInfo() function to ObjectManager
* Cleaned up locking in KillObjectHandler
* Fixed an xml param name in Simulator.SendPacketUnqueued

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2337 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 18:51:38 +00:00
Latif Khalifa
7ecdfa97bc Fixed LIBOMV-416 by disabling output packet throttling allowing link and permissions packets to reach the sim before logout
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2336 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 18:25:27 +00:00
Latif Khalifa
58aa671519 Allow outgoing packet throttling to be disabled. [LIBOMV-417]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2335 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 18:17:36 +00:00
955fc8598b Replaced Console.WriteLine debug message with Logger.Log in AvatarManager.RequestAvatarName()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2334 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-08 23:10:26 +00:00
John Hurliman
956b2a6b78 * Lots of networking code cleanup, should hopefully resolve [LIBOMV-415] (thank you Teravus!)
* OldestUnacked is now properly set in outgoing pings
* Enable sending pings by default

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2333 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-07 20:28:32 +00:00
John Hurliman
1f527a843b Fixing up Simian's regular expressions to get login working again
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2332 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-07 18:32:45 +00:00
Latif Khalifa
eb7c5a20ff Update message template to 1.22.0
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2329 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-07 02:26:07 +00:00
John Hurliman
126ccc79bb * Added a List<string> extensionList param to ExtensionLoader.LoadAllExtensions() to only load whitelisted extensions (used in conjunction with .ini file support)
* Modified ExtensionLoader .ini support to allow values with no keys by default
* Added Simian .ini file config support
* Merged Simian's CoarseLocationUpdates extension into AvatarManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2328 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-06 23:41:07 +00:00
8a597a50e4 Updated some renamed params in the xml docs for AgentManager and Helpers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2327 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-05 23:12:09 +00:00
c2cb378689 Fix for previous commit addressing LIBOMV-413
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2326 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-05 23:10:43 +00:00
98fe70e09d Addresses LIBOMV-413: RequestGroupRoleMembers does not add to GroupRolesMembersRequests
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2325 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-05 18:43:06 +00:00
John Hurliman
5e91478192 Added sanity check in OSDParser.DeserializeLLSDBinary() to check if the stream is seekable
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2324 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-05 02:00:07 +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
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
Latif Khalifa
4286a00655 Big directory reorg
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2320 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-30 00:20:55 +00:00
John Hurliman
c30e5fa82b Fixed a dll loading bug in ExtensionLoader
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2319 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-29 22:11:00 +00:00
John Hurliman
d841ffce8d Importing Nini's .ini file parsing into ExtensionLoader
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2318 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-29 20:38:51 +00:00
John Hurliman
3243e3153d * Added contentType parameter to new HttpListener.AddHandler() overload
* Updated Simian to use the simplified HttpListener.AddHandler() overload

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2317 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-29 20:19:08 +00:00
John Hurliman
dad28f767a * HttpRequestSignature uses regular expressions for the path now
* Added a simplified HttpListener.AddHandler() overload
* Lots of improvements in ExtensionLoader, simplified interface
* Updated Simian to latest ExtensionLoader

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2316 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-29 20:11:28 +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
ebaea1009c Resolves LIBOMV-410: Client.Self.Movement.Jump() has no way to stop jumping.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2314 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-28 18:27:19 +00:00
ef0bbd97b3 Additional fix related to LIBOMV-384 (count was 0 on EstateBans)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2313 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-27 15:46:41 +00:00
598cb20e2c Resolves LIBOMV-384: Client.Network.CurrentSim.Estate.GetInfo() Not working
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2312 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-27 15:21:16 +00:00
b26e505387 Implements LIBOMV-408: Simulator Pause/Resume functionality (replaces NetworkManager.Pause/Resume functions which only affected the current simulator)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2311 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-27 02:11:40 +00:00
42b0688498 * Added GroupRole.GroupID and GroupTitle.GroupID properties.
* Resolved LIBOMV-406: GroupManager.UpdateRole() does not populate the .Title field.
* Resolved LIBOMV-407: GroupManager caching by requestID, possible memory leak.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2310 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-26 19:00:43 +00:00
Jim Radford
fd2e1a2524 LIBOMV-403 Corrects RegionHandle returned in OnSimConnected callback which was stored improperly in the Simulator object (Endian issue, bytes were reversed) Thanks Teravus for the report and testing the fix!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2309 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-26 08:37:23 +00:00
64bc9e904f Resolves LIBOMV-340: ObjectManager not removing av from ObjectsAvatars.Dictionary when killed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2308 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-25 16:19:15 +00:00