aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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
2009-10-01* Rewrote LLImageManager to use a real priority queue and hold minimal stateJohn Hurliman3-449/+331
* Rewrote the logic in J2KImage.RunUpdate() * Added a default avatar texture (I made it myself)
2009-10-01Added messages to assertions in the failing tests, so that we know which ↵Diva Canto1-12/+19
ones are failing.
2009-10-02Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization ↵Melanie6-46/+28
of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity" This reverts commit 39842eb4af3b5a8c52d56c0f7f05ad54f0651bb0.
2009-10-01Add a method to determine the count of packets in a throttleMelanie3-0/+27
2009-10-01Add OnQueueEmpty event to the packet layers. No user functinality yetMelanie3-2/+66
2009-10-01Fixing LLClientView memory leakJames J Greensky4-8/+29
Fixing LLClientView memory leak by disposing of all timers utilized in LLClientView as they contain references to the callback method. This required the use of the Terminate and Close infrastructure that was already in place but was not being utilized.
2009-09-30Create j2k cache directory if it doesn't exist. The Meshmerizer needs it there.Diva Canto1-0/+14
2009-09-30Removed an innefficent List.Contains lookup from UpdateQueueJames J Greensky1-5/+4
Changed the underlying data structure used to detected duplicate in OpenSim.Region.Framework.Scenes.Types.UpdateQueue from a List to a Dictionary.
2009-10-01Formatting cleanup.Jeff Ames26-37/+37
2009-09-30* Change the signature of the agent set appearance callback to prevent ↵John Hurliman4-26/+42
unnecessary serialization/deserialization of TextureEntry objects and allow TextureEntry to be inspected for missing bakes * Inspect incoming TextureEntry updates for bakes that do not exist on the simulator and request the missing textures * Properly handle appearance updates that do not have a TextureEntry set
2009-09-30Prevent null data being sent to the decoderMelanie1-2/+5
2009-09-30Add RebakeAvatarTexturesPacket to the client viewMelanie4-0/+22
2009-09-30Remove predecode-j2k and it's assoaciated logicMelanie2-142/+0
2009-09-30Squelch the debug noise from diva's patchMelanie1-1/+1
2009-09-30Attempting to improve the robustness of texture decoding by always ignoring ↵John Hurliman5-534/+165
LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory * Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K * Renamed IJ2KDecoder and J2KDecoder member names to follow standard naming conventions * Removed j2kDecodeCache cruft and replaced it with the OpenSim cache system * Rewrote the default layer boundary algorithm to use percentages instead of an exponent * Switched from an infinite in-memory cache to an expiring cache (10 minute timeout) * Slightly quieted logging errors for failed texture decodes
2009-09-30Revert "Attempting to improve the robustness of texture decoding by always ↵Melanie1-68/+168
ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug" This reverts commit 22cc31135e2989df28e0756eb3b03f85530d5555.
2009-09-30Attempting to improve the robustness of texture decoding by always ignoring ↵John Hurliman1-168/+68
LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory * Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K