aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-02Replace ParcelAccessEntry with a new struct, LandAccessEntry, which moreMelanie1-2/+2
accurately reflects the data sent by the viewer. Add times bans and the expiration of timed bans. Warning: Contains a Migration (and nuts)
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)1-2/+2
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-08-23remove mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2011-08-03Do a partial fix/implementation of OSSL osNpcMoveTo()Justin Clark-Casey (justincc)1-37/+32
Avatar moves and stops. However, will stop in mid stride. And if the move to position is in the air, avatar will continue to make vain and quite hilarious attempts to take off (but never doing so). Clearly more work is needed.
2011-05-14Minor doc change to see if this provokes a good panda buildJustin Clark-Casey (justincc)1-2/+5
2011-05-14When loading an OAR that doesn't have parcels, create a default parcelOren Hurvitz1-8/+11
2011-04-06Improve previous ILandObject method doc.Justin Clark-Casey (justincc)1-0/+12
For test code, take a part name prefix when creating objects, so that these can be more easily identified in the logs
2011-04-05properly refresh object owner list when refresh button is hit on land parcel ↵Justin Clark-Casey (justincc)1-8/+9
object tab
2011-04-05remove now unused individual LandData prim counts.Justin Clark-Casey (justincc)1-28/+11
However, the calls to the land management module to record prims need to remain, since they were also being used to return owner object lists, etc. This is probably why prim counts were being done there in the first place.
2011-03-31If the prim count gets an object with invalid bounds, don't try to count it.Justin Clark-Casey (justincc)1-3/+3
This appears to be the more probable explanation for some failures seen. Either we're counting attachments which are temporarily out of bounds (shouldn't be due to the IsAttachment) check or we're counting scene objects which have out of bounds co-ordinates (seems more likely)
2011-03-31Put in temporary logging message to find out if scene objects are requesting ↵Justin Clark-Casey (justincc)1-4/+5
land objects for co-ordinates outside the region
2011-03-25Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)1-1/+1
counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
2011-03-25Add ILandObject.IPrimCounts for the new prim count module.Justin Clark-Casey (justincc)1-2/+10
Not functional yet, but tests now act against this object rather than interrogating the module directly
2011-03-23Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)1-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.
2011-03-22Add an initial confidence-building TestAddObject() for prim counts.Justin Clark-Casey (justincc)1-13/+16
2011-01-28Thank you, Goetz, for a patch to fix prim count display in cut regions.Melanie1-4/+4
2011-01-27Put confirmation on "land clear" command to avoid nasty accidentsJustin Clark-Casey (justincc)1-2/+14
2011-01-27When an oar is loaded, do not create a default parcel before loading the ↵Justin Clark-Casey (justincc)1-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).
2011-01-27Show local IDs in "land show" output.Justin Clark-Casey (justincc)1-5/+6
Also properly insert region name in "land clear" command
2011-01-27Add "land clear" commandJustin Clark-Casey (justincc)1-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
2011-01-27Fix OAR parcel loading so that old parcels are replaced by the new instead ↵Justin Clark-Casey (justincc)1-0/+19
of merged. The --merge switch will still merge the old and new land parcelling.
2011-01-27remove unused CreateBaseLand()Justin Clark-Casey (justincc)1-9/+0
2011-01-26Implement command "land show". This shows all the parcels on the currently ↵Justin Clark-Casey (justincc)1-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.
2011-01-03Fix scoping for prim region crossingsMelanie1-1/+1
2011-01-03Implement Scope ID lookup on GetLandData. Stacked regions were not handledMelanie1-34/+34
properly
2010-12-13Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie1-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.
2010-11-09Fix parcel bans to work only on the avatars they're supposed to work on ↵Melanie1-14/+15
instead of pushing all avatars, even the ones that are allowed.
2010-09-12Formatting cleanup.Jeff Ames1-60/+55
2010-09-10First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman1-1/+2
2010-09-06Reflect the ParcelPropertiesUpdateRequest into Scene.EventManager, becauseMelanie Thielker1-3/+11
modules need to see it (Search!) even if it comes in via CAPS
2010-09-05Remove "Dwell" support from core and replace it with calls to methodsMelanie Thielker1-13/+0
on IDwellModule
2010-08-30Implements parcel media setting persistence and packet / CAPS handlingJonathan Freedman1-2/+63
properly for the new media settings. Signed-off-by: Melanie <melanie@t-data.com>
2010-08-30local commit with parcel media bitsJonathan Freedman1-2/+63
Signed-off-by: Melanie <melanie@t-data.com>
2010-08-13minor: remove mono compiler warningsJustin Clark-Casey (justincc)1-6/+6
2010-08-07Correct display of landmark about info. Also correct region maturity ratingMelanie Thielker1-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.
2010-05-13Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master1-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.
2010-05-07Also remove sale and search flags on god owner change.Melanie1-0/+1
2010-05-07Remove land that is being abandoned from search. This is now consistent withMelanie1-0/+1
sale and reclaim.
2010-05-06Ensure the show in search flag is cleared on ownership change. Also, whenMelanie1-0/+4
land is reclaimed, reset it's for sale flags so it can't be bought again right away.
2010-03-19Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake1-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>).
2010-03-10Formatting cleanup. Add copyright notices.Jeff Ames1-5/+5
2010-03-09- parcel blocking, region crossing blocking, teleport blockingunknown1-7/+86
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-10Remove all references to master avatar, replacing with estate owner whereMelanie1-12/+3
appropriate. This changes the behavior of the REST plugins and RemoteAdmin's region creation process.
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-1/+1
2009-11-25minor: add doc to a few parcel methodsJustin Clark-Casey (justincc)1-1/+11
2009-11-08Patch from Snoopy2. Fixes Mantis #4342Melanie1-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.
2009-10-26Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman1-4/+2
2009-10-19* Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). ↵John Hurliman1-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
2009-10-15* Removed some of the redundant broadcast functions in Scene and SceneGraph ↵John Hurliman1-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)
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.