aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-13Relicense AgentPreferences files to BSD and OpenSimulatorCinder4-96/+96
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13Support for Linden AgentPreferences capability and friends ↵Cinder6-5/+419
(UpdateAgentLanguage and UpdateAgentInformation) and Mantis #7157 Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-10SceneObjectPart.UpdateLookAt() now uses corrected libomv quaternion functions.dahlia1-16/+6
2015-06-09Avoid registering console commands in every single instance of ↵Diva Canto1-16/+22
GridUserService running on the same process. Only one registers them now.
2015-06-06Address Mantis 7592 (http://opensimulator.org/mantis/view.php?id=7592) byRobert Adams1-25/+49
disabling terrain patch sending by view distance for legacy sized regions. The problem seems to be that people expect adjacent legacy sized regions to just display like they always have. Limiting displayed terrain is complicated by the camera position not being updated in child regions.
2015-06-05Typo FixH-H-H1-1/+1
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-05Upgraded the Simian inventory connector with an item cache, too, so that it ↵Diva Canto1-1/+17
doesn't get awfully out of sync with the improvements I'm making to the robust service connectors, which are being fully leveraged by the simulator. This Simian connector needs more love...
2015-06-05More on mantis #7567. Two things:Diva Canto2-2/+12
- Increase the inventory cache timeout to 20 secs, so that the items will still be there when they are needed by the sim for rezzing - Before rezzing attachs, make a call to GetMultipleItems so to fetch them all at the same time
2015-06-05The only purpose of this commit is to remove an erroneous comment. It turns ↵Diva Canto1-4/+2
out that rezzing the attachments is necessary in modern viewers too. Proof: commenting the lines below the comment results in no attachments seen in the avatar.
2015-06-04Mantis #7603 -- bad folders in inventory could produce null pointer ↵Diva Canto1-1/+1
exception. Thanks for the line numbers in the exception trace.
2015-06-04Mantis #7536. This may alleviate the side effects of broken SceneObjects ↵Diva Canto1-15/+20
XML. It doesn't (can't) fix the cause.
2015-06-04Mantis #7600. The warning message was not a symptom of a problem, it was ↵Diva Canto1-9/+11
just that the HG client was trying to fetch folders that aren't in the Suitcase, so that fails. This should make the warning message go away in that situation. (fetching those folders will still fail, because they aren't available over HG)
2015-06-04Trivial: fix copy-paste typo in stringDiva Canto1-1/+1
2015-06-04More assertions in inventory client tests to check for assorted combinations ↵Diva Canto1-1/+26
of cached/non-cached/existing/non-existing items
2015-06-04Added tests that verify the absence of the bug fixed in the previous commits ↵Diva Canto1-1/+29
(cache issues).
2015-06-04Making the inventory cache static, so that there's less timers.Diva Canto1-1/+1
2015-06-04Mantis #7567. Once again, avoiding prefetching linked items within linked ↵Diva Canto2-15/+9
folders. Also fixing the inventory connector GetMultipleItems, so that if everything is in the cache, it returns successfully rather than unsuccessfully.
2015-06-03Mantis #7567: added an 8-sec expiring item cache to the inventory network ↵Diva Canto6-29/+57
connector. This fixed the problem on my local test grid and generally made things faster. This cache has been needed for a while... there are many parts in the code where the sim gets an item multiple times in a short amount of time (rezzing attachs and objects, for example). Other minor changes: - added the scene as a parameter to the constructor od FetchInvDescHandler, so that I could see in which scene the handler was being called - brought linked items in linked folders back to being prefetched
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