Diva Canto
0531448664
New unit tests for FetchInventory2 cap.
2015-06-02 15:48:16 -07:00
Diva Canto
be6fb22d69
Mantis #7567 . One of the reported log messages showed this:
...
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-02 15:40:13 -07:00
Diva Canto
8de65a8fb3
Mantis #7594 : putting things as they were before regarding duplicate 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-01 20:05:51 -07:00
Diva Canto
442c025335
Mantis #7594 . Fixing the broken code I just introduced.
2015-06-01 18:57:01 -07:00
Diva Canto
7b5e97f04f
More on mantis #7594 , this a=time addressing the reported exception, which seems to be a separate issue from the duplicate folders.
2015-06-01 16:37:04 -07:00
Diva Canto
7effd3b158
Mantis #7594 . This should be functionally equivalent to what it was, but just in case mono has a bug in List<T>.Find, here is the Linq equivalent of distinct-ness.
2015-06-01 15:11:30 -07:00
Magnuz Binder
dcf31ee762
Correct constant RCERR_CAST_TIME_EXCEEDED.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-06-01 13:09:05 -04:00
dahlia
5d3c327e93
Add a new os function "osGetGender()"
2015-05-29 23:02:12 -07:00
Cinder
0af17c9484
llListRandomize() wasn't very random
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-05-27 11:15:09 -07:00
AliciaRaven
5e09e52ee9
Attachments Module. Fix detach event not being fired until the next time the 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-26 15:05:32 -07:00
Diva Canto
22ee1c30e3
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-05-25 15:19:27 -07:00
Diva Canto
35d58fe9d4
Minor change of statement order in unit test
2015-05-25 15:19:00 -07:00
Magnuz Binder
abb3bb60a6
Fix mesh cache race condition in llCastRay V3.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-23 08:14:28 -04:00
Magnuz Binder
fdc383a843
Use own mesh cache in llCastRay V3 after throttling.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-22 01:21:50 -04:00
Magnuz Binder
7d26815d0e
Throttle llCastRay V3.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-22 01:21:18 -04:00
Melanie Thielker
edcba95ab5
Merge branch 'master' into moses
...
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
2015-05-20 23:40:52 +02:00
Talun
d9afe354ac
New values returned by llGetEnv
...
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-20 14:36:54 -04:00
Michael Heilmann
946a6622fe
Removing duplicate definition
2015-05-19 15:52:13 -04:00
Michael Heilmann
140ea04b9d
Merging Opensim upstream before generating patch
2015-05-19 15:18:45 -04:00
Glenn Martin
91a55c0794
Merge branch 'master' of https://github.com/M-O-S-E-S/opensim into moses.metricsPhase2
...
Fixed conflicts.
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
2015-05-19 14:07:44 -04:00
Glenn Martin
3efcef7d7e
Merge branch 'moses.metricsPhase2' of git.irl.ucf.edu:/irl/git/opensim into moses.metricsPhase2
2015-05-18 16:36:06 -04:00
dahlia
6a48c87cd2
resolve possible nullref when sending appearance packet. Thanks to zadark for pointing this out.
2015-05-13 15:59:58 -07:00
BlueWall
3c2886cd75
Adding back command to clear region's user cache
2015-05-13 14:31:28 -05:00
AliciaRaven
cb586d1158
Enable grab feature (Ctrl+Drag) for non-physical link-sets and add code to 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-13 12:16:14 -05:00
Magnuz Binder
d348f87161
Patch llCastRay fully simplified to V3.
2015-05-12 15:40:42 -07:00
Justin Clark-Casey (justincc)
d52f58a733
Disable the "show threadpool calls active" console command for now.
...
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-12 19:54:25 +01:00
Diva Canto
aefed57158
One more test in UserAccountsClient.
2015-05-12 08:55:32 -07:00
Diva Canto
923a57a91f
Added tests for UserAccountService in Robust. In the process fixed a couple 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-11 19:55:23 -07:00
Diva Canto
c20a5dd75a
Trivial change just to trigger jenkins to build again
2015-05-11 09:05:09 -07:00
Diva Canto
3df472f10d
Added inventory tests to Robust.Tests.
2015-05-11 08:52:12 -07:00
Diva Canto
3c596e47c6
Knocked off a few compiler warnings regarding unused variables.
2015-05-10 21:54:24 -07:00
Diva Canto
eb9b16d284
Added simple test for IM in Robust too.
...
Changed Inventory data to use the mock one in Common Tests. (but still not inventory tests)
2015-05-10 21:49:24 -07:00
Diva Canto
4b94fb8443
Added this form that comes handy for testing the grid service in Robust.
2015-05-10 21:16:12 -07:00
Diva Canto
811b026ed5
Deleted OpenSim.Tests.Client.GridClient and PresenceClient, as they have been subsumed by the new testing framework.
2015-05-10 21:15:22 -07:00
Diva Canto
c2cf22ea4f
Added the beginning of a new test framework for robust connectors and 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-10 21:04:46 -07:00
Diva Canto
05737a1010
Improved comments on fetch inventory tests
2015-05-10 08:59:33 -07:00
Diva Canto
cd12ecd44e
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-05-10 08:48:04 -07:00
Diva Canto
f992ed0f40
Added unit tests for FetchInventoryDescendents 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-10 08:44:21 -07:00
Dev Random
f20728fc86
Constrain 'terrain modify' to selected Region
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-09 15:25:33 -04:00
Diva Canto
adf0f49a69
Fix mantis #7054 : AO in Firestorm and Kokua stopped loading after new inventory code in place. Cause: # of descendants was wrong.
2015-05-09 08:58:59 -07:00
Diva Canto
0bf1209f90
Another major overhaul of inventory downloading, this time pertaining to 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-08 20:53:28 -07:00
Diva Canto
e5cf6a29fb
Restore handling of bad folders. I'm not entirely sure this is part of the 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-08 17:02:02 -07:00
Diva Canto
3110b1661f
Apparently Firestorm sometimes sends duplicate folder ids on the same 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-08 08:37:31 -07:00
Diva Canto
3548e39f9a
I shouldn't write code this early in the morning... Fixing a 'duh' on previous commit.
2015-05-08 07:36:30 -07:00
Diva Canto
a68aab14fa
Additional debug message to help diagnose a warning message and exception related to previous commit.
...
See http://opensimulator.org/mantis/view.php?id=7054#c28282
2015-05-08 06:57:06 -07:00
Diva Canto
c74cef0f42
Major change in the way inventory is downloaded: added a method throughout 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-07 19:24:08 -07:00
Diva Canto
ca4569eeb4
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-05-07 12:38:40 -07:00
Diva Canto
cc1fc400d8
pCampbot: added behavior that mimic initial inventory download. It's not exactly what the viewer does, but it's close enough, and the elapsed time can be measured.
2015-05-07 12:37:49 -07:00
Michael Cerquoni
dc4c9b1bb0
Minor whitespace removal
2015-05-07 14:09:29 -04:00
Dev Random
a9dd3028b9
Add 'terrain modify noise' and code cleanup
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-07 14:07:50 -04:00
Dev Random
4bf62e11b6
'terrain modify' command for area-of-effect operations
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-06 13:55:22 -04:00
Diva Canto
8676b017b2
Attempt at fixing mantis #7054 . The two inventory threads are stepping on 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-05 21:28:27 -07:00
Diva Canto
1abbad71b4
Refactored some code that is used in two different dlls related to SOP rewriting. Also added some unit tests that relate to mantis #7514
2015-05-05 20:59:09 -07:00
Michael Cerquoni
44b8b9fef6
Revert "Patch llCastRay fully-simplified to V2." for further review.
...
This reverts commit c96ee68953
.
2015-05-04 16:23:16 -04:00
Michael Cerquoni
dfb73c1464
fix a minor whitespace issue
2015-05-04 15:56:12 -04:00
H-H-H
49991d055a
Adding the command <dobackup>to opensim console which requires a region name 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>
2015-05-04 15:53:31 -04:00
Talun
382e05df14
Missing constants for llGetObjectDetails
...
OBJECT_BODY_SHAPE_TYPE
OBJECT_HOVER_HEIGHT
OBJECT_LAST_OWNER_ID
OBJECT_RENDER_WEIGHT
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-04 13:18:52 -04:00
Steven Zielinski
96a86e7d5a
Fixed a bug that would cause the sim extra stats reporter to fail in reporting stats. The bug was caused by the current process threads which can return null references.
...
Test Plan: Tested on windows using opensim standalone and the json stats.
Reviewers: rlouden, ssirigam, clattin, martin, kboswell
Reviewed By: rlouden, ssirigam, clattin, martin, kboswell
Differential Revision: http://cr.irl.ucf.edu/D277
2015-05-04 13:17:11 -04:00
Magnuz Binder
5a2440dfdf
Implement llGetGeometricCenter correctly.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-04 13:14:09 -04:00
Magnuz Binder
c96ee68953
Patch llCastRay fully-simplified to V2.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-04 12:44:58 -04:00
Steven Zielinski
cb517839e9
Fixed vocabulary in a comment to match the code.
2015-05-04 10:05:36 -04:00
Magnuz Binder
43b8bd0c35
Implement llCastRay fully, simplified.
2015-05-03 23:41:11 -07:00
Robert Adams
30f9e5372e
Only send parcel layer data around the point of interest. Can be disabled
...
by setting [LandManagement]LimitParcelLayerUpdateDistance=false
New parameters added to OpenSimDefaults for the distance and enablement.
2015-05-03 21:56:41 -07:00
dahlia
73efb1633f
lock collision mesh cache when accessing
2015-05-03 19:54:03 -07:00
dahlia
60e719286b
Make Meshmerizer mesh cache static so it can be shared across class instances
2015-05-03 17:05:48 -07:00
Diva Canto
877371411a
Mantis #7514
...
I think this is it -- a bug introduced back in October, where the prefix and name space were being added twice on HG asset posts bu simulators.
2015-05-02 22:18:58 -07:00
Diva Canto
09edc9619a
It wasn't that. Revert "Mantis #7514"
...
This reverts commit 365f46bfa9
.
2015-05-02 22:15:26 -07:00
Diva Canto
365f46bfa9
Mantis #7514
...
Mono bug introduces double xmlns attribute names when rewriting the asset in HGAssetService, e.g. <SceneObjectPart xmlns:xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " xmlns:xmlns:xsd="http://www.w3.org/2001/XMLSchema ">.
Solution: remove all attributes before saving.
2015-05-02 20:40:37 -07:00
Diva Canto
4211309ec7
Corrected typo in namespace
2015-05-02 10:27:57 -07:00
Steven Zielinski
c4a3c93097
Fixed a bug that would cause the sim extra stats reporter to fail in reporting stats. The bug was caused by the current process threads which can return null references.
...
Test Plan: Tested on windows using opensim standalone and the json stats.
Reviewers: rlouden, kboswell, clattin, martin, ssirigam
Differential Revision: http://cr.irl.ucf.edu/D277
2015-05-01 17:09:18 -04:00
Glenn Martin
72e17b0219
Merge remote-tracking branch 'upstream/master' into moses.metricsPhase2
...
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
2015-05-01 14:11:16 -04:00
Steven Zielinski
625452b84b
Updated phase 2 to have the changes originally done in phase 1 for the defaultNumberFramesStored.
...
Test Plan: Tested using opensim standalone on windows with json stats.
Reviewers: rlouden
Reviewed By: rlouden
Differential Revision: http://cr.irl.ucf.edu/D275
2015-04-30 16:02:45 -04:00
Diva Canto
da32512ea4
Updated all occurrences of AssemblyVersion("0.8.1.*") to AssemblyVersion("0.8.2.*")
2015-04-29 18:47:17 -07:00
Steven Zielinski
59778cfc2a
Added in all metrics for Phase 1 except for Time Dilation.
...
Test Plan:
Tested on local opensim and firestorm. Not tested with JSON stats
reporter.
Reviewers: rlouden
Reviewed By: rlouden
Differential Revision: http://cr.irl.ucf.edu/D269
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-04-29 18:22:24 -07:00
Steven Zielinski
cb3c6038af
Changed the 10 value to be a constant value inside of the Scene called m_DefaultNumberFramesStored.
...
Test Plan: Tested on windows with the json stats reporter.
Reviewers: rlouden, kboswell, clattin, ssirigam, martin
Reviewed By: rlouden, kboswell, clattin, ssirigam, martin
Differential Revision: http://cr.irl.ucf.edu/D273
2015-04-29 16:20:03 -04:00
BlueWall
e171ae899d
Revert "Enable grab feature (Ctrl+Drag) for non-physical link-sets and add code to handle spin (Ctrl+Shift+Drag)"
...
We found that linksets can move if the root prim is unscripted. Will revert this until a fix can be implemented.
2015-04-28 17:24:54 -05:00
Steven Zielinski
bebdc29eff
Changed the 10 value to be a constant value inside of the Scene called m_DefaultNumberFramesStored.
...
Test Plan: Tested on windows with the json stats reporter.
Reviewers: rlouden, ssirigam, martin, kboswell, clattin
Differential Revision: http://cr.irl.ucf.edu/D273
2015-04-28 16:56:53 -04:00
BlueWall
38459104eb
Revert "Revert "Fix the click to buy prim dialog not being displayed with alpha viewers after recent changes to viewer code by LL.""
...
This brings back the fix for recent viewer click to buy prim dialog which was reverted after some reports of objects being altered when touched.
2015-04-28 09:36:56 -05:00
BlueWall
d80230adcd
Revert "Fix the click to buy prim dialog not being displayed with alpha viewers after recent changes to viewer code by LL."
...
See: http://opensimulator.org/mantis/view.php?id=7426#c28089
Reverting this commit due to unwanted effects.
2015-04-27 15:46:09 -05:00
AliciaRaven
cde4e7ec86
Fix the click to buy prim dialog not being displayed with alpha viewers after recent changes to viewer code by LL.
...
Recent viewer changes by linden lab now require more information when requesting prim tooltip data. The object properties must now be sent when the viewer requests the object family properties used to display the tool tip. Thanks to Liru for finding the viewer commit that broke this feature in OS.
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-04-25 00:06:48 -05:00
Steven Zielinski
0b3adc961b
Added in all metrics for Phase 1 except for Time Dilation.
...
Test Plan:
Tested on local opensim and firestorm. Not tested with JSON stats
reporter.
Reviewers: rlouden
Reviewed By: rlouden
Differential Revision: http://cr.irl.ucf.edu/D269
2015-04-21 17:33:26 -04:00
Robert Louden
c3138f9f38
Phase 2 additons with Frame Dilation metric.
2015-04-21 16:15:48 -04:00
Glenn Martin
1959eb8372
Moved over metrics from previous OpenSim 0.8.0.3 repository (this new repository is now the master branch from OpenSim).
2015-04-21 14:29:17 -04:00
Magnuz Binder
e855c8e711
Allow setting profilecut diff to 0.02 from scripts just like from viewer.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-20 16:42:06 -04:00
AliciaRaven
f11720d71f
Enable grab feature (Ctrl+Drag) for non-physical link-sets and add code to handle spin (Ctrl+Shift+Drag)
...
This patch fixes permission issues with dragging scripted objects. As on LL grid, scripted prims can not be dragged now. 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.
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-20 16:38:37 -04:00
Magnuz Binder
263db44129
Implement llGetBoundingBox fully.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-20 16:23:34 -04:00
Robert Adams
7d699514a5
Revert "Enable grab feature (Ctrl+Drag) for non-physical link-sets and add code to handle spin (Ctrl+Shift+Drag)"
...
This change sees to enable general moving of objects with touch scripts.
Reverting until the move permissions are understood.
This reverts commit 28ce323802
.
2015-04-19 20:22:55 -07:00
tglion
b4347cf214
Avoid deadlock in NPCModule between DeleteNPC and GetNPC on m_avatars
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-04-18 08:08:33 -05:00
AliciaRaven
28ce323802
Enable grab feature (Ctrl+Drag) for non-physical link-sets and add code to handle spin (Ctrl+Shift+Drag)
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-04-17 19:37:18 -05:00
Robert Adams
2e1f5bb011
Temporarily comment out OSSL enabled warning log message.
...
Added in wrong place. It is printed once per script rather than once per region.
2015-04-14 11:30:14 -07:00
Robert Adams
e4e58fad32
Enable OSSL functions by default using the osslEnable.ini configuration file.
...
This changes OpenSim.ini.example to, by default, include osslEnable.ini which
turns on the OSSL functions and limits who can do which operations.
2015-04-14 07:17:54 -07:00
Robert Adams
9b337b089c
Add osCheckODE() function so scripts can configure for running with legacy physics engine.
...
Function returns 'true' of the physics engine is configured to be 'OpenDynamicsEngine'.
The presumption is that all other physics engines work the same (like SL) or it is a bug.
Does not require ossl functions to be enabled.
2015-04-12 19:30:55 -07:00
AliciaRaven
1e444b1449
Change UserProfiles so that the parcel name is used for a ProfilePick and not the parcel owners name. This change also fixes a bug where if the avatar enters and does not move, creating or editing a ProfilePick would set the parcelId as an empty UUID. This is because ScenePresence.currentParcelUUID is not set until the avatar moves.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-12 15:36:22 -04:00
Magnuz Binder
bdb91d0e70
Fix llTargetOmega non-physical gain.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-12 14:55:44 -04:00
Magnuz Binder
beba2ce781
Fix stand position for differing seat and root rotation.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-12 12:53:47 -04:00
Robert Adams
8d66284841
BulletSim: implement VEHICLE_REFERENCE_FRAME. Thanks Vegaslon!.
2015-04-05 20:20:37 -07:00
Magnuz Binder
b51e46ceb8
Parameterize sleeps in LSL functions.
2015-03-22 09:55:02 -07:00
Magnuz Binder
07a75677c3
Allow setting hollow to 99% from scripts just like from viewer.
2015-03-22 09:53:27 -07:00
Magnuz Binder
f63d6ffd81
Allow setting holesize to 0.01 from scripts just like from viewer.
2015-03-22 09:53:13 -07:00
Magnuz Binder
68ed200191
Allow setting dimple diff to 0.02 from scripts just like from viewer, add clipping and fix old copy-paste error.
2015-03-22 09:53:03 -07:00
Freaky Tech
5af82df9b6
viewers can set a minimum distance 0.02 between path cut start and path cut end
2015-03-22 09:52:46 -07:00
dahlia
83e58ebc7c
oops someone set individual quaternion members and forgot to normalize
2015-03-17 13:14:03 -07:00
Justin Clark-Casey (justincc)
310e44f250
Re-enabled ability for avatar to ascend and descend whilst controlling view with lmb held down on avatar (in most viewers).
...
This had been disabled by 30b7863
(Fri Feb 27 2015).
Relates to http://opensimulator.org/mantis/view.php?id=6835
2015-03-17 18:55:33 +00:00
Justin Clark-Casey (justincc)
5b31bb9cb9
Don't log http auth details by default.
...
This is a security risk when people distribute logs for debug purposes.
If necessary the information can be retrieved via config console commands.
Relates to http://opensimulator.org/mantis/view.php?id=7501
2015-03-16 23:48:16 +00:00
Justin Clark-Casey (justincc)
eda09d8763
Fix XBakes simulator-side authentication regression failure
...
Unlike the other connectors, XBakes uses a service auth retrieved from ServiceAuth.Create() and not code inherited from BaseServiceConnector.
Fixes regression from 7d3bafd5
(Wed 4 Mar 2015) where the new CompoundAuthenticator did not implement IServiceAuth.AddAuthorization()
2015-03-16 23:40:34 +00:00
Justin Clark-Casey (justincc)
e6889a6023
Update version info to 0.8.2.0
2015-03-16 21:53:31 +00:00
dahlia
8b13e4e731
Revert "Allow a console command to give blank arguments ("") without the parser failing, e.g. login text """
...
This reverts commit 129cc49eb4
.
It was causing the "alert" console command to fail.
2015-03-14 14:24:55 -07:00
Justin Clark-Casey (justincc)
fec2527e6c
minor: fix compiler warnings in EstateDataRobustConnector
2015-03-14 00:18:35 +00:00
Justin Clark-Casey (justincc)
45dd0cc363
Actually start a region created via the "create region" console command.
...
Addresses http://opensimulator.org/mantis/view.php?id=7478
2015-03-13 23:50:00 +00:00
Justin Clark-Casey (justincc)
caa0e2a732
Don't try to write region size and MapfileStaticFile Nini settings that are not set up when invoking the RemoteAdmin create region facility.
...
Changes by MarcelEdward from http://opensimulator.org/mantis/view.php?id=7497 . Thanks.
2015-03-13 23:30:31 +00:00
Justin Clark-Casey (justincc)
0aeea89258
Fix script state not being preserved in objects sent via Hypergrid.
...
This was because attributes were not being included in the transformation, hence losing the script state identity.
Symptoms are messages like "[SCENE OBJECT GROUP]: SavedScriptState element had no UUID in object test box"
Regression since the conference code merge. Regression test extended for this case.
Relates to http://opensimulator.org/mantis/view.php?id=7439
2015-03-13 20:09:29 +00:00
Justin Clark-Casey (justincc)
3a7d42378f
Move state change in progress in ScriptInstance.PostEvent() to the top of the EventQueue lock to avoid some flags possibly being wrongly set (m_LastControlLevel, etc.)
2015-03-12 00:14:30 +00:00
Justin Clark-Casey (justincc)
7410924de0
Lock around EventQueue manipulation in ScriptInstance.SetState() as queues are not thread-safe structures.
...
This should also make it less likely that an event will be erroneously posted during a state change by precluding a race condition with a thread calling ScriptInstance.PostEvent()
2015-03-12 00:07:01 +00:00
Bob Shaffer II
b4b13510e8
A workaround for the state change problem described best here http://opensimulator.org/mantis/view.php?id=6960 which should make state changes behave more like is described here http://wiki.secondlife.com/wiki/State
2015-03-12 00:01:30 +00:00
Shy Robbiani
78258a0fa1
help restart message corrected
...
The "restart" console command restarts the currently selected region or
all regions in this instance if root is selected. Changed the message
accordingly.
2015-03-11 23:30:05 +00:00
Justin Clark-Casey (justincc)
b267c238fb
minor: Remove windows build warning about CompressionLevel package ambiguity.
...
Relates to http://opensimulator.org/mantis/view.php?id=7442
Thanks Fly-Man-
2015-03-11 22:53:32 +00:00
Justin Clark-Casey (justincc)
129cc49eb4
Allow a console command to give blank arguments ("") without the parser failing, e.g. login text ""
...
Relates to http://opensimulator.org/mantis/view.php?id=7489
2015-03-11 22:42:14 +00:00
Robert Adams
00b5b915c7
BulletSim: add VEHICLE_ more parameter value limit checking.
...
This only bounds passed parameters as there is no good way of refusing
the parameter setting. This mostly means that passing NaN's won't
crash the simulator.
2015-03-07 17:47:40 -08:00
BlueWall
f6168ded47
Remove references to MAX_ASSET_DESC from the dynamic texture module, hardcode to 128 as in other inventory modules.
2015-03-06 21:10:45 -05:00
Freaky Tech
4de10a45e9
revised GetMesh to not use intermediate base64 coding scheme
...
it delivers binary and has binary as input.
base64 intermediate coding makes no sense.
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-05 18:15:42 -05:00
Freaky Tech
5a413c1b2f
adjusted new UserManagementModule to accept the HG UUI test harness
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-05 17:19:39 -05:00
BlueWall
375f8cce34
Give llGiveInventory a way to querry Hypergrid visitors so network vendors are able to give items to Hg visitors
2015-03-05 16:58:02 -05:00
Freaky Tech
0ea6977013
solving HG IM, HGFriends issues based on falsified GridUser data
...
it does not consider GridUser as a viable source for residents' data.
it does not consider Friends, Inventory Creators to be trusted at all. There are lots of broken entries in existence.
There are lots of broken creator data fields in assets.
The following issues arise from the broken data in the old User Management Module:
failing HG IM
failing HGFriends Requests
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-05 16:17:12 -05:00
BlueWall
7adeb43a88
Merge branch 'master' of /team/src/opensim
2015-03-04 19:40:31 -05:00
BlueWall
d7b45a3ed2
Alter the migrations so that it is a no-op as the columns are unused and the operation is very expensive
2015-03-04 19:27:34 -05:00
BlueWall
08637727dc
Merge branch 'master' of /team/src/opensim
2015-03-04 14:58:08 -05:00
BlueWall
96b87407f1
Revert "removed replacement texture in UDP Texture code. The replacement texture introduces false data into viewer cache. Removing that decreases the necessity for clearing the viewer cache. The viewer knows with ImageNotInDatabase that it is missing and can therefore know what to do about it a lot better than the sim does."
...
This reverts commit 4d749d8c69
.
Re-open mantis 0007474 for further work before final commit.
2015-03-04 14:36:26 -05:00
BlueWall
369ccaf1eb
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-03-04 14:02:35 -05:00
Cinder
9921c24c8f
One more migration fix
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04 13:47:15 -05:00
Cinder
56ae3da291
Chase latest change to asset description length with an update to XAssetStore db tables
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04 13:47:15 -05:00
BlueWall
11a24d04b6
Revert "Chase latest change to asset description length with an update to XAssetStore db tables"
...
This reverts commit e520364f65
.
2015-03-04 13:47:02 -05:00
Justin Clark-Casey (justincc)
3255335c42
Make private services forbid llHTTPRequest() calls by rejecting those that have the X-SecondLife-Shard header.
...
If you need to enable this, set AllowHttpRequestIn = true in [Network] for all private services or individual [*Service] sections.
2015-03-04 18:27:51 +00:00
Justin Clark-Casey (justincc)
7d3bafd5ab
Add outbound URL filter to llHttpRequest() and osSetDynamicTextureURL*() script functions.
...
This is to address an issue where HTTP script functions could make calls to localhost and other endpoints inside the simulator's LAN.
By default, calls to all private addresses are now blocked as per http://en.wikipedia.org/wiki/Reserved_IP_addresses
If you require exceptions to this, configure [Network] OutboundDisallowForUserScriptsExcept in OpenSim.ini
2015-03-04 18:27:50 +00:00
Freaky Tech
2d8c1806ca
usability fixes for LSL API
...
exception based error messages were cryptic for casual users
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04 12:45:37 -05:00
Freaky Tech
eacdad8405
simplify llStringToBase64 and llBase64ToString
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04 12:41:49 -05:00
Freaky Tech
061dd3385c
usability fixes for LightShare API
...
exception based error messages were cryptic for casual users
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04 12:36:02 -05:00
Cinder
e520364f65
Chase latest change to asset description length with an update to XAssetStore db tables
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04 12:10:41 -05:00
Cinder
e5c0b68849
Follow up to last commit, fix field length
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 22:50:12 -05:00
Cinder
7913417683
As per http://wiki.secondlife.com/wiki/Limits Prim description should be 128 bytes (127 + null terminator)
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 22:42:31 -05:00
Freaky Tech
53100b93c7
corrected bug that viewer cannot correctly fetch ItemData when being a HG visitor
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 19:09:30 -05:00
Freaky Tech
773df94665
corrected osMakeNotecard(string data) text length was calculated wrong. The Linden text format defines a byte count in that format.
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 19:06:52 -05:00
ft@noemail
fb48ee1cb6
corrected script notecard parser. It now handles notecards with inventory as well.
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 18:39:49 -05:00
BlueWall
c02636b6f3
Revert "corrected osMakeNotecard(string data) text length was calculated wrong. The Linden text format defines a byte count in that format."
...
This reverts commit b519a5e62a
.
The function works ok in-world but tests are failing. will revert for now.
2015-03-03 17:42:02 -05:00
BlueWall
b6b1e11238
Pickup our version number for the function
2015-03-03 16:42:42 -05:00
Freaky Tech
7f0995ae31
added llGetEnv() implementation
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 16:39:00 -05:00
Freaky Tech
b519a5e62a
corrected osMakeNotecard(string data) text length was calculated wrong. The Linden text format defines a byte count in that format.
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 16:10:09 -05:00
Freaky Tech
4d749d8c69
removed replacement texture in UDP Texture code. The replacement texture introduces false data into viewer cache. Removing that decreases the necessity for clearing the viewer cache. The viewer knows with ImageNotInDatabase that it is missing and can therefore know what to do about it a lot better than the sim does.
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 16:09:57 -05:00
Freaky Tech
0f72773017
changed llGetMemoryLimit to return 65536 as for Mono LSL
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 16:09:49 -05:00
Freaky Tech
af2bf397b1
corrected memory info for scripts
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 16:09:41 -05:00
Freaky Tech
25901a703a
corrected llGetStartParameter according to http://wiki.secondlife.com/wiki/LlGetStartParameter
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 15:35:23 -05:00
Freaky Tech
6161817f72
corrected handling when XML parsing in Presence Connector fails
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 15:35:16 -05:00
Freaky Tech
f68a1a2218
XML should not contain any BOM. Disabled BOM generation in BaseHttpServer
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 15:35:09 -05:00
Freaky Tech
b8157174ca
corrected llResetScript according to description within LSL wiki
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 15:35:00 -05:00
Freaky Tech
bf96f06d1e
corrected response when a not existing folder is requested by a viewer in that case the response has to report it as bad_folders with uuid instead of returning some dummy
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 15:34:47 -05:00
Freaky Tech
c6731c73fb
increased IPv4 TTL of LLUDP Sockets
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 15:34:34 -05:00
BlueWall
7e8bad05ec
Fix erratic Npc movement
2015-03-02 20:09:22 -05:00
Freaky Tech
2482d567cf
added missing senderId in GiveInventoryFolder this little mistake prevented passing on folders for HG visitors
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-02 15:59:49 -05:00
BlueWall
cfa4e6642e
Handle kick user from estate management tools
2015-03-01 20:48:51 -05:00
Justin Clark-Casey (justincc)
6da356a7e4
minor: Remove mono compiler warnings from EstateDataConnector
2015-02-28 00:54:23 +00:00
Magnuz Binder
158c3f82f1
Correct PRIM_TEXT return value from trans to alpha.
2015-02-28 00:46:12 +00:00
Justin Clark-Casey (justincc)
4717132b82
Use using constructs on disposable io objects in LLRaw to ensure they are always closed even if an exception is thrown.
2015-02-28 00:41:11 +00:00
Justin Clark-Casey (justincc)
3c92a8e765
Add OpenSim.Framework using statement necessary to get previous fad4d4dc
to compile.
2015-02-28 00:34:07 +00:00
Magnuz Binder
fad4d4dc55
Permit loading of LLRAW files bigger than 256x256 by calculating size based on file size rather than assuming 256x256, same as for RAW32.
2015-02-28 00:26:58 +00:00
Justin Clark-Casey (justincc)
59d6d03909
Comment out now unused and not properly working private SP.m_leftButtonDown with a comment on how probably to implement it properly if it is needed in the future
2015-02-27 23:48:05 +00:00
Justin Clark-Casey (justincc)
30b786351e
Don't slow down avatar walk speed if camera is changed (e.g. by holding down lmb on an avatar and moving the mouse).
...
Does this by not applying unwanted direction components to the avatar self movement calculation (exception is flying in mouse look).
Matches behaviuor on linden lab grid
Addresses http://opensimulator.org/mantis/view.php?id=6835
2015-02-27 23:43:12 +00:00
Justin Clark-Casey (justincc)
ca7cc9b2e2
Don't slide crouching avatar when camera is panned around them with left mouse button
...
This matches linden lab grid behaviour
2015-02-27 19:43:31 +00:00
BlueWall
aeb8a4bf85
Revert "Adding dynamic ossl permission control"
...
This reverts commit a3681f3052
until
further testing. Jenkins now fails ossl tests.
2015-02-27 12:27:10 -05:00
BlueWall
a3681f3052
Adding dynamic ossl permission control
...
Add permission by identifying uuid (owner/creator/group) and function. Revoke
permission in the same manner. Permission adjustments immediately effect
running scripts ability to call os functions.
osGrantScriptPermissions(UUID key,string function) Threat Level Severe
osRevokeScriptPermissions(UUID key,string function) Threat Level Severe
work sponsored by: Rage
2015-02-27 11:05:15 -05:00
Justin Clark-Casey (justincc)
412dd7dfc5
When an avatar is walking across a region border, force the first AgentUpdate received on the new root agent to update movement parameters.
...
This prevents the avatar from drifting in its last direction of travel if a movement key was released at certain moments in the cross.
Relates to http://opensimulator.org/mantis/view.php?id=7435
2015-02-26 00:48:51 +00:00
Justin Clark-Casey (justincc)
5fa651c529
minor: In HGAssetMapper, don't complain on seeing an XmlDeclaration as we know that we not using those in transformation.
...
Relates to http://opensimulator.org/mantis/view.php?id=7447
2015-02-25 21:42:07 +00:00
Justin Clark-Casey (justincc)
a03d893f2c
Fix bug where the uuid gatherer was not inspecting UUIDs for items in an embedded object's inventory.
...
Added regression test for this case.
Likely a regression since 08606ae4
(Thu Jan 8 2015)
Relates to Mantises 7439, 7450 and possibly others.
2015-02-25 21:12:46 +00:00
Justin Clark-Casey (justincc)
b1b72d7c2f
Reduce coupling in regression test task inventory creation methods to make them usable in tests with no scene present
2015-02-25 20:30:03 +00:00
Justin Clark-Casey (justincc)
686b22da6e
On shutdown (job engine stop), don't allow the ObjectDisposedException on BlockingCollection.Take() to propogate if the running thread checked IsRunning before the stop thread set it and disposed of the canellation source.
...
Looks to address http://opensimulator.org/mantis/view.php?id=7453
2015-02-25 20:04:53 +00:00
dahlia
8333dcf388
llLookAt(): use non-physical rotation if host prim is a physical attachment
2015-02-24 17:16:30 -08:00
BlueWall
023fd71ce5
Fix cross-grid inventory delivery notifications, fixes http://opensimulator.org/mantis/view.php?id=7113
2015-02-21 14:29:31 -05:00
Justin Clark-Casey (justincc)
c67b3407d4
In HGAssetMapper.RewriteSOP(), don't explicitly end the document.
...
The document here has no <?xml declaration. Though ideally it may be present, in practice it has not been added as the data here is embedded within an asset
On Mono 3.2.8 and probably other versions, calling WriteEndDocument() without a declaration does nothing.
On Windows .NET, the same operation throws a "Document does not have a root element" exception which may be contributing to Mantis 7397 and possibly 7439
2015-02-21 00:08:49 +00:00
Justin Clark-Casey (justincc)
c90c22ed28
If HGAssetMapper.PostAsset fails then be more explicit about the uuid, type, size and base asset uuid of the failure for debugging purposes.
2015-02-19 23:50:25 +00:00
Justin Clark-Casey (justincc)
7a86b01226
Make any exception that gets to LLClientView.ProcessSpecificPacketAsync() tells us the exception type as well as the message and stacktrace details.
2015-02-19 23:09:43 +00:00
Justin Clark-Casey (justincc)
264047dba0
Add the type of the unrecognized node to the HG asset mapping error message in TransformXml()
2015-02-19 22:39:22 +00:00
dahlia
e4f0cdd263
Comment out unnecessary "Region Found!" alert message when searching map
2015-02-18 12:52:16 -08:00
dahlia
8b2af1071f
Add NaN and Infinity tests for SOP Velocity and Acceleration setters.
2015-02-16 23:51:37 -08:00
dahlia
78814a1533
Use a boolean flag to signal lookat is running instead of Quaternion.Identity so it can be a valid target orientation
2015-02-16 19:42:36 -08:00
dahlia
2700b096bc
Filter NaN and Infinity values at SOP AngularVelocity setter
2015-02-16 19:06:01 -08:00
Justin Clark-Casey (justincc)
85f3380480
Add missing BSD headers to files in OpenSim/Framework/ServiceAuth
2015-02-13 21:00:10 +00:00
Justin Clark-Casey (justincc)
dd6f560c05
If serialized scene object XML has a SavedScriptState with no UUID, then read past the innerXML instead of wrongly continously looping on the same element.
...
Addresses http://opensimulator.org/mantis/view.php?id=7437
2015-02-11 00:53:56 +00:00
dahlia
53b23a9adc
Somewhat naive implementation of RotationalVelocity setter for ODE. Enables llSetRotationalVelocity(), llTargetOmega(), llLookAt(), and probably a few more LSL features for physical objects in ODE.
2015-02-07 22:52:12 -08:00
dahlia
12119a9d7d
llLookAt() strength parameter should slow rotation as it is increased. Thanks Vegaslan for pointing this out.
2015-02-07 17:39:46 -08:00
dahlia
2ed1afd32b
llLookAt(): reduce and clamp strengh to reduce probability of overshoot
2015-02-07 14:17:37 -08:00
dahlia
506e62f815
llLookAt() and llRotLookAt(): all orientation updates now done via angular velocity manipulation. Also correct some orientation glitches during interpolation.
2015-02-06 22:36:26 -08:00
dahlia
3b7c3378f1
Manage Angular Velocity during llLookAt() rotation of physical objects
2015-02-05 23:13:06 -08:00
dahlia
ee810a2cb5
Set angular velocity in physics actor in SceneObjectPart.AngularVelocity setter. Enables llSetAngularVelocity()
2015-02-05 14:29:51 -08:00
dahlia
95a0f0d47b
replace accidently deleted line from last commit
2015-02-05 13:44:39 -08:00
dahlia
bde7b2a7b5
Allow MaterialsModule to be enabled by default if [Materials] is absent from OpenSim.ini
2015-02-05 13:17:31 -08:00
Justin Clark-Casey (justincc)
765fd02418
For built-in groups, if a delegate throws an exception (e.g. due to network failure), always remove its request from the m_ActiveRequests list.
...
If this is not done, all subsequent calls for the same data see that a request is apparantly already in progress and so wait for the result indefinitely.
2015-02-04 17:04:59 +00:00
Justin Clark-Casey (justincc)
6834393821
Fix bug in JobEngine where an attempt to restart after stop would trigger an exception because the cancellation source was not recreated.
2015-02-04 00:10:44 +00:00
Justin Clark-Casey (justincc)
1d2616e7a2
If the owner of an object is taking a copy from the scene (e.g. via the "take copy" option on a viewer) then only require owner copy perms, not copy and transfer.
...
This matches Linden Lab behaviour and what was already possible via shift-copy.
Transfer would not apply here as the owner and copier are the same.
This is the only functional change, all other current take copy logic remains the same.
Adds regression tests around relevant take copy cases.
2015-02-03 23:43:30 +00:00
dahlia
39754b2dca
correct some minor comment misspellings in last commit
2015-02-02 04:03:04 -08:00
dahlia
1eedc2b4af
Compute rotation for llLookAt() with local positive X axis pointing down
2015-02-02 02:47:47 -08:00
AliciaRaven
bee3933e57
Prevent null entries being treated as URI's when DataSnapshot service splits service string. The new config format for services to notify in the DataSnapshot module appends entries to the existing single string and always leaves a deliminator on the end of the string. This is causing it to split with a null string in the resulting array, which is treated as another service to notify and throws a URI format exception on start up.
2015-02-01 10:29:47 -08:00
Justin Clark-Casey (justincc)
87936947ab
As per advice from Singularity devs, set is_display_name_default = true in GetDisplayName cap return data to make the single name appear.
...
This is still always your avatar name - code to set a different display is not yet implemented.
This works from my testing with current Firestorm and Singuarity releases.
2015-01-31 00:17:59 +00:00