Cinder
368ea78d14
Show last online status of group members from the PresenceService in group profiles
...
Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-07-31 17:19:13 +01:00
Oren Hurvitz
14b4d8bad7
Eliminated several warnings
2015-07-31 18:13:39 +03:00
Oren Hurvitz
149cb8dcbc
XMLRPCModule now actually aborts the worker thread when requested
2015-07-31 18:13:23 +03:00
Geir Nøklebye
1de8c3570d
PGSQL migrations for IM_Store, UserProfiles, removal of casting exception for UserProfiles and adding double precision to PGSQL Manager
...
PGSQL migrations for IM_Store, UserProfiles, removal of casting
exception for UserProfiles and adding double precision to PGSQL Manager.
Fixes the Offline IM to Email toggle and prepares for fixing Offline
IM.
Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-07-31 15:57:22 +01:00
Oren Hurvitz
e979a7e7f0
Fixed bad log message
...
This fixes http://opensimulator.org/mantis/view.php?id=7661
2015-07-31 17:55:09 +03:00
Oren Hurvitz
8aa75f225b
Fixed bug introduced in 4735514
. The project didn't compile.
2015-07-26 14:09:17 +03:00
Geir Nøklebye
a7fccbcf6f
Update PGSQL groups handler to accept search queries from the viewer
...
Update PGSQL groups handler to accept search queries from the viewer.
Fixed malformed query strings.
Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-07-26 11:59:15 +01:00
Quill Littlefeather
4735514a88
Fixed not being charged to create classifeids on money enabled regions
...
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-07-26 02:31:31 +02:00
Oren Hurvitz
83da582261
Removed unused code related to DNS lookups
2015-07-23 14:50:50 +03:00
Melanie Thielker
7342192223
Add quotes aroung LandFlags as PGSQL seems to choke on the word when
...
it's bare.
2015-07-23 01:59:33 +02:00
Oren Hurvitz
43c8e2396e
Added locking to HypergridLinker, to prevent problems if multiple linking requests for the same region are handled simultaneously
2015-07-22 20:39:30 +03:00
Oren Hurvitz
3a2d4c8b05
Added logging in places where regions are searched for by their location
...
This commit also fixes the log message "Region already exists in coordinates <{0},{1}>": it was actually showing the *requested* coordinates, instead of the coordinates of the previously-existing link.
2015-07-22 20:13:53 +03:00
Robert Adams
8cc7433d68
BulletSim: fix cut-and-paste typo in constraint frame setting.
...
This code is in the XNA module so it does not affect the normal
Bullet configuration .
2015-07-21 20:11:59 -07:00
AliciaRaven
297d31b1c2
Prevent two maptiles being generated at startup, one for v1 and another for v2-3 service. * v1 Service (WorldMapModule) is called directly by scene on startup. This patch moves the initial map registration of the v2-3 service (MapImageServiceModule) to that point so they can share the bitmap instead of doubling the work of Warp3D and exasperate its memory leak issues.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-07-21 15:11:47 -04:00
Melanie Thielker
c7f6e248e8
Correcting errors in previous change: MySQL needs int unsigned, not
...
unsigned int. PGSQL has no unsigned types, changing to bigint.
2015-07-14 21:22:53 +02:00
Melanie Thielker
7b571a928c
Mantis #7629 : Change LandFlags column to unsigned. Thanks, Jim!
2015-07-14 21:16:25 +02:00
AliciaRaven
248c0e18de
Prevent multiple instances of the FSAssets service causing problems. Protect against secondary instances registering duplicate console commands Also prevents multiple instances each starting a writer thread which will cause major file access exceptions as they fight over the contents of the spool directory.
...
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-07-13 19:04:33 +02:00
Oren Hurvitz
e174dc87fb
Fixed the whitespace in Scene.cs
...
The whitespace in this file was fubared recently
2015-07-13 12:37:18 +03:00
AliciaRaven
f3f748ed11
Bringing FSAssets more inline with current OpenSim standards. * If no connection string found in assets config, fallback to using default database config * Create database storage interface to allow other db connectors to be written at some point * Add MySQL migrations file to create the initial db table * Added new config option named DaysBetweenAccessTimeUpdates to reduce db load by only updating access times when fetching assets if the last access time was over the threshold. This idea was taken from XAssets service. * Change log message headers to indicate FS assets is the source not just assets
...
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-07-12 04:03:08 +02:00
Melanie Thielker
c59144ff13
More cleanup, add missing refs to prebuild, remove refs to stuff not
...
used. Will NOT compile.
2015-07-11 19:27:19 +02:00
Melanie Thielker
a343c07d12
Some cleanup, add prebuild project, correct path
2015-07-11 19:21:32 +02:00
Melanie Thielker
2672637202
Rename for uniformity, add data module
2015-07-11 19:10:39 +02:00
Melanie Thielker
db62e1ac3c
Add main FSAssetsService
2015-07-11 19:07:42 +02:00
Melanie Thielker
987e7e4f84
Applying Gavin Hird's patch to correct PGSQL group notices. Thatk you,
...
Gavin
2015-06-26 19:08:51 +02:00
Robert Adams
d750647fb1
BulletSim: fix two compiler warnings.
...
Mostly code left over from things that are not done that way anymore.
2015-06-25 22:02:12 -07:00
Diva Canto
0e401238e7
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-06-25 15:02:06 -07:00
Diva Canto
c299414d50
Fixed bad-ish code in login patch
2015-06-25 15:01:43 -07:00
Quill Littlefeather
4131fbea0c
Changes to Welcome Message sent to clients.
...
.gitignore | 1 +
OpenSim/Services/LLLoginService/LLLoginService.cs | 32 +++++++++++++++--------
1 files changed, 22 insertions(+), 11 deletions(-)
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-25 14:53:51 -07:00
dahlia
3aa9e786de
Thanks Gavin Hird for a fix for Mantis 0007604: DeleteClassifiedRecord exception PGSQL
2015-06-24 04:08:34 -07:00
dahlia
2c5a3ff9f0
Thanks Gavin Hird for a fix for an exception when requesting an Estate Ban when using PGSQL.
2015-06-24 03:46:30 -07:00
Diva Canto
b5ac0e1ab8
FetchInventoryDescendents2: Signal to the viewer that folder with UUID.Zero is a bad folder. Don't even go to the backend to ask for it, because that will likely kill the sim. Apparently Firestorm requests folder Zero quite often.
2015-06-23 14:24:55 -07:00
Cinder
a91f32e2c7
Guard against null AgentPrefs service in llGetAgentLanguage()
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-21 08:41:37 -07:00
Cinder
7edaf1d851
Add MaxMaterialsPerTransaction to SimFeatures
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-19 08:44:34 -07:00
AliciaRaven
c37315da87
Warp3DImageModule. Reduce workload by not calling to render the root prim twice. When loading prims to draw the map, the Warp3D system first calls to load the root prim, followed by all the prims in the SOG. The initial call to load the root prim is not required because it is also in the parts list. The result of this was that all root prims were being loaded twice.
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-19 06:56:19 -07:00
Diva Canto
017d2cf417
Bug fix in inventory fetching: sometimes the caps request comes before there is a scene presence, and that's ok.
2015-06-17 15:55:07 -07:00
Diva Canto
4a516fa156
Removed the pgsql table for AgentPrefs, because it is not working. For now the Agent Preferences feature will not work with PGSQL installations -- someone who uses PGSQL needs to send a table that works.
2015-06-14 14:49:20 -07:00
Diva Canto
be68f4852c
Mantis #7610 . Changed AgentPrefs table in PGSQL to use uuid instead of varchar(36), to be consistent with the otehr pgsql tables. Since the first commit on this was yesterday, there's no migration; instead, the version starts at 2. If anyone created the table yesterday, it will be dropped and recreated.
...
WARNING: untested. (I don't use pg)
2015-06-14 09:30:55 -07:00
Diva Canto
f27ce66877
Squooshed a warning that could result in a runtime null pointer exception. It says that code is for debugging, but it was buggy.
2015-06-14 08:18:21 -07:00
Diva Canto
03f142730c
Squoosh one more warning
2015-06-14 08:14:09 -07:00
Diva Canto
496f35b4e8
Removing the Store methods in the DB layer of AgentPreferences, as they were simply calling the base ones.
2015-06-14 08:04:25 -07:00
Cinder
3853904b80
Quell three new warnings I introduced with AgentPrefsData, return an empty llsd map instead of an empty llsd block when no AgentPrefs service is available to try and appease Firestorm
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-14 07:59:25 -07:00
Roger Kirkman
54c1659934
AgentPreferences SQLLite Migration update Mantis #7157
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 22:10:51 -07:00
Cinder
7635138c59
SQLite and PGSQL adapters for AgentPreferences
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 14:53:17 -07:00
Diva Canto
75baf6ce01
Added ':' to debug messages
2015-06-13 14:34:28 -07:00
Cinder
d6dc782d75
Add optional GodNames region module
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 14:31:49 -07:00
Cinder
044654b5a9
Guard against scenes without an agent prefs service and a copy and paste fix
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 13:37:08 -07:00
Diva Canto
7f1a73cbda
Fixed indentation
2015-06-13 10:27:48 -07:00
Diva Canto
bcb8a7d7f9
A few bug fixes for Agent Preferences to actually work. Also added missing config for standalone.
2015-06-13 08:36:06 -07:00
Cinder
0fa94f222d
Refactor AgentPreferences so that database operations happen centrally. the opensim way.
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 07:27:42 -07:00
Cinder
c1ddb7f05e
Relicense AgentPreferences files to BSD and OpenSimulator
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 07:27:26 -07:00
Cinder
6f71d5c2c6
Support for Linden AgentPreferences capability and friends (UpdateAgentLanguage and UpdateAgentInformation) and Mantis #7157
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 07:27:01 -07:00
Melanie Thielker
7aa171e49f
Maybe reduce incidence of ghost avatars
2015-06-12 03:16:09 +02:00
dahlia
58972f65ac
SceneObjectPart.UpdateLookAt() now uses corrected libomv quaternion functions.
2015-06-10 01:26:38 -07:00
Diva Canto
a83d2247d4
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-06-09 13:22:24 -07:00
Diva Canto
b931f393a8
Avoid registering console commands in every single instance of GridUserService running on the same process. Only one registers them now.
2015-06-09 13:21:41 -07:00
Robert Adams
81ef7b586e
Address Mantis 7592 ( http://opensimulator.org/mantis/view.php?id=7592 ) by
...
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-06 07:09:20 -07:00
H-H-H
0c5facbd75
Typo Fix
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-05 16:48:16 -07:00
Diva Canto
c4efeb0f7c
Upgraded the Simian inventory connector with an item cache, too, so that it 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-05 11:46:13 -07:00
Diva Canto
96f0c6f074
More on mantis #7567 . Two things:
...
- 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-05 10:07:50 -07:00
Diva Canto
cc22d81b4d
The only purpose of this commit is to remove an erroneous comment. It turns 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-05 09:47:36 -07:00
Diva Canto
52d9ea1cee
Mantis #7603 -- bad folders in inventory could produce null pointer exception. Thanks for the line numbers in the exception trace.
2015-06-04 19:57:01 -07:00
Diva Canto
83267e19f6
Mantis #7536 . This may alleviate the side effects of broken SceneObjects XML. It doesn't (can't) fix the cause.
2015-06-04 16:17:45 -07:00
Diva Canto
51fccff235
Mantis #7600 . The warning message was not a symptom of a problem, it was 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-04 15:04:36 -07:00
Diva Canto
f63e7ec46f
Trivial: fix copy-paste typo in string
2015-06-04 09:30:41 -07:00
Diva Canto
2fff376762
More assertions in inventory client tests to check for assorted combinations of cached/non-cached/existing/non-existing items
2015-06-04 09:17:12 -07:00
Diva Canto
6f469ec0a5
Added tests that verify the absence of the bug fixed in the previous commits (cache issues).
2015-06-04 08:52:57 -07:00
Diva Canto
a433a40980
Making the inventory cache static, so that there's less timers.
2015-06-04 07:10:06 -07:00
Diva Canto
ea5aa82c2c
Mantis #7567 . Once again, avoiding prefetching linked items within linked folders. Also fixing the inventory connector GetMultipleItems, so that if everything is in the cache, it returns successfully rather than unsuccessfully.
2015-06-04 06:58:07 -07:00
Diva Canto
bac53387a9
Mantis #7567 : added an 8-sec expiring item cache to the inventory network 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-03 17:42:41 -07:00
Diva Canto
3141664d6b
I suspect the viewer doesn't need the target of linked items inside linked 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-02 16:31:56 -07:00
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
Melanie Thielker
9766dc1f81
Add WhiteCore's LL Json functions
2015-05-26 21:05:59 +02: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
Robert Adams
c0ad5ee81d
varregion: update MapImageServiceModule to upload multiple map tiles for large regions.
2015-03-29 17:21:19 -07:00
Robert Adams
6081ae3554
varregion: update MapImageModule and ShadedMapTimeRenderer for variable sized regions.
2015-03-29 16:55:18 -07:00
Robert Adams
df14b40e88
varregion: update LandManagementModule and LandObject for variable sized regions.
2015-03-29 16:45:00 -07:00
Robert Adams
07dead7dcb
varregion: any conversions of use of Constants.RegionSize converted into
...
Util.cs routines to convert region coords to and from world coords or handles.
2015-03-29 14:25:12 -07:00
Robert Adams
c5a7bf6601
varregion: add varregion and TerrainData use in LLClientView.
...
Add sending multiple parcel patches and sending patches by avatar
view distance.
2015-03-28 08:30:52 -07:00
Robert Adams
08c72a8dc1
varregion: remove use of Constants.RegionSize is various places.
...
More use of the Util routines for conversion of region handles into addresses.
2015-03-28 07:50:04 -07:00
Robert Adams
bedafb8fae
varregion: refactor use of 'double heightmap[,]' into references to new class TerrainData
...
and push the implementation from Scene into the database readers and writers.
2015-03-27 19:32:50 -07:00
Robert Adams
d74d74c910
varregion: restore checkAgentAccessToRegion routine in EntityTransferModule.
2015-03-27 06:47:55 -07:00
Melanie Thielker
4b066d373b
Comment spammy XMLRPC router message - we don't need to know every time a
...
script does something that wil fail anyway.
2015-03-25 19:14:30 +01:00
Melanie Thielker
752901c5f4
Make attachment rezzing async again for NPC. Doing that sync causes a deadlock
...
with the script thread.
2015-03-24 01:37:14 +01:00
Melanie Thielker
65c0c4be78
Allow re-setting the region restart timer. Also move restart notifications to
...
upper right corner again.
2015-03-23 22:19:33 +01:00
Melanie Thielker
a2676388f4
Make the scripted dialogs and restart message appear in the top right corner
...
again. Viewers have been busy making these notifications all into toasts but
we believe there are message that are important enough to make the user
acknowledge them.
2015-03-23 22:17:51 +01:00
Melanie Thielker
5cb8127e87
Make log output of remote admin's restart region call reflect restart cancellations properly.
2015-03-23 22:16:49 +01:00
Melanie Thielker
97ff01a0c2
Taking a reference to the value collection is not thread safe. Change this
...
to create a shallow copy instead and then iterate it's values to avoid the
"out of sync" error.
2015-03-23 22:15:25 +01:00
Robert Adams
9f18e3ba80
Varregion: first cut at removing Border class checks for region crossings.
...
Added Scene.PositionIsInCurrentRegion(pos) to sense when new position needs some crossing work.
Many changes made to EntityTransferModule to accomodate new crossing sense logic.
2015-03-22 21:53:02 -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
Melanie Thielker
b5ac2eb1e1
Allow setting the size of the wearables array from config, for core compatibility
2015-03-10 01:04:04 +01:00
Melanie Thielker
cf402812b7
Fix content type checking to confirm to newer core versions
2015-03-10 01:03:31 +01: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
Melanie Thielker
7caff51481
Make the maptile uploader in remote admin fire and forget so the controlling host gets a timely reply.
2015-03-07 01:15:48 +01: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