aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-19Add is_megaregion flag into oar control file. Not currently read - for ↵Justin Clark-Casey (justincc)4-43/+145
future use. Please do not rely on this remaining here. An adaptation of part of Garmin's patch from http://opensimulator.org/mantis/view.php?id=5975, thanks! Flag only written if the SW corner OAR is saved - this is the only one that captures object data presently (though not land or terrain data). This adds an IRegionCombinerModule interface and the necessary methods on RegionCombinerModule
2012-05-18Fix issue where a new outfit folder is not created when a new outfit is ↵Justin Clark-Casey (justincc)1-3/+9
saved if there are no previous outfits This was because AddFolder() was disallowing these though they are legal.
2012-05-18Provide Telehub setting to allow use of landmarksBlueWall2-1/+9
Setting to allow use of landmarks to override telehub routing. Default is off.
2012-05-18Fix build break. Comment out EQG deregister/register logging.Justin Clark-Casey (justincc)1-10/+10
2012-05-18Add level 2 debug eq logging which logs event queue polls.Justin Clark-Casey (justincc)1-23/+32
Refactor: eq message logging into common method.
2012-05-18Invoke log4net configurator in pCampBot.exe in order to get OpenSim sylte ↵Justin Clark-Casey (justincc)1-0/+3
logging
2012-05-18refactor: move EventQueueGet path generation into common method. Rename ↵Justin Clark-Casey (justincc)2-21/+34
some local variables in line with code conventions. Add commented out EQG log lines for future use.
2012-05-17Don't eagerly clear frame collision events when physics actors subscribe and ↵Justin Clark-Casey (justincc)1-2/+8
unsubscribe from collisions, in order to avoid a race condition. Since this is done directly from ScenePresence, it can lead to a race condition with the simulator loop. There's no real point doing it anyway since the clear will be done very shortly afterwards by the simulate loop and either there are no events (for a new avatar) or events don't matter (for a departing avatar). This matches existing behaviour in OdePrim
2012-05-17Check agent limit against root agent count rather than both root and child ↵Justin Clark-Casey (justincc)3-22/+43
agents From sl docs such as http://community.secondlife.com/t5/English-Knowledge-Base/Managing-Private-Regions/ta-p/700115 agent should apply to avatars only. This makes sense from a user perspective, and also from a code perspective since child agents with no physics or actions take up a fraction of root agent resources. As such, the check is now only performed in Scene.QueryAccess() - cross and teleport check this before allowing an agent to translocate. This also removes an off-by-one error that could occur in certain circumstances on teleport when a new child agent was double counted when a pre-teleport agent update was performed. This does not affect an existing bug where limits or other QueryAccess() checks are not applied to avatars logging directly into a region.
2012-05-17Force the default Telehub router if no matches are found in the config.BlueWall1-29/+28
2012-05-17minor: improve method doc for ↵Justin Clark-Casey (justincc)1-1/+1
TestSameSimulatorSeparatedRegionsCreateAgentFails()
2012-05-17Add regression TestSameSimulatorSeparatedRegionsCreateAgentFails()Justin Clark-Casey (justincc)1-0/+67
2012-05-17Comment out TestSameSimulatorSeparatedRegionsQueryAccessFails() regression ↵Justin Clark-Casey (justincc)2-2/+8
test logging accidentally left in
2012-05-17minor: Remove redundant EstateOwner != UUID.Zero check in IsAdministrator ↵Justin Clark-Casey (justincc)1-8/+6
because checking EstateOwner == user Due to an earlier check we already know that user != UUID.Zero so if EstateOwner == UUID.Zero, EstateOwner == user can never be true
2012-05-17Add regression TestSameSimulatorSeparatedRegionsQueryAccessFails()Justin Clark-Casey (justincc)2-1/+77
2012-05-17Remove redundant "Teleport failed:" from reason when QueryAccess fails for ↵Justin Clark-Casey (justincc)1-4/+12
the destination simulator. This part of the string is already provided by the viewer. Also adds more reason logging for diagnostics when teleports are refused/fail.
2012-05-16Route OAR SOG loading through the common ↵Justin Clark-Casey (justincc)3-115/+5
SceneObjectSerializer.FromXml2Format() rather than the functionally identical but buggy Xml2ToSOG(). Remove buggy Xml2ToSOG().
2012-05-15Fix issue where loading OARs could sometimes result in link numbers being ↵Justin Clark-Casey (justincc)4-6/+72
reordered. This was because the parts in scene objects were sometimes not serialized in link order. This is perfectly fine since the parts still have the right link numbers, but an extra fix to adjust for this had not been done in the SerialiserModule methods that OAR loading used. Add regression test for same. Addresses http://opensimulator.org/mantis/view.php?id=5948, http://opensimulator.org/mantis/view.php?id=5749
2012-05-15Allow use of regular expressions in "show object name", "show part name" and ↵Justin Clark-Casey (justincc)1-101/+208
"delete object name" console commands if --regex switch is used. Deleteing objects by name, creator uuid or owner uuid now requires confirmation to avoid accidental deletion.
2012-05-14Add another null check to Melanie's last commit. Seems to eliminate sqlite ↵dahlia1-1/+1
errors in log but no idea if it's working properly
2012-05-15Guard against null root part on SQLite. This really needs to be fixed so SQLiteMelanie1-1/+1
loads roots before children like MySQL does.
2012-05-15Try to fix sqlite breakageMelanie1-0/+3
2012-05-15Port Avination's collision fixes to core.Melanie5-523/+199
2012-05-14Save the Telehub and its Spawn Points in the OAROren Hurvitz6-5/+100
2012-05-14minor: add explanative comment to 'missing baked texture' logging commonly ↵Justin Clark-Casey (justincc)1-0/+10
seen on inter-simulator teleports where avatar baked textures are not available from the asset service.
2012-05-14minor: comment out individual attachment transfer log messages for nowJustin Clark-Casey (justincc)1-4/+4
2012-05-14Set the agent in transit teleport flag at the first available opportunity ↵Justin Clark-Casey (justincc)1-11/+37
(i.e. when IsInTransit() was being checked) to close down a race condition. On EntityTransferModule.DoTeleport() there was an IsInTransit() check to prevent multiple simultaneous teleport attempts. However, the SetInTransit() was only performed later on, which left a window in which multiple threads could pass the IsInTransit() check. This has been seen in the field and the results aren't pretty. This commit effectively combines the IsInTransit() and SetInTransit() checks so there is no such window. More failure cases are made to to call ResetInTransit() to adjust to this move.
2012-05-14Add more region information to some teleport related loggingJustin Clark-Casey (justincc)1-7/+8
2012-05-13Modifications for SMTP in OpenSimulator. Email size limit was fixed (was out ↵Chris Koeritz2-26/+26
of step with documentation at 1024, so boosted to 4096). Added configuration item for maximum email size. Redundant sleep inside email module was fixed (LSL Api was already sleeping). Added sleep time configuration item for snooze between email sending for LSL Api. Added two new configuration items (email_max_size and email_pause_time) into the example OpenSim.ini, plus fixed a spelling error (llimits) and odd tabbing. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-13Add configurable SpawnPointRoutingBlueWall2-38/+146
Will use one of three selected methods to route avatar landing points when using Telehubs. The setting is in [Startup] using SpawnPointRouting = closest/random/sequence closest: The default setting. Routes avatar to the nearest SpawnPoint to the location. random: Picks random SpawnPoints to land the avatar. sequence: Follows a sequence to place the avatar on the next available SpawnPoint location Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs
2012-05-12Fix mono compiler warning.Justin Clark-Casey (justincc)1-1/+1
Last jenkins failure looked like a glitch.
2012-05-12Revert "Save the Telehub and its Spawn Points in the OAR"Justin Clark-Casey (justincc)6-100/+5
This reverts commit b0b7b45b943dd94546bcfcf5d3bb871cfe35b507. Sorry BlueWall, I wanted to discuss an aspect of the data storage but I couldn't assign bugs in 'patch included' state to myself until I changed mantis just now and I forgot to mention it on irc. I wouldn't normally revert but thinks get tricky when it comes to data formats. Essentially, I would like to see the Yaw, Pitch and Distance values as separate XML entities (as used in other aspects such as vectors, quaternions) rather than as a . delimited string We can discuss this more with Oren in opensimulator.org/mantis/view.php?id=6008
2012-05-10Save the Telehub and its Spawn Points in the OAROren Hurvitz6-5/+100
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-11Print out more information on connecting botsJustin Clark-Casey (justincc)2-9/+19
2012-05-11Increase minimum period between bot actions to 3 seconds, so that teleport ↵Justin Clark-Casey (justincc)1-2/+2
doesn't fall under the minimum 2 second limits that clients take to process it
2012-05-11Stagger multiple bot logins by 5 seconds to make this part of the test more ↵Justin Clark-Casey (justincc)1-0/+13
'realistic' TODO: Need to make this value configurable by a command line parameter to pCampbot
2012-05-11Do bot startup on another thread so console is responsive during this processJustin Clark-Casey (justincc)2-1/+5
2012-05-11Do each bot shutdown on its own threads to prevent one slow shutdown holding ↵Justin Clark-Casey (justincc)1-8/+13
up all the rest. This does increase the aggressiveness of shutdown Also prevents the bot list being locked for a long period, which was preventing commands such as "show bots" from working during shutdown
2012-05-11Change bot.IsConnected to be ConnectionState with Disconnected, Connecting, ↵Justin Clark-Casey (justincc)2-5/+22
Connnected and Disconnecting states
2012-05-11If a bot is not connected, show region name "(none)" instead of throwing an ↵Justin Clark-Casey (justincc)1-1/+3
exception in the "show bots" command of pCampbot
2012-05-10Add ConsoleTable framework class for future uniform formatting of console ↵Justin Clark-Casey (justincc)2-8/+165
output tables. Still subject to change - if you use this be prepared to change your output code if/when the methods change. Make new "attachments show" command use this.
2012-05-10Add "attachments" show console command that will show the server's record of ↵Justin Clark-Casey (justincc)1-0/+177
which attachments an in-scene avatar has. For debugging purposes.
2012-05-10Add even for terrain tainting and synchronize terrain module with physics ↵Dan Lake3-7/+34
scene before physics simulation step rather than after
2012-05-10Saving estate state is really slow (relatively) and it getsMic Bowman3-9/+13
completely rewritten every time a region starts up. This makes the data write only when the data was not already read from the database. There is a still a major race condition whenever two regions share the same estate data, but at least it won't be triggered on startup.
2012-05-09Where necessary, rename OpenSim/Services/Connectors/*.cs files to reflect ↵Justin Clark-Casey (justincc)15-0/+0
the actual class names. This is usually because the file name was singular (*Service*) but the class name was plural (*Services*). This is to make configuration easier rather than having to look in the c# code itself to find the slightly different name of the connector. This does not affect existing configuration since the files are being renamed rather than the classes.
2012-05-09Improve logging on the prim inventory script asset request path for future use.Justin Clark-Casey (justincc)4-8/+15
This adds name and description of the request handler to http request logging when DebugLevel >= 1
2012-05-09Escape and unescape xml element names if necessary in ↵Justin Clark-Casey (justincc)1-3/+3
ServerUtils.BuildXmlData() and ParseElement() If AvatarService appearance data is retrieved over the network, then ServerUtils was attempting to transfer names such as "Wearable 0:0" directly to xml element names, resulting in an exception. Space is not valid in xml element names. Neither is : in this case since the intention is not to namespace. Using names directly as keys is not a good idea. To get around this problem this patch escapes and unescapes the element names as appropriate. This has no impact on existing xml (since it had to be valid in the first place) but allows AvatarService data to be used over the network. Setting appearance (from simulator to AvatarService) did not suffer this problem since the values are passed in the query string which is already properly escaped.
2012-05-09Mantis 6015 new LSL function llGetAgentList.Talun4-0/+96
Details in the lsl wiki
2012-05-09Remove physics actor related race conditions in SetVehicleFlags() and ↵Justin Clark-Casey (justincc)1-7/+9
SetPhysicsAxisRotation() sop.PhysActor can currently become null at any time.
2012-05-08Trigger event when scene presences are updatedDan Lake2-0/+34