aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add ILandObject.IPrimCounts for the new prim count module.Justin Clark-Casey (justincc)2011-03-251-2/+10
| | | | Not functional yet, but tests now act against this object rather than interrogating the module directly
* Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)2011-03-231-0/+4
| | | | | | | listen for that rather than EventManager.OnParcelPrimCountAdd OnParcelPrimCountAdd had the wrong semantics for the PrimCountModule - it was invoked for every entity in the scene, not just new ones, which would screw up the untainted count. Extend automated test for this scenario.
* Add an initial confidence-building TestAddObject() for prim counts.Justin Clark-Casey (justincc)2011-03-221-13/+16
|
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2011-01-281-2/+14
|\
| * Put confirmation on "land clear" command to avoid nasty accidentsJustin Clark-Casey (justincc)2011-01-271-2/+14
| |
* | Thank you, Goetz, for a patch to fix prim count display in cut regions.Melanie2011-01-281-4/+4
|/
* When an oar is loaded, do not create a default parcel before loading the ↵Justin Clark-Casey (justincc)2011-01-271-8/+15
| | | | | | | | parcels from the OAR. The region spanning parcel shouldn't exist in this situation. If it does, when the land data is loaded it is repersisted with a local ID which comes after the ones loaded via the oar, which obliterates the oar loaded one. Resaving the data we just loaded from the database is somewhat odd in itself (though this makes sense from the way that OAR loading was already using the same event).
* Show local IDs in "land show" output.Justin Clark-Casey (justincc)2011-01-271-5/+6
| | | | Also properly insert region name in "land clear" command
* Add "land clear" commandJustin Clark-Casey (justincc)2011-01-271-3/+13
| | | | This clears all parcels from the currently selected region and replaces them with the single region spanning default parcel owned by the estate owner
* Fix OAR parcel loading so that old parcels are replaced by the new instead ↵Justin Clark-Casey (justincc)2011-01-271-0/+19
| | | | | | of merged. The --merge switch will still merge the old and new land parcelling.
* remove unused CreateBaseLand()Justin Clark-Casey (justincc)2011-01-271-9/+0
|
* Implement command "land show". This shows all the parcels on the currently ↵Justin Clark-Casey (justincc)2011-01-261-15/+82
| | | | | | selected region/s This is useful for diagnostics. The command is "land show" rather than "show land" because it's implemented as a module specific subcommand.
* Fix scoping for prim region crossingsMelanie2011-01-031-1/+1
|
* Implement Scope ID lookup on GetLandData. Stacked regions were not handledMelanie2011-01-031-34/+34
| | | | properly
* Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie2010-12-131-10/+24
| | | | | | | Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
* Fix parcel bans to work only on the avatars they're supposed to work on ↵Melanie2010-11-091-14/+15
| | | | instead of pushing all avatars, even the ones that are allowed.
* Formatting cleanup.Jeff Ames2010-09-121-60/+55
|
* First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman2010-09-101-1/+2
|
* Reflect the ParcelPropertiesUpdateRequest into Scene.EventManager, becauseMelanie Thielker2010-09-061-3/+11
| | | | modules need to see it (Search!) even if it comes in via CAPS
* Remove "Dwell" support from core and replace it with calls to methodsMelanie Thielker2010-09-051-13/+0
| | | | on IDwellModule
* Implements parcel media setting persistence and packet / CAPS handlingJonathan Freedman2010-08-301-2/+63
| | | | | | properly for the new media settings. Signed-off-by: Melanie <melanie@t-data.com>
* minor: remove mono compiler warningsJustin Clark-Casey (justincc)2010-08-131-6/+6
|
* Correct display of landmark about info. Also correct region maturity ratingMelanie Thielker2010-08-071-1/+5
| | | | | in LM info. Maturity is NOT the parcel's setting, that is only for the image and text. Parcel maturity is governed by region maturity.
* Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master2010-05-131-0/+10
| | | | joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
* Also remove sale and search flags on god owner change.Melanie2010-05-071-0/+1
|
* Remove land that is being abandoned from search. This is now consistent withMelanie2010-05-071-0/+1
| | | | sale and reclaim.
* Ensure the show in search flag is cleared on ownership change. Also, whenMelanie2010-05-061-0/+4
| | | | | land is reclaimed, reset it's for sale flags so it can't be bought again right away.
* Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake2010-03-191-21/+18
| | | | GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
* Formatting cleanup. Add copyright notices.Jeff Ames2010-03-101-5/+5
|
* - parcel blocking, region crossing blocking, teleport blockingunknown2010-03-091-7/+86
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Remove all references to master avatar, replacing with estate owner whereMelanie2010-01-101-12/+3
| | | | | appropriate. This changes the behavior of the REST plugins and RemoteAdmin's region creation process.
* Formatting cleanup. Add copyright headers.Jeff Ames2010-01-041-1/+1
|
* minor: add doc to a few parcel methodsJustin Clark-Casey (justincc)2009-11-251-1/+11
|
* Patch from Snoopy2. Fixes Mantis #4342Melanie2009-11-081-3/+8
| | | | | | fixes problems when group owned land was abandoned by the land owner or reclaimed by the estate manager or by god. Beside that this new patch makes it possible, that users can buy land directly for a group, if the buyer has the required permissions.
* Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman2009-10-261-4/+2
|
* * Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). ↵John Hurliman2009-10-191-2/+3
| | | | | | | | | | | | | | 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
* * Removed some of the redundant broadcast functions in Scene and SceneGraph ↵John Hurliman2009-10-151-3/+3
| | | | | | | | 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)
* Revert "Rewrote parts of the code that were double-locking different ↵Melanie2009-10-071-6/+2
| | | | | | objects. This is about half of the code base reviewed." This reverts commit e992ca025571a891333a57012c2cd4419b6581e5.
* Rewrote parts of the code that were double-locking different objects. This ↵Diva Canto2009-10-061-2/+6
| | | | is about half of the code base reviewed.
* - cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)2009-10-021-124/+128
| | | | - adding LandDataSerializer to OAR mechanics
* First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto2009-09-261-8/+18
| | | | minimally. A few bugs to catch now.
* switching LandManagementModule to "new" region module scheme; cleaningdr scofield (aka dirk husemann)2009-09-021-72/+91
| | | | | up method names in LandManagementModule (was a bit of a mess). suppressing warnings re Constants.RegionSize.
* * It turns out that Physics heightmap values were being stored in managed ↵Teravus Ovares (Dan Olivares)2009-08-211-0/+2
| | | | memory in _heightmap and using multiple heightmaps caused them all to overwrite each other and the last one was the heightmap for all of the regions. This fixes that. It also reduces the terrain resolution to half.
* * More tweaking of the various services to work with nonstandard region ↵Teravus Ovares (Dan Olivares)2009-08-081-6/+18
| | | | sizes. * Now, what's available of the terrain will show and it'll be truncated if it's larger on Linden Clients. Parcel minimum is 64 (256/4) for the client to accept it.
* This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)2009-08-071-4/+6
| | | | lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
* * Tweak the caps manager so that the NPCAvatar works again.Teravus Ovares2009-08-011-1/+4
|
* * Updates libOMV to version 0.7.0Teravus Ovares2009-07-251-3/+3
| | | | | | | | * Uses mantis #3811 as a base (thanks jhuliman) with changes. * E-mail regarding interface changes sent to the opensim-dev list * Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
* * Corrected CAPS namespacesArthur Valadares2009-06-181-2/+2
| | | | | * "luke, use the sed"
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Correctly reset the group ownership flag when a parcel is reclaimed.Melanie Thielker2009-05-121-0/+1
|