aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-02I suspect the viewer doesn't need the target of linked items inside linked ↵Diva Canto1-14/+14
folders to go in the reply of the original request. At least my tests indicate that. Pushing this out, so that others who use linked folders a lot more can verify.
2015-06-02New unit tests for FetchInventory2 cap.Diva Canto1-0/+170
2015-06-02Mantis #7567. One of the reported log messages showed this:Diva Canto1-3/+26
09:38:40 - [LOGHTTP]: Slow handling of 15572 POST /CAPS/b12c7e98-8261-4953-b7d1-1c414c9893fc FetchInventory2 8acfbca3-13b5-434f-898c-5f4bbe8a76ff from 92.237.199.112:60083 took 62391ms FetchInventory itself wasn't taking advantage of the new inventory API. This commit fixes that.
2015-06-01Mantis #7594: putting things as they were before regarding duplicate ↵Diva Canto2-4/+42
removal. Also added test to check that duplicates are being removed. The test passes. I have no idea how duplicates would not be removed, as reported in the mantis.
2015-06-01Mantis #7594. Fixing the broken code I just introduced.Diva Canto1-1/+4
2015-06-01More on mantis #7594, this a=time addressing the reported exception, which ↵Diva Canto1-0/+3
seems to be a separate issue from the duplicate folders.
2015-06-01Mantis #7594. This should be functionally equivalent to what it was, but ↵Diva Canto1-2/+2
just in case mono has a bug in List<T>.Find, here is the Linq equivalent of distinct-ness.
2015-06-01Correct constant RCERR_CAST_TIME_EXCEEDED.Magnuz Binder1-1/+1
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-29Add a new os function "osGetGender()"dahlia3-0/+51
2015-05-27llListRandomize() wasn't very randomCinder2-6/+58
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-05-26Attachments Module. Fix detach event not being fired until the next time the ↵AliciaRaven1-0/+5
object is attached. Not an ideal fix but this allows scripts such as AOs to remove animations when detached etc. The pause added does not affect other avatars or the scene in general and only pauses the avatar performing the detach for an extra 2 milliseconds. Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-05-25Minor change of statement order in unit testDiva Canto1-3/+4
2015-05-23Fix mesh cache race condition in llCastRay V3.Magnuz Binder1-2/+4
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-22Use own mesh cache in llCastRay V3 after throttling.Magnuz Binder1-39/+104
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-22Throttle llCastRay V3.Magnuz Binder1-2/+90
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-20New values returned by llGetEnvTalun2-2/+40
Implements recent changes to llGetEnv region_cpu_ratio hardcoded to 1 region_product_sku hardcoded to OpenSim Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-19Removing duplicate definitionMichael Heilmann1-2/+0
2015-05-13resolve possible nullref when sending appearance packet. Thanks to zadark ↵dahlia1-0/+1
for pointing this out.
2015-05-13Adding back command to clear region's user cacheBlueWall1-7/+22
2015-05-13Enable grab feature (Ctrl+Drag) for non-physical link-sets and add code to ↵AliciaRaven1-6/+24
handle spin (Ctrl+Shift+Drag) This patch fixes permission issues with dragging scripted objects. As on LL grid, scripted prims can not be dragged. Also after dragging, the group was not marked as updated. This meant that after the region was restarted the group would revert to its original position. This version fixes issues where scripts in child prims were not detected and also blocks grab for attachments. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-05-12Patch llCastRay fully simplified to V3.Magnuz Binder1-212/+217
2015-05-12Disable the "show threadpool calls active" console command for now.Justin Clark-Casey (justincc)1-5/+5
Whilst this can be very useful to identify threads held too long by incoming packet processing, it can also be very misleading as the count updates are not atomic (race conditions lead to growth in numbers over time). This could be solved by making the counts volatile but I don't currently have time to assess the performance impact, though it's almost certainly negligible. If anybody else wants to do that and re-enable this command then please feel free.
2015-05-12One more test in UserAccountsClient.Diva Canto1-1/+5
2015-05-11Added tests for UserAccountService in Robust. In the process fixed a couple ↵Diva Canto5-181/+115
of bugs in the network connectors. For some reason the robust-bound code had a CreateUser method, while the client-bound code had no such method. I assume someone is extending the client-side code with their own connectors. I added the missing method, but didn't add it to the service interface.
2015-05-11Trivial change just to trigger jenkins to build againDiva Canto1-0/+1
2015-05-11Added inventory tests to Robust.Tests.Diva Canto4-7/+165
2015-05-10Knocked off a few compiler warnings regarding unused variables.Diva Canto8-8/+1
2015-05-10Added simple test for IM in Robust too.Diva Canto2-25/+15
Changed Inventory data to use the mock one in Common Tests. (but still not inventory tests)
2015-05-10Added this form that comes handy for testing the grid service in Robust.Diva Canto1-0/+11
2015-05-10Deleted OpenSim.Tests.Client.GridClient and PresenceClient, as they have ↵Diva Canto4-364/+0
been subsumed by the new testing framework.
2015-05-10Added the beginning of a new test framework for robust connectors and ↵Diva Canto4-2/+289
services. For now, just Grid and Presence. This framework starts a robust server (as a thread) listening on a port in localhost, then the tests are client code.
2015-05-10Improved comments on fetch inventory testsDiva Canto1-1/+12
2015-05-10Added unit tests for FetchInventoryDescendents ↵Diva Canto4-0/+217
http://wiki.secondlife.com/wiki/Linden_Lab_Official:Inventory_API#Fetch_Inventory_Descendents Also, consolidated the location of the files that handle inventory capabilities.
2015-05-09Constrain 'terrain modify' to selected RegionDev Random1-8/+17
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-09Fix mantis #7054: AO in Firestorm and Kokua stopped loading after new ↵Diva Canto1-9/+17
inventory code in place. Cause: # of descendants was wrong.
2015-05-08Another major overhaul of inventory downloading, this time pertaining to ↵Diva Canto10-103/+297
inventory links. Added yet another function to IInventoryService to get multiple items at once, so that fetching collections of linked items is done once per folder instead of once per item.
2015-05-08Restore handling of bad folders. I'm not entirely sure this is part of the ↵Diva Canto1-9/+48
protocol -- I don't see it here: http://wiki.secondlife.com/wiki/Linden_Lab_Official:Inventory_API#Fetch_inventory_descendents But who knows!
2015-05-08Apparently Firestorm sometimes sends duplicate folder ids on the same ↵Diva Canto1-2/+8
request (see http://opensimulator.org/mantis/view.php?id=7054#c28297). This was throwing the new inventory download code off. Firestorm also sends requests for folder UUID.Zero, which doesn't exist, but doesn't cause any problems either -- it just fails. I'm leaving the warning message for now, just to keep an eye on which folders can't be found, but may remove it in the future.
2015-05-08I shouldn't write code this early in the morning... Fixing a 'duh' on ↵Diva Canto1-1/+1
previous commit.
2015-05-08Additional debug message to help diagnose a warning message and exception ↵Diva Canto2-0/+4
related to previous commit. See http://opensimulator.org/mantis/view.php?id=7054#c28282
2015-05-07Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto14-95/+626
IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
2015-05-07pCampbot: added behavior that mimic initial inventory download. It's not ↵Diva Canto2-0/+124
exactly what the viewer does, but it's close enough, and the elapsed time can be measured.
2015-05-07Minor whitespace removalMichael Cerquoni1-1/+0
2015-05-07Add 'terrain modify noise' and code cleanupDev Random5-291/+113
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-06'terrain modify' command for area-of-effect operationsDev Random10-143/+1266
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-05Attempt at fixing mantis #7054. The two inventory threads are stepping on ↵Diva Canto1-2/+3
each other's feet. This needs real-world testing, as I'm not sure of all the consequences of reducing the number of worker threads to 1.
2015-05-05Refactored some code that is used in two different dlls related to SOP ↵Diva Canto5-210/+323
rewriting. Also added some unit tests that relate to mantis #7514
2015-05-04Revert "Patch llCastRay fully-simplified to V2." for further review.Michael Cerquoni1-15/+14
This reverts commit c96ee68953eb31fc2ad6d1df9b7a4bb19c584e17.
2015-05-04fix a minor whitespace issueMichael Cerquoni1-1/+0
2015-05-04Adding the command <dobackup>to opensim console which requires a region name ↵H-H-H1-2/+40
as an argument and will do an oar of that region if the autobackup module is enabled Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>