aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* When an object is duplicated, add the dupe to the uuid/local id indexes as ↵Justin Clark-Casey (justincc)2011-03-262-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.
* Merge branch 'master' into primcountsJustin Clark-Casey (justincc)2011-03-265-49/+84
|\
| * Make SceneGraph.ForEachSOG() execute once for each SOG, not once for each ↵Justin Clark-Casey (justincc)2011-03-261-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
| * refactor: rename SOG collections in SceneGraph to make it clearer that they ↵Justin Clark-Casey (justincc)2011-03-261-30/+30
| | | | | | | | are indexing each part's UUID, not just the root part.
| * minor: make it clearer in the log where we're loading region config files ↵Justin Clark-Casey (justincc)2011-03-252-17/+15
| | | | | | | | and not the regions themselves
| * in region web loader, print out url that config is being loaded from (this ↵Justin Clark-Casey (justincc)2011-03-251-2/+2
| | | | | | | | wasn't being done anywhere).
| * Log the xml/ini regions config files that opensim loads from, and the ↵Justin Clark-Casey (justincc)2011-03-252-4/+21
| | | | | | | | | | | | regions that it loaded from them This will show up with the lines [REGION LOADER FILE SYSTEM]: Loading config files from ./Regions, etc.
* | Add test for PCM taint. This currently fails due to unexpected behaviour of ↵Justin Clark-Casey (justincc)2011-03-264-16/+201
| | | | | | | | | | | | 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-2516-154/+89
|/ | | | | | | 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.
* Add ILandObject.IPrimCounts for the new prim count module.Justin Clark-Casey (justincc)2011-03-255-31/+52
| | | | 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-232-6/+60
| | | | Also adds SceneSetupHelpers methods to easily create sogs with different part UUIDs
* refactor common sop setup parts into a single methodJustin Clark-Casey (justincc)2011-03-231-17/+23
|
* refactor: simplify part of AddSceneObject() test setup by moving sog ↵Justin Clark-Casey (justincc)2011-03-232-10/+33
| | | | 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-235-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.
* Fix a typo in the SQLite DLL config and amend the instructions for running ↵Marck2011-03-232-2/+2
| | | | | | on Linux. Under Linux (and probably also under OSX), the operating system must be able to find the new SQLite DLL in the library search path.
* Add an initial confidence-building TestAddObject() for prim counts.Justin Clark-Casey (justincc)2011-03-225-25/+116
|
* Typo fixBlueWall2011-03-221-1/+1
|
* More SQLite work.BlueWall2011-03-224-2/+6
|
* On initial setup, include estate and regions names in questions to make it ↵Justin Clark-Casey (justincc)2011-03-212-5/+7
| | | | clearer what they relate to.
* In initial setup, stop a user being able to create a new estate with the ↵Justin Clark-Casey (justincc)2011-03-211-14/+31
| | | | same name as an existing estate.
* On initial opensim setup, don't ask the user whether they want to join an ↵Justin Clark-Casey (justincc)2011-03-211-39/+63
| | | | existing opensim estate when there aren't any. Proceed directly to estate setup instead.
* refactor: use EstateDataService property directly instead of loading it into ↵Justin Clark-Casey (justincc)2011-03-211-12/+7
| | | | a local variable
* minor: slightly adjust previous method doc.Justin Clark-Casey (justincc)2011-03-212-2/+2
|
* add method doc to IEstateDataService and IEstateDataStore interfacesJustin Clark-Casey (justincc)2011-03-212-2/+90
|
* On initial region registration, if the user chooses the option to make the ↵Justin Clark-Casey (justincc)2011-03-218-1/+172
| | | | region part of an existing estate, then list the existing region names.
* Upgrade SQLite:BlueWall2011-03-183-0/+1
| | | | | Fixes metadata issues. Tested on Linux and Windows - may fix issues seen on OSx as well.
* Thanks Kevin Cozens for a patch that:BlueWall2011-03-175-10/+10
| | | | Fixes several spelling mistakes
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2011-03-161-1/+1
|\
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimBlueWall2011-03-156-38/+133
| |\
| * | Hello, World!BlueWall2011-03-151-1/+1
| | |
* | | minor: bring comment into line with code realityJustin Clark-Casey (justincc)2011-03-161-1/+1
| |/ |/|
* | Fix a bug in T015_LargeSceneObjects() where the large scene object was ↵Justin Clark-Casey (justincc)2011-03-141-2/+3
| | | | | | | | | | | | stored 31 times (1 time for each added part) instead of once at the end, even though only the largest 31 prim scene object was retrieved and tested. This considerably speeds up the test, when on sqlite it now only takes 2 seconds rather than 30+
* | when retrieving a sog in database tests, don't bother adding the scene since ↵Justin Clark-Casey (justincc)2011-03-141-14/+1
| | | | | | | | this isn't used
* | Add method doc to T015_LargeSceneObjects() and slightly clean up formatting.Justin Clark-Casey (justincc)2011-03-141-3/+6
| | | | | | | | This test takes a considerable time on SQLite but should remain since it's testing storage and retrieval of a scene object with 31 parts.
* | Add current method output to all persistence level tests so that we can ↵Justin Clark-Casey (justincc)2011-03-144-11/+99
| | | | | | | | track where we are in the test suite
* | 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.
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2011-03-141-5/+21
|\ \
| * | Up the timeout on slow requests to 3000 to stop console spam. Make sureMelanie2011-03-141-5/+21
| |/ | | | | | | | | request method and target are reported correctly and drop the txn id as it's empty 99% of the time.
* | minor: remove mono compiler warningJustin Clark-Casey (justincc)2011-03-121-1/+1
|/
* 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.