aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Comment out some startup logging lines to make up for the one I added ↵Justin Clark-Casey (justincc)2011-04-021-2/+0
| | | | | | 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)
* If land is not group owned (group ID is always UUID.Zero) then don't check ↵Justin Clark-Casey (justincc)2011-04-021-2/+0
| | | | if a prim should be added to the group count
* add test for removing group owned objectsJustin Clark-Casey (justincc)2011-04-021-0/+32
|
* add test for adding group object, factor out initial zero counts testJustin Clark-Casey (justincc)2011-04-021-7/+45
|
* add remove others object prim count testJustin Clark-Casey (justincc)2011-04-021-0/+23
|
* refactor: rename m_dummyUserId to m_otherUserIdJustin Clark-Casey (justincc)2011-04-021-9/+9
|
* If the land has no group ownership (it is UUID.Zero) then don't put prims in ↵Justin Clark-Casey (justincc)2011-04-022-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
* A stab at making CHANGED_OWNER workMelanie2011-04-011-17/+7
|
* If the prim count gets an object with invalid bounds, don't try to count it.Justin Clark-Casey (justincc)2011-03-312-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)
* suspend check that IAR control file is loaded for nowJustin Clark-Casey (justincc)2011-03-311-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
* Put in temporary logging message to find out if scene objects are requesting ↵Justin Clark-Casey (justincc)2011-03-311-4/+5
| | | | land objects for co-ordinates outside the region
* When a new parcel is created, make sure the prim counts are updated.Justin Clark-Casey (justincc)2011-03-301-2/+2
| | | | This is done by tainting the counts where appropriate
* (re)implement selected prim count.Justin Clark-Casey (justincc)2011-03-302-3/+46
| | | | This does not currently count objects that are sat upon (which the viewer ui implies should be included in this count)
* Merge branch 'primcounts'Justin Clark-Casey (justincc)2011-03-295-18/+160
|\
| * disable prim count debug logging temporarilyJustin Clark-Casey (justincc)2011-03-291-33/+35
| |
| * move total parcel prim calculations into IPrimCounts instead of doing this ↵Justin Clark-Casey (justincc)2011-03-262-1/+46
| | | | | | | | | | | | in LLClientView need to move selected prim counts from LandData/LMM still
| * When an object is duplicated, add the dupe to the uuid/local id indexes as ↵Justin Clark-Casey (justincc)2011-03-261-0/+23
| | | | | | | | | | | | | | | | | | 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.
| * Add test for PCM taint. This currently fails due to unexpected behaviour of ↵Justin Clark-Casey (justincc)2011-03-262-16/+87
| | | | | | | | | | | | SceneGraph.ForEachSOG(). This will be corrected soon. Also adds lots of temproarily debug logging
| * Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)2011-03-253-2/+3
| | | | | | | | | | | | | | 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.
* | Added code to load a terrain tile of tiff/jpg format. Previously it only ↵Diva Canto2011-03-281-2/+13
| | | | | | | | worked for one single region.
* | Fix mantis #5413. WARNING: new config variable in section [GridService] of ↵Diva Canto2011-03-281-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.
* | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2011-03-274-24/+217
|\ \ | |/
| * Add ILandObject.IPrimCounts for the new prim count module.Justin Clark-Casey (justincc)2011-03-254-31/+47
| | | | | | | | Not functional yet, but tests now act against this object rather than interrogating the module directly
| * factor out common test setup code in PCM testsJustin Clark-Casey (justincc)2011-03-231-57/+53
| |
| * extend TestAddOwnerObject() to add a second objectJustin Clark-Casey (justincc)2011-03-231-4/+14
| |
| * Add PrimCountModuleTests.TestRemoveOwnerObject().Justin Clark-Casey (justincc)2011-03-231-1/+38
| | | | | | | | Also adds SceneSetupHelpers methods to easily create sogs with different part UUIDs
| * refactor: simplify part of AddSceneObject() test setup by moving sog ↵Justin Clark-Casey (justincc)2011-03-231-10/+1
| | | | | | | | construction into SceneSetupHelpers.CreateSceneObject()
| * use a 3 part object for the pcm test rather than a 1 part, for improved test ↵Justin Clark-Casey (justincc)2011-03-231-10/+14
| | | | | | | | coverage
| * user a non UUID.Zero user in pcm test to avoid any special treatment of ↵Justin Clark-Casey (justincc)2011-03-231-4/+5
| | | | | | | | UUID.Zero
| * Extend simple PCM add object test to check all countsJustin Clark-Casey (justincc)2011-03-231-0/+11
| |
| * Add method doc to the Get*() methods on PrimCountModuleJustin Clark-Casey (justincc)2011-03-231-0/+27
| |
| * remove a rogue Console.WriteLine() from the last commit.Justin Clark-Casey (justincc)2011-03-231-1/+0
| |
| * Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)2011-03-233-2/+14
| | | | | | | | | | | | | | 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-223-19/+108
| |
* | Don't send a windlight profile to clients if windlight is not set forMelanie2011-03-211-2/+2
|/ | | | | that region. This should restore normal day and night cycles for regions without WL settings.
* Thanks Kevin Cozens for a patch that:BlueWall2011-03-172-5/+5
| | | | Fixes several spelling mistakes
* When setting media on a prim values, use generic object permissions instead ↵Justin Clark-Casey (justincc)2011-03-141-2/+2
| | | | | | | of media permissions. Media permissions are just meant to be checked when we want to know if a user should be shown the navigation bar or allowed to navigate. It should not be checked when we're setting the media up. This bug was preventing a user from ever setting any more values if they had unchecked the owner settings.
* factor inventory file loading into its own methodJustin Clark-Casey (justincc)2011-03-121-57/+80
|
* factor out iar asset load code into its own methodJustin Clark-Casey (justincc)2011-03-121-29/+40
|
* refactor: make boolean load indicators on load iars instance fieldsJustin Clark-Casey (justincc)2011-03-121-8/+11
|
* introduce iar load checks which make sure archive.xml comes first, then ↵Justin Clark-Casey (justincc)2011-03-121-1/+32
| | | | | | inventory nodes, then assets this is necessary for correct loading. "save iar" always saves in this order so there shouldn't be any problems - these checks are to give better feedback to other systems that may construct IARs.
* Change how map blocks are encoded to make map searchMic Bowman2011-03-101-2/+4
| | | | work with viewer 2.
* Add test for simple case where creator account with appropriate uuid exists ↵Justin Clark-Casey (justincc)2011-03-101-0/+32
| | | | on the target system for an iar load
* refactor: rename test user account fieldsJustin Clark-Casey (justincc)2011-03-103-35/+35
|
* factor out common scene setup code in InventoryArchiveTestCaseJustin Clark-Casey (justincc)2011-03-102-41/+33
|
* extend TestLoadIarV0_1AbsentCreator() to check serialized object CreatorId ↵Justin Clark-Casey (justincc)2011-03-101-0/+6
| | | | as well
* re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator()Justin Clark-Casey (justincc)2011-03-102-5/+6
|
* For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)2011-03-102-8/+42
| | | | | | | | | OSP resolved ID if newer CreationData is not present. This should resolve issues where the creator for rezzed objects was being shown as "Unknown user" where previous behaviour was to show the OSP resolved account. This is being done by parsing the serialized objects and updating the CreatorID if no CreationData exists. This operation might be expensive for sculpties where the sculpt texture is inlined with the object data. Will just have to see. This relies on the IAR streaming inventory data before asset data (as is currently the case). Will need to introduce more stringent checks for file order on loading (much like JAR zips must start with the manifest file). This is for IAR loading only. Tests updated to check this behaviour.
* When setting up default iar for testing, use iar archiving code rather than ↵Justin Clark-Casey (justincc)2011-03-103-13/+17
| | | | constructing the tar manually
* Change existing users load iar test so that it fulfills it's original ↵Justin Clark-Casey (justincc)2011-03-102-11/+15
| | | | | | intention (i.e. OSPA resolution, which is still active). Will need to write a separate test for the simplest case where creator accounts with appropriate uuids exist on iar load.