aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow a console command to give blank arguments ("") without the parser ↵Justin Clark-Casey (justincc)2015-03-111-2/+5
| | | | | | failing, e.g. login text "" Relates to http://opensimulator.org/mantis/view.php?id=7489
* solving HG IM, HGFriends issues based on falsified GridUser dataFreaky Tech2015-03-051-0/+2
| | | | | | | | | | | | | | it does not consider GridUser as a viable source for residents' data. it does not consider Friends, Inventory Creators to be trusted at all. There are lots of broken entries in existence. There are lots of broken creator data fields in assets. The following issues arise from the broken data in the old User Management Module: failing HG IM failing HGFriends Requests Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Merge branch 'master' of /team/src/opensimBlueWall2015-03-041-1/+1
|\
| * Alter the migrations so that it is a no-op as the columns are unused and the ↵BlueWall2015-03-041-1/+1
| | | | | | | | operation is very expensive
* | Make private services forbid llHTTPRequest() calls by rejecting those that ↵Justin Clark-Casey (justincc)2015-03-046-19/+170
| | | | | | | | | | | | have the X-SecondLife-Shard header. If you need to enable this, set AllowHttpRequestIn = true in [Network] for all private services or individual [*Service] sections.
* | Add outbound URL filter to llHttpRequest() and osSetDynamicTextureURL*() ↵Justin Clark-Casey (justincc)2015-03-041-0/+256
|/ | | | | | | | script functions. This is to address an issue where HTTP script functions could make calls to localhost and other endpoints inside the simulator's LAN. By default, calls to all private addresses are now blocked as per http://en.wikipedia.org/wiki/Reserved_IP_addresses If you require exceptions to this, configure [Network] OutboundDisallowForUserScriptsExcept in OpenSim.ini
* As per http://wiki.secondlife.com/wiki/Limits Prim description should be 128 ↵Cinder2015-03-031-1/+1
| | | | | | bytes (127 + null terminator) Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* corrected script notecard parser. It now handles notecards with inventory as ↵ft@noemail2015-03-031-84/+244
| | | | | | well. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* XML should not contain any BOM. Disabled BOM generation in BaseHttpServerFreaky Tech2015-03-031-1/+2
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* On shutdown (job engine stop), don't allow the ObjectDisposedException on ↵Justin Clark-Casey (justincc)2015-02-251-2/+13
| | | | | | BlockingCollection.Take() to propogate if the running thread checked IsRunning before the stop thread set it and disposed of the canellation source. Looks to address http://opensimulator.org/mantis/view.php?id=7453
* Add NaN and Infinity tests for SOP Velocity and Acceleration setters.dahlia2015-02-161-0/+16
|
* Add missing BSD headers to files in OpenSim/Framework/ServiceAuthJustin Clark-Casey (justincc)2015-02-133-3/+84
|
* Fix bug in JobEngine where an attempt to restart after stop would trigger an ↵Justin Clark-Casey (justincc)2015-02-041-1/+2
| | | | exception because the cancellation source was not recreated.
* Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the ↵Justin Clark-Casey (justincc)2015-01-191-2/+2
| | | | exception on error
* Add the missing deleted and re-added JobEngine class from the previous ↵Justin Clark-Casey (justincc)2015-01-121-0/+329
| | | | commit 8e1e8a0
* Make the performance controlling job processing threads introduced in ↵Justin Clark-Casey (justincc)2015-01-122-322/+74
| | | | conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
* Commented out clear_registry_ because (1) it isn't clearing up anything ↵Diva Canto2015-01-071-1/+1
| | | | 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.
* Added overloaded LoadArchSpecificWindowsDll, to help addins load native ↵Diva Canto2015-01-041-2/+7
| | | | libraries.
* Added utility function that simplifies configuration loading of all addins.Diva Canto2015-01-031-0/+57
|
* Fix cut-and-paste error that made StatsManager web fetch queriesRobert Adams2015-01-011-1/+1
| | | | fail for container specification.
* Commenting out the suppression of console warnings from Mono addins while we ↵Diva Canto2014-12-311-2/+2
| | | | test this new model for the next couple of weeks.
* Renamed VERSION_NUMBER to VersionNumberDiva Canto2014-12-301-2/+2
|
* This cleans up versioning. Specifically:Diva Canto2014-12-301-1/+1
| | | | | | | - 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.
* Make sure we always dispose of disposables inside RestClient.Request()Justin Clark-Casey (justincc)2014-12-201-26/+30
|
* minor: Correct propery doc RestClient._resource spelling mistakeJustin Clark-Casey (justincc)2014-12-201-1/+1
|
* Fix a regression where objects crossing regions in the same simulator (on ↵Justin Clark-Casey (justincc)2014-12-101-0/+2
| | | | | | | | | | 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
* Stop writing SizeZ config parameter for now when creating regions from ↵Justin Clark-Casey (justincc)2014-11-281-1/+1
| | | | console as it is unused/ignored, at least in core.
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-254-141/+226
| | | | | | | | 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
* Change jobengine logging command to "debug jobengine log <int>" rather than ↵Justin Clark-Casey (justincc)2014-11-251-7/+6
| | | | loglevel, in common with similar commands.
* Move conditionals which control whether a task is placed in the JobEngine ↵Justin Clark-Casey (justincc)2014-11-251-2/+37
| | | | inside Watchdog.RunJob() (renamed from RunWhenPossible) and generalize them.
* Add "show threadpool calls active" console debug command.Justin Clark-Casey (justincc)2014-11-252-6/+67
| | | | | 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.
* Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)2014-11-253-11/+22
| | | | | | problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
* Add "show threadpool calls" command to show count of all labelled ↵Justin Clark-Casey (justincc)2014-11-252-1/+36
| | | | smartthreadpool calls
* If an exception makes it to the top of a JobEngine request, catch and log ↵Justin Clark-Casey (justincc)2014-11-251-1/+10
| | | | instead of letting it terminate the simulator...
* Fix an issue where specifying both max client and server outgoing UDP ↵Justin Clark-Casey (justincc)2014-11-251-0/+4
| | | | | | | | | | 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
* minor: remove warning in BasicHttpAuthentication by commenting out unused ↵Justin Clark-Casey (justincc)2014-11-251-2/+2
| | | | remove_me parameter (which looks like it might still be potentially useful for logging)
* refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)2014-11-251-1/+0
| | | | | | 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
* Add loglevel to jobengine that can be controlled via "debug jobengine ↵Justin Clark-Casey (justincc)2014-11-251-6/+26
| | | | | | | loglevel <level>". Defaults to 0 Level 1 currently does verbose logging about every queued and processed job.
* Temporarily add root agent rez attachments work to job engine if it is ↵Justin Clark-Casey (justincc)2014-11-251-4/+4
| | | | | | 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.
* Add experimental job engine to see if queueing some existing async work ↵Justin Clark-Casey (justincc)2014-11-252-0/+310
| | | | | | | | 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.
* Add "region set" console command.Justin Clark-Casey (justincc)2014-10-311-8/+4
| | | | | | 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.
* Add hypergrid teleporting support to user profiles picksBlueWall2014-10-271-0/+1
|
* Fix long-lived thread name logging.Justin Clark-Casey (justincc)2014-09-261-1/+1
|
* Add persistent command history in consoleJak Daniels2014-09-231-2/+56
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Undo "Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall2014-09-173-9/+10
| | | | | | | | 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 376fab140227e92dbd841436509a97b87c9e7792.
* Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall2014-09-173-10/+9
| | | | | | | 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 af286d5fcb688e8b64202b6deca4f249e9a2b6b8. Issue with Jenkins builds
* Small changes to threading to send thread names to unmanaged threads. Needs ↵BlueWall2014-09-173-9/+10
| | | | 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.
* Make proper fix for last commit wrt Mantis 7317 by replacing disallowed c ↵Justin Clark-Casey (justincc)2014-09-091-1/+1
| | | | char and not literal 'c'
* For stat names containing periods, replace with '#' rather than throw exceptionJustin Clark-Casey (justincc)2014-09-091-1/+2
| | | | In relation to http://opensimulator.org/mantis/view.php?id=7317
* For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)2014-09-052-41/+49
| | | | | | | a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).