aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-19* Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). ↵John Hurliman2-6/+5
This avoids .NET remoting and a managed->unmanaged->managed jump. Overall, a night and day performance difference * Initialize the LLClientView prim full update queue to the number of prims in the scene for a big performance boost * Reordered some comparisons on hot code paths for a minor speed boost * Removed an unnecessary call to the expensive DateTime.Now function (if you *have* to get the current time as opposed to Environment.TickCount, always use DateTime.UtcNow) * Don't fire the queue empty callback for the Resend category * Run the outgoing packet handler thread loop for each client synchronously. It seems like more time was being spent doing the execution asynchronously, and it made deadlocks very difficult to track down * Rewrote some expensive math in LandObject.cs * Optimized EntityManager to only lock on operations that need locking, and use TryGetValue() where possible * Only update the attachment database when an object is attached or detached * Other small misc. performance improvements
2009-10-16More debugging of RegionCombinerModule.RegionLoaded() by making ↵John Hurliman1-2/+6
RegionLoaded() a two line function
2009-10-15* Removed some of the redundant broadcast functions in Scene and SceneGraph ↵John Hurliman2-4/+4
so it is clear who/what the broadcast is going to each time * Removed two redundant parameters from SceneObjectPart * Changed some code in terse update sending that was meant to work with references to work with value types (since Vector3 and Quaternion are structs) * Committing a preview of a new method for sending object updates efficiently (all commented out for now)
2009-10-13* Fixes some prim crossings on megaregions with regions beyond the 512m markTeravus Ovares (Dan Olivares)1-4/+6
* There's a slight chance that this could cause a problem with regular prim crossings.. but hopefully not. Revert if it does.
2009-10-10Fix selling objectsMelanie1-4/+3
2009-10-07Revert "Rewrote parts of the code that were double-locking different ↵Melanie1-6/+2
objects. This is about half of the code base reviewed." This reverts commit e992ca025571a891333a57012c2cd4419b6581e5.
2009-10-07Revert "Merging in diva's locking fixes"Melanie1-6/+2
This reverts commit 832cc685138b2244529f10b54b373c34adb4a633.
2009-10-06Rewrote parts of the code that were double-locking different objects. This ↵Diva Canto1-2/+6
is about half of the code base reviewed.
2009-10-06Fixing a few compile errors in the previous commitJohn Hurliman1-2/+0
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-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 Hurliman1-5/+5
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- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)7-267/+303
- adding LandDataSerializer to OAR mechanics
2009-10-02* Attempting to fix a issue with console commands & the estate module. Again.Adam Frisby1-4/+52
2009-10-01Formatting cleanup.Jeff Ames4-4/+4
2009-10-01Formatting cleanup.Jeff Ames18-80/+80
2009-09-29A little hack to see if this fixes the problems with ~20% of SOG's becoming ↵Diva Canto1-1/+20
phantom after an import to megaregions.
2009-09-26Moved all HG1 operations to HGGridConnector.cs and ↵Diva Canto1-2/+2
HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo. Fixed small bugs with hyperlinked regions' map positions.
2009-09-26Fixed the order of params to GetRegionRange.Diva Canto1-6/+10
2009-09-26First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto3-44/+102
minimally. A few bugs to catch now.
2009-09-25* Does a full battery of tests to ensure that the object isn't an attachment ↵Teravus Ovares (Dan Olivares)1-3/+3
before border crossing * Fixes 'Inconsistent Attachment State' when teleporting into another region besides the SW most region slot on a MegaRegion. * Fixes a host of other unintended attachment border cross edge cases that lead to Inconsistent attachment state.
2009-09-24* Send Updated Information Packet to Clients after updating estate settings.Adam Frisby1-0/+2
2009-09-24* Establishing why new console commands fail to work. >_>Adam Frisby1-4/+6
2009-09-24* Fixing typo.Adam Frisby1-1/+1
2009-09-24* Added two new commands to EstateManagementModuleAdam Frisby1-6/+55
* Also, I hate git.
2009-09-16 Stop a loaded OAR from generating on_rez events. This bringsAlan M Webb1-1/+1
the OAR loader in line with region restart (and the correct behavior).
2009-09-13* Add the RegionCombinerModule backTeravus Ovares (Dan Olivares)8-0/+1718
* Yay anonymous delegate in an anonymous delegate.
2009-09-13Temporarily removing the RegionCombinerModule to debug a mono assert on linuxTeravus Ovares (Dan Olivares)8-1718/+0
2009-09-13* Move nested classes from the RegionCombinerModule into their own file.Teravus Ovares (Dan Olivares)8-563/+804
* Rename the RegionCombinerModuleIndividualForwarder to RegionCombinerIndividualEventForwarder so there's no possibility that mono.addins sees any names similar
2009-09-13* More comments in the RegionCombinerModuleTeravus Ovares (Dan Olivares)1-14/+116
* Changed the Destination ID to 0 in the TeleportFinish Event (why did we have it as 3?) * Added border based trigger teleports * Fix MakeRootAgent border cross tests for ensuring that the position is inside the region to use the borders to figure out if it's outside the Region
2009-09-10Formatting cleanup.Jeff Ames1-59/+24
2009-09-08minor: remove warningJustin Clark-Casey (justincc)1-2/+1
2009-09-07make oar module logging a little less noisyJustin Clark-Casey (justincc)1-2/+2
2009-09-05* Moves ScenePresence SendCourseLocations to a delegate and provide a method ↵Teravus Ovares (Dan Olivares)1-6/+165
to replace the delegate * RegionCombinerModule replaces this delegate and distributes the CoarseLocationUpdates through the client connection in the region where the user would be if it was a separate region. * Fixes Mini Map display on combined regions.
2009-09-04* Fixes various quirks rezzing in virtual regions.Teravus Ovares (Dan Olivares)1-55/+193
* Breaks up the Client event registrations in Scene into methods of similar event types. The generic event registration registers all of the event types. *Created symmetrical Un-Registration methods. * Made the Registration and Unregistration methods public * Hooks The events required for creating new prim and rezzing new prim into the proper scene.
2009-09-04* Last commit was a bit of a fail, it registered the root region for it's ↵Teravus Ovares (Dan Olivares)1-49/+49
own permissions events again. * This commit fixes that and does what the last one intended.
2009-09-04* Make the RegionCombinerModule also register to handle permissions for the ↵Teravus Ovares (Dan Olivares)1-3/+303
virtual region scenes.
2009-09-03Add copyright headers. Formatting cleanup.Jeff Ames1-12/+39
2009-09-02switching LandManagementModule to "new" region module scheme; cleaningdr scofield (aka dirk husemann)1-72/+91
up method names in LandManagementModule (was a bit of a mess). suppressing warnings re Constants.RegionSize.
2009-09-02warnings safari.dr scofield (aka dirk husemann)2-2/+4
2009-09-02* One last attempt to get the bordercrossing/primcrossing/attachmentcrossing ↵Teravus Ovares (Dan Olivares)1-0/+23
right in the new border framework. * This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
2009-09-01* Fixes diagonal teleporting when in RegionCombining mode by adding 4 ↵Teravus Ovares (Dan Olivares)1-11/+50
additional borders that have infinite distances perpendicular to the cardinal of the border surrounding the entire combined region. Recalculates this boundary each time AddScene is called.
2009-09-01switching SerialiserModule to "new" region module schemedr scofield (aka dirk husemann)1-14/+46
2009-08-31* Get rid of some debug info and kill the code to make a large AABB until I ↵Teravus Ovares (Dan Olivares)1-13/+24
can figure out how to detect the fact that the system is done starting up new regions.
2009-08-31* When the RegionCombinerModule is active add an extra set of borders with ↵Teravus Ovares (Dan Olivares)1-1/+56
Infinite distances around the whole AABB of the region
2009-08-31switching Archiver to "new" region module schemedr scofield (aka dirk husemann)1-6/+24
2009-08-31Remove typo version of ReplaceableInterface property from RegionCombinerModule.Jeff Ames1-2/+0
2009-08-30* When the RegionCombinerModule is off, make borders have an infinite aabb ↵Teravus Ovares (Dan Olivares)1-1/+21
perpendicular to the cardinal
2009-08-29Ok, merging the RegionCombinerModule with master.Teravus Ovares (Dan Olivares)1-4/+5