aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2012-05-09Mantis 1456 same region teleport of a sitting avatar.Talun1-0/+2
Region to region was fixed some time ago in EntityTransferModule. This applies the same fix for same region teleports.
2012-05-08Add automated TestllBreakLink()Justin Clark-Casey (justincc)1-0/+27
2012-05-08Add automated TestllCreateLink()Justin Clark-Casey (justincc)1-0/+112
2012-05-08refactor: Eliminate local id parameter from api initialize.Justin Clark-Casey (justincc)10-46/+36
This is always available from m_host.LocalId
2012-05-08Instead of constantly looking up unchanging self item in script code, pass ↵Justin Clark-Casey (justincc)10-190/+145
in self item on initialization.
2012-05-08Perform SceneGraph.DuplicateObject() under existing m_updateLock already ↵Justin Clark-Casey (justincc)1-75/+89
used for link and delinking, in order to avoid race conditions. DuplicateObject() relies on source object having correct link numbers for the duration of the dupe. Both link and delink can change link numbers such that they are not consistent for short periods of time.
2012-05-07Revert "Better error handling if Load OAR or Save OAR fail"Justin Clark-Casey (justincc)3-32/+6
This reverts commit 65c88b2ff4e2616fa5c1d4c5e75298ed1eb1c0d8. Yet again I accidentally committed something whilst evaluating it.
2012-05-07Log the full exception when errors occur in BaseHttpServerOren Hurvitz1-19/+19
2012-05-07Better error handling if Load OAR or Save OAR failOren Hurvitz3-6/+32
2012-05-07For osGetGridNick(), osGetGridName(), osGetGridLoginURI() and ↵Justin Clark-Casey (justincc)1-8/+10
osGetGridCustom(), try to read from the [GridInfoService] section on standalone rather than [GridInfo] [GridInfoService] is the section that's actually in bin/config-include/StandaloneCommon.ini.example
2012-05-07refactor: Instead of performing a ScenePresence lookup twice over ↵Justin Clark-Casey (justincc)1-18/+2
LocateClientObject() and GetClientScene(), do the lookup just once in LocateClientObject()
2012-05-07Fix a bug in FriendsModule.StatusNotify() where all subsequent friends would ↵Justin Clark-Casey (justincc)1-2/+7
not be notified once a non-local friend was found.
2012-05-07add a null check for Primitive.Sculpt in PrimitiveBaseShape constructor for ↵dahlia1-4/+8
OpenMetaverse.Primitive object
2012-05-07remove default values from prior commit since mono cant deal with themdahlia4-5/+5
2012-05-06add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for ↵dahlia4-4/+9
moving NPCs
2012-05-06Stop llSetPos from sending one update per child primMelanie1-1/+1
2012-05-05Fire the scripting changed event with CHANGED_OWNER when an object that has ↵Justin Clark-Casey (justincc)4-15/+30
changed owners is rezzed. This needs to occur after the script is resumed rather than before, when the event is just dropped. Addresses http://opensimulator.org/mantis/view.php?id=5890 and http://opensimulator.org/mantis/view.php?id=5952
2012-05-04Use the more efficient HashSet instead of List for ↵Justin Clark-Casey (justincc)1-1/+1
FlotasmAssetCache.m_CurrentlyWriting
2012-05-04Don't try and update the access time of a file that is actively being cached.Justin Clark-Casey (justincc)1-2/+6
This may cause IOErrors on Windows. Aims to help with http://opensimulator.org/mantis/view.php?id=6003
2012-05-04Temporarily add debug log lines to lsl url request and releaseJustin Clark-Casey (justincc)1-0/+13
To help with http://opensimulator.org/mantis/view.php?id=5993
2012-05-04minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2012-05-04Mantis 60004 problems with damage and llSetDamage. In damage enabled areas ↵Talun2-10/+60
this patch - Deletes any objects that have damage set > 0 that deliver that damage to an avatar Stops Gods receiving damage, Stops volume detect objects causing damage Deletes NPCS when their helth reduces to zero Gradually "heals" damage to an avatar Resets health on going to a non damage area
2012-05-04Change LongCallTime on WebUtil to 3000, to match the time where request ↵Justin Clark-Casey (justincc)1-1/+1
handling is considered "slow". This may be the wrong thing to do but stops lots of log spam in HG setups now that the monitoring is extended to other outgoing calls. LongCallTime may need to be made configurable.
2012-05-04refactor: Rename new DeleteFoldersEx/PurgeFoldersEx methods to ↵Justin Clark-Casey (justincc)1-6/+7
DeleteFolders/PurgeFolders overloads as previously discussed with Oren - I think this makes more sense on balance These overloads are not publicly available on core connectors or IInventoryService.
2012-05-04Allow deleting folders even if they're not in the TrashOren Hurvitz1-4/+15
The functions DeleteFolders() and PurgeFolder() still work as before, i.e. they only allow deleting folders that are in the Trash. However, the functions DeleteFoldersEx() and PurgeFolderEx() can now be used to delete any folder.
2012-05-04Calculate the Daylight Savings Time information sent to the viewer based on ↵Justin Clark-Casey (justincc)2-5/+55
US Pacific Standard Time rather than whatever timezone the login server is set to. This is because the viewer doesn't receive a timezone from the server but bases its displays on Pacific Standard Time. However, it still expects to receive notification from the server as to whether or not Daylight Savings Time for PST is in operation. This commit introduces a new DSTZone setting in the [LoginService] config setting that accepts a list of timezone names valid across different platforms to calculate Pacific DST. If you need the old behaviour of calculating DST based on the local timezone of the server running the login service, then please override DSTZone with "local". A mailing list announcement will be made later. Thanks to Olivier Van Helden and Gudule Lapointe for determining this behaviour and providing this patch. From http://opensimulator.org/mantis/view.php?id=5972
2012-05-04minor: Tweak BaseHttpServer message to make it clear that this relates to ↵Justin Clark-Casey (justincc)1-1/+1
slow handling of inbound requests.
2012-05-04Extend 'slow' request logging to other server outbound requests (forms, ↵Justin Clark-Casey (justincc)1-79/+194
rest, async rest) as well as the existing logging on outbound OSD requests. Also prints out the first 100 chars of any slow request data since this can contain useful info (such as agent ID).
2012-05-03Reinsert a 2000ms delay before closing a no longer required agent on the ↵Justin Clark-Casey (justincc)2-6/+17
source region after teleport to resolve Imprudence teleport problems. Viewers 1 and 3 are fine with doing this immediately. However, Imprudence has a small delay (<200ms, >500ms) after receiving the AgentCompleteMovement reply packet on the destination region before regarding that region as the currnet region. If Imprudence receives a DisableSimulator in this period, it quits. We are not restoring the full 5000ms delay since this brings back a bug where teleports permanently fail if an avatar tries to teleport back too quickly. This commit also sends the AgentCompleteMovement packet to the client before telling the source region to release its old agent, in order to further cut down any possibility of the DisableSimulator being recieved before the AgentMovementComplete.
2012-05-03Fixes Mantis #5999. llSetLinkPrimitiveParams with PRIM_BUMP_SHINY did cause ↵Snoopy Pfeffer1-1/+1
a runtime error.
2012-05-03Remove the somewhat misleading logging of the string length of some unknown ↵Justin Clark-Casey (justincc)3-4/+5
requests, as this appeared to be some kind of numbered error code. This brings these messages into line with similar messages that did not do this.
2012-05-03minor: resolve some mono compiler warningsJustin Clark-Casey (justincc)3-10/+5
2012-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)38-217/+375
can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing.
2012-05-01Comment out the five second sleep in etm.DoTeleport() if the old agent needs ↵Justin Clark-Casey (justincc)1-1/+1
to be closed because it is no longer in the child's view distance. This sleep appears unnecessary since a sleep has already occurred in WaitForCallback() whilst waiting for the destination region to notify of teleport success. There are no async operations between this sleep and the WaitForCallback() If this sleep is present, then teleporting back to the source region within 5 seconds results in a disconnection. If this sleep is commented out then teleporting quickly back and forth between two simulators appears to work without issue. Tested on standalone, local grid and distributed grid. Please revert if there's something that I've missed.