aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-21Remove redundant prim_geom != IntPtr.Zero checks in ODEPrim.Justin Clark-Casey (justincc)1-116/+88
prim_geom == IntPtr.Zero only before a new add prim taint is processed (which is the first taint) or in operations such as scale change which are done in taint or under lock. Therefore, we can remove these checks which were not consistently applied anyway. If there is a genuine problem, better to see it quickly in a NullReferenceException than hide the bug.
2012-04-20Improve bitmap disposal to do null checks and not to potentially try ↵Justin Clark-Casey (justincc)1-4/+7
disposal of uninitialized variables. This issue doesn't cause the mono 2.10.5 compiler to fail but appears to cause the windows compiler to fail. Resolves http://opensimulator.org/mantis/view.php?id=5973
2012-04-20If a physical prim is manually moved (e.g. by a user) then set the geometry ↵Justin Clark-Casey (justincc)1-12/+10
position as well as the body position This is necessary to stop the moved prim snapping back to the original position on deselection if moved only once This resolves http://opensimulator.org/mantis/view.php?id=5966
2012-04-20Always dispose of existing opened bitmap from file in SaveFile(), instead of ↵Justin Clark-Casey (justincc)1-22/+37
simply dropping the reference if the existing file didn't contain a bitmap of the same size.
2012-04-20Explicitly dispose of bitmaps opened from files in GenericSystemDrawing and ↵Justin Clark-Casey (justincc)2-18/+31
JPEG.cs
2012-04-20Remember to dispose of the bitmap opened from a file in ↵Justin Clark-Casey (justincc)1-4/+11
GatekeeperServiceConnector.GetMapImage()
2012-04-20concerns GenericSystemDrawing.csGarmin Kawaguichi1-8/+9
in OpenSim\Region\CoreModules\World\Terrain\FileLoaders\GenericSystemDrawing.cs Ln 67 Apply Justin's solution Signed-off-by: Garmin Kawaguichi <garmin.kawaguichi@magalaxie.com>
2012-04-20Add more exception detail to Exception and IOException throws in ↵Justin Clark-Casey (justincc)1-2/+2
BaseHttpServer.HandleRequest()
2012-04-20Stop teleports from dropping tall avatars through or embedding them in the ↵Justin Clark-Casey (justincc)1-1/+7
floor when lured by short avatars. This involves giving the ceiling of the Z-component in a lure rather than the floor. Ideally we would give the exact float compensating for relative avatar height but it looks like that isn't possible with the parcel id format used in lures
2012-04-18Fix a logic error in app domain creationMelanie1-1/+1
2012-04-18Don't re-add the assembly resolver for each script if not creating the appdomainMelanie1-4/+8
2012-04-18On "show part" command, show link number.Justin Clark-Casey (justincc)1-1/+1
This replaces the Parts count which was rather pointless for a prim (it was either 1 if a child or the number of parts if the root). This information is still avaliable on the "show object" command.
2012-04-17minor: Add some method doc. Add warnings since calling SOG link/delink ↵Justin Clark-Casey (justincc)2-0/+22
methods directly rather than through Scene may allow race conditions.
2012-04-17clean up some more logging spam in the jsonstore modulesMic Bowman2-2/+4
2012-04-17Fix the Csharp 3.0 vs 4.0 problem in JsonStore initialization.Mic Bowman3-5/+7
Cut down on the logging spam.
2012-04-17This commit adds a new optional region module, JsonStore, that provides ↵Mic Bowman4-0/+1464
structured storage (dictionaries and arrays of string values) for scripts and region modules. In addition, there are operations on the storage that enable "real" distributed computation between scripts through operations similar to those of a tuple space. Scripts can share task queues, implement shared locks or semaphores, etc. The structured store is limited to the current region and is not currently persisted. However, script operations are defined to initialize a store from a notecard and to serialize the store to a notecard. Documentation will be posted to the opensim wiki soon.
2012-04-17make the namespace for the ScriptModuleComms consistent with its file system ↵Mic Bowman1-1/+1
location
2012-04-17Add TestGetChildPartPositionAfterObjectRotation()Justin Clark-Casey (justincc)1-1/+37
2012-04-17Add test TestGetChildPartPosition()Justin Clark-Casey (justincc)1-0/+28
2012-04-17Move some public methods on WebStatsModule to private to reduce some static ↵Justin Clark-Casey (justincc)1-14/+14
analysis complexity. There's no obvious reason for these methods to be public.
2012-04-17refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)9-16/+16
EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
2012-04-17Null reference in llGetObjectMass on a seated avatar.Talun1-1/+1
2012-04-17Use INSERT OR REPLACE INTO sql in WebStatsModule for session update rather ↵Justin Clark-Casey (justincc)1-77/+7
than separate insert and update statements
2012-04-17correct bug where f_invalid was being inserted on a webstats update for an ↵Justin Clark-Casey (justincc)1-2/+2
existing session rather than d_world_kb
2012-04-17Simplify WebStatsModule by removing the uncompleted migrations section.Justin Clark-Casey (justincc)1-29/+3
Use "create table if not exists" instead. Client stats data is transitory data that it is not worth migrating.
2012-04-17Fix bug in WebStatsModule where an exception would always be output on ↵Justin Clark-Casey (justincc)1-5/+10
update if the user teleported to another region on that simulator. This was because update was looking for an existing stats record unique in session id, agent id and region id. But if the user teleports to another region then region id changes. WebStatsModule promptly doesn't find the existing record and tries to insert a new one, but only session id is the primary key and that's still the same, which makes things go bang. This makes the update search only on the unique session id. This is only an issue with simulators that have multiple regions where the webstats module is enabled.
2012-04-14Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()Justin Clark-Casey (justincc)1-1/+3
2012-04-14minor: make test names consistentJustin Clark-Casey (justincc)1-1/+1
2012-04-14refactor: move common init code into SetUp() in SceneObjectSpatialTestsJustin Clark-Casey (justincc)1-8/+13
2012-04-14refactor: put SOG position test in a separate TestSceneObjectGroupPosition()Justin Clark-Casey (justincc)1-1/+17
2012-04-14Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPositionJustin Clark-Casey (justincc)1-0/+2
2012-04-13Missing or unimplemented LSL memory functions.Talun4-13/+62
Implemented to behave as if scripts were LSO. Signed-off-by: nebadon <michael@osgrid.org>
2012-04-14Correct whitespace error introduced by previous commitMelanie1-1/+1
2012-04-14Add very basic TestGetRootPartPosition() testJustin Clark-Casey (justincc)1-0/+65
2012-04-13Added ability to exclude inventory items or folders when saving IAR files.Kevin Cozens2-84/+128
2012-04-13Change threat level of osNpcStopMoveToTarget from Low to High to match other ↵Justin Clark-Casey (justincc)1-1/+1
NPC functions, and change OSSL permissions name to osNpcStopMoveToTarget instead of osNpcStopMoveTo Thanks to Oren Hurvitz for pointing out these mistakes.
2012-04-13Remove hardcoded god requirement from osSetRegionWaterHeight, ↵Justin Clark-Casey (justincc)1-36/+25
osSetRegionSunSettings and, osSetEstateSunSettings no matter the threat level. Change threat level on osSetRegionSunSettings and osSetEstateSunSettings from nuisance to high to match similar functions. If you had enabled these functions but had relied on the hardcoded god check in the code, then please adjust your OSSL permissions config. Thanks to Oren Hurvitz for pointing this out.
2012-04-12Mantis 55025 Implement script time.Talun7-46/+135
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-11HGFriendsModule: Type casts to fix compile errorSnoopy Pfeffer1-1/+1
2012-04-11HGFriendsModule: Added optional user level based restriction to send ↵Snoopy Pfeffer1-4/+20
friendship invitations to foreign users.
2012-04-11HGFriendsModule: add the scaffolding for supporting permissions pertaining ↵Diva Canto2-2/+32
to HG friendships. Snoopy take it from here.
2012-04-10New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer5-2/+84
originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
2012-04-10Add uri to various log messages when region registration fails. Upgrade ↵Justin Clark-Casey (justincc)1-8/+15
some debug log messages to error.
2012-04-10Do not timeout group member cache entry, as long as there are frequent group ↵Snoopy Pfeffer1-0/+3
membership requests. These are caused by movements within the parcel boundaries.
2012-04-09Mantis5502 implementation of some of the new constantsTalun6-20/+155
Signed-off-by: Melanie <melanie@t-data.com>
2012-04-08Addresses mantis #5846Diva Canto1-1/+3
2012-04-07A few more minor improvements on Suitcase inventory service.Diva Canto1-7/+6
2012-04-06Better Suitcase Inventory Service.Diva Canto1-48/+55
2012-04-06Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto4-150/+208
HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway.
2012-04-07Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)4-10/+19
ever using the root prim one, store on SOG instead. This reduces pointless memory usage.