Oren Hurvitz
e7bd4a11aa
Don't append attachments multiple times
2014-08-02 00:57:20 +01:00
Oren Hurvitz
f1536de438
Allow reading the BulletSim detail log while the sim is running
2014-08-02 00:57:17 +01:00
Oren Hurvitz
4514799c8d
Changed the default XBakes directory to a local path: "./bakes".
...
Previously it was an absolute path. Now it's a sibling of the maptiles directory.
This fixes http://opensimulator.org/mantis/view.php?id=7063
2014-08-02 00:57:11 +01:00
Oren Hurvitz
5f0456d91f
XBakes: store the assets only in the sim's local assets cache; not in the main assets server. Also, some cleanup.
2014-08-02 00:57:07 +01:00
Oren Hurvitz
9a2dc6a0d7
Log RestClient requests similarly to WebClient (e.g, "debug http all 6" logs the entire request and response)
2014-08-02 00:57:04 +01:00
Oren Hurvitz
37fcc827e2
Fixed problems if an avatar tries to cross regions when the previous cross hasn't completed yet
...
This caused the client to stop responding, and even the simulators to have problems. The solution is to disallow crossing before the previous cross has completed.
2014-08-02 00:56:58 +01:00
Oren Hurvitz
5229a3c51c
Added locking in AccessModule to prevent possible errors when shutting down a simulator that has >1 region
2014-08-02 00:56:54 +01:00
Oren Hurvitz
e16403db80
Minor: changed "existant" to "existent"
2014-08-02 00:56:37 +01:00
Oren Hurvitz
c4467353da
Removed warning about YieldProlog
2014-08-02 00:56:29 +01:00
Oren Hurvitz
d616f75d9a
In "show throttles", show the maximum drip rate. This shows whether a client is being throttled due to past poor performance.
2014-08-02 00:56:26 +01:00
Oren Hurvitz
ae53c6b834
Include the group name in group IM's
...
When sending an ImprovedInstantMessage to a group, the IM's binary bucket is supposed to contain the group's name (this is what SL does). Singularity uses this to show the group name when it shows the message at the bottom of the viewer for a few seconds: "[Group Name] From User: Message". Before this update, the group name was empty ("[]").
This update doesn't have any visible effect in Firestorm, because it doesn't use the group name sent in the IM.
2014-08-02 00:56:23 +01:00
Oren Hurvitz
af344aa532
Added "debug packet --all" option, which changes the packet logging level for both current and future clients
...
The existing "--default" option only changes the logging level for future clients.
2014-08-02 00:56:16 +01:00
Oren Hurvitz
8920c65b9c
Fixed the logic that decides if a packet was queued (it was reversed)
2014-08-02 00:56:13 +01:00
Oren Hurvitz
e41e52e097
Close streams immediately when we finish using them
2014-08-02 00:55:57 +01:00
Robert Adams
01d13b4ad7
Add code to GridService to check for overlapping of varregions
...
when registering a new region.
Adds parameter "[GridService]SuppressVarRegionOverlapCheckOnRegistration=false"
that can be turned on to suppress the error check if a simulator's database
has old regions that overlap.
2014-08-02 00:55:47 +01:00
Justin Clark-Casey (justincc)
74848e9cdb
minor: remove long unused RegionInfo.ignoreIncomingConfiguration
2014-08-02 00:55:12 +01:00
Justin Clark-Casey (justincc)
ff88d371d2
minor: remove long unused RegionInfo.commFailTF
2014-08-02 00:55:04 +01:00
Justin Clark-Casey (justincc)
19bd27071a
refactor: slightly adjust some code in ODECharacter.Move() to eliminate a condition check without changing the logic
2014-08-02 00:55:01 +01:00
Justin Clark-Casey (justincc)
ad3ce54aca
With ODE physics, fix an issue where the avatar couldn't jump and then move forward when moving south or west.
...
Addresses http://opensimulator.org/mantis/view.php?id=5003
Thanks to UbitUmarov for this fix.
2014-08-02 00:54:57 +01:00
Robert Adams
db17f98c6f
BulletSim: rearrange code to prevent using null pointers when a
...
child mesh is not available when building a linkset.
2014-08-02 00:54:54 +01:00
Michael Cerquoni
66340824e5
fix all instances of "non-existant" to "non-existent" (spelling mistakes) thanks Ai Austin for pointing this out.
2014-08-02 00:54:48 +01:00
Justin Clark-Casey (justincc)
539ffb7769
Use thread-safe version of .NET Random as the SDK class is not thread-safe.
...
As per http://msdn.microsoft.com/en-us/library/system.random%28v=vs.100%29.aspx , the .NET Random class is not thread-safe.
If called by multiple threads at once, methods may return 0.
Except for llRand(), other OpenSimulator code did not lock before calling a shared Random instance.
This commit adds a ThreadSafeRandom class that extends Random but does internal locking so that it is thread-safe.
This change is invisible to existing callers and the explicit locking in the llFrand() implementation is now redundant.
2014-08-02 00:54:42 +01:00
Dev Random
d35b5737a8
Call RemoveScriptInstance when removing from inventory
2014-08-02 00:53:35 +01:00
Justin Clark-Casey (justincc)
1670d306d7
minor: Move debug xengine script console command to Debug help section where other debug commands live.
2014-08-02 00:53:32 +01:00
Justin Clark-Casey (justincc)
405db6d450
refactor: use existing Compiler.CreateScriptsDirectory() (renamed to CheckOrCreateScriptsDirectory()) when checking that scripts directory exists on compile.
...
Code was identical apart from error logging, but if there are failures creating these directories then you'll be
seeing lots of errors anyway, and these will be more informative
2014-08-02 00:53:20 +01:00
Justin Clark-Casey (justincc)
743b1efdb4
Fix bug in "show modules" comamnd that was showing shared modules as non-shared and non-shared as shared
2014-08-02 00:53:14 +01:00
Justin Clark-Casey (justincc)
b243cde14f
Turn RestClient.Request() logging down the debug and comment out for now.
2014-08-02 00:53:10 +01:00
Justin Clark-Casey (justincc)
73ed56f46a
Fix issue with running "stats record start|stop" console command
...
In commit e6080a38
(Wed Mar 19 00:29:36 2014) I renamed this from "debug stats record start|stop"
Unfortunately, I didn't do this fully so before this commit "stats record start|stop" will report a usage failure with the old debug text.
Unfortunately this is in the 0.8 release. The workaround is to repeat the last command twice (e.g. "stats record start start")
2014-08-02 00:53:06 +01:00
Justin Clark-Casey (justincc)
6b5533dbdb
Add experimental "show grid size" robust console command.
...
This will show an approximate grid size that doesn't count regions that are hyperlinks
Not particularly trustworthy since it will still count regions that are not active but were not deregistered (deliberately or due to simulator crash or similar)
2014-08-02 00:52:53 +01:00
Diva Canto
3dd5d8508c
Small change to my previous commit: not so aggressive on the trigger, please.
2014-08-02 00:52:46 +01:00
Justin Clark-Casey (justincc)
2a15739935
Show region size column in simulator version of "show regions" console command
2014-08-02 00:52:25 +01:00
Justin Clark-Casey (justincc)
fabe054608
Adjust "show regions" and "show region" robust service console output to show size
...
"show regions" drops the owner id column but is till present in "show region"
"show regions" name column expanded to allow for longer hg regions (probably still too short, may eventually have to truncate rather than taking up huge screen space)
2014-08-02 00:52:22 +01:00
Diva Canto
fe1ae9db1b
Instrument the UDP path of creating assets so that it triggers an asset post for users with different asset servers
2014-08-02 00:52:15 +01:00
Justin Clark-Casey (justincc)
12ce20a203
minor: put standard 'category' in brackets at front of log messages from previous commit 3d70db4a
2014-08-02 00:52:12 +01:00
Latif Khalifa
45e280274c
When uploading mesh objects with textures also create inventory items for uploaded textures.
...
This implements:
http://opensimulator.org/mantis/view.php?id=7250
2014-08-02 00:52:07 +01:00
Justin Clark-Casey (justincc)
e87a0d9db1
Still log (but this time with warning rather than an exception) if we regenerate a new child caps seed for a region where we already have one.
...
I think it's still useful to know this to show up any errors early, but it's reasonable to still carry on rather than throw an exception.
Follow on from Diva's commit 9643792
2014-08-02 00:51:57 +01:00
Diva Canto
62e9cdd72a
On logout, delay the removal of AgentCircuitData until the very end, because that data structure contains important information about the agent that may be needed by modules.
2014-08-02 00:51:53 +01:00
Diva Canto
3730163e5d
This fixes the bug related to rebooting neighboring varregions while avatars are logged in; the avies would not see the region anymore until they relogged. Same problem as before: inconsistent calculation of scope.
2014-08-02 00:51:49 +01:00
Diva Canto
4e3a2d3a64
It turns out that child agent management has had a bug for a while: there was an inconsistency in the scope between opening and closing child agents in neighboring regions. For opening (in EnableChildAgents), the region's DrawDistance was being used; for closing (in IsOUtsideView) , the viewer's (SP) DrawDistance was being used. This fixes this inconsistency, therefore eliminating bugs observed in TPs between, at least, neighboring varregions.
2014-08-02 00:51:36 +01:00
Diva Canto
e9447cc836
Avoid an exception in creating child agents some times.
2014-08-02 00:50:21 +01:00
Justin Clark-Casey (justincc)
693a3ea8fa
Temporarily disable new regression test TestLifecycle() until I have a chance to fix it
...
This was working for me locally because it was still picking up all my *.ini config files, which jenkins won't have in its test env
2014-08-02 00:50:18 +01:00
Justin Clark-Casey (justincc)
7e2927f537
Re-enabled TestLifecycle regression test logging so I can get some idea of why it's failing on jenkins but not locally
2014-08-02 00:50:15 +01:00
Justin Clark-Casey (justincc)
ba745a524d
Actually call Close() for shared region modules when the simulator is being shutdown.
...
Adds regression test for this case.
2014-08-02 00:50:10 +01:00
Justin Clark-Casey (justincc)
cf8b6efaf2
minor: Change default max phys prim size in code to match OpenSimDefaults.ini
2014-08-02 00:50:02 +01:00
Justin Clark-Casey (justincc)
40f7062d02
minor: change allow script crossings default in code to true in order to match OpenSimDefaults.ini
2014-08-02 00:49:59 +01:00
dahlia
81fe05bb84
add LSL constant PRIM_ALPHA_MODE
2014-08-02 00:49:56 +01:00
Vegaslon
ed6aabb197
Bulletsim: Create AvatarTerminalVelocity to BulletSim like what ODE and SL has. Before this falling from really high caused the avatar to fall faster then the veiwer can handle and cause camera issues.
2014-08-02 00:49:50 +01:00
dahlia
8542f34d7d
add LSL constants PRIM_SPECULAR and PRIM_NORMAL
2014-08-02 00:49:46 +01:00
Diva Canto
025ac85a46
Bug fix in map teleports in varregions. The cherry was missing from the ice-cream Sunday: the packet itself was hardcoding the size of the region...
2014-08-02 00:49:43 +01:00
Robert Adams
5edffc9ecd
BulletSim: add some locking for collision lists to prevent collsions
...
from locking up when running BulletSim on a separate thread.
2014-08-02 00:49:39 +01:00