aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-07Revert "Merging in diva's locking fixes"Melanie8-174/+127
This reverts commit 832cc685138b2244529f10b54b373c34adb4a633.
2009-10-06Commented noisy debugging about packet splittingJohn Hurliman1-4/+4
2009-10-06Checks the number of ThreadPool and IOCP threads on startup and bumps up the ↵John Hurliman1-0/+12
numbers to .NET defaults of 500/1000 if need be
2009-10-06Rewrote parts of the code that were double-locking different objects. This ↵Diva Canto8-127/+174
is about half of the code base reviewed.
2009-10-06Applying the real fix (thank you for tracking that MSDN doc down Melanie)John Hurliman1-5/+6
2009-10-06Trying Melanie's fixJohn Hurliman1-3/+4
2009-10-06Added a debug line for nebadonJohn Hurliman1-0/+3
2009-10-06* Added a sanity check for Mono before trying to enumerate over an empty ↵John Hurliman2-4/+7
SortedDictionary * Changed the order of a log line from DotNetEngine so you can tell whether or not it is actually loading
2009-10-06* Added missing references to prebuild.xml and commented out the LindenUDP ↵John Hurliman7-195/+195
tests until a new test harness is written * Clients are no longer disconnected when a packet handler crashes. We'll see how this works out in practice * Added documentation and cleanup, getting ready for the first public push * Deleted an old LLUDP file
2009-10-06* Removed verbose debug messageDiva Canto2-2/+2
* Restored HG inventory access which had been lost upon adding a 3rd argument to inventory and asset server handlers * Fixed a stupid bug in the InventoryConnector which was making move items do things twice
2009-10-06* Try/catch around EndInvoke() when Util.FireAndForget() returns to catch ↵John Hurliman3-78/+112
exceptions thrown in the async method * Added packet stats handling to the new LLUDP implementation * Attempting to avoid a race condition when creating a new LLUDPClient
2009-10-06Removing dependencies on System.Runtime.Remoting.Diva Canto1-0/+4
2009-10-06Commenting the DEBUG code that I added yesterday, because it's causing mono ↵Diva Canto1-6/+6
to fail with https://bugzilla.novell.com/show_bug.cgi?id=538854
2009-10-06Lock the heartbeat against multiple invocations. May prevent deadlocks and/orMelanie1-0/+10
runaway thread use
2009-10-06Fixing a few compile errors in the previous commitJohn Hurliman9-11/+0
2009-10-06* Continued work on the new LLUDP implementation. Appears to be functioning, ↵John Hurliman13-2116/+1028
although not everything is reimplemented yet * Replaced logic in ThreadTracker with a call to System.Diagnostics that does the same thing * Added Util.StringToBytes256() and Util.StringToBytes1024() to clamp output at byte[256] and byte[1024], respectively * Fixed formatting for a MySQLAssetData error logging line
2009-10-05Correction on the DEBUG code.Diva Canto1-4/+3
2009-10-05#if DEBBUG code for monitoring the ThreadPool.Diva Canto1-0/+7
2009-10-05Beginning work on the new LLUDP implementationJohn Hurliman13-2329/+1816
2009-10-05Make sure that keys exist in arrays before trying to access them.Michael Cortez1-3/+9
2009-10-05Ensure the specified imSessionID exists in the DroppedSession collection ↵Michael Cortez1-1/+1
before attempting to access it.
2009-10-05Changed the lock object, to see if this helps at all. Also switched the ↵Diva Canto1-11/+15
order of lock and try/catch in RemoveImageFromQueue.
2009-10-05* minor: tweak asset cache logging levels downwardsJustin Clark-Casey (justincc)4-12/+9
2009-10-05minor: remove mono compile warningJustin Clark-Casey (justincc)1-5/+2
2009-10-05GetRegionByPosition: use the cache, Luke.Diva Canto2-0/+28
2009-10-05Eliminate pinned Mesh data on managed heap by using IntPtrs to memory ↵Dan Lake3-61/+120
allocated on the unmanaged heap. This prevents fragmentation of the managed heap and the resulting stress on GC. A region with ~150,000 prims using ODE and Meshmerizer saw memory remain flat around 1.2GB as opposed to 1.5GB and continually growing due to pinned memory. This patch complements the unique mesh dictionary patch applied to Meshmerizer but is independent. The net effect is a 60-75% reduction in memory for our largest regions.
2009-10-04only cache mesh if meshing was successfuldahlia1-8/+4
re-enable sculpt mesh caching
2009-10-04* KeepAlive set to false in expect_user and log_off.Diva Canto1-4/+9
* Check for null SP in PermissionsModule.
2009-10-04Reduced locking.Diva Canto1-8/+10
2009-10-04* MySQL data tests now pass by fixing a bad fix for a bad cast on the asset ↵John Hurliman1-7/+4
Local member in MySQLAssetData * First pass at applying the using(){} pattern to IDisposable objects. Always use the using pattern on IDisposable objects whenever possible, do not manually call .Close() or .Dispose() unless there is no other way to write the code. This pass mostly covers OpenSim.Data.MySQL, and should have no functional change (tests still pass)
2009-10-04Guarding a line that is sometimes throwing a null pointer exception.Diva Canto1-5/+6
2009-10-04Stream needs to be closed before the file can be moved...Diva Canto1-5/+6
2009-10-04Make sure to close the file streams on the FlotsamCache, even if something ↵Diva Canto1-4/+12
fails.
2009-10-04Trying to avoid the null pointer exception in J2KImage, RunUpdate.Diva Canto1-1/+9
2009-10-04flexible extrusion shape defaults to lineardahlia1-1/+1
2009-10-04disable physics actors for flexible primsdahlia1-3/+4
2009-10-04Exclude sculpt proxies from mesh cachingdahlia1-6/+23
2009-10-03Fix my build breakMelanie1-2/+2
2009-10-03Small permissions tweakMelanie1-1/+4
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman13-24/+24
Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
2009-10-02* Removed code that is no longer used with Melanie's queue callback optimizationJohn Hurliman1-126/+88
* Moved all priority queue access to helper functions to improve reliability and readability * New version of CSJ2K.dll (from libomv source tree) that fixes a JPEG2000 comment decoding bug
2009-10-02* Removed even more unnecessary state variables from J2KImageJohn Hurliman2-182/+142
* Fixed the incorrect "out of memory?" exception messages and replaced them with useful information * Cleaned up J2KImage and LLImageManager to conform to coding conventions
2009-10-02* Changed the flush logic to drop packets in non-transactional streams, and ↵John Hurliman3-59/+19
to not fire any "put more data in the queues" callbacks * Minor tweaks to code formatting to make the callback chain for packet queuing easier to follow
2009-10-02reducing script engine log spamdr scofield (aka dirk husemann)1-4/+4
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)17-361/+400
- adding LandDataSerializer to OAR mechanics
2009-10-02Restore the missing image handling to the image manager. The missingMelanie3-71/+92
image packet crashes Hippo without a message.
2009-10-01Locking the priority queue to see if it gets pass that exception.Diva Canto1-7/+28
2009-10-02Change texture sending to be driven by the queue empty event from theMelanie4-90/+60
packet queue, rather than a timer
2009-10-01Removing console debug spewJohn Hurliman1-7/+7
2009-10-02* Attempting to fix a issue with console commands & the estate module. Again.Adam Frisby1-4/+52