Commit Graph

720 Commits

Author SHA1 Message Date
John Hurliman
de2a49dddf First round of memory improvements!
* Disable TRACK_UTILIZATION by default
* Ignore Primitive.ScratchPad and always set it to Utils.EmptyBytes. This field is deprecated on the SL grid and there are better ways to extend the protocol for non-SL grids
* More graceful handling of corrupted wearables
* Free up memory after baking

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3297 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-20 21:58:23 +00:00
John Hurliman
94f830b9d9 * Cleaned up the LocklessQueue implementation, removed the unsafe Clear() method, and added documentation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3296 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-01 01:07:50 +00:00
John Hurliman
14782dd1ef * Handle another prim XML ambiguity in OAR loading
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3295 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-01 01:01:53 +00:00
John Hurliman
06939fa7ad * Removed OpenMetaverse.Http
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3294 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-01 01:01:01 +00:00
Latif Khalifa
b50958fc99 LIBOMV-819: Implemented support for resource usage limits
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3293 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-31 11:47:52 +00:00
Latif Khalifa
2259689a1f * Moved primitive related enums over to types
* Added EnumInfoAttribute class to specify extra attributes for enums
* Added EnumInfoAttribute.Text attributes to AttachmentPoint enum
* Added Utils.EnumToText() that will return EnumInfoAttribute.Text for a given enum value
* Added Utils.StringToAttachmentPoint() that converts AttachmentPoint string returned in LLSD to AttachmentPoint enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3292 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-31 02:10:59 +00:00
Latif Khalifa
3ccf091c62 Updated list of known caps
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3291 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-30 23:17:07 +00:00
Latif Khalifa
ad52943235 Try to avoid null ref and key not found exceptions.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3290 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-24 03:03:30 +00:00
Latif Khalifa
fa12c169bc LIBOMV-818: Add simulator to AvatarAppearanceEventArgs
Patch by Robert Adams

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3289 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-21 21:00:12 +00:00
John Hurliman
5b6a86d518 * Fixed OAR loading of linkset assets
* Added a helper method to convert from the OAR-loaded PrimObject to OpenMetaverse.Primitive
* Added a basic sanity check to TextureEntry.FromBytes() for TEs less than 16 bytes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3288 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-21 01:49:57 +00:00
Latif Khalifa
3bb3630a36 Converted AssetManager to the new event model.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3286 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-17 14:00:36 +00:00
Latif Khalifa
8a52b8fb52 Converted TerrainManager to the new event model.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3285 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-17 12:30:30 +00:00
Latif Khalifa
42d3ebebba LIBOMV-785: Imaging.OpenJPEG.DecodeToImage adds alpha channel to images that do not have alpha component
Patch by Sheet Spotter

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3282 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-16 18:43:49 +00:00
Latif Khalifa
923b210aea Allow for clients with Linden TPV policy compliant login process .
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3281 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-15 18:44:10 +00:00
Latif Khalifa
60705862cc Fixed nullref when creating group roles, and added ability to delete group roles.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3279 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-14 16:36:05 +00:00
Latif Khalifa
fd6c2217a0 Add some extra sanity checks when restring inventory from cache
* Don't restore folders that are not in the skeleton
* Don't restore items that belong to changed folders

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3278 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-14 12:50:01 +00:00
Latif Khalifa
fa693b5b3d LIBOMV-811: AVATAR FromOSD Problem, when base FromOSD is called, it cannot be explicitly cast to from Primitive to Avatar
Patch by  John R Sohn  

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3277 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-13 20:49:37 +00:00
Latif Khalifa
1141de84d4 LIBOMV-810: Do some sanity checks instead of blindly running into exceptions. Patch by Elric Ember
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3274 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-13 11:31:12 +00:00
Latif Khalifa
d54194a56b LIBOMV-801: Added GetOSD() and FromOSD() functions to Avatar object and all subclasses. Patch by John R. Sohn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3272 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-12 23:31:50 +00:00
Latif Khalifa
8e0d01807b Clean up some cruft from when this feature was developed inside Radegast
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3271 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-10 07:30:36 +00:00
Latif Khalifa
cc4d76231e LIBOMV-805: More reliable resource loading
Disable parallel reading of file to avoid files locking issues in the baker

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3270 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-08 22:39:40 +00:00
Latif Khalifa
06713078af LIBOMV-804: Added ability to manipulate object media
Fixed serialization of ObjectMedia Message

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3269 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-08 10:57:01 +00:00
Latif Khalifa
74fcac0962 Actually enable the CAPs needed for MoaP support.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3268 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-07 20:29:58 +00:00
Latif Khalifa
eb82abedf4 Added RequestObjectMedia() for getting object media details. Unable to test since the required cap is never granted to libomv.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3267 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-07 19:58:06 +00:00
Latif Khalifa
285c35471b Don't modify channel string sent by the application. Important for compliance with TPV rules.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3266 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-07 18:29:53 +00:00
Latif Khalifa
9b53a5ae7b LIBOMV-803: Added support for the new messages used for media on a prim
Allow packet decoder to cope with nulls in arrays

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3265 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-07 14:42:52 +00:00
Latif Khalifa
04f0e2db2a LIBOMB-796: Added Visual Parameters field to Avatar Object and updated avatarmanager event AvatarAppearanceHandler accordingly
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3264 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 21:47:23 +00:00
Latif Khalifa
eaa3c6afd6 Docu fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3263 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 15:50:42 +00:00
Latif Khalifa
fcbdb71385 LIBOMV-797: Added ability to save changes to scripts and notecards within object contents
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3261 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 13:58:42 +00:00
Latif Khalifa
84c3b1b6db Be more resilient when encountering new and unknown visual params.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3260 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 08:02:28 +00:00
Latif Khalifa
ca56d4030b Added support for inventory links LIBOMV-795
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3259 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 13:47:44 +00:00
Latif Khalifa
279baa7068 Added IsLink method to InventoryItem that indicates if the item is a link (LIBOMV-793)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3258 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 11:54:08 +00:00
Latif Khalifa
d43b7c0609 LIBOMV-794: added UpdateFolderProperties() method to InventoryManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3257 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 10:43:20 +00:00
Latif Khalifa
2c74cc1583 Update message_template to sync with viewer2.0beta3
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3253 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 06:47:55 +00:00
Latif Khalifa
5277f203b6 Fix group chat/friends conferences. Detect invitations to voice group chat/friends voice conferences LIBOMV-773 (nothing done about them for now).
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3252 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-16 07:27:11 +00:00
Latif Khalifa
6aa0e597b6 Added copyright notice. Use different port for voice daemon.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3251 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-16 06:38:52 +00:00
Latif Khalifa
c1de6e2889 Reverting patch from LIBOMV-785, causes failures in loading tga resource images.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3250 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-14 07:34:52 +00:00
Latif Khalifa
5e0db9becd LIBOMV-789: Allow setting of agent position for doing dead reconning (patch by Robert Adams)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3249 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-13 17:17:49 +00:00
Jim Radford
2ec49bdc3a LIBOMV-767 Implements RegionInfo message handler in message system, no events are raised
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3248 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-13 02:24:07 +00:00
Jim Radford
7d76463368 LIBOMV-770 Change to how booleans are parsed via xml
* Updates unit tests for ChatterBoxInvitationMessage test

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3247 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-13 02:12:33 +00:00
Jim Radford
c43dc9581e LIBOMV-773 Implements ChatterBoxInvitation variant as described in jira entry
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3246 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-13 01:59:53 +00:00
Jim Radford
b9b648c8d0 LIBOMV-783 Adds support for Linden Homes regions, specifically a ParcelFlags entry which was recycled to indicate a linden homes parcel
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3245 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-12 21:59:13 +00:00
Jim Radford
8d31e2d36f LIBOMV-785 Applies Patch from Sheet Spotter (what an obscene choice for a name) Which fixes alpha channel decode issue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3244 52acb1d6-8a22-11de-b505-999d5b087335
2010-01-15 04:30:13 +00:00
John Hurliman
66e1017103 * Initial implementation of the J2KEncoder class. Currently, it only supports lossy single layer RGB textures
* Breaking change to the OSD format for permissions. The field naming convention has been corrected to match the rest of the OSD serialization methods
* Added serialization support to ParticleSystem
* Finished TextureEntry serialization support

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3242 52acb1d6-8a22-11de-b505-999d5b087335
2010-01-06 23:45:43 +00:00
Latif Khalifa
1e648c4871 Workaround for https://bugzilla.novell.com/show_bug.cgi?id=565602
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3241 52acb1d6-8a22-11de-b505-999d5b087335
2009-12-17 13:48:06 +00:00
John Hurliman
a35b8542d8 * Added more packet splitting tests
* OarFile loading no longer automatically decodes assets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3238 52acb1d6-8a22-11de-b505-999d5b087335
2009-12-02 00:04:42 +00:00
4b72db4310 Fixed a duplicate param tag added in previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3237 52acb1d6-8a22-11de-b505-999d5b087335
2009-12-01 06:57:01 +00:00
fba75ae86a LIBOMV-771: Fixed .IsNew property for object updates and added it for avatar updates
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3236 52acb1d6-8a22-11de-b505-999d5b087335
2009-12-01 06:52:09 +00:00
Jim Radford
1ecc9b70eb * Additional documentation clarification for Parcel struct
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3235 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-30 23:09:25 +00:00
Jim Radford
94b169c222 Update Parcel struct documentation to make the various Count fields better understood
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3234 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-30 22:49:35 +00:00