aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-04-03Implement taking of coalesced objects.Melanie3-198/+274
WARNING!!!!! You can TAKE them, but you can't REZ them again. Only the first of the contained objects will rez, the rest is inaccessible until rezzing them is implemented. Also, rotations are not explicitly stored. This MAY work. Or not.
2011-04-03Make CHANGED_OWNER work for deeding and god-mode in-world changeMelanie1-0/+4
2011-04-02Comment out some startup logging lines to make up for the one I added ↵Justin Clark-Casey (justincc)7-36/+4
earlier on. Most of these are where the region modules are telling us they are disabled. Convention is only to log when enabled (even that is really noisy)
2011-04-02If land is not group owned (group ID is always UUID.Zero) then don't check ↵Justin Clark-Casey (justincc)1-2/+0
if a prim should be added to the group count
2011-04-02add test for removing group owned objectsJustin Clark-Casey (justincc)1-0/+32
2011-04-02add test for adding group object, factor out initial zero counts testJustin Clark-Casey (justincc)1-7/+45
2011-04-02add remove others object prim count testJustin Clark-Casey (justincc)1-0/+23
2011-04-02refactor: rename m_dummyUserId to m_otherUserIdJustin Clark-Casey (justincc)1-9/+9
2011-04-02If the land has no group ownership (it is UUID.Zero) then don't put prims in ↵Justin Clark-Casey (justincc)2-2/+23
the group count when they are also not group owned. Also adds simple test for others owned count when an object is added
2011-04-01A stab at making CHANGED_OWNER workMelanie2-22/+12
2011-03-31check threat configuration for LSL print()dahlia1-1/+6
2011-03-31implement LSL "print()" API functiondahlia3-1/+13
2011-04-01When asked to join region to existing estate, make first estate name the ↵Justin Clark-Casey (justincc)1-5/+2
default instead of None
2011-04-01Make default answer for 'do you wish to join region to an existing estate' ↵Justin Clark-Casey (justincc)1-1/+1
yes instead of no.
2011-04-01Log which address and port the UDP listener is configured for. This will ↵Justin Clark-Casey (justincc)1-0/+4
match that given for InternalAddress in the config (e.g. 0.0.0.0) Can't obtain actually bound address until the UDP socket is used for the first time.
2011-03-31If the prim count gets an object with invalid bounds, don't try to count it.Justin Clark-Casey (justincc)2-3/+8
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-31suspend check that IAR control file is loaded for nowJustin Clark-Casey (justincc)1-1/+6
I was mistaken - some previous opensim versions don't save this file first. Will have to bump iar version number and only check iars after the bump
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-31Remove unused Datastore parameter from RegionInfo (legacy from early 2008)Justin Clark-Casey (justincc)2-3/+0
2011-03-30When a new parcel is created, make sure the prim counts are updated.Justin Clark-Casey (justincc)1-2/+2
This is done by tainting the counts where appropriate
2011-03-30(re)implement selected prim count.Justin Clark-Casey (justincc)3-26/+69
This does not currently count objects that are sat upon (which the viewer ui implies should be included in this count)
2011-03-29disable prim count debug logging temporarilyJustin Clark-Casey (justincc)2-34/+36
2011-03-28Added code to load a terrain tile of tiff/jpg format. Previously it only ↵Diva Canto1-2/+13
worked for one single region.
2011-03-28Fix mantis #5413. WARNING: new config variable in section [GridService] of ↵Diva Canto1-1/+5
the simulators called Gatekeeper -- intended to have the URL of the grid's Gatekeeper service (so that it can be checked against). See ini.examples.
2011-03-26When an object is duplicated, add it to the full/local id SOG indexes as ↵Justin Clark-Casey (justincc)1-1/+29
well as Entities
2011-03-26add save of LLClientView I forgot from last commitJustin Clark-Casey (justincc)1-4/+2
2011-03-26move total parcel prim calculations into IPrimCounts instead of doing this ↵Justin Clark-Casey (justincc)2-1/+46
in LLClientView need to move selected prim counts from LandData/LMM still
2011-03-26When an object is duplicated, add the dupe to the uuid/local id indexes as ↵Justin Clark-Casey (justincc)2-1/+52
well as the basic entities list. Added a prim counts test to reinforce this - shift-copy was no incrementing prim count. This will sometime become a basic scene test. New code needs to be refactored so we just call SceneGraph.AddSceneObject(). This will happen in the near future. With this, basic owner prim counts on a single parcel appear to be working fine (with the same previous existing taint calls as used by the land management module). More work to do.
2011-03-26Make SceneGraph.ForEachSOG() execute once for each SOG, not once for each ↵Justin Clark-Casey (justincc)1-5/+25
prim (e.g. a SOG with 3 prims would have the action executed three times). To do this, a new SceneObjectGroupsByFullID index in SceneGraph which just index's prims by their root part UUID, in order to avoid the inefficiency of filtering existing lists. Existing callers to SceneGraph.ForEachSOG() did not fail due to the multiple per SOG action executions - they were probably just much less efficient. Code suggests that no callers expected ForEachSOG() to execute actions on sog multiple times
2011-03-26refactor: rename SOG collections in SceneGraph to make it clearer that they ↵Justin Clark-Casey (justincc)1-30/+30
are indexing each part's UUID, not just the root part.
2011-03-26Add test for PCM taint. This currently fails due to unexpected behaviour of ↵Justin Clark-Casey (justincc)3-16/+89
SceneGraph.ForEachSOG(). This will be corrected soon. Also adds lots of temproarily debug logging
2011-03-25Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)11-241/+30
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)5-31/+52
Not functional yet, but tests now act against this object rather than interrogating the module directly
2011-03-23factor out common test setup code in PCM testsJustin Clark-Casey (justincc)1-57/+53
2011-03-23extend TestAddOwnerObject() to add a second objectJustin Clark-Casey (justincc)1-4/+14
2011-03-23Add PrimCountModuleTests.TestRemoveOwnerObject().Justin Clark-Casey (justincc)1-1/+38
Also adds SceneSetupHelpers methods to easily create sogs with different part UUIDs
2011-03-23refactor: simplify part of AddSceneObject() test setup by moving sog ↵Justin Clark-Casey (justincc)1-10/+1
construction into SceneSetupHelpers.CreateSceneObject()
2011-03-23use a 3 part object for the pcm test rather than a 1 part, for improved test ↵Justin Clark-Casey (justincc)1-10/+14
coverage
2011-03-23user a non UUID.Zero user in pcm test to avoid any special treatment of ↵Justin Clark-Casey (justincc)1-4/+5
UUID.Zero
2011-03-23Extend simple PCM add object test to check all countsJustin Clark-Casey (justincc)1-0/+11
2011-03-23Add method doc to the Get*() methods on PrimCountModuleJustin Clark-Casey (justincc)1-0/+27
2011-03-23remove a rogue Console.WriteLine() from the last commit.Justin Clark-Casey (justincc)1-1/+0
2011-03-23Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)5-5/+59
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)4-25/+115
2011-03-21On initial setup, include estate and regions names in questions to make it ↵Justin Clark-Casey (justincc)2-5/+7
clearer what they relate to.
2011-03-21In initial setup, stop a user being able to create a new estate with the ↵Justin Clark-Casey (justincc)1-14/+31
same name as an existing estate.
2011-03-21On initial opensim setup, don't ask the user whether they want to join an ↵Justin Clark-Casey (justincc)1-39/+63
existing opensim estate when there aren't any. Proceed directly to estate setup instead.
2011-03-21refactor: use EstateDataService property directly instead of loading it into ↵Justin Clark-Casey (justincc)1-12/+7
a local variable
2011-03-21minor: slightly adjust previous method doc.Justin Clark-Casey (justincc)2-2/+2
2011-03-21add method doc to IEstateDataService and IEstateDataStore interfacesJustin Clark-Casey (justincc)2-2/+90