Justin Clark-Casey (justincc)
8c8e3ad3ff
Make WebStats logging report consistently as WEB STATS MODULE instead of VC, VS and WEBSTATS
2012-02-14 20:46:59 +00:00
Justin Clark-Casey (justincc)
91d5495e26
Temporarily remove ScenePresenceAgentTests since getting them operational in this branch may require considerable changes
2012-02-14 20:45:16 +00:00
Justin Clark-Casey (justincc)
2030377d2c
Only look for an uploaded transactional asset in Scene.UpdateTaskInventory if we have been passed a non-zero transaction ID.
...
This resolves the recent regression from deeb728
where notecards could not be saved in prim inventories.
This looks like a better solution than deeb728
since only non-caps updates pass in a transaction ID.
Hopefully resolves http://opensimulator.org/mantis/view.php?id=5873
2012-02-14 20:37:58 +00:00
Justin Clark-Casey (justincc)
31a0f75aff
D'oh - we want to call llGetLinkNumberOfSides() in the LSL_Stub, not llGetLinkNumber().
2012-02-14 20:36:09 +00:00
Justin Clark-Casey (justincc)
c1d84ffc6c
Add llGetLinkNumberOfSides to LSL_Stub and ILSL_Api
...
It already existed in LSL_Api but it also needs to exist in these two other places for a script to be able to see it.
Hopefully resolves http://opensimulator.org/mantis/view.php?id=5489
2012-02-14 20:36:00 +00:00
Justin Clark-Casey (justincc)
6c72381732
Lay out script status in property per row format, since getting too long for console lines.
2012-02-02 23:59:01 +00:00
Justin Clark-Casey (justincc)
8c271802ac
Add count of events queued for a particular script in "scripts show" console command
2012-02-02 23:58:51 +00:00
Justin Clark-Casey (justincc)
20a76fd224
Make script console commands only show for selected region.
2012-02-02 23:58:42 +00:00
Justin Clark-Casey (justincc)
4473f00e63
Implement "xengine status" console command to show various xengine stats
2012-02-02 23:58:36 +00:00
Justin Clark-Casey (justincc)
0b5210dd6a
Add "show part uuid" and "show part name" console commands.
...
These commands will display part/prim details for a given uuid or name
The "show object uuid" and "show object name" commands will now only display details for objects (i.e. not child parts in a linkset).
This is for consistency with the "delete object" commands which only delete objects, not parts.
2012-02-02 23:58:27 +00:00
Justin Clark-Casey (justincc)
34d4bde585
Implement "show object name <name>" console command to show details of an object with the given name
2012-02-02 23:58:17 +00:00
Justin Clark-Casey (justincc)
4c20c2045c
Get rid of the "no objects found" feedback for now - this doesn't work well if a command is executed over multiple scenes.
2012-02-02 23:58:09 +00:00
Justin Clark-Casey (justincc)
d9a8f5f16d
Implement "show object uuid <uuid>" console command.
...
This will show details about a part with the given uuid if it's found.
2012-02-02 23:57:18 +00:00
Justin Clark-Casey (justincc)
79c2081741
Add more user feedback if an object isn't found for which delete was requested.
2012-02-02 23:57:07 +00:00
Justin Clark-Casey (justincc)
eb49c356e2
Add the name of a deleted object to the console output
2012-02-02 23:56:59 +00:00
Justin Clark-Casey (justincc)
717942e81b
If a particular region is selected in the console, only try to delete objects in that region, rather than in every region on the simulator
...
The old wrong behaviour was in place before the command was extracted to a module.
2012-02-02 23:56:52 +00:00
Justin Clark-Casey (justincc)
6d47c394b2
Move object delete commands into a commands region module, in preparation for adding similar show commands.
2012-02-02 23:56:45 +00:00
Justin Clark-Casey (justincc)
8305c5d369
Use Environment.TickCount & Int32.MaxValue; instead of Util.EnvironmentTickCount(); when producing the threads report to reduce wraparound.
...
This matches the tickcount masking in the thread watchdog.
For some reason, Util.EnvironmentTickCount() masks ticks by 0x3fffffff instead of 0xffffffff
2012-02-02 23:56:29 +00:00
Justin Clark-Casey (justincc)
9e5f5f3d80
lock SceneObjectGroupsByFullID in SceneGraph.ForEachSOG() to stop failure if SceneObjectGroupsByFullID is updated elsewhere at the same time.
2012-02-02 23:55:13 +00:00
Justin Clark-Casey (justincc)
0a277a64a7
Comment out xfer section in Scene.UpdateTaskInventory() which was causing spurious errors and "script saved" messages when script properties were changed.
...
Viewers since at least Linden Lab 1.23 use the script upload capability to save script changes.
It's unknown whether the commented out code was working for very old viewers or not.
Code is commented out to reduce complexity and so that useful error messages don't need to be removed.
If there is a substantial population using extremely old viewers that can't upgrade to a newer version 1 viewer (e.g. 1.23) or similar TPV then this can be revisited.
2012-02-02 23:54:42 +00:00
Justin Clark-Casey (justincc)
7dd0b7ea2f
minor: stop the WebStatsModule logging UPDATE or INSERT every time it updates bin/LocalUserStatistics.db
2012-02-02 23:54:00 +00:00
Justin Clark-Casey (justincc)
cd666a3d2c
Serialize calls to ODE Collide() function across OdeScene instances to prevent ODE crashes on simulators running more than one region.
...
It turns out that calls to Collide() are not thread-safe even for objects in different ODE physics worlds due to ODE static caches.
For simulators running multiple regions, not serializing calls from different scene loops will sooner or later cause OpenSim to crash with a native stack trace referencing OBBCollider.
This affects the default OPCODE collider but not GIMPACT. However, GIMPACT fails for other reasons under some current simulator loads.
ODE provides a thread local storage option, but as of ODE r1755 (and r1840) DLLs compiled with this crash OpenSim immediately.
2012-02-02 23:53:46 +00:00
Justin Clark-Casey (justincc)
681502473e
Fix "Abnormal client thread terminations" stat in period CONNECTION STATISTICS to count the number of times clients are disconnected due to ack timeouts.
...
This has been broken for a long period and would only ever show 0.
2012-02-02 23:53:23 +00:00
Justin Clark-Casey (justincc)
0ffe293692
minor: correct text and usage for "image queues show" reigon console command.
2012-02-02 23:52:59 +00:00
Justin Clark-Casey (justincc)
356e8516f0
Restrict accessible of ODECharacter Shell and Body. Add method doc and some error log lines.
2012-02-02 23:52:32 +00:00
Justin Clark-Casey (justincc)
71b11f557d
Allow a viewer UDP image request retry to trigger another asset fetch if an existing fetch hasn't responded before a timeout.
...
This is to stop a high priority image/texture request from blocking the entire download queue if its asset fetch got dropped for some reason.
2012-01-23 21:35:25 +00:00
Justin Clark-Casey (justincc)
26be9ed08e
Add image not in database test for LLImageManager
2012-01-23 21:35:16 +00:00
Justin Clark-Casey (justincc)
f43d63240d
refactor: separate out common parts of LLImageManagerTests
2012-01-23 21:34:46 +00:00
Justin Clark-Casey (justincc)
5c982c98aa
Add LLImageManager regression test for discard case
2012-01-23 21:34:35 +00:00
Justin Clark-Casey (justincc)
63f0ec9aeb
Add "image queues clear <first-name> <last-name>" console command
...
This allows a way to manually clear pending image queue requests for debug purposes
2012-01-23 21:33:56 +00:00
Justin Clark-Casey (justincc)
e90cfc17ca
Add basic request and send image regression tests for LLImageManager
2012-01-23 21:33:44 +00:00
Justin Clark-Casey (justincc)
16d5ce16b6
Extend scripts show command to accept a single item UUID parameter to display one script's status
...
Usage is now scripts show [<script-item-uuid>]
2012-01-16 21:24:15 +00:00
Justin Clark-Casey (justincc)
ab4c4a362f
Register the UrlModule for script engine events OnScriptRemoved and OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script.
...
Doing this in every script is unnecessary since the event trigger is parameterized by the item id.
All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException.
Registration moved to UrlModule so that the handler is registered for all script engine implementations.
This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references.
2012-01-16 21:24:05 +00:00
Justin Clark-Casey (justincc)
b5971db76c
minor: Fix wrong column length in image queues report
2012-01-16 21:23:03 +00:00
Justin Clark-Casey (justincc)
0c39c9e84d
rename "show image queue" to "show image queues" in line with other udp info commands.
...
Eliminate redundant one line methods
2012-01-16 21:22:54 +00:00
Justin Clark-Casey (justincc)
0b49773ab3
Add "show image queue <first-name> <last-name>" region console command
...
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
2012-01-16 21:22:44 +00:00
Justin Clark-Casey (justincc)
820a39621e
correct very minor typo in "debug scene" help
2012-01-16 21:20:36 +00:00
Justin Clark-Casey (justincc)
7a0f4cf8e1
Add "app find <uuid-or-start-of-uuid>" command to find the appearance using a particular baked texture, if any.
...
This is for debugging to relate texture console entries back to particular users on the simulator end.
2012-01-16 21:20:18 +00:00
Justin Clark-Casey (justincc)
2853b78f16
Improve "j2k decode" command to tell us how many layers and components were decoded, instead of just success/failure
2012-01-09 13:14:50 +00:00
Justin Clark-Casey (justincc)
a3ada745bd
Add a "j2k decode" region console command that allows a manual request for a JPEG2000 decode of an asset
...
For debugging purposes.
2012-01-09 13:14:39 +00:00
Justin Clark-Casey (justincc)
ff0f90bc35
Make "show asset" command available simulator side. Actually make the service command be "show asset" instead of "show digest" this time.
...
Last time I accidnetally just changed the usage message.
2012-01-09 13:14:26 +00:00
Justin Clark-Casey (justincc)
7b564b8b35
Rename 'show digest' console command to 'show asset'
2012-01-09 13:14:19 +00:00
Justin Clark-Casey (justincc)
19a818017d
Add size and temporary information to "show asset" command
2012-01-09 13:14:00 +00:00
Justin Clark-Casey (justincc)
7bc03a54e5
Move simulator asset info commands to an optional module from the connector. Make them conform with service side commands.
...
This stops them appearing twice when Hypergrid is enabled.
2012-01-09 13:13:40 +00:00
Justin Clark-Casey (justincc)
aef6a9571c
Move asset commands from AssetService to AssetServerConnector so that we can harmonise the same commands on the simulator side.
...
No functional change.
2012-01-09 13:13:33 +00:00
Justin Clark-Casey (justincc)
0a3b2f904e
recomment log messages I accidentally left uncommented
2012-01-09 13:13:11 +00:00
Justin Clark-Casey (justincc)
023023a5fc
Improve "app rebake" command to return a better message if no uploaded texture ids were available for the rebake request
2012-01-09 13:12:52 +00:00
Justin Clark-Casey (justincc)
eebcea22ba
Commenting out DataSnapShot message "Registering service discovery capability" for now.
...
Please uncomment if/when needed.
2012-01-09 13:08:02 +00:00
Justin Clark-Casey (justincc)
9474bdb6df
Add "appearance rebake" command to ask a specific viewer to rebake textures from the server end.
...
This is not as useful as it sounds, since you can only request rebakes for texture IDs already received.
In other words, if the viewer has never sent the server this information (which happens quite often) then it will have no effect.
Nonetheless, this is useful for diagnostic/debugging purposes.
2012-01-09 13:07:39 +00:00
Justin Clark-Casey (justincc)
4d28bac9bb
Separate out rebake request code from cache validation code AvatarFactoryModule.
...
This allows some logic simplification and allows an external caller to manually request rebakes even if textures are uploaded (future command).
2012-01-09 13:00:56 +00:00