Commit Graph

32 Commits

Author SHA1 Message Date
Latif Khalifa
5c2c1638e4 Increase the capacity of the buffer for tracking incoming seen messages.
Fixed enum typo
2013-02-02 04:02:13 +01:00
Latif Khalifa
9186f94654 Fetch fresh version of COF during appearance setting.
Added setting whether to use caps for some inventory operations.
TODO: Add support for FetchInventory2 capability
2012-12-16 19:21:23 +01:00
Douglas R. Miles
d2ac0d0ed2 Added LOG_DISKCACHE = true.. when in logging in Debug it no longer cites all cache misses if the boolean is set false (Still warns about File Save Errors) 2012-06-05 21:37:13 -07:00
Douglas R. Miles
c146c632d3 Fixed line-feeds added in last commit 2012-06-05 14:14:57 -07:00
Douglas R. Miles
00b363a4d3 Added two new boolean Client.Settings that can turn on Pooling: CACHE_PRIMITIVES and POOL_PARCEL_DATA .. set to their defaults they makes no change to libomv 2012-06-05 14:09:33 -07:00
Douglas R. Miles
fc5f44889b InventoryNodes are now sortable in their trees 2012-05-30 15:20:58 -07:00
Latif Khalifa
549cf94404 LIBOMV-838: Added support for HTTP texture downloads
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3436 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-20 10:45:09 +00:00
John Hurliman
d999f404cb * Added an overload to NetworkManager.RegisterCallback() that specifies whether a callback should be ran synchronously or asynchronously. Existing RegisterCallback() call defaults to async, new overload is not used by any packet handlers yet
* Removed deprecated Settings.SYNC_PACKETCALLBACKS

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3418 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-12 19:44:57 +00:00
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
Latif Khalifa
9f1870983e LIBOMV-739: Support for Client Identification Tag
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3198 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-31 13:10:58 +00:00
Jim Radford
95a87c7857 LIBOMV-686 Convert NetworkManager events/delegates to new patterns
* Remove INetworkManager interface (it was not being used for anything)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3182 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 08:01:52 +00:00
Jim Radford
bee710bd57 LIBOMV-720 Adds network utilization tracking, example TestClient command 'netstats' included to display the results.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3152 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-18 00:08:20 +00:00
Latif Khalifa
cb58fed531 Tweak timing of uploads some more:
* Try uploading bake twice with 90 sec timeout
  instead of once with 180 sec timeout
(Produces more reliable results in testing with
some packet loss + high latency)

* Catch exception thrown when upload fails to start
in the correct place.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3085 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 12:28:59 +00:00
Latif Khalifa
1082b97aeb * Increase Settings.TRANSFER_TIMEOUT to 3 min (yes it can take that long on higher latency link since we are waiting for ack before sending each new packet),
* Make TRANSFER_TIMEOUT non-cost
* Add more logging to ApperanceManger

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3082 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 02:24:16 +00:00
John Hurliman
c1bc0b4af6 * Moved OpenMetaverse/Resources to bin/openmetaverse_data until we have a working xbuild and reorganize SVN
* Complete rewrite of AppearanceManager. Appearance editing has not been (re)implemented yet, but the normal appearance setting is much more reliable
* Added a setting (defaulted to true) for automatically setting appearance
* Various baking hacks to get slightly less ugly avatars
* Added baked texture uploading through CAPS in AssetManager.RequestUploadBakedTexture(). UDP fallback is not implemented yet
* Added Parallel.Invoke() and overloads for all three methods that take a threadCount

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3038 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 17:43:01 +00:00
Latif Khalifa
257e6a6fb8 Revert change made in r2977, its no longer needed to make this setting static
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3012 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 00:31:48 +00:00
Latif Khalifa
1952d61c25 Change setting names to go along changes in LIBOMV-639
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3005 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-19 03:50:09 +00:00
Latif Khalifa
fac159cba2 Made USE_INTERPOLATION_TIMER static as changes after instantiation of GridClient have no effect
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2977 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 15:30:31 +00:00
Jim Radford
e3d5e0074c LIBOMV-625 Implementes UploadBakedTexture Message decoder/encoder
* Defaults Texture cache to enabled by Default.
* Updates Known Capabilities to include recently added capabilities

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2958 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 07:29:35 +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
John Hurliman
f1e8fd4fe8 Major rewrite of the packet sending code:
* Automatic packet splitting. You can send packets with any number of blocks and the networking layer will split them up automatically
* Less memory is allocated for outgoing packet buffers
* Memory is only allocated for zerocoding (outgoing and incoming) when it is needed
* A lockless queue is used to hold outgoing ACKs
* ACKs are stuffed into packets until they hit the MTU
* All outgoing packets are serialized exactly once, instead of serializing every resend
* Improved the clarity of the networking layer (I will upload a flow chart of packet sending soon)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2800 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-22 19:54:00 +00:00
Jim Radford
14869cab48 LIBOMV-505 Merge in jradford-texturepipeline branch
This changes the way texture requests are handled, the AssetManager
RequestImage method signatures have been changed and are now expecting
the callback with the request.
Progressive requests for textures are supported for rendering viewers
Tuning parameters have been moved to Settings


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2699 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 16:10:52 +00:00
John Hurliman
c5409af63f * [LIBOMV-506] Complete rewrite of CapsBase to use HttpWebRequest instead of our homebrewed WebRequest hack. We lose the upload progress callback but gain IOCP thread instead of System.Thread usage and Keep-Alive support
* Content-Types described in http://tools.ietf.org/html/draft-hamrick-llsd-00 are used for CAPS requests. This *may* be incompatible with the current SL grid, needs testing
* Modified CapsClient requests to require OSDFormat enum and timeout values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2680 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-01 06:04:32 +00:00
Latif Khalifa
98ca04c665 Revert duplicate setting, rate limiting can already be disabled with THROTTLE_OUTGOING_PACKETS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2642 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-21 20:18:24 +00:00
Jim Radford
8fed742abc Add Setting to disable outbound packet rate limiting to Settings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2635 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 08:00:42 +00:00
Jim Radford
2db5f0c493 LIBOMV-481 Re-Implements XML-RPC Logins, New Settings to switch between LLSD or XML-RPC logins, defaults to XML-RPC Please post any new login issues to http://jira.openmv.org/browse/LIBOMV-481
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2583 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-08 01:55:59 +00:00
Robin Cornelius
92d03d5066 Allow runtime chaning of RESOURCE_DIR so that resources can be placed in an approprate R/O area, if desired
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2418 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-22 10:00:02 +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
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
Jim Radford
6b50f9db7f LIBOMV-341 Applying Patch from Christopher Omega, Enables local inventory store by default.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2043 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-01 06:38:42 +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