Justin Clark-Casey (justincc)
a29d53986a
In GetDisplayNames, if user last name is Resident then only send first name for display.
...
This is to match existing behaviour with UDP behaviour where this is masked out.
And to make it consistent with other places where viewers mask this out themselves.
Relates to http://opensimulator.org/mantis/view.php?id=7408
2015-01-23 23:17:49 +00:00
Justin Clark-Casey (justincc)
840e440541
When deleting an assembly before re-compile, make sure its attributes allow deletion.
...
This is to see if this helps with the problem in http://opensimulator.org/mantis/view.php?id=7278 where some DLLs are not allowing this.
Since OpenSim created the file it should always be allowed to delete it.
2015-01-23 00:45:51 +00:00
Justin Clark-Casey (justincc)
d0a2ea0857
Fix regression where the stored state of every second script in an object rezzed from inventory (e.g. attachments) was no longer loaded.
...
Likely a regression since f132f642
(2014-08-28)
Relates to http://opensimulator.org/mantis/view.php?id=7278
2015-01-23 00:27:57 +00:00
Diva Canto
edc155c636
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-01-22 10:45:46 -08:00
Diva Canto
185e7048c8
On the GridService, the central simulator features: ensure that the map tile url ends with '/' because the viewer is dumb and just appends to it.
2015-01-22 10:45:07 -08:00
Justin Clark-Casey (justincc)
2d574c3036
Stop currently unsettable display names from appearing when [ClientStack.LindenCaps] Cap_GetDisplayNames = "localhost" is set by never passing the username.
...
Unexpectedly, not setting user name achieves this whereas one might have expected it to be done by not setting display_name in the cap OSD.
Emulates LL behaviour when no display name is set.
Relates to http://opensimulator.org/mantis/view.php?id=7408
2015-01-21 22:26:35 +00:00
Justin Clark-Casey (justincc)
aef6fd6927
If the SnedInventoryAync() method receives an exception log this but make sure it does not terminate the process.
...
Relates to http://opensimulator.org/mantis/view.php?id=7421
2015-01-21 20:54:23 +00:00
Justin Clark-Casey (justincc)
ed8d0fbea4
Don't allow a failure in create a request in HeloService.Connector.Helo() to propogate up the stack.
...
Relates to http://opensimulator.org/mantis/view.php?id=7421
2015-01-21 20:46:29 +00:00
Justin Clark-Casey (justincc)
155da5aad2
Add debug ability to ignore reliably sent packets that are not acknowledged.
...
This is controlled via the console command "debug lludp client set process-unacked-sends true [<avatar-first-name> <avatar-last-name>]"
For debug purposes to see if this process for very bad connections is causing general outbound udp processing delays.
Relates to http://opensimulator.org/mantis/view.php?id=7393
2015-01-21 20:31:42 +00:00
AliciaRaven
abf1836b81
Fix OfflineIMEmail value overwriting every time its called. The request was receiving a blank user prefs object to populate but then was checking for an email address. When this failed the email address was pulled from the User Account service and the empty prefs now including the email was saved before being loaded again to be returned. This was overwriting all other settings in the prefs. This fix returns the existing prefs first before checking the email address is set, and only updates email if missing.
2015-01-21 00:57:06 +00:00
Justin Clark-Casey (justincc)
372a7bf78e
minor: Comment out log line for the SimulatorFeatures cap request for now to reduce log verbiage. Please revert if still required.
2015-01-21 00:34:51 +00:00
Justin Clark-Casey (justincc)
25dd30ddb6
minor: Fix some CR line endings in Scene.Inventory.cs
2015-01-21 00:33:54 +00:00
Justin Clark-Casey (justincc)
a846e63c70
If [Permissions] serverside_object_permissions = false or the undocumented propogate_permissions = false, don't propogate permissions of prim inventory items.
...
This was a regression from 13f31fd
(4 Nov 2013)
Relates to http://opensimulator.org/mantis/view.php?id=7399
2015-01-21 00:21:27 +00:00
Justin Clark-Casey (justincc)
ac93ba9f85
minor: correct SceneCommunicationService.LogHeader spelling
...
Relates to http://opensimulator.org/mantis/view.php?id=7337
2015-01-20 00:19:33 +00:00
Justin Clark-Casey (justincc)
4b8215c893
minor: comment out unusued logging objects in some pCampbot behaviour classes
2015-01-20 00:18:25 +00:00
Justin Clark-Casey (justincc)
24ef043395
Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the exception on error
2015-01-19 23:52:34 +00:00
Justin Clark-Casey (justincc)
1f04e1bc23
minor: In AttachmentsModule.UpdateKnownItem use the existing IInventoryAccessModule reference that other methods are already using rather than fetching its own copy.
2015-01-17 00:08:16 +00:00
Justin Clark-Casey (justincc)
2995868176
Make XEngine.SaveAllState() actually do this instead of script maintenance
2015-01-17 00:05:13 +00:00
Justin Clark-Casey (justincc)
0eb268e265
minor: remove old commented out objectRemoved bool in XEngine.OnRemoveScript()
2015-01-16 23:59:08 +00:00
Justin Clark-Casey (justincc)
58f7efc41a
Add clearqueue code adjustment that should have been in previous commit faaf47a
2015-01-16 23:57:51 +00:00
Justin Clark-Casey (justincc)
faaf47a86f
Prevent a race condition between the script engine backup thread and script removal by locking on the script's EventQueue and only proceeding if it's flagged as still running.
...
Relates to http://opensimulator.org/mantis/view.php?id=7407
2015-01-16 23:55:11 +00:00
Justin Clark-Casey (justincc)
8d724e90de
For scripts in attachments, don't save .state files apart from the initial one as these are ignored since .state is saved in the attachment's asset.
...
This eliminates pointless work and exceptions when an appdomain is unloaded whilst an attachment script state is persisted.
Adds test for this case.
Relates to http://opensimulator.org/mantis/view.php?id=7407
2015-01-16 22:46:48 +00:00
Justin Clark-Casey (justincc)
97ac80d664
minor: Suppress the log messages when user profiles data is requested for an NPC or an HG user with no set server URI to avoid log spam.
...
Messages concerning failure to contact a given user profiles service are preserved by logging within called code with the agent ID.
If the "No Presence - foreign friend" log message is important then please revert.
Relates to http://opensimulator.org/mantis/view.php?id=7414
2015-01-16 00:54:32 +00:00
Justin Clark-Casey (justincc)
b22c072c40
Fix a recent regression with HG asset posting to other grids where the assets were no longer being posted.
...
Addresses regression from 08606ae
(Thu Jan 8 2015)
2015-01-15 23:44:34 +00:00
Justin Clark-Casey (justincc)
beef41f24c
Stop simulators attempting to contact registered but offline regions (RegionFlags.Persistent but not RegioNFlags.RegionOnline) on startup and when an avatar completes a teleport.
...
This eliminates spurious network calls and failure reporting.
This is done by adding RegionFlags to the GridRegion returned data in a backward compatible way as an alternative to multiple IGridService.GetRegionFlags() calls
Using a simulator or a grid service older than this commit will just see previous behaviour.
2015-01-14 19:45:19 +00:00
Diva Canto
8cc590cf80
And finally renamed the classes themselves.
2015-01-13 22:21:50 -08:00
Diva Canto
034fc325c0
Renamed the folder too.
2015-01-13 21:25:11 -08:00
Diva Canto
a626de696a
Renamed these 2 files, because their names are misleading. This is no longer called WebFetchInventoryDescendents, and we no longer use that cap; the viewers use FetchInvventoryDescendents2.
2015-01-13 21:24:01 -08:00
Justin Clark-Casey (justincc)
9363d4c784
Use ToString() on uuids returned in PGSQLUserProfilesData.GetUserImageAssets(). These are Guids rather than strings so casting to string generates a casting exception.
...
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-14 00:00:02 +00:00
Justin Clark-Casey (justincc)
02f2352ad5
Fix PGSQLUserProfilesData.GetUserPreferences error when no usersettings yet exist by inserting missing ID parameter.
...
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-13 23:52:52 +00:00
Justin Clark-Casey (justincc)
71d73777d9
Revert "Remove quotes from column selection in PGSQLUserProfilesData.UpdateAvatarProperties()"
...
This reverts commit fdecf4f610
.
2015-01-13 21:53:28 +00:00
Justin Clark-Casey (justincc)
8f37a61912
Revert "Remove quotes from column selection in PGSQLUserProfilesData.UpdateAvatarInterests()"
...
This reverts commit f31feef6c1
.
2015-01-13 21:53:18 +00:00
Justin Clark-Casey (justincc)
39989eda3b
Revert "Remove quotes from column selection in PGSQLUserProfilesData.GetUserImageAssets()"
...
This reverts commit bd9539c2a7
.
2015-01-13 21:53:04 +00:00
Justin Clark-Casey (justincc)
38f2b89248
Revert "Remove misstaken quotes from column selection in PGSQLUserProfilesData.GetUserAppData()"
...
This reverts commit 0794a40378
.
2015-01-13 21:52:43 +00:00
Justin Clark-Casey (justincc)
f9d2121bcf
Revert "Remove quotes from column selection in PGSQLUserProfilesData.SetUserAppData()"
...
This reverts commit 59c0df962a
.
This is necessary to preserve the casing of column names, otherwise pgsql converts everything to lowercase.
TIL, Unlike mysql, a quoted column still refers to the column itself...
2015-01-13 21:50:11 +00:00
Justin Clark-Casey (justincc)
24695dc05b
Fix PGSQLUserProfilesData.UpdateUserPreferences() imviaemail and visible casts. These should be left as bools, not converted to strings.
...
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-13 21:40:49 +00:00
Justin Clark-Casey (justincc)
46e8a99526
Change PGSQLUserProfilesData.UpdateUserPreferences() to directly pass the UUID to the uuid parameter instead of its ToString()
...
This may well be the cause behind "operator does not exist: uuid = character varying" pgsql errors.
If so, the other instances will also be changed.
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-13 21:13:57 +00:00
Justin Clark-Casey (justincc)
492d49eb08
Fix MySQL and PGSQL *UserProfilesData.GetUserAppData() calls to correctly set the UserId parameter instead of the non-existing Id parameter when writing a record because none yet exists.
...
SQLite version is already correct for this.
2015-01-13 20:33:36 +00:00
Justin Clark-Casey (justincc)
59c0df962a
Remove quotes from column selection in PGSQLUserProfilesData.SetUserAppData()
...
This may have been preventing it from working.
2015-01-13 20:27:37 +00:00
Justin Clark-Casey (justincc)
55ae9a7d10
Remove extraneous colon when setting TagId parameter in PGSQLUserProfilesData.GetUserAppData()
2015-01-13 20:15:37 +00:00
Justin Clark-Casey (justincc)
55e081548c
Fix bug where gathering the clientstack..OutgoingPacketsQueuedCount stat would fail with a casting exception for scenes with NPCs
...
Present since 51eb8fa
(Oct 2 2014)
2015-01-13 19:27:29 +00:00
Justin Clark-Casey (justincc)
0794a40378
Remove misstaken quotes from column selection in PGSQLUserProfilesData.GetUserAppData()
2015-01-13 19:20:27 +00:00
Justin Clark-Casey (justincc)
bd9539c2a7
Remove quotes from column selection in PGSQLUserProfilesData.GetUserImageAssets()
...
This may have been preventing it from working.
2015-01-13 18:57:32 +00:00
Justin Clark-Casey (justincc)
f31feef6c1
Remove quotes from column selection in PGSQLUserProfilesData.UpdateAvatarInterests()
...
This may have been preventing it from working.
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-13 18:54:41 +00:00
Justin Clark-Casey (justincc)
fdecf4f610
Remove quotes from column selection in PGSQLUserProfilesData.UpdateAvatarProperties()
...
This may have been preventing it from working.
2015-01-13 18:52:49 +00:00
Justin Clark-Casey (justincc)
0cc75a0a3c
Remove quotes from column selection in PGSQLUserProfilesData.GetAvatarNotes()
...
This may have been preventing it from working.
2015-01-13 18:50:34 +00:00
Justin Clark-Casey (justincc)
b38a552fd6
Remove quotes from field selection in PGSQLUserProfilesData.GetAvatarPicks()
...
This may have been preventing it from working.
2015-01-13 18:47:51 +00:00
Justin Clark-Casey (justincc)
43b094f549
minor: correct two exception messages in PGSQLUserProfilesData where I copy/pasted AgentInterestsUpdate twice
2015-01-13 18:42:04 +00:00
Justin Clark-Casey (justincc)
02dcfcf537
Remove the locking in PGSQLUserProfilesData which was buggy (Lock object wasn't set!) and is unnecessary.
...
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-12 23:39:27 +00:00
Justin Clark-Casey (justincc)
0c31eb0a5d
Add the missing deleted and re-added JobEngine class from the previous commit 8e1e8a0
2015-01-12 20:59:58 +00:00
Justin Clark-Casey (justincc)
8e1e8a0920
Make the performance controlling job processing threads introduced in conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
2015-01-12 20:56:37 +00:00
Diva Canto
2fd252f5a9
SimulatorFeatures: the viewer also takes GridName in OpenSim extras. Added that (plus GridURL, in case viewers want to use it too) to the GridService that gives out that info to simulators.
2015-01-10 10:32:33 -08:00
Diva Canto
20b34135cb
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-01-09 08:32:40 -08:00
Diva Canto
e2dd15625f
Added GetDisplayNames capability. For now, we don't actually use display names, and this cap returns the regular name. But this moves the server side into the newer, preferred, protocol used by the viewer for fetching the names of agents in the scene given their UUIDs. (the old protocol is via UDP). This works fine in my limited tests, but could use further testing by others.
2015-01-09 08:31:56 -08:00
Justin Clark-Casey (justincc)
38590a4fad
Get PGSQL UserProfilesData to log the exception trace for debugging rather than just the exception message.
2015-01-09 00:19:48 +00:00
Justin Clark-Casey (justincc)
dbd500db42
minor: Add event name to existing debug output when a script event fails with an exception. To aid debugging.
2015-01-08 22:59:29 +00:00
Justin Clark-Casey (justincc)
801a86ca03
When inspecting a script or notecard, also try to look up any assets embedded therein.
...
This is primarily to fix an issue where inventory items for NPC attachments would not be saved in archives as the assets referenced in the appearance notecard were not checked in this manner.
Relates to http://opensimulator.org/mantis/view.php?id=7376
2015-01-08 20:36:03 +00:00
Justin Clark-Casey (justincc)
08606ae409
Make the IteratingUuidGatherer the only UuidGatherer.
...
This UUID gatherer provides a superset of the previous gatherer's functionality
as it also allows the caller to control gathering iterations for load purposes.
2015-01-08 20:21:40 +00:00
Diva Canto
9dc4b2c479
Commented out clear_registry_ because (1) it isn't clearing up anything anymore -- mono addins moved to suffix -002 at least since BlueWall updated it; (2) we shouldn't clear the registry, period. People who run many sims from the same bin folder need to configure each sim to use its own RegistryLocation, just like they configure them to use their own port.
2015-01-07 20:01:54 -08:00
Diva Canto
14b3ee636d
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-01-07 11:09:04 -08:00
Diva Canto
46ab59723d
Added a different/better way of specifying data services in DataSnapshot -- using DATA_SRV_ keys, one per service. This allows 3rd party modules to add data services automatically.
2015-01-07 11:04:23 -08:00
Robert Adams
6e2b532255
BulletSim: fix line ending problems.
2015-01-07 06:46:08 -08:00
Robert Adams
4959dbba5e
BulletSim: make computation of hole cut in hull tester explicit
...
math showing the odd PrimitiveBaseShape value rather than a constant.
2015-01-07 06:42:41 -08:00
Robert Adams
700543b161
BulletSim: tweek step parameters and logic to make walking up steps
...
closer to SL. This change should address small floor edges acting like
walls, approaching a step at any angle (other than walking backwards)
will allow walking up, and reducing the avatar pop-up when going up
stairs.
2015-01-07 06:39:29 -08:00
Diva Canto
8e562f04d1
Donation of robust network connectors for estate service, as promised. This allows to have one central database for estates without having to open the MySql port. This is off by default, so not to disturb everyone's existing installations. To use it, see GridCommon.ini.example [EstateDataStore] section and Robust*.ini.example's new additions.
...
Note that I also made things consistent by removing both the EstateDataService and the SimulationService into their own dlls, just like all other services. They really didn't belong in Services.Connectors, since everything in that component is about network connectors to robust backends. We may have too many dlls, and at some point it might not be a bad idea to merge all services into one single dll, since they all have more or less the same dependencies.
2015-01-06 21:24:44 -08:00
Diva Canto
502aa7bb15
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-01-04 19:07:40 -08:00
Diva Canto
ce1a87b784
Added overloaded LoadArchSpecificWindowsDll, to help addins load native libraries.
2015-01-04 19:06:49 -08:00
Robert Adams
103aad27f2
BulletSim: comment out the reference to BSShapeHull in BulletSim tests
...
which seems to cause the tests to fail when compiled on the OpenSim
build system. It compiles and runs everywhere else. More research is needed.
2015-01-04 14:26:50 -08:00
Robert Adams
a617159f8b
BulletSim: correct some of the debugging input and output of PrimitiveBaseShape.
...
Whoever defined that structure was really into esoteric coding.
2015-01-04 13:52:14 -08:00
Diva Canto
53c8318124
Added utility function that simplifies configuration loading of all addins.
2015-01-03 21:53:18 -08:00
Diva Canto
b379eaa169
Remove the extra key expansion added in commit a88bc50a16
. It's not needed.
2015-01-03 07:56:00 -08:00
Diva Canto
04e76dc5d6
Comment out the suppression of console output for mono addins in robust too. Seriously, ppl, let's not ignore important warning messages!
2015-01-02 21:47:23 -08:00
Diva Canto
63e771b593
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-01-02 09:18:05 -08:00
Diva Canto
bd2ec3edf5
Bug fix in LoadPLugin so that it can take paths to dlls that look like this "C:\foo\MyDll.dll:MyType" -- the split on : was messing things up.
2015-01-02 09:16:39 -08:00
Diva Canto
7d1c59b8e3
Changed the Robust-as-addin version number to match OpenSim release numbers.
2015-01-02 09:15:30 -08:00
Robert Adams
7c2aeb9e8e
Fix cut-and-paste error that made StatsManager web fetch queries
...
fail for container specification.
2015-01-01 09:39:07 -08:00
Robert Adams
2496da2dac
BulletSim: remove compile reference error trying to figure out why mono compiling doesn't like it
2014-12-31 13:45:12 -08:00
Robert Adams
c89d0e26b2
BulletSim: add the beginnings of hull creation unit testing.
...
Change how physics engine is created in unit tests to resolve a lib reference problem.
Add ShapeInfoInfo class to collect info about the created physical shape
for debugging and unit test testing.
2014-12-31 12:48:26 -08:00
Robert Adams
291c7cdbcc
BulletSim: Add axis locking enabled through the ExtendedPhysics module.
...
Allows locking of prim/linkset relative moving in each of the linear
and angular axis. Limits on movement or rotation can be set.
2014-12-31 12:43:26 -08:00
Diva Canto
b40935837c
Fixed declaration switcharoo on the region combiner dll.
2014-12-31 08:20:17 -08:00
Diva Canto
998ef665a8
Commenting out the suppression of console warnings from Mono addins while we test this new model for the next couple of weeks.
2014-12-31 00:01:47 -08:00
Diva Canto
3375841fee
Capitalization fail.
2014-12-30 23:47:11 -08:00
Diva Canto
0af02efaed
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2014-12-30 20:05:33 -08:00
Diva Canto
a88bc50a16
Add support for expansion of key values in nini config files.
...
Add loading of 3rd-party addin inis automatically.
2014-12-30 20:05:12 -08:00
Mic Bowman
bc7570e59c
Merge branch 'mb-throttle-test'
...
Merge in the new throttle code.
2014-12-30 16:26:57 -08:00
Diva Canto
2138d5c7f8
Renamed VERSION_NUMBER to VersionNumber
2014-12-30 15:27:28 -08:00
Mic Bowman
5bb73793c7
Comment out the debugging statements added in the last commit. Keeping
...
them in the code for later use rather than just reverting them.
Fixed the throttle tests for the new algorithm used when packets
are marked as expired.
2014-12-30 14:43:42 -08:00
Diva Canto
7466ef0525
This cleans up versioning. Specifically:
...
- It establishes 4 digits for opensim versions
- It uses the same number between opensim releases and mono addins versions
It also eliminates the last addin.xml files that were still there, for consistency.
2014-12-30 12:53:31 -08:00
Mic Bowman
58229a968b
Turn on logging of old acks, this is for debugging only, stats version coming later
2014-12-30 10:50:34 -08:00
Mic Bowman
c06100c31f
Another technique inspired by some of the newer flow control algorithms... rather
...
than drop exponentially to 0 (and then adjust up for the minimum flow), drop on
the delta between current rate and the minimum rate. This should smooth the fallback
to minimum.
2014-12-30 10:39:14 -08:00
Mic Bowman
75df04f0b3
Fix the throttle tests. Remove the hardcoded constant multipliers and
...
compute the expected values without depending on the token bucket code.
2014-12-30 10:03:37 -08:00
Diva Canto
2506728e35
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2014-12-30 07:59:09 -08:00
Diva Canto
5cf6a6f830
WARNING: BREAKING CHANGES FOR REGION MODULE DEVELOPMENT.
...
This cleans up Opensim's use of mono addins. In particular, the extension points /OpenSim/RegionModules and /OpenSim/WindModule moved from OpenSim.exe to OpenSim.Region.Framework.dll. From here on, developers of region modules should declare their dlls to be dependent on OpenSim.Region.Framework, starting with version 0.8.1
Additional changes:
- Addins version uniformly updated to 0.8.1. These numbers should be compatible with the release numbers or else it becomes very confusing.
- Mono addins directives moved from files addins.xml to embedded directives in the class and assembly declarations, to make it all consistent
2014-12-30 07:58:42 -08:00
Mic Bowman
bda8f2a2c1
Change the effect of successfully acknowledged packets to bump the
...
adaptive throttle by a full MTU. This is consistent with some implementations
of congestion control algorithms and certainly has the effect of opening
the throttle window more quickly after errors. This is especially important
after initial scene load when the number and size of packets is small.
2014-12-29 23:19:10 -08:00
Mic Bowman
041a09ecb9
Enable runtime configuration of the minimum rate for adaptive
...
throttles. Setting adaptive_throttle_min_bps will change the
minimum rate that the adapative throttles will drop to in case
of network packet loss. The current rate default rate is 256kbps.
The viewer can throttle rates under that amount, but the dynamic
adaptation will not.
2014-12-29 18:46:33 -08:00
Justin Clark-Casey (justincc)
5410e4f1f9
minor: correct sent -> set in TokenBucket.RequestedDripRate method doc
2014-12-30 00:53:17 +00:00
Diva Canto
89c1ac4cff
Updated OpenSim-as-addin version from 0.5 to 0.8.1. The addin version number doesn't need to match the release version number, but I think it's a very good idea that they do.
2014-12-29 15:05:44 -08:00
Diva Canto
601849b4fa
Added AssemblyInfo.cs to OpenSim.exe
2014-12-29 14:13:17 -08:00
Mic Bowman
e71549a2cb
Add debugging code for simulating packet loss in outgoing UDP packets. The
...
algorithm for dropping packets is a modified two state algorithm for creating
bursts of dropped packets. As configured there is about a 1.5% drop rate.
Invocation of the packet loss code is commented out by default.
2014-12-29 12:02:36 -08:00
Diva Canto
bb82076a4d
Allow for richer semantics of object derez. Specifically, allow the existence of region modules that do other kinds of garbage collection. Instead of placing deleted objects in the user's Trash folder, or deleting them immediately (UseTrashOnDelete = false), a module may decide to take garbage collection under its control. For example, it may place derezzed objects in a certain area inworld and delete them later.
2014-12-25 12:17:07 -08:00
Justin Clark-Casey (justincc)
fc940ab09a
If a moap entry has EnableWhiteList but WhiteList == null, then properly block the request instead of throwing an exception.
...
Normally, WhiteList is an empty list but from Mantis 7389 it looks like it might sometimes be possible for it to be null (haven't seen this up till now)
It looks like failing with an exception instead of properly replying to the request (which comes in via a cap) might be enough, surprisingly, to freeze a viewer until timeout.
Part of http://opensimulator.org/mantis/view.php?id=7389 but probably unrelated to the actual issue of that mantis.
2014-12-23 20:38:20 +00:00
Justin Clark-Casey (justincc)
7100475b90
Make sure we always dispose of disposables inside RestClient.Request()
2014-12-20 01:56:33 +00:00
Justin Clark-Casey (justincc)
9cff0bbd7c
In XBakesModule.Get() use using() to always dispose of RestClient which disposes the stream rather than disposing the stream directly
2014-12-20 01:46:32 +00:00
Justin Clark-Casey (justincc)
e3d07bd0cc
minor: Correct propery doc RestClient._resource spelling mistake
2014-12-20 01:39:31 +00:00
Justin Clark-Casey (justincc)
798074c66f
Use using() semantics in XBakesModule to ensure disposable objects are alway disposed no matter what
2014-12-20 01:38:48 +00:00
Justin Clark-Casey (justincc)
9edc5cac96
In XBakes use proper disposal semantics to always close the stream on Store() no matter what
2014-12-20 01:32:49 +00:00
Justin Clark-Casey (justincc)
e901253b49
Fix recent regression where a race condition meant SP.MakeRootAgent() would sometimes look to start attachment scripts before ETM.HandleIncomingSceneObject() had added them.
...
Probably a regression since ghosts branch merge on Nov 26 2014
2014-12-17 00:25:24 +00:00
BlueWall
e50aac020f
Add command to reset region's user cache
2014-12-16 12:47:02 -05:00
BlueWall
b39d697555
Adding command to reset user's email address
2014-12-16 12:20:56 -05:00
Justin Clark-Casey (justincc)
147d401b28
Remove XEngine.m_uniqueScripts
...
This provides no obvious benefit as far as I can tell but has a definite cost in keep script strings in memory for the entire simulator session.
2014-12-15 20:38:26 +00:00
Justin Clark-Casey (justincc)
2b9f0647de
Fix a regression where objects crossing regions in the same simulator (on their own or as attachments) with AppDomainLoading = false would create the new state in the source region area rather than the dest.
...
This was beause the code was finding the script DLL compiled for the source region as everything is in the same appdomain and using this as the location for the destination script state, etc.
This resolves the regression by passing the proper destination separately from the DLL retrieved.
Probably a regression since commit d7b92604
(11 July 2014).
Added regression test for this case.
At least partly addresses http://opensimulator.org/mantis/view.php?id=7278
2014-12-10 00:25:27 +00:00
Justin Clark-Casey (justincc)
227d2e2b61
Avoid a possible race condition where the XEngine script compile thread could complete but see OnRezScript() insert a new job and complete before it set m_CurrentCompile = null
...
If the above happened, it would mean the new script would not compile until some script was added for compilation.
2014-12-10 00:04:10 +00:00
Justin Clark-Casey (justincc)
76722d8324
In XEngine, enqueue a script rez to the compile queue after setting m_CompileDict to avoid a rare but not impossible race condition.
2014-12-09 23:59:19 +00:00
Justin Clark-Casey (justincc)
f3ab7c0f5c
refactor: rename IteratingUuidGather.AddAssetUuidToInspect() and RecordAssetUuids() to AddForInspection() as this properly describes what both of these methods do.
2014-12-05 00:21:42 +00:00
Justin Clark-Casey (justincc)
b0ff3236be
Make "fache assets" console command more efficient by only updating access times on each cached asset once, not for every reference.
2014-12-05 00:09:01 +00:00
Justin Clark-Casey (justincc)
9208fb5d54
refactor: Make IteratingUUIDGatherer take a dictionary in its constructor like UUIDGatherer, so we can deal with future cases where the dictionary may already be pre-populated.
2014-12-04 23:55:59 +00:00
Justin Clark-Casey (justincc)
bee3f203cd
Allow scripts in attachments on an owned NPC to call NPC functions on that NPC
2014-12-04 22:52:46 +00:00
Justin Clark-Casey (justincc)
9dbe99af0f
If "fcache assets" is executed, don't stop with an exception if there's an access violation if another thread is operating on the file at the same time.
...
Resolves one issue from http://opensimulator.org/mantis/view.php?id=7271
2014-12-04 01:53:42 +00:00
Justin Clark-Casey (justincc)
ad91143880
refactor: breakout flotasm cache last file access time to separate UpdateFileLastAccessTime() method for imminent reuse.
2014-12-04 01:51:01 +00:00
Justin Clark-Casey (justincc)
c36bfdc60f
Don't worry about checking FlotsamAssetCache.m_CurrentlyWriting when updating access time.
...
The majority of updates won't be for anything currently writing and any sharing exception from an actual clash can be caught and ignored anyway.
2014-12-04 01:46:00 +00:00
Justin Clark-Casey (justincc)
5861401faa
Remove long unused region parameters from SceneBase. Some of these weren't even being set. Region parameters come from Scene.RegionInfo instead.
2014-12-03 21:44:22 +00:00
Justin Clark-Casey (justincc)
2d2aa6e076
minor: Just have one message that displays successful registration of a region with its parameters rather than 2
2014-12-03 21:40:39 +00:00
Justin Clark-Casey (justincc)
d34ad345d5
minor: If we are recompiling scripts in response to a ScriptStopStrategy config change (a rare situation), then explicitly log this for debug purposes.
2014-12-03 21:08:43 +00:00
Justin Clark-Casey (justincc)
c3c05a8693
Reintroduce general xengine extra debugging log level. This can be controlled at runtime with the command "debug xengine log <level>", as with similar commands.
...
If log level is 1 then every script load is logged.
This means the <logger name="OpenSim.Region.ScriptEngine.XEngine"> section in OpenSim.exe.config is no longer needed to avoid log spam on regions with many scripts and can be removed.
2014-12-03 20:48:17 +00:00
Justin Clark-Casey (justincc)
805b7ccb3e
minor: improve logged error in XEngine.SetXmlState if there was a problem writing the linemap.
...
The previous error report of already exists is inaccurate since existing files do get overwritten.
2014-12-03 20:35:49 +00:00
Justin Clark-Casey (justincc)
72d1d96c5c
Always close script linemap file after reading and always dispose of other streams in the script engine even if exceptions are thrown.
2014-12-03 20:31:09 +00:00
Robert Adams
3642198838
BulletSim: move detail log of InternalScheduleRebuild to reduce log file spam
2014-11-30 19:53:00 -08:00
Robert Adams
63d192f011
BulletSim: Remove linkset 'Incomplete' flag as its meaning couldn't be made clear. Add 'InternalScheduleRebuild() CHange rebuild code to call InternalScheduleRebuild() rather than ForceRebuild() to limit the scope of the changes made by the linkset.
2014-11-30 19:53:00 -08:00
Robert Adams
41a943bfd0
BulletSim: add BSLinkset.AllPartsComplete that checks of all linkset members are not Incomplete and not waiting for assets. Change BSPrimLinkable to use AllPartsComplete.
2014-11-30 19:52:59 -08:00
Robert Adams
eef954a214
BulletSim: Make BSPrimLinkable 'incomplete' if any of its children are waiting for assets to load.
2014-11-30 19:52:59 -08:00
Robert Adams
cf85ade81e
BulletSim: add shape and linkset rebuild scheduled flags. Add BSPrim.Incomplete flag based on rebuild flags to say when an object is being rebuilt.
2014-11-30 19:52:58 -08:00
Justin Clark-Casey (justincc)
432f0e8783
Correct 690fe0c
to actually log the exception reported in DoOnRezScriptQueue()(and now the scene name).
2014-11-29 15:04:16 +00:00
Justin Clark-Casey (justincc)
690fe0c5e5
If there are any exceptions in XEngine.DoOnRezScriptQueue() then log the error and always set m_CurrentCompile = null
...
Setting m_CurrentCompile = null in the finally block reduces the risk that an exception could permanently stop any future scripts compiling until the simulator is restarted.
If an exception is seen from this then please report and further changes to fix the bug or improve compiling reliability can be made.
2014-11-29 01:42:52 +00:00
Justin Clark-Casey (justincc)
55e064baf7
Remove minor race condition where two threads could race on fields such as m_ScriptFailCount as set in XEngine.DoOnRezScriptQueue()
2014-11-29 01:33:14 +00:00
Justin Clark-Casey (justincc)
79e37e5ecc
Restore zero'ing RawVelocity in BSCharacter.ZeroMotion() in favour of not calling ZeroMotion in SetPhysicalProperties() at all
...
SetPhysicalProperties is only called when adding a new character so it looks like there is no existing data to reset anyway.
2014-11-29 01:13:48 +00:00
Justin Clark-Casey (justincc)
dfab60a7fd
minor: Remove a few indenting problems introduced to recent 265fe349
and convert the m_log.DebugFormat() call back to the original DetailLog call
2014-11-29 00:53:13 +00:00
Justin Clark-Casey (justincc)
dcc36507f3
Halve the prediction lag for region crossing to improve most flying region crossings without degrading the walk cross experience (neither of which have been that great anyway).
2014-11-29 00:48:26 +00:00
Justin Clark-Casey (justincc)
39eab72d7c
When performing region cross, don't add the velocity to the new position in ETM.CrossAgentIntoNewRegionMain() since this has already been performed by SP.CheckForBorderCrossing()
2014-11-29 00:16:23 +00:00
Justin Clark-Casey (justincc)
265fe349e0
Somewhat improve avatar region crossings by properly preserving velocity when avatar enters the new region.
...
This commit addresses the following issues were causing velocity to be set to 0 on the new region, disrupting flight in particular
* Full avatar updates contained no velocity information, which does appear to have some effect in testing.
* BulletSim was always setting the velocity to 0 for the new BSCharacter. Now, physics engines take a velocity parameter when setting up characters so we can avoid this.
This patch applies to both Bullet and ODE.
2014-11-29 00:12:11 +00:00
Justin Clark-Casey (justincc)
09534f378e
Avoid repeated lag-generating continuous attempts to retrieve HG service Urls in UMM if the initial request fails, possibly due to the home URL not being present
...
Instead, the failure information is effectively added to the memory cache (so no persistence over simualtor sessions).
A future improvement may be to invalidate negative cache results after some time has passed in case the failure was transient.
Looks to resolve http://opensimulator.org/mantis/view.php?id=7382
2014-11-28 01:16:30 +00:00
Justin Clark-Casey (justincc)
d9f7aa41c1
Remove unmaintained MSSQL support.
...
This has not been maintained for more than 2 years, is unimplemented for newer features (e.g. built-in groups) and has no core developers using it.
If somebody fixes these issues then it could be reinstated.
2014-11-28 00:27:13 +00:00
Justin Clark-Casey (justincc)
73234e2098
Stop writing SizeZ config parameter for now when creating regions from console as it is unused/ignored, at least in core.
2014-11-28 00:04:10 +00:00
UbitUmarov
3b6191de7f
Merge branch 'master' into ubitworkmaster
2014-11-28 00:00:16 +00:00
UbitUmarov
e8d67af3e1
change/fix rez position and rotation on llRezObject and llRezAtRoot
2014-11-27 23:32:24 +00:00
Justin Clark-Casey (justincc)
ee9fae23ff
Be more explicit again in UMM bad HomeURL message by logging the original creator data
2014-11-27 00:32:04 +00:00
Justin Clark-Casey (justincc)
8a27fc5d61
Make UMM.AddUser(UUID, string) log message when bad creatorData is given to reflect its location (UMM not Scene) and add the user name and ID.
2014-11-27 00:24:17 +00:00
BlueWall
62b778ca4d
Merge branch 'master' of /team/src/opensim
2014-11-25 19:27:28 -05:00
BlueWall
a76aec8467
Fix whitespace hoping to avoid a flogging
2014-11-25 19:27:15 -05:00
Justin Clark-Casey (justincc)
86367d7219
refactor: Move methods to start a monitored thread, start work in its own thread and run work in the jobengine from Watchdog to a WorkManager class.
...
This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management.
Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget.
Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-11-25 23:56:32 +00:00
Justin Clark-Casey (justincc)
20cede12a9
Fix ghosts copy of SimulatorFeatureModule to enable logging.
2014-11-25 23:28:38 +00:00
Justin Clark-Casey (justincc)
66b1c37973
Fix bug in HG attachment throttling code where attachments were never rezzed on any teleport within a foreign grid after the first.
...
Bug was introduced in ghosts branch commit 69abade
2014-11-25 23:23:12 +00:00
Justin Clark-Casey (justincc)
4b45a1b6ad
Change jobengine logging command to "debug jobengine log <int>" rather than loglevel, in common with similar commands.
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
b1fd0d35e5
Make small adjustment to JobEngine default from previous commit to enable it when [Startup] section is not present (though this is extremely unlikely).
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
59b38f842a
Add [Startup] JobEngineEnabled setting that allows the job engine to be disabled for testing purposes if necessary.
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
28d1dbfee4
Move conditionals which control whether a task is placed in the JobEngine inside Watchdog.RunJob() (renamed from RunWhenPossible) and generalize them.
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
124be38f74
Add [BulletSim] option AvatarToAvatarCollisionsByDefault to control whether avatars collide. This is true by default.
...
This is implemented with a new collision type (PhantomToOthersAvatar) to potentially allow colliding and non-colliding avatars to be present in the same scene.
So there is no provision yet for giving avatars different collision types.
This commit replaces the temporary change in commit f3eaa6d8
where avatars would never collide when using BulletSim
This is equivalent to the av_av_collisions_off option in ODE.
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
3a296a817b
Fix compile error from previous 1d56029848
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
550cf714bc
Fix issue where llRemoteLoadScriptPin() would treat 0 (the default) as a valid set pin in a destination prim rather than the unset no pin state
...
Adds regression test for this case.
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
aeae34505f
When processing incoming attachments via HG, if a request for uuid gathering or final asset import takes too long remove remaining requests from same user to prevent hold up of other user's incoming attachments.
...
This improves upon the earlier naive simply queueing immplementation.
Threshold is 30 seconds. If this happens to a user they can relog and fetch will be reattempted.
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
06a5d6e9ef
Introduce an IteratingUuidGatherer where each fetch from the asset service (iteration) can be controlled by the caller.
...
This is to enable an imminent change where incoming HG scene object fetching can assess the time taken by each request rather than being forced to perform all requests in one call.
Soon, this will replace the existing UuidGatherer since it is both simpler and more flexible.
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
d6c9705a3b
Add incoming packet async handling engine to queue some inbound udp async requests.
...
This is to reduce the potential for overload of the threadpool if there are many simultaneous requets in high concurrency situations.
Currently only applied to AvatarProperties and GenericMessage requests.
2014-11-25 23:23:11 +00:00
Justin Clark-Casey (justincc)
1c5c6af274
Add missing class from recent commit 69abade
2014-11-25 23:23:10 +00:00
Justin Clark-Casey (justincc)
f54c70741b
Add "show threadpool calls active" console debug command.
...
This shows named threadpool calls (excluding timer and network calls) that are currently queued or running.
Also shows total of labelled and any anonymous calls.
2014-11-25 23:23:10 +00:00
Justin Clark-Casey (justincc)
1d19e1bbd0
Add naive implementation of controlled incoming HG attachments to manage load.
...
Instead of processing all incoming attachment scene object concurrently, process them consecutively to eliminate potential overload from this source.
This is a naive implementation because it does not currently account for slow foreign asset services.
Although it may take longer, this approach may also improve attachment visibility for HG avatars
since the scene object is now always added to the scene after receiving assets from the foreign service and not before.
2014-11-25 23:23:10 +00:00
Justin Clark-Casey (justincc)
ec8d21c434
Label all threadpool calls being made in core OpenSimulator. This is to add problem diagnosis.
...
"show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25 23:23:10 +00:00
Justin Clark-Casey (justincc)
72cb1cc7d6
Add "show threadpool calls" command to show count of all labelled smartthreadpool calls
2014-11-25 23:23:10 +00:00
Justin Clark-Casey (justincc)
8c9f82b035
Just for now, don't alert the user or log if we couldn't change their server-side preferences due to no e-mail address being sent.
...
This is to avoid user confusion in the oscc rehearsal as they are often not aware that this fails because no e-mail is set.
Also may be failing in the hypergrid case, though this may also be a config issue.
This is meant as a temporary solution.
2014-11-25 23:23:10 +00:00
Justin Clark-Casey (justincc)
5d5ea9234f
Stop Mono 3.2.8 from binding a UDP socket to a port already in use.
...
At least on Mono 3.2.8 (but not under Windows), one can bind multiple UDP sockets to the same port by default.
Different simulators cannot demultiplex each other's messages, so a set of confusing non-obvious errors arise if this occurs.
This change prevents such multiple binding.
2014-11-25 23:23:09 +00:00
Justin Clark-Casey (justincc)
b53be022f2
On pCampbot, if we add the none (n) behaviour then make it actually stop any bots in motion.
...
Previously, adding this behaviour after physics (p) would leave the bot to drift off for ever in its last movement direction.
2014-11-25 23:23:09 +00:00
Justin Clark-Casey (justincc)
3a1ce2715a
Add "wearables check" console command
...
This checks that all the wearable assets and any assets for a given logged in avatar exist in the asset service
2014-11-25 23:23:09 +00:00
Justin Clark-Casey (justincc)
9b09dd3575
Add "wearables show" console command.
...
This shows summary wearables information (shape, hair, etc.) for all avatars in the scene or specific information about a given avatar's wearables.
Similar to the existing "attachments show" command.
2014-11-25 23:23:09 +00:00
Justin Clark-Casey (justincc)
5ab5d7fe47
Fix recent regression where adaptive throttles stopped adjusting.
...
Extends regression tests to test response of adaptive throttles to ack'ed and expired packets.
2014-11-25 23:22:20 +00:00
Justin Clark-Casey (justincc)
b2e377f168
Fix setting of max scene throttle so that setting it restricts the child client throttles properly.
...
In "show throttles", also renames 'total' column to 'actual' to reflect that it is not necessarily the throttles requested for/by the client.
Also fills out 'target' in non-adapative mode to the actual throttle requested for/by the client.
2014-11-25 23:22:20 +00:00
Justin Clark-Casey (justincc)
b114f5626e
Add request drip rate to assertions for token bucket regression tests
2014-11-25 23:22:20 +00:00
Justin Clark-Casey (justincc)
8a949f0ee1
Add regression tests for token buckets on their own
2014-11-25 23:22:20 +00:00
Justin Clark-Casey (justincc)
ec3b43d28d
Make regression throttle tests consistently test target and max throttle settings.
...
As part of this also refactors code to put all throttle asserts in a single regression test method
2014-11-25 23:22:20 +00:00
Justin Clark-Casey (justincc)
548abb3b47
minor: In "show client stats" command, properly handle the case where a client has made no AgentUpdate requests (as is the case with agents that have only even been child) rather than throwing an exception
2014-11-25 23:22:20 +00:00
Justin Clark-Casey (justincc)
a9dde81753
minor: Correct letter accidentally added to copyright notice on top of Scene.cs (almost five years ago!)
2014-11-25 23:22:20 +00:00
Justin Clark-Casey (justincc)
b7ef6009a7
In Scene.AddNewAgent(), avoid a situation where an exception can result in a client being added to the manager without IClientAPI.SceneAgent being set.
...
This is done by adjusting the order of code so that SceneAgent will always be set before adding the client.
Various parts of the code (rightly) assume that a a client registered to the manager will always have a SceneAgent set no matter what.
2014-11-25 23:22:20 +00:00
Justin Clark-Casey (justincc)
e6af551007
For now, send all non-full terse updates for ones own avatar directly to the LLUDP client stack rather than queueing internally within LLClientView.
...
When an HG avatar enters a scene, it delays processing of entity updates. Could be crowding out by other updates or something else.
This delay in ones own av mvmt updates results in mvmt lag experienced on the client. Avoiding the internal LLClientView for these packets appears to resolve this issue.
Appears most noticeably for avatars with attachments, though has also been seen on those without sometimes. Hasn't been observed for non-HG avatars in general.
Will be investigating exactly what the problem is, at which point there will be a more permanent solution.
2014-11-25 23:22:20 +00:00
Justin Clark-Casey (justincc)
10095c1a58
Add "debug lludp throttles get/set request" and get current
...
This allows one to set the requested throttle (which normally comes from the client) as opposed to the max.
2014-11-25 23:22:19 +00:00
Justin Clark-Casey (justincc)
61d6bd78b3
Change the word order of some debug lludp settings for readability
...
On server, scene-throttle-max becomes max-scene-throttle and likewise max-new-client-throttle
On clients, throttle-max becomes max
2014-11-25 23:22:19 +00:00
Justin Clark-Casey (justincc)
44dc58cc7f
Add "debug lludp get/set new-client-throttle-max" to allow default new client throttle to be set separately from existing clients.
...
"debug lludp throttles get/set throttle-max" now only gets and sets current max client throttles
2014-11-25 23:22:19 +00:00
Justin Clark-Casey (justincc)
68d0c4d37b
Add "debug lludp get" command which currently just shows scene-throttle-max to mirror "debug lludp set"
...
Information is also available in "show server throttles" but that's more for non-debug info rather than attempting to get and set parameters on the fly for debug purposes.
2014-11-25 23:22:19 +00:00
Justin Clark-Casey (justincc)
336790e7b4
Add some more llGiveInventory() regression tests
2014-11-25 23:22:19 +00:00
Justin Clark-Casey (justincc)
1eb3e6cc43
When inserting missing CreatorData in the HGAssetMapper, do the rewrite on a streaming xml basis rather than loading it all into memory via XmlDocument.
...
This is because objects with lots of parts can have a lot of xml to load into memory, and this has been seen to have a noticeable performance impact.
Whereas streaming has been seen to reduce the impact in normal serialization.
Implmentation is messy but I couldn't see a better way of doing it when you can't assume that you know the exact structure of the input XML.
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
f7ab3e20bc
Add regression test TestPostAssetRewrite() to check results of HGAssetMapper.Post() object asset rewriting,
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
6c043dd6ff
If an exception makes it to the top of a JobEngine request, catch and log instead of letting it terminate the simulator...
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
16a5e15443
Allow GetMesh capability to be served directly by a server like GetTexture
...
To do this required GetMesh to be converted to a BaseStreamHandler
Unlike GetTexture connector, no redirect URL functionality yet (this wasn't present in the first place).
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
281969093f
Start JobEngine by default in simulator for now.
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
1c9529aa9e
If JobEngine is active, then use it to copy/rez attachments for an avatar entering the scene that isn't initially logging on. This will execute tasks consecutively rather than concurrently.
...
This has two aims
1) Reduce initial teleport failures when a foreign Hypergrid user enters a region by not holding up the teleport for attachment rez (this can be particularly costly when HG gets all assets in the object graph.
2) Reduce server load that may impact other simulator activities.
This complements existing JobEngine options that perform initial login attachment rez and appearance send in consecutive tasks.
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
90f9cea07b
minor: be consistent about reporting errors out of HttpServerBase
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
f4424bdfcf
If the port entry in [Network] for a server is missing, then actually tell the user that's the problem rather than simply exiting silently.
...
Also exit with Environment.Exit(), not by aborting the thread.
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
8ddcd16c69
Add an IConfigSource constructor to HGAssetBroker so that it can be instantiated directly for potentially handling some capabilities directly in services with HG active
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
d33964222a
Fix an issue where specifying both max client and server outgoing UDP throttles would cause client throttles to be lower than expected when total requests exceeded the scene limit.
...
This was because specifying a max client throttle would always request the max from the parent server throttle, no matter the actual total requests on the client throttle.
This would lead to a lower server multiplier than expected.
This change also adds a 'target' column to the "show throttles" output that shows the target rate (as set by client) if adaptive throttles is active.
This commit also re-adds the functionality lost in recent 5c1a1458
to set a max client throttle when adaptive is active.
This commit also adds TestClientThrottlePerClientAndRegionLimited and TestClientThrottleAdaptiveNoLimit regression tests
2014-11-25 23:21:38 +00:00
Justin Clark-Casey (justincc)
ead32de790
Use automatic properties for Parent and TotalDripRequest in TokenBucket to make code analysis easier. No functional change.
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
40314b56f2
Remove the unnecessary intermediate total token bucket.
...
This only had one child, which is the 'adaptive' token bucket.
So from testing and currently analysis, we can use that bucket directly which simplifies the code.
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
93f3444de1
minor: remove warnings from unused fields in LocalGridServicesConnector
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
dacd0ecfee
minor: Remove unused field from EntityTransferModule
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
a98b514184
minor: remove compiler warning from unused field in SimulatorFeaturesModule
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
0d77796584
minor: resolve warnings from unused fields in XBakesGet and Post handlers
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
d5ead532cb
Remove compiler warning from UserProfilesHandlers
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
07a7f941e5
minor: remove warning in BasicHttpAuthentication by commenting out unused remove_me parameter (which looks like it might still be potentially useful for logging)
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
df031fe8be
extend TestClientThrottleRegionLimited for 2 clients after testing 1. Renames to TestSingleClientThrottleRegionLimited()
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
dce98acb69
Add regression test TestClientThrottleRegionLimited() for testing simple behaviour of throttles where a region-wide total outbound limit is in place.
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
075f718f3f
factor out common throttle setting byte[] array construction in ThrottleTests.
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
9cdd38d0cf
Add regression test TestClientThrottleLimited() for throttle behaviour when a max client total limit is enforced server-side
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
fc878a33ed
refactor: consistently put all test classes in the OpenSim.Tests.Common package rather than some in OpenSim.Tests.Common.Mock
...
the separate mock package was not useful and was just another using line to always add
2014-11-25 23:21:37 +00:00
Justin Clark-Casey (justincc)
af0a851eba
minor: disable logging in regression test TestClientThrottleSetNoLimit
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
9934e2c545
minor: comment out unused method in regression BasicCircuitTests
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
746defa094
Add basic regression test ThrottleTests.TestClientThrottleSetNoLimit
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
52370ac94d
refactor: Move test clientstack setup code out of BasicCircuitTests into OpenSim.Tests.Common.ClientStackHelpers
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
87d5da86a1
Fix recent regression in "debug lludp throttles get" command that stopped it printing any information. Also fix max throttle displayed to be properly kbps
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
a13022c296
minor: in "show server throttles", display unset if new client throttle value is not set rather than 0
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
44e0a2f906
Add throttle-max option to "debug lludp throttles set" to allow runtime setting of default and existing client throttles.
...
Doesn't yet adjust until clients submit new throttle settings.
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
5c13980eb7
Change "debug lludp throttle *" commands to "debug lludp throttles" for consistency (and because I keep typing throttles).
...
This will still work with "debug lludp throttle" anyway.
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
d20aeefef2
Fix console set and get of max scene rate. Was performing wrong calculation - throttle buckets are set in bytes, not bits
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
10d09e287c
Eliminate 'max' throttle setting from server throttles report since this never applies.
2014-11-25 23:18:40 +00:00
Justin Clark-Casey (justincc)
679eaec22f
Allow "debug lludp throttle *" commands to work without a user name, in which case they apply to all users in the lludp server
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
a142edec03
minor: add apparant total to logging when client sets throttles
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
c73e62ea3a
minor: fix bug in throttle logging where arguments were mismatched
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
1d33a40f59
Add "debug lludp set scene-throttle-max <value>" console command to allow us to potentially set the scene max throttle on the fly.
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
a5eabdade3
Move information about "server agent rate" throttles into "show server throttles" command rather than "show throttles"
...
THis allows us to see the rates when no client is connected to the region.
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
c8f5add2fc
Add "show server throttles" command for showing server specific information about throttles
...
This is separate from the user-oriented "show throttles" command since one will often only want to know about varying client throttle settings.
Currently displays max scene throttle and adaptive throttles config if set.
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
bb5e2e1f02
refactor: Use simpler auto-implemented property for HttpPort in GridRegion
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
13e2af7525
minor: Remove compiler warning from GridRegion in IGridService
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
968b588bb9
minor: remove compiler warning from OpenProfileClient
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
51eb8facd6
Add OutgoingPacketsQueuedCount clientstack stat.
...
This is the total of queued outgoing packets across all connections, as also seen in the "show queues" command.
Gives some early indication of whether the simulator can't send all outgoing packets fast enough.
Though then one would want to check that this isn't due to a few bad client connections.
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
4c5fbf8b0a
minor: Remove compiler warnings from unused fields in TokenBucket
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
12daa3c3d9
refactor: Move LLUDPServer console commands into their own class.
2014-11-25 23:18:39 +00:00
Justin Clark-Casey (justincc)
f0fd2fa325
refactor: rename "debug lludp throttle status" to "debug lludp throttle get" to match set command
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
e144958e03
Add "debug lludp throttle set" command to allow setting of parameters at runtime
...
Can currently only set adaptive true|false, where adaptive = false
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
b9b483151f
Eliminate a few unnecessary calculations in the maintenance loop.
...
Also uses wait event instead of sleep for periodicity control.
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
7d30bb13be
Fix recent minor regression where the default frame time wasn't being set if there was no startup config section.
...
Caused some regression tests to fail.
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
8d72145112
If Bullet is running on its own thread, use a reset event to control timing rather than a sleep.
...
In theory, there should be no difference between these mechanisms.
However, on at least Mono 3.2.8 waiting via an event appears to be much more accurate.
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
7bababaab6
Improve frame time stability by taking a few unnecessary repeated calculations out of the main scene loop.
...
Also uses a wait event to sleep rather than a Thread.Sleep to allow the loop to be interrupted in a more controlled manner when necessary.
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
23561239ee
Make BulletSim thread be ThreadPriority.Highest if running
...
Will only effect Windows or mono with a patch such as https://gist.github.com/justincc/31e52218d098529b4696 applied
For test purposes
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
cfc4055991
Make outboudn and packet inbox handling threads highest priority.
...
Will only have any affect under Windows or mono with a patch such as https://gist.github.com/justincc/31e52218d098529b4696 (not recommended) applied.
For assessment purposes.
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
5b6fb7245a
Set ThreadPriority on main scene thread to highest.
...
This will only have an effect on Windows systems or mono with the (not recommended) mono-3.2.8 debug patch https://gist.github.com/justincc/31e52218d098529b4696 applied
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
d3ed5de77d
Add loglevel to jobengine that can be controlled via "debug jobengine loglevel <level>".
...
Defaults to 0
Level 1 currently does verbose logging about every queued and processed job.
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
9fb3065d33
Temporarily add root agent rez attachments work to job engine if it is running rather than as a fire and forget.
...
Experiment to see if serializing attachment rez and send initial data jobs improves other parts of sim performance.
2014-11-25 23:18:38 +00:00
Justin Clark-Casey (justincc)
859b1c5ba4
Add experimental job engine to see if queueing some existing async work during root agent entry to a region improves perf rather than always attempting to execute everything concurrently
...
Job engine is controlled via "debug jobengine start|stop|status".
Can only currently be enabled and disabled dynamically at runtime.
Currently only applies to code sending initial region data (objects, other avatar data) to a client.
2014-11-25 23:18:37 +00:00
Justin Clark-Casey (justincc)
c5a0f0ba36
Temporary hack to disable av to av collisions in bulletsim.
...
Need to do this for a test. Final implementation will be properly controlled through a property.
2014-11-25 23:18:37 +00:00
BlueWall
41cc73233c
Re-work handling of email notifications settings.
2014-11-24 11:00:47 -05:00
BlueWall
12108bf6e9
Fix handling of user preference updates where no email address is supplied
2014-11-23 14:25:48 -05:00
Diva Canto
7813780eba
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2014-11-22 20:14:31 -08:00
Diva Canto
0997ce8629
Small improvements to SimulatorFeaturesModule: (1) don't overwrite extras if the grid response is invalid; (2) make the name of the config variable for destination guide consistent with the grid-wide name in LoginService; (3) account for the existence of a [USERID] in the destination guide URL
2014-11-22 20:14:09 -08:00
Justin Clark-Casey (justincc)
5bc389ff71
When logging reigon information returned by GateKeeperService.GetHyperlinkRegion, log the return server URL returned.
...
This helps diagnoses misconfiguration where, for instance, a LAN ExternalHostName has been configured that isn't reachable externally.
2014-11-21 20:40:59 +00:00
Diva Canto
8d3cb424a8
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2014-11-21 08:54:30 -08:00
Diva Canto
27512f3b42
Cleanup extraneous comments from viewer support modules
2014-11-21 08:54:10 -08:00
Melanie Thielker
6a849e8cdf
Add an XmlRpc method to get a region's root agent count. This is intended
...
to let us restart grid regions when the last agent leaves.
2014-11-21 04:42:27 +01:00
Melanie Thielker
3a94e20d70
Merge branch 'ubitworkmaster'
2014-11-21 04:10:38 +01:00
Melanie Thielker
80118ac057
Remove braindead "fix" that messed up intersim scripted giving.
2014-11-21 04:00:52 +01:00
Cinder
cfaf904a3b
LSL key should be implicitly cast to a boolean value
...
Signed-off-by: James Hughes <jamesh@ascent.bluewallgroup.com>
2014-11-20 11:32:46 -06:00
AliciaRaven
c155656349
Minor: Include missing EventHost power for group owner role.
2014-11-19 20:25:27 +00:00
Justin Clark-Casey
3247a7cb3e
refactor: capitalize SOP.moveToTarget() and stopMoveToTarget() in accordance with code guidelines and the rest of the methods.
2014-11-19 20:12:28 +00:00
UbitUmarov
6bebb9206c
fix stopMoveToTarget in attachments case ( similar to core fix)
2014-11-19 20:11:16 +00:00
Justin Clark-Casey
7a2c77e7ea
If calling llStopMoveToTarget() on an in-world prim, don't send an unnecessary object update if the prim was not moving to target.
...
This involves making PhysicsActor.PIDActive get as well as set.
On physics components that don't implement this (all characters and some phys engines) we return false.
2014-11-19 20:06:56 +00:00
Justin Clark-Casey
bdebd525db
Remove SOP.StopMoveToTarget scheduled update which is now being done in SOG.stopMoveToTarget() as of last commit 67e568
2014-11-19 19:16:03 +00:00
Justin Clark-Casey
67e56872f3
If llStopMoveToTarget() is called on an attachment, then stop the avatar if it was moving to target.
...
Same behaviour as on Linden Lab grid.
Will probably also address http://opensimulator.org/mantis/view.php?id=7369 by not generating spurious object updates when llStopMoveToTarget() is called in attachments where the avatar is not moving.
2014-11-19 19:08:33 +00:00
AliciaRaven
b9f870fa73
Minor: Update LLLoginService to handle explicitly set login locations that include decimal precision. Fractions might be introduced if setting the initial login location from a viewer splash screen with data from the DataSnapshot service. At present the fractions cause regex to fail when matching the login string causing an exception.
2014-11-19 18:44:45 +00:00
UbitUmarov
bb5ab05482
fix rez position being for root or center for a single object case
2014-11-19 18:20:30 +00:00
Dev Random
d3b43a96fb
Add 'terrain feature' command
2014-11-19 18:18:18 +00:00
UbitUmarov
7bcb68d7c4
some steps to rez center or root of prim inventory object at requested
...
position ( does nothing diferent still )
2014-11-19 16:59:11 +00:00
UbitUmarov
b4a91f5dde
return bbox and offsetHeight to RezObject
2014-11-19 16:43:56 +00:00
UbitUmarov
07074d068b
dont do recoil on llRezObject called from attachments, as seem to happen
...
at sl
2014-11-18 10:37:46 +00:00
Diva Canto
6a8353af36
Improved SpecialUIModule so that it sends the floater data properly.
2014-11-16 10:27:10 -08:00
UbitUmarov
140c0b3bb8
n llPushObject if pushed object is a avatar use its rotation, not pusher
...
rotation
2014-11-14 06:28:48 +00:00
Diva Canto
1a02e5d2db
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2014-11-11 20:42:42 -08:00
Diva Canto
32293cfd6b
Fix the fetching of module references in the viewer support modules.
...
Remove the detachment of attachments in camera-only, because it doesn't work for HG people, and it's too drastic of a move.
2014-11-11 20:42:13 -08:00
Justin Clark-Casey
5aa8ba1b45
Fix issue where llRemoteLoadScriptPin() would treat 0 (the default) as a valid set pin in a destination prim rather than the unset no pin state
...
Adds regression test for this case.
2014-11-11 17:59:56 +00:00
Melanie Thielker
bec456c2a5
Remove the Invisible stuff and add more baked caching. Refactor selection of textures to save to Bakes module.
2014-11-11 07:09:30 +01:00
Diva Canto
89cb07eb49
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2014-11-10 21:18:33 -08:00
Diva Canto
5e34727b7e
Add additional viewer support modules that allow certain viewers to modify their UI on the fly.
2014-11-10 19:03:06 -08:00
Justin Clark-Casey
4123b0fdbd
minor: correct console response when setting attachments logging level
2014-11-10 23:48:59 +00:00
Melanie Thielker
64deb6ae6f
Second part of invisible base avatar option
2014-11-10 19:49:58 +01:00
Melanie Thielker
785a2cc729
Remove JustinCCs UDP patch - it is harmful to Avination's grid management
2014-11-10 04:48:36 +01:00
Melanie Thielker
36ecad98a1
Only send the actual bakes to the bakes module
2014-11-10 04:48:19 +01:00
Melanie Thielker
46424a4a77
Add a new baked texure module methid to support baked texturing mesh avatars
2014-11-10 04:47:37 +01:00
Melanie Thielker
6d2e924f24
Call the bake module each time we see a new attachment to see if the attachment
...
needs textures
2014-11-10 04:46:51 +01:00
UbitUmarov
c5dcc0d8c1
try to preserve permitions on object returns
2014-11-08 02:02:45 +00:00
UbitUmarov
fdb0598446
remove duplicated lines
2014-11-08 00:25:44 +00:00
Diva Canto
f1fc557715
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2014-11-06 17:49:36 -08:00
Diva Canto
ac051ef4ab
Added grid information to SimFeatures response, so that the viewer can show it.
2014-11-06 17:49:04 -08:00
UbitUmarov
caddabb5c4
scale ChildAgentThrottles with distance (internal to child server and not
...
root as was done before )
2014-11-06 22:25:16 +00:00
UbitUmarov
ead78764ab
allow drawdistance to change between 32 and MaxDrawDistance, configurable
...
value default to 256, so should have no effect. Next steps needed: reduce
client udp Throttles with distance, update childreen connections with
significat movement and view range changes, Make disconnect be delayed in time, make disconnects be receiving region action not sender on region changes. Allow distance less than 256 to only connect to visible regions, even none. Make this be relative to camera and not agent position or region centers as it is now.
2014-11-06 19:03:25 +00:00
UbitUmarov
b5e43a4b90
BUG fix : fix a very silly bug uint in place of ulong :(
2014-11-03 21:04:21 +00:00
UbitUmarov
a6ffcbb7f9
always write physicsShapeType on sop serialization since default value
...
can't be guessed in some cases
2014-11-03 00:56:48 +00:00
UbitUmarov
37a5eab0f5
BUG FIX prevent references to null scene (as happens on mesh uploads)
2014-11-03 00:03:53 +00:00
UbitUmarov
377a8072dc
remove last debug msg
2014-11-01 16:04:22 +00:00
UbitUmarov
f2ea426453
debug msg
2014-11-01 15:52:05 +00:00
UbitUmarov
f6ae8534be
only close child agents on sucess of V1 tp not at start
2014-11-01 15:38:14 +00:00
UbitUmarov
5cca6e7d16
don't send updates for deleted agents
2014-11-01 00:01:11 +00:00
UbitUmarov
ba8e1efb43
sadly revert to resend terseUpdates enqueuing them back into entityupdates
...
queue. Viewers fail to handle correctly out of order updates with ugly visible
effects. Make sure these packets don't include acks so they aren't lost.
2014-10-31 23:34:43 +00:00
Justin Clark-Casey (justincc)
f084320976
Actually persist a changed console set agent-limit via "region set".
...
Unfortunately, it's not currently easy to do this with "max-agent-limit"
- this must be separately set as MaxAgents in region config if it's to persist over restarts.
2014-10-31 22:36:08 +00:00
Justin Clark-Casey (justincc)
a05be7bd65
Add "region set" console command.
...
This current allows one to set two region parameters
agent-limit <int> will set the current root agent limit for the region, as also settable through the viewer, though some impose a max setting (e.g. 100).
max-agent-limit <int> will set the maximum allowed root agent limit. This can also be set via the MaxAgent parameter in region config.
2014-10-31 21:47:12 +00:00
Justin Clark-Casey (justincc)
23fb4f2221
Add "region get" command as a synononym for "show region" console command.
...
This matches existing similar commands and a soon to be added "region set" command.
2014-10-31 21:47:07 +00:00
Kevin Cozens
466657375a
Revert my commit that fixed unexpected behaviour re: parcel prim limits.
...
Others think different about how limits work so another solution is needed.
This reverts commit ff62b90636
.
2014-10-30 18:05:16 -04:00
UbitUmarov
54ab9e7d4d
set udp SocketOptionName.ReuseAddress to false, to not allow two regions
...
to bind to same port, as seems to be possible at least with mono 3.2.8,
same as patch just pushed to core by justin. This is not necessary on
windows, possible a bug on some mono versions.
2014-10-30 21:57:20 +00:00
Kevin Cozens
ff62b90636
Use parcel prim limit (not region limit) when checking if area is full.
2014-10-30 11:21:27 -04:00
Melanie Thielker
30f3de549a
Merge branch 'avination-current'
2014-10-30 01:32:36 +01:00
Melanie Thielker
27b70c3fce
Fix a potential nullref in Vivox
2014-10-30 01:29:22 +01:00
Melanie Thielker
3afd64f2f7
Fix a script load issue
2014-10-30 01:29:03 +01:00
UbitUmarov
d0dfa721f2
change last commit, need to send to Xbakes or changes will not be detected
2014-10-29 06:56:54 +00:00
UbitUmarov
7723b1bcd3
bug fix and don't send to xbakes if requesting rebakes
2014-10-29 06:55:04 +00:00
UbitUmarov
afa2466951
Fix baked textures for regions without external Xbakes adding rebake
...
requests. Those may also be trigger if for same reason one is missing even
with Xbakes. Later we can let this regions send the assets on teleports,
changing how those are serialized
2014-10-29 06:35:23 +00:00
UbitUmarov
e4d84d8ff6
try to make a avatar usesable if its siting part didn't cross, or crossed
...
back. This situation points to that sitted avatars should be sent in same
http connection that crosses the object
2014-10-28 13:52:00 +00:00
BlueWall
b463870914
Add hypergrid teleporting support to user profiles picks
2014-10-27 17:27:42 -04:00
UbitUmarov
f39962430c
fix parcel proprieties update sending
2014-10-26 20:43:35 +00:00
UbitUmarov
c46c3a27ae
do consider skirt baked texture on validation
2014-10-26 18:53:11 +00:00
UbitUmarov
932b52f1bf
missing file
2014-10-26 18:22:46 +00:00
UbitUmarov
736490dcb6
dont send baked textures assets, but send cache information
2014-10-26 18:13:44 +00:00
UbitUmarov
bc4d0179b3
remove debug message
2014-10-26 12:38:22 +00:00
UbitUmarov
b07ea475bf
delete keyframes on temporary backup group
2014-10-26 12:30:11 +00:00
UbitUmarov
525322efa2
bug fix
2014-10-26 12:24:12 +00:00
UbitUmarov
b43ce909aa
Debug... ( restored TriggerOnSceneObjectPreSave)
2014-10-26 11:28:24 +00:00
UbitUmarov
cfc8de096b
remove lock that did nothing, DEBUG disable TriggerOnSceneObjectPreSave
2014-10-26 10:48:53 +00:00
UbitUmarov
6600282fe9
another try to prevent double crossing
2014-10-26 10:08:13 +00:00
UbitUmarov
e59a9a54f1
bug fix
2014-10-26 10:05:48 +00:00
UbitUmarov
139044fc79
keep intransit flag even if deleted, dont set sog position if in transit
2014-10-26 01:25:28 +00:00
UbitUmarov
639f128d2c
some cleanup, localID coerence fix..
2014-10-26 01:27:43 +01:00
UbitUmarov
d9d58a7b33
some code reorder/minor changes
2014-10-25 23:00:41 +01:00
UbitUmarov
16608ffb01
don't backup in transit SOGs
2014-10-24 21:51:38 +01:00
UbitUmarov
4cbc13b52f
don't send pack baked texture assets into updates.
2014-10-24 19:50:51 +01:00
UbitUmarov
21242205d1
add more temporary fixes for regionSize zero
2014-10-24 18:44:08 +01:00
UbitUmarov
d2b049b7ad
check new region size on added code for varsize till its fully suported
2014-10-24 18:32:24 +01:00
UbitUmarov
4571e5bc3e
try to make SOG crossings full async. Simplify some borders checking....
2014-10-24 18:10:28 +01:00
UbitUmarov
fd79f75ba6
TEST**** wingridproxy detection at grid login. Untested possible not
...
very reliable. Adds some load even on region servers because of code at
BaseHttpServer.
2014-10-24 02:12:30 +01:00
UbitUmarov
382df37f80
remove some Xengine errors on scripted object delete
2014-10-22 10:21:54 +01:00
UbitUmarov
31c036c044
refuse crossings if logins disabled
...
Please enter the commit message for your changes. Lines starting
2014-10-21 19:22:51 +01:00
UbitUmarov
b1ccf3f110
make sure we return false if catch() is triggered on crossing
2014-10-21 13:04:26 +01:00
UbitUmarov
59413adcee
do agent crossing async, including QUERYACCESS ( need to check vehicles for
...
this also ), so it doesn't stop heartbeat
2014-10-21 11:57:47 +01:00
UbitUmarov
afa9b4a002
Assume childreen don't need to know caps seeds
2014-10-20 09:14:27 +01:00
UbitUmarov
f44c29effb
try to fix propagation of seeds to all relevante regions
2014-10-19 15:51:12 +01:00
UbitUmarov
fadc5661c9
change position in new region estimation. Reduce border jitter margin
2014-10-18 21:34:35 +01:00
UbitUmarov
159246f88c
fix SW direction diagonal crossing
2014-10-18 20:27:33 +01:00
UbitUmarov
b7708b9d1f
change child agents creation/notification. As before this assumes that
...
sending regions close out of view connections.
2014-10-18 18:27:38 +01:00
UbitUmarov
f9588730cf
debug makeroot timing
2014-10-17 14:36:02 +01:00
UbitUmarov
2bea66ed27
send motion control state in update to childs. Reset CollisionPlane on
...
makechild
2014-10-17 14:07:11 +01:00
UbitUmarov
e99fea3398
send correct caps seed on CreateAgent to a nearby region
2014-10-17 03:08:41 +01:00
BlueWall
94250b6836
Fix some typecasting in PgSQL Groups adapter
2014-10-16 21:16:44 -04:00
Justin Clark-Casey (justincc)
c8664e8907
Add some more llGiveInventory() regression tests
2014-10-16 19:54:40 +01:00
BlueWall
b7550c947b
Experimental XAssets Module PgSQL Adapter: Remove unused migration. Syntax error preventing migration from running.
2014-10-16 12:34:04 -04:00
UbitUmarov
251a3dcf0d
Merge branch 'master' into ubitworkmaster
2014-10-16 16:57:48 +01:00
Melanie Thielker
14259b5f99
Fix an obscure permissions exploit. Taking items from a friend's prim could
...
possibly result in a privilege escalation
2014-10-16 03:53:56 +02:00
Melanie Thielker
04612f41a7
Fix transferring inventory from prims to agent inventory
2014-10-16 03:46:45 +02:00
BlueWall
8a93d97320
Touchup PgSQL XAssets adapter
2014-10-15 17:28:51 -04:00
BlueWall
b45c929d66
Fix over zealous chopping of text when editing (pilot error)
2014-10-15 09:55:41 -04:00
BlueWall
5c9ef4d083
Fix logging level to Error in exception handlers
2014-10-15 09:42:29 -04:00
BlueWall
231cdc2dc1
Cleanup unused code
2014-10-15 09:31:39 -04:00
UbitUmarov
c643ff4cba
fix some errors when using http debug level > 4
2014-10-15 14:14:25 +01:00
BlueWall
1812cecdb7
Fix PgSQL adapter for UserProfiles
2014-10-15 09:08:25 -04:00
UbitUmarov
bfb5185747
lso remove caps with "PUT" http method
2014-10-14 02:25:22 +01:00
Melanie Thielker
12ebc92e55
Revert "*TEST* send udp sync. Stop uncontroled and hidden use of IO threads."
...
This reverts commit 8c41271b33
.
Conflicts:
OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
2014-10-13 23:52:19 +02:00
Melanie Thielker
32468bebef
Merge branch 'ubitworkmaster'
2014-10-13 23:50:26 +02:00
UbitUmarov
33ec073320
revert to async send, since past experience showed sync didn't work when
...
on mono
2014-10-13 22:46:58 +01:00
Melanie Thielker
298e714c04
Merge branch 'ubitworkmaster'
2014-10-13 23:27:13 +02:00
Melanie Thielker
0ecc417534
Allow 20 outbound connections per endpoint for the services
2014-10-13 23:24:47 +02:00
Melanie Thielker
c19183932e
Set connection limit to 20 for all servers.
2014-10-13 23:22:18 +02:00
UbitUmarov
8c41271b33
*TEST* send udp sync. Stop uncontroled and hidden use of IO threads.
...
Testing this may require several people.
2014-10-13 13:17:48 +01:00
UbitUmarov
a301bad8ad
on util thread pool reduce the min number of threads, increase the
...
maximum and increase the idle time before release to OS
2014-10-13 12:10:13 +01:00
UbitUmarov
9d52b7ff71
name the thread
2014-10-13 12:01:36 +01:00
UbitUmarov
cd87c4bec5
change/fix previus commits
2014-10-13 12:00:31 +01:00
UbitUmarov
6794508f8c
reduce minimum number of smartpool threads and name it
2014-10-13 11:41:11 +01:00
UbitUmarov
8558e97a44
tune poll smartThreadpool use and give it a name
2014-10-13 11:38:51 +01:00
BlueWall
a6f8f9d003
Get V2 Groups working under PgSQL. Needed to re-create tables to satisy the generic handler type matching. There should be no existing data because it couldn't complete the first migration as-is.
2014-10-12 13:48:39 -04:00
BlueWall
300e78bfd5
Make column names lower-case, change hash column type to bytea and remove old commented lines of code
2014-10-12 10:50:32 -04:00
UbitUmarov
9a3df6445e
move AnimationSet and AvatarSkeleton to OpenSimExtras
2014-10-12 12:52:12 +01:00
UbitUmarov
10d3d0c81d
try to reduce avatar bounce on falls. Not all possible side effects
...
checked, specially on portals
2014-10-12 01:14:54 +01:00
UbitUmarov
39cfd82303
add simulator features AvatarSkeleton and AnimationSet report
2014-10-11 22:53:47 +01:00
UbitUmarov
c3e88b7b38
changed skeleton, do parse the mesh on upload to check skeleton. Sooner or
...
later this parsing needs to validate the model cost also.
2014-10-11 22:41:59 +01:00
UbitUmarov
cc71dd9a27
dont let test mesh go to meshes inventory folder that is not displayed by
...
viewers
2014-10-11 11:12:43 +01:00
UbitUmarov
dab2e778d6
bug fix
2014-10-11 10:22:57 +01:00
UbitUmarov
1a6ef2d60e
check for avatar skeleton data on meshs headers on cost estimation. Dont
...
let a model have more than one mesh with skeleton, for testing create a
mesh inventory item, for this meshs. Add also option to read a avatar
collider replacement. This information still needs to be saved somewhere
so it can be checked on attachment, etc, without parsing the mesh asset again.
2014-10-11 10:01:26 +01:00
BlueWall
7af878a4f4
Fix some errors in PgSQL XAssets by changing some data types. Also make sql query syntax more in line with the PgSQL AssetData implementation.
2014-10-10 19:58:07 -04:00
Justin Clark-Casey (justincc)
00b23e51ae
Change name of just added OSSL osForceSit() to osForceOtherSit()
...
This is somewhat more in keeping with something like osForceAttachToOtherAvatarFromInventory()
and potentially allows a separate osForceSit() command with High threat rather than VeryHigh that only sits the owner and can be enabled without enabling sit of other avatars.
2014-10-11 00:14:35 +01:00
Justin Clark-Casey (justincc)
5acbbcb33f
minor: spacing cleanup from previous commit 79a4d1ea
2014-10-11 00:10:49 +01:00
Vegaslon
79a4d1ea8d
Implements osForceSit(string avatar) & overload osForceSit(string avatar, string target)
...
Allows a script IN the target prim to force an avatar to sit on it using normal methods as if called by the client.
Overload method of osForceSit() to allow a script NOT in the target prim to force an avatar to sit on the target prim using normal methods as if called by the client.
This patch is based on previous work from
http://opensimulator.org/mantis/view.php?id=4492
and also includes the suggestions from justincc including change of threat level
Thank you Christos Lightling.
2014-10-11 00:04:25 +01:00
Justin Clark-Casey (justincc)
5db3f08871
minor: add --default-user option to "load oar" help long description. Do other small tidies of "load oar" console command help.
2014-10-11 00:03:05 +01:00
BlueWall
c7a11899f6
Give ability to define constants that may be used throught the configuration
2014-10-09 14:59:54 -04:00
UbitUmarov
fe495874f2
Merge branch 'master' into ubitworkmaster
2014-10-09 00:26:08 +01:00
Justin Clark-Casey (justincc)
29a05cdeb5
Change thread of osForceAttachToOvtherAvatarFromInventory to VeryHigh from Severe
...
It fits much better in this category.
2014-10-08 23:35:25 +01:00
Justin Clark-Casey (justincc)
458ccd26ff
Use Scene or IEntityTransferModule directly in HGEntityTransferModule instead of casting or re-obtaining module.
...
This code originates from when IEntityTransferModule was shared rather than one per region.
Now it's one per region we know that callers are always in the same scene as the module.
2014-10-08 23:16:01 +01:00
AliciaRaven
8d4c1945c2
HG Restricted appearance checking code is only called when HG teleporting via the map but bypassed completely when teleporting via landmarks. This fixes this by including a call when acting on landmarks. Does not affect local grid teleports as flags are checked.
2014-10-08 23:04:19 +01:00
UbitUmarov
c0a75fcc03
fix targetOmega resend on deselect on the right place, can't be at sop
...
but packethandlers
2014-10-06 00:17:41 +01:00
UbitUmarov
c3a1d6b5ef
reduce some avatar engine strenght
2014-10-05 18:55:37 +01:00
UbitUmarov
44a42efa4b
try to help steps climb a bit compensating the bounce reduction
2014-10-04 08:46:46 +01:00
UbitUmarov
57caf468e8
bug fix: resend part targetOmega on deSelect
2014-10-04 08:30:04 +01:00
UbitUmarov
6f149ef6ae
bug fix: leave jumping state only to landing, without fallback into
...
onsurface, etc
2014-10-04 07:49:05 +01:00
Melanie Thielker
8918c42540
Merge branch 'ubitworkmaster'
2014-10-04 05:10:46 +02:00
UbitUmarov
4ae960a4f0
bug fix: revert back check on creating link
2014-10-04 03:43:20 +01:00
Melanie Thielker
307e49b3a7
Merge branch 'ubitworkmaster'
2014-10-04 02:23:07 +02:00
Justin Clark-Casey (justincc)
cbd428cff3
Add LSL transaction_result event.
...
This is cinderblocks' transaction_result.diff from http://opensimulator.org/mantis/view.php?id=7329 but I have used lsl.parser.cs and lsl.lexer.cs files generated directly from opensim-libs rather than those supplied in the patch.
I also added scriptEvents.transaction_reuslt.
The required parser/lexer generation file changes were made in commit d564f28 in the opensim-libs repo.
Thanks!
2014-10-04 00:16:47 +01:00
UbitUmarov
94f42cef90
added a missing angularVelocity.Zero on sitting, removed odd camera based
...
movement vectors, plus little other things
2014-10-03 18:32:52 +01:00
Melanie Thielker
93fa3777d2
Merge branch 'ubitworkmaster'
2014-10-03 18:27:27 +02:00
Melanie Thielker
c66e4eeb7d
Also store names of assets in the AnimationSet
2014-10-03 18:27:14 +02:00
Justin Clark-Casey (justincc)
c496bd57b4
minor: Comment out received seed caps request logging for now
2014-10-02 22:33:58 +01:00
Justin Clark-Casey (justincc)
43520b3e8b
Add "debug lludp throttle status" command to return status information about a client's throttle (currently just whether adaptive is enabled).
2014-10-02 22:30:44 +01:00
Justin Clark-Casey (justincc)
05508b5c56
Add "debug lludp throttle log <level> <avatar-first-name> <avatar-last-name>" to control extra throttle related debug logging.
2014-10-02 22:30:44 +01:00
Justin Clark-Casey (justincc)
2a9528fa22
Don't unnecessarily remove from backup objects that were not directly attached from the scene.
...
These are never in region backup in the first place since recent 11830c43
Extend regression test to check backup status.
2014-10-02 22:30:44 +01:00
Justin Clark-Casey (justincc)
57e75d7c03
Do not add attachments to the region scene object backup list.
...
Attachment persistence is not handled in this way and this just results in a load of busy work until a check in each SOG terminates a backup check for attachments anyway.
2014-10-02 22:30:44 +01:00
Justin Clark-Casey (justincc)
afa85e6b3c
Set appearance refresh to false by default.
...
This setting was originally added some time ago to deal with issues where appearance was not received properly by all users.
However, it does not scale well with large numbers of agents.
Disabling to see if the original problem has abated or whether this will have to be tackled in another way.
2014-10-02 22:30:44 +01:00
UbitUmarov
6d1f1103f3
clean up coments, use a even faster XY move request detection
2014-10-01 16:36:06 +01:00
UbitUmarov
4c8819a143
removed useless unreal inworld movement vector estimation. Do animation state using movement control flags only, on avatar frame of reference. This will hold
...
valid until the up direction is allowed to be diferent from the world one.
2014-10-01 04:32:19 +01:00
UbitUmarov
49bf83ecb8
do global position X and Y with double precision in autopilot, so
...
corrected viewers do work
2014-09-30 23:31:55 +01:00
UbitUmarov
b9be9097aa
fix a incomplet landing handling case
2014-09-30 17:02:24 +01:00
UbitUmarov
c704b079d8
persist script changes to mediaURL and musicURL ( heavy thing )
2014-09-30 04:24:31 +01:00
UbitUmarov
f117a86c87
fix musicURL change being sent back with wrong snap_selection, and not
...
sent to other avatars.
2014-09-30 03:31:04 +01:00
UbitUmarov
2af7205813
keep same animation if in transit
2014-09-30 00:13:52 +01:00
UbitUmarov
1b2e2a86a3
remove check of other prim top height on steps climb code
2014-09-29 23:24:22 +01:00
UbitUmarov
cfb1a27300
Merge branch 'master' into ubitworkmaster
2014-09-29 20:36:03 +01:00
UbitUmarov
3052a53889
change avatar physics and motion control. Still not that good :(
2014-09-29 20:17:05 +01:00
Diva Canto
4e28a06f3c
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2014-09-28 16:10:57 -07:00
Diva Canto
763c22b28e
Improve on the last commit to InventoryArchiver: put back the original constructor (3rd party modules use it), change order of new parameters to make it more consistent.
2014-09-28 16:10:32 -07:00
Melanie Thielker
dbc0dfa606
Also fetch and store old asset for animation sets
2014-09-27 22:18:43 +02:00
Melanie Thielker
f60139cb91
Reinstate the part of the id theft protection that was lost in a long ago merge
2014-09-27 21:17:56 +02:00
AliciaRaven
f0218258d1
When a prim is bought through BuySellModule, the click action is not changed back from buy object. This means that after the object is bought, it still appears as if for sale which can be confusing. This sets it back to touch, the default after sale.
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2014-09-27 12:54:00 -04:00
Melanie Thielker
3ea76e3131
Make changes to AnimationSet to allow indexing by names rather than indices. Add some debugging output and prepare for parsing an ascii-based format.
2014-09-27 02:30:01 +02:00
Justin Clark-Casey (justincc)
530b0cbbf1
Move expired objects cleaning trigger to the maintenance thread of a region rather than it's main scene loop.
...
[Startup] default setting UpdateTempCleaningEveryNFrames becomes UpdateTempCleaningEveryNSeconds.
Default becomes 180s instead of effective 182s (which would also vary with any changes in frame time or extra long frames)
2014-09-27 00:23:52 +01:00
Justin Clark-Casey (justincc)
31c8b7fd1a
Fix recent regression with llRegionSayTo() started sending messages twice.
...
Addresses http://opensimulator.org/mantis/view.php?id=7330
Fixed by removing chat delivery to avatar from WorldCommModule.DeliverMessageTo(), in common with existing similar methods that only handle deliver to script listeners.
Preserves fixes from http://opensimulator.org/mantis/view.php?id=5005
2014-09-26 23:35:29 +01:00
UbitUmarov
bb019945e8
change permitions again
2014-09-26 15:20:45 +01:00
UbitUmarov
46caea6987
change it again...
2014-09-26 15:03:33 +01:00
UbitUmarov
90cad82405
remove unnecessary argument ref
2014-09-26 14:22:54 +01:00
UbitUmarov
fcad64209c
make c# more happy
2014-09-26 14:17:01 +01:00
UbitUmarov
5f57b55dc9
use central animationset permitions define
2014-09-26 14:08:21 +01:00
UbitUmarov
3e2242b4c4
change animset permitions to reflect no transfer nature
2014-09-26 14:06:16 +01:00
UbitUmarov
cce31b6638
add centerlized AnimationSet item permitions setting
2014-09-26 14:00:33 +01:00
UbitUmarov
09e05d48b9
refuse to do a inventory link if provided asset type is not a link or
...
folderlink
2014-09-26 13:28:24 +01:00
UbitUmarov
d29a04fc20
remove debug msgs
2014-09-26 03:52:10 +01:00
UbitUmarov
598ab37b97
debug msg
2014-09-26 02:52:44 +01:00
UbitUmarov
db41c04f9d
little debug
2014-09-26 02:29:05 +01:00
Justin Clark-Casey (justincc)
23a0946e36
Fix long-lived thread name logging.
2014-09-26 01:10:49 +01:00
Justin Clark-Casey (justincc)
9fcee73326
Make "generate map" console command also trigger upload to maptiles as well as asset generation without performing tile generation twice.
2014-09-26 01:02:19 +01:00
UbitUmarov
8c68772624
bug fix: add missing attach to region heartbeat event to update animations
2014-09-26 00:54:06 +01:00
Melanie Thielker
e37637587a
Add a sample use for the validation
2014-09-25 22:03:02 +02:00
Melanie Thielker
546537c056
Rename = too generic
2014-09-25 21:54:32 +02:00
Melanie Thielker
2e6fd6536b
Add the AnimationSet skel
2014-09-25 21:53:32 +02:00
Melanie Thielker
3a42ea5279
Extend upload verification to all upload paths
2014-09-25 21:21:20 +02:00
UbitUmarov
57166878b5
fix animation asset name to "animatn", use "animset" for the new
...
animationSet
2014-09-25 16:37:43 +01:00
UbitUmarov
f51779bb05
add also the name animset until its clear the name liru will use
2014-09-25 14:10:44 +01:00
UbitUmarov
18cc33e2c5
add animationset to upload assets, for now no cost
2014-09-25 13:35:30 +01:00
Justin Clark-Casey (justincc)
d3578e2662
Add "debug lludp data out" console command for logging outgoing data just before it's put on the wire.
...
Unlike "debug lludp packet" which logs at the point where OpenSim first asks the clientstack to send a certain outgoing packet, this logs immediately before the actual send.
For low-level debugging purposes.
2014-09-24 23:44:55 +01:00
Justin Clark-Casey (justincc)
6ac12a42ec
Add "debug lludp packet" command to pCampbot.
...
This allows one to log the packets received by a particular bot that are not duplicates of already received packets.
Similar to the OpenSimulator command at the same name but currently any positive level logs all received packets.
No facility yet for logging outgoing packets.
For debug purposes.
2014-09-24 23:44:48 +01:00
Melanie Thielker
45739e3d5c
Fix a string format
2014-09-24 23:10:15 +02:00
UbitUmarov
df773ee8c3
make CreateAgent sync for logins, async for other cases
2014-09-24 20:57:23 +01:00
UbitUmarov
c9079360b9
coment out stack trace at newUserConnection, add log msh at createAgent
2014-09-24 18:37:59 +01:00
UbitUmarov
46bf6d1640
add stack trace debug message
2014-09-24 18:29:23 +01:00
UbitUmarov
68ea1f7776
TEST do createAgent sync, forcing grid services and other regions to wait
...
for it to complet. This is not that good, but maybe needed
2014-09-24 17:56:58 +01:00
UbitUmarov
c031f21851
fix wrong format
2014-09-24 16:37:21 +01:00
UbitUmarov
f106aea388
add debug message
2014-09-24 16:33:33 +01:00
UbitUmarov
1491ba3500
change melanies patch, reusing caps if circuit and caps path is the same.
...
Do the aditional cleanup, if the path did change
2014-09-24 16:01:25 +01:00
UbitUmarov
4206c1248f
same thing on another lock(acd)
2014-09-24 01:51:36 +01:00
UbitUmarov
d96fe6eaf5
replace a lock on a unkown origin object with a lock on a well defined
...
one.
2014-09-24 01:37:51 +01:00
Justin Clark-Casey (justincc)
c015cb3134
Remove an unnecessary check at the bottom of Scene.CloseAgent()
...
At this point sp != null so no check required.
2014-09-24 00:50:24 +01:00
UbitUmarov
6d2cdd31fe
populate collision lists with LinkNumber, and detected structure in
...
Xengine
2014-09-23 23:59:05 +01:00
UbitUmarov
ac09dd9946
Merge branch 'master' into ubitworkmaster
2014-09-23 23:28:38 +01:00
Melanie Thielker
80f3e8edbc
Fix stupid stuff.
2014-09-24 00:21:14 +02:00
UbitUmarov
f37364b56f
Merge branch 'master' into ubitworkmaster
2014-09-23 23:20:28 +01:00
Melanie Thielker
a6b27a7aa4
Add a link number field to ColliderArgs
2014-09-24 00:16:04 +02:00
Melanie Thielker
309cfeff88
If an agent is logging in, rather than teleporting, make sure all known
...
circuits for that agent are closed.
2014-09-23 21:53:09 +02:00
Jak Daniels
bde60cc92e
Add persistent command history in console
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2014-09-23 10:36:00 -04:00
AliciaRaven
1e22091193
Modifications to previous IAR commits to bring them more inline with existing OpenSim code conventions. Also include new IAR save switch in console help print out.
2014-09-23 00:04:59 +01:00
AliciaRaven
5bc3bbbcf3
Add an event callback for loading IAR files. The callback for creating them already existed but not for loading. This is of interest for use by region modules. Also includes reporting numbers of items saved and items filtered to the completed log printout.
2014-09-23 00:04:53 +01:00
AliciaRaven
08675d44a7
Change existing IAR save to use UUID for its callback reference instead of Guid. This is for uniformity as discussed on IRC.
2014-09-23 00:04:50 +01:00
AliciaRaven
3bde737f76
Include same content filters for IAR file exports that already exist for OAR files. Adds new console switch --perm=CTM to save iar command.
2014-09-23 00:04:45 +01:00
UbitUmarov
992bd703e7
fix building state logic...
2014-09-23 00:04:03 +01:00
UbitUmarov
79e47eb60e
some changes in link/unlink code, bypassing complex variables set methods
2014-09-22 23:32:55 +01:00
Justin Clark-Casey (justincc)
c73b02d583
Replace two connecting bots state booleans in pCampbot with a single state machine.
...
Also adds "show status" command to pCampbot that currently just shows bot connecting state
2014-09-22 23:13:19 +01:00
UbitUmarov
c82e456345
debug show stack trace
2014-09-22 21:13:36 +01:00
Melanie Thielker
4cc552162e
Merge branch 'ubitworkmaster'
2014-09-22 18:50:06 +02:00
Melanie Thielker
0bfba122f0
When a ghosted avatar is removed, also remove any remaining CAPS
2014-09-22 18:49:08 +02:00
UbitUmarov
ea4a526095
a few more changes on link/unlink
2014-09-22 16:09:39 +01:00
UbitUmarov
b7fca5bcac
same in a few more spots
2014-09-22 14:44:47 +01:00
UbitUmarov
fe3c1b9e98
send to world or backup, after setting finding information
2014-09-22 14:32:56 +01:00
UbitUmarov
bcaf202e34
update scenegraph group find by part information in sog link, so script link functions do update that also.
2014-09-22 13:59:23 +01:00
UbitUmarov
e25849e1c4
remove redundant lock
2014-09-21 23:39:50 +01:00
UbitUmarov
a70ed79c39
compile fix
2014-09-21 23:26:17 +01:00
UbitUmarov
d1ccc6d5cc
release lock a bit sooner when not needed, add a try on more complex db
...
store call
2014-09-21 23:23:20 +01:00
UbitUmarov
f95bb53371
remove LockItemsForRead(false) without previus call with true
2014-09-21 23:02:02 +01:00
UbitUmarov
adda696cd0
protect getting the item
2014-09-21 22:46:44 +01:00
UbitUmarov
51ec2d83ac
remove redundant code
2014-09-21 22:43:17 +01:00
Melanie Thielker
640f3f3074
A stab at brute force fixing the locking - one, make m_itemLock volatile, two,
...
reset the lock even if the write lock is not apparently held.
2014-09-21 19:24:15 +02:00
Diva Canto
c4cd98bc34
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2014-09-21 09:23:15 -07:00
Diva Canto
94619cba58
Fixed a hard-to-run-into bug in groups: at the time of creation of a group, the OwnerRoleID in the groups table was inconsistent with the roleID in the roles table. OpenSim core was not running into this bug, but 3rd party modules (like Wifi) were.
2014-09-21 09:22:32 -07:00
Robert Adams
2ed3a918bd
Merge branch 'master' into bullet-2.82
2014-09-21 07:11:00 -07:00
Melanie Thielker
4002cd96a5
When sending http requests, close the response stream instead of waiting
...
for the finalizer to do it, if it ever does.
2014-09-20 20:42:07 +02:00
UbitUmarov
9c552212a9
exclude npcs from baked cache
2014-09-19 16:51:51 +01:00
UbitUmarov
242bb425f3
fix positions on same frames transitions
2014-09-19 01:07:20 +01:00
UbitUmarov
f35f90bd72
dont give a ring to each asset request, just one to rule them all, i mean
...
thread not ring
2014-09-18 19:40:59 +01:00
BlueWall
519c753e46
This fixes the Scene thread renaming issue
2014-09-17 20:25:27 -04:00
BlueWall
96a2449122
Undo "Revert "Small changes to threading to send thread names to unmanaged threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects.""
...
Fix for break in next commit
This reverts commit 376fab1402
.
2014-09-17 20:03:54 -04:00
Edward
427240f935
Changes to be committed: modified: OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs modified: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs This solves mantis bug# 5005: llRegionSay script does not trigger ChatFromWorld event. This was solved by adding World.SimChat() command to the llRegionSay() function (per suggestion of DrCuriosity). Additionally this fixes llRegionSayTo() which was also not functioning by adding a World.SimChat() command and adding a new SimChatToAgent() overrided function to Scene.PacketHandlers.cs This is the second patch revision. Corrections made to the position of World.SimChat() and removal of tabs per suggestion by justincc.
2014-09-17 23:37:18 +01:00
BlueWall
376fab1402
Revert "Small changes to threading to send thread names to unmanaged threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects."
...
This reverts commit af286d5fcb
.
Issue with Jenkins builds
2014-09-17 18:11:41 -04:00
BlueWall
af286d5fcb
Small changes to threading to send thread names to unmanaged threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects.
2014-09-17 17:56:10 -04:00
UbitUmarov
6e015125c5
Merge branch 'master' into ubitworkmaster
2014-09-17 21:48:36 +01:00
UbitUmarov
ce8ea55f4e
... and a few more..
2014-09-17 17:25:07 +01:00
UbitUmarov
060984502e
and another one
2014-09-17 17:00:13 +01:00
UbitUmarov
9f07c64690
another close()
2014-09-17 16:51:07 +01:00
UbitUmarov
df389dceb8
add some _response.close. RestClient still looks bad. It should be a
...
proper IDisposable object.
2014-09-17 16:19:00 +01:00
UbitUmarov
9bf3e2a257
dispose some tmp streams
2014-09-17 15:36:22 +01:00
UbitUmarov
f254761649
turn off Nangle on users of ServivePointManager like webrequests
2014-09-17 14:47:36 +01:00
UbitUmarov
1953a0f4e0
Dont add to physics in a child update. It is missing several checks like
...
sit. makeroot should to it
2014-09-17 13:36:39 +01:00
UbitUmarov
affcdcce8b
try to send fly state on tps
2014-09-16 21:25:06 +01:00
Melanie Thielker
8014ce7f1a
Fix a nullref in a debug message. If we have no SceneAgent, we can't output data from it.
2014-09-15 23:15:27 +02:00
Melanie Thielker
d43d3df724
Reinstate closing the client if CloseAgen returns false. This was part
...
of the last Ubit patch.
2014-09-14 20:46:22 +02:00
UbitUmarov
3d9f25a19d
revert changes to m_pendingCache and remove client close if there is no
...
SP, as requested
2014-09-14 02:28:42 +01:00
UbitUmarov
52cde5fe96
Merge branch 'master' into ubitworkmaster
2014-09-14 01:18:03 +01:00
UbitUmarov
908e0e1cef
do not use a blind expire of m_pendingCache. Entries must be valid while
...
respective HandleUseCircuitCode, no matter how long it takes, so a viewer
retry doesnt start a overlapping one. It HandleUseCircuitCode
responsability to always remove entries, even on fails. Remove a client
even if m_scene.CloseAgent fails.
2014-09-13 20:37:20 +01:00
Melanie Thielker
8ab5f2ce84
When CloseAgnt is called with an agent id that doesn't have a presence, check for stray clients and clean them up instead of failing.
2014-09-13 16:39:56 +02:00
Melanie Thielker
42b2248960
If a client's SceneAgent is null, that client is not fully logged in or
...
crashed while logging out. Don't reuse it, create a new one.
2014-09-13 00:49:32 +02:00
Justin Clark-Casey (justincc)
2d3072f053
When osNpcMoveToTarget() is called for a sitting avatar then silently do nothing rather than throwing an error.
...
Resolves http://opensimulator.org/mantis/view.php?id=7311
2014-09-12 23:37:44 +01:00
UbitUmarov
ffe5ede550
taskInventory request: give each transfer a diferent filename, Add more
...
agressive lock
2014-09-12 11:48:43 +01:00
Justin Clark-Casey (justincc)
70953dbfcd
Fix issues where setting llSetTextureAnim(FALSE... did not work properly).
...
I ended up amalgamating patches from http://opensimulator.org/mantis/view.php?id=7313 and http://opensimulator.org/mantis/view.php?id=7318
Thanks a lot to both bobshaffer2 and cinderblocks.
2014-09-12 00:34:39 +01:00
Justin Clark-Casey (justincc)
a3bd708e77
Fix regression from recent a02dae5
where stand positions are no longer correct when a sit target is specified.
...
Adjusts stand position using just avatar position relative to the root prim instead.
Fixes http://opensimulator.org/mantis/view.php?id=7315 and preserves previous fix for http://opensimulator.org/mantis/view.php?id=7299
2014-09-11 20:59:20 +01:00
UbitUmarov
df8eae1957
handle AO sit ground case
2014-09-10 20:55:00 +01:00
UbitUmarov
f66b58cf00
*TEST* add movement states SIT and SITGROUND. ScenePresence on SIT,
...
SITGROUND or STAND, sets directly the state, and desired sitAnimation for
default sits
2014-09-10 19:30:57 +01:00
Melanie Thielker
0caa59b286
Fix a nullref that can hit Vivox voice
2014-09-10 02:43:51 +02:00
UbitUmarov
724d174a77
it its a default ( internal ) animation return its name in lower case
2014-09-09 23:36:10 +01:00
UbitUmarov
13cb6ef6ef
remove the check animState == anim for same reasons
2014-09-09 23:30:31 +01:00
UbitUmarov
4842806ea8
look for animation on part inventory before default animations, so
...
user can use same name. Search directly on default animations using
uppercase.
2014-09-09 23:22:36 +01:00
UbitUmarov
e37fd5e716
force update of movement animation
2014-09-09 22:27:21 +01:00
UbitUmarov
9d815e2d2a
on SetAnimationOverride do a UpdateMovementAnimations();
2014-09-09 22:07:03 +01:00
UbitUmarov
016e58e354
*test*
2014-09-09 21:53:27 +01:00
Melanie Thielker
87a4abac50
Plumb the rest of the serverside AO
2014-09-09 20:50:41 +02:00
Melanie Thielker
339904bc52
Merge branch 'ubitworkmaster'
2014-09-09 20:16:43 +02:00
Melanie Thielker
2d2823f1de
Add some case magic and send an anim pack when an override is set
2014-09-09 20:16:02 +02:00
UbitUmarov
002a2deaf9
add full delete if uuid iz zero and state is ALL
2014-09-09 19:09:06 +01:00
Justin Clark-Casey (justincc)
b4ce71df1e
Make proper fix for last commit wrt Mantis 7317 by replacing disallowed c char and not literal 'c'
2014-09-09 18:57:02 +01:00
Justin Clark-Casey (justincc)
e271607bef
For stat names containing periods, replace with '#' rather than throw exception
...
In relation to http://opensimulator.org/mantis/view.php?id=7317
2014-09-09 18:56:58 +01:00
UbitUmarov
46abe0c86d
Merge branch 'master' into ubitworkmaster
2014-09-09 13:54:00 +01:00
UbitUmarov
683f2cc892
only cancel attchment needed update type on sending sheduled updates.
...
This is wrong but its as original worked
2014-09-09 13:32:22 +01:00
UbitUmarov
4ed3461573
huds bug fix
2014-09-09 05:20:43 +01:00
Melanie Thielker
347c5b3070
Add perms check
2014-09-09 05:20:53 +02:00
UbitUmarov
f4efa25820
remove messing with KeyframeMotion on attach
2014-09-09 03:54:27 +01:00
UbitUmarov
b732ee8d27
dont force Phantom on attachments, breaking no mod objects if wear by
...
mistake
2014-09-09 03:47:51 +01:00
UbitUmarov
136749c651
drop attachments with original physical proprieties
2014-09-09 03:45:26 +01:00
Melanie Thielker
aa84ad369c
Add some forgotten calls
2014-09-09 04:35:08 +02:00
Melanie Thielker
d2324b64c7
Add missing file
2014-09-09 04:12:58 +02:00
Melanie Thielker
18023169e7
Actually do the overriding
2014-09-09 04:12:10 +02:00
Melanie Thielker
5376d0a97b
Also check standard anim names
2014-09-09 03:31:04 +02:00
UbitUmarov
17154fbffa
set default LinksetPhysPrims to 0 so max number of prims for physical
...
object is disabled
2014-09-09 02:22:07 +01:00
UbitUmarov
d00aa403e0
Merge branch 'master' into ubitworkmaster
2014-09-09 02:05:44 +01:00
Melanie Thielker
e775e1a317
make PERMISSION_OVERRIDE_ANIMATIONS implicit for attachments
2014-09-09 03:03:27 +02:00
Melanie Thielker
f2390f7c72
Plumb llSetAnimationOverride
2014-09-09 03:01:05 +02:00
UbitUmarov
51697944b6
dont send fullObjectUpdate on deselect
2014-09-09 00:09:39 +01:00
UbitUmarov
8e15d4ad57
limit number of prims on physical objects. Not all cases covered still
2014-09-08 23:58:49 +01:00
UbitUmarov
93143ba012
on drop send full update on root prim, terse on others ( as sl ). Fix
...
count down of number of physicial prims on attach, if removing them
2014-09-08 23:44:29 +01:00
UbitUmarov
25b4e268a3
change attachment drop, to make object Phanton. THis is not as SL, but
...
rez position is automatic and object interpenetrations will
happen including with the avatar, with the usual ugly effects.
2014-09-08 11:16:59 +01:00
UbitUmarov
2d352e6348
*NEEDS more testing* on attachment drop: fix adding prims to physics
...
engine, remove disturbing phantom flag. On attach: fix removing prims from
physics engine, delete any keyframeMotion, remove physical flag. This is
executed in all attachs possible only need on attach from the scene (?),
but its where original code removed only root part from physics engine
2014-09-08 02:19:53 +01:00
Robert Adams
e5b269e9a0
Merge branch 'master' into bullet-2.82
2014-09-05 21:20:02 -07:00