Commit Graph

489 Commits

Author SHA1 Message Date
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
977217bb15 Correct GroupPowers enum's type to ulong, shift ulong bits too. Good catch jradford
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2944 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 11:51:38 +00:00
Latif Khalifa
7de5688830 LIBOMV-613: some more work on the GroupManager
* Added new member to Group struct ListInProfile
* Added new method that allows saving preferences about notices and listing group in profile
* Changed Powers enum to be hopefully more readable.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2943 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 11:26:17 +00:00
Latif Khalifa
0fb6ff7a2b LIBOMV-613 added ToString() override for GroupTitle struct that retuns the title itself
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2942 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 01:29:12 +00:00
Latif Khalifa
25e877593a LIBOMV-613 add requestID to GroupTitlesCallback too
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2941 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-30 23:51:20 +00:00
Latif Khalifa
f363e1f364 LIBOMV-613 Back out part of the previous commit, partial lists not feasable with current GroupManger infrastructure
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2940 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-30 21:37:35 +00:00
Latif Khalifa
75c3930f87 LIBOMV-613 LIBOMV-581 Refactor group manager callbacks to provide information needed to tell which group/request received data belongs to.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2939 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-30 12:25:48 +00:00
Latif Khalifa
5b484e0070 LIBOMV-611: FriendsManager Exception An entry with the same key already exists, patch by Douglas R. Miles
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2934 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-29 07:00:29 +00:00
Latif Khalifa
29cb7d1d7c LIBOMV-612: TerrainManager (Locking the wrong Dictionary), patch by Douglas R Miles
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2933 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-29 06:47:29 +00:00
Latif Khalifa
7ec16b5b18 LIBOMV-613: Enhance GroupMembersCallback to allow passing requestID and groupID
* Pass along total number of group members
* Return partial results
if event handler is only interested in the full result a simple
if (memberCount > members.Count) return;
will suffice.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2932 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-28 19:13:05 +00:00
Latif Khalifa
5b54b7a6a4 LIBOMV-610: Mark nodes NeedsUpdate that have version mismatch when restoring from cache
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2931 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-28 16:13:58 +00:00
707b5378aa Removed EstateTools instance from Simulator, in accordance with LIBOMV-516. The only instance should be Client.Estate
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2930 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-28 16:09:01 +00:00
John Hurliman
6346c5c902 Modified Helpers.ZeroDecode() to print out the full error when something goes bad. This includes a stack trace to help narrow down the source of future problem
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2929 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 23:46:37 +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
John Hurliman
bcffd0cbd6 Removed OpenMetaverse.Messages.CableBeach. These messages have been moved to a new library in the CableBeach repository called CableBeachMessages.dll
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2925 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 23:02:49 +00:00
John Hurliman
184f2602d2 Applying [LIBOMV-598] from Douglas R Miles, adds three new callbacks to ObjectManager to track object modifications
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2924 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:53:48 +00:00
John Hurliman
b5c74a152d Fixes [LIBOMV-560], exception thrown in FriendsManager.OfflineNotificationHandler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2923 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:44:33 +00:00
John Hurliman
21425f31af Added an overload to ObjectManager.ClickObject that takes SurfaceInfo parameters. This fixes a nullref exception when calling ClickObject(). Thank you nephrael
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2922 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:37:17 +00:00
John Hurliman
4851c9b214 * [LIBOMV-600] Don't disconnect sims we teleport away from, the grid will do that for us
* [LIBOMV-601] Don't mark any simulators as disconnected other than the current simulator. There's no benefit in firing disconnect events for them, and there are too many false positives

Thank you Douglas R Miles for both of these

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2921 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:28:08 +00:00
John Hurliman
eb0430f8dd Added a sanity check when restarting the Simulator.AckTimer to resolve [LIBOMV-604]. Thanks root66
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2920 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:18:41 +00:00
John Hurliman
702df01beb Applying [LIBOMV-605], region names are now case sensitive. Make sure to check your TestClient launch files and your code for case sensitivity issues!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2919 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:13:22 +00:00
John Hurliman
e7563ffc4b Fixing [LIBOMV-606], FindAgentPacket fails to serialize when using FindAgent()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2918 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:09:55 +00:00
John Hurliman
8772d09477 * Changing OpenMetaverse.Messages.Linden messages to use abstract base classes instead of interfaces for variants. Non-breaking change
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2916 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 21:56:38 +00:00
John Hurliman
b4fc6ccdab Committing a slightly modified version of [LIBOMV-609] to fix prim serialization/deserialization when TextureEntry or DefaultFace data is missing. Thank you echeslack
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2915 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 21:32:22 +00:00
Robin Cornelius
f08754921d LIBOMV-610, Implement version checking when restoring cached inventory folders and clean up the code responsible for inventory reconstruction
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2913 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 20:51:14 +00:00
Latif Khalifa
751a1b0122 LIBOMV-608: Avoid null ref exception when Prim.Properties is not set
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2912 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-26 06:55:23 +00:00
Latif Khalifa
d02eb9027e LIBOMV-607: Implement ability to get remote parcel ID's
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2911 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-26 06:51:41 +00:00
John Hurliman
ff8cdec8b6 Adding an AppearanceManager fix from kinoc that sets all appearance params to default values before updating the params from decoded wearables. Fixes scrunched faces and other miscellaneous appearance oddities
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2909 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-24 00:56:07 +00:00
John Hurliman
5e890f4026 Added a patch to the OpenJPEG wrapper to try and correct bad J2KLayerInfo.End values that occur on 64-bit systems
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2907 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-23 23:11:10 +00:00
Latif Khalifa
6fd835add6 Attempt to fix timeouts not being reset when data is received
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2901 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-17 00:53:56 +00:00
John Hurliman
de9f01f882 * Changing RegionInfo.Capabilities from Dictionary<string, Uri> to Dictionary<Uri, Uri> since all service methods use full URI identifiers now
* Added Utils.HostnameToIPv4() to OpenMetaverseTypes.dll

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2900 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-17 00:52:39 +00:00
John Hurliman
74d8e8b8c6 Pass the correct parameters to RequestImage() when a new texture download is started in TexturePipeline
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2899 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 20:59:23 +00:00
John Hurliman
70a756a221 Experimental patch to TexturePipeline to try and avoid overwriting transfer state when a new download is started. Needs feedback
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2898 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 20:39:31 +00:00
John Hurliman
5d51b6128b * Avoiding multiple dictionary lookups in TexturePipeline by using TryGetValue when possible
* TexturePipeline will now automatically increase priority by 5% on texture timeouts instead of decreasing DiscardLevel

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2897 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 20:02:22 +00:00
John Hurliman
f375da4eff Applying patch from [LIBOMV-595] by Douglas R Miles, fixes TextureEntry.GetHashCode() when DefaultTexture is null
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2896 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 19:19:16 +00:00
John Hurliman
092017fc85 Fixing [LIBOMV-594], AgentAnimationPacket was being sent before initializing all of the block arrays
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2895 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 19:16:38 +00:00
Latif Khalifa
468555ca7e Why bother creating timer in the first place. LIBOMV-570
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2894 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 14:56:14 +00:00
John Hurliman
f901cc9761 Fixed an error in OpenMetaverse.Messages.CableBeach.CreateAssetMessage
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2891 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 21:11:41 +00:00
John Hurliman
f9be319211 * Fixed the possibility of simulator timer callbacks becoming stacked if Connect() was called while the timer callbacks were still running
* ACK timer is only restarted once it completes to prevent the callback from stacking

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2890 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 18:32:06 +00:00
John Hurliman
266b97568b * Added Client.Settings.USE_INTERPOLATION_TIMER boolean to optionally disable a potentially large set of calculations every 250ms. Resolves LIBOMV-570
* Copy client.Network.Simulators in the interpolation timer instead of acquiring a very large lock
* Changed the interpolation timer to only fire once and re-register the timer after the function has completed to prevent events from backing up

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2889 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 18:10:01 +00:00
Latif Khalifa
7fedc628f3 LIBOMV-593 Inventory store was not properly updated when item or folder is moved
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2887 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 17:45:34 +00:00
John Hurliman
d0a9c6401f Resolving [LIBOMV-567]. libomv now throws a helpful error and a stack trace when a packet cannot be serialized because of null blocks
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2886 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 17:42:35 +00:00
Latif Khalifa
75cdaf84d5 Remove leftover debugging output.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2885 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 15:52:40 +00:00
Latif Khalifa
1331993148 LIBOMV-592 Properly initialize InventoryFolder when created by UUID
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2884 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 13:11:55 +00:00
Latif Khalifa
4465673985 LIBOMV-590 Implemented full asset notecard decoding
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2883 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-14 11:28:31 +00:00
John Hurliman
cf3beb33f4 Updated CB CreateAssetReplyMessage
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2882 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-13 01:07:32 +00:00
John Hurliman
3642027c19 * Added support for legacy mime types to CableBeachUtils conversion methods. The old mime types were ones that I just randomly chose because there were none defined for LL assets. Eventually, LL created their own mime types and CB switched over to use those. Although the database backend for OpenSim is still storing AssetType, the internals are looking for the legacy content types
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2881 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-13 00:44:22 +00:00
John Hurliman
c7292118b1 * Adding SHA256 methods to OpenMetaverseTypes
* Implementing CreateAssetMessage and CreateAssetReplyMessage in Cable Beach messages

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2880 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-13 00:27:54 +00:00
John Hurliman
e3adf7b02f Cleaned up Packet.FromBytes() to make it clear where the zerodecoding is happening and to skip a redundant check
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2879 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-12 00:50:43 +00:00