aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Report "Script Execution Time" as the time spent executing the script in the ↵Oren Hurvitz2015-08-111-0/+223
| | | | | | | | last 30 seconds. Use a sliding window to calculate this. Notes: - This metric provides a better indication of which scripts are taking up a lot of CPU (and therefore should be optimized). - Previously the execution time was reset to 0 in every new measurement period, causing the reported time to fluctuate for no reason. This has been fixed by using a sliding window.
* Prevent a crash if "debug jobengine log" is entered without a log levelOren Hurvitz2015-08-111-0/+6
|
* Better handling of invalid XML: a) prevent infinite loop on EOF; b) better ↵Oren Hurvitz2015-08-112-8/+42
| | | | | | | | logging If the XML was truncated for some reason then ExecuteReadProcessors() would get into an infinite loop, using high CPU. Now it detects EOF (and several other error cases) and aborts. The rest of the changes just improve logging of XML in case of errors, so that we can see what the bad XML is.
* Fixed failing testDiva Canto2015-08-081-14/+5
|
* WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto2015-08-086-48/+53
| | | | | | | inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
* Have osAvatarName2Key check the cache first, even for foreign usersOren Hurvitz2015-08-071-1/+24
| | | | Another change: removed the second call to userManager.AddUser(). UserManagementModule won't modify an existing record.
* Mantis #7657 and #7514. This should alleviate the problem of bad object ↵Diva Canto2015-08-011-0/+19
| | | | | | | | | | | assets being passed around via HG and archives. No guarantees that all the leaks have been found, but at least it detects and fixes these bad assets upon: (1) storing and getting assets over HG -- assuming the core HG asset service is being used (not the case with OSGrid!) (2) importing assets via OAR and IAR Instantiation of bad assets now should also work, instead of producing an exception, but the bad assets themselves aren't being fixed in the DB. That should be done with a cleaning tool -- see Perl script in Mantis #7657. Virus!
* Removed unused code related to DNS lookupsOren Hurvitz2015-07-231-36/+0
|
* llListRandomize() wasn't very randomCinder2015-05-271-0/+51
| | | | Signed-off-by: Diva Canto <diva@metaverseink.com>
* Merging Opensim upstream before generating patchMichael Heilmann2015-05-1912-16/+200
|\
| * Disable the "show threadpool calls active" console command for now.Justin Clark-Casey (justincc)2015-05-121-5/+5
| | | | | | | | | | | | | | Whilst this can be very useful to identify threads held too long by incoming packet processing, it can also be very misleading as the count updates are not atomic (race conditions lead to growth in numbers over time). This could be solved by making the counts volatile but I don't currently have time to assess the performance impact, though it's almost certainly negligible. If anybody else wants to do that and re-enable this command then please feel free.
| * Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto2015-05-071-1/+3
| | | | | | | | IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
| * Refactored some code that is used in two different dlls related to SOP ↵Diva Canto2015-05-051-1/+183
| | | | | | | | rewriting. Also added some unit tests that relate to mantis #7514
| * It wasn't that. Revert "Mantis #7514"Diva Canto2015-05-021-3/+0
| | | | | | | | This reverts commit 365f46bfa91245e6e277a180dc6bbf757ea2540f.
| * Mantis #7514Diva Canto2015-05-021-0/+3
| | | | | | | | | | Mono bug introduces double xmlns attribute names when rewriting the asset in HGAssetService, e.g. <SceneObjectPart xmlns:xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xmlns:xsd="http://www.w3.org/2001/XMLSchema">. Solution: remove all attributes before saving.
| * Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto2015-04-299-9/+9
| | | | | | | | AssemblyVersion("0.8.2.*")
* | Fixed a bug that would cause the sim extra stats reporter to fail in ↵Steven Zielinski2015-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | reporting stats. The bug was caused by the current process threads which can return null references. Test Plan: Tested on windows using opensim standalone and the json stats. Reviewers: rlouden, ssirigam, clattin, martin, kboswell Reviewed By: rlouden, ssirigam, clattin, martin, kboswell Differential Revision: http://cr.irl.ucf.edu/D277
* | Fixed vocabulary in a comment to match the code.Steven Zielinski2015-05-041-1/+1
| |
* | Fixed a bug that would cause the sim extra stats reporter to fail in ↵Steven Zielinski2015-05-011-1/+5
| | | | | | | | | | | | | | | | | | | | reporting stats. The bug was caused by the current process threads which can return null references. Test Plan: Tested on windows using opensim standalone and the json stats. Reviewers: rlouden, kboswell, clattin, martin, ssirigam Differential Revision: http://cr.irl.ucf.edu/D277
* | Phase 2 additons with Frame Dilation metric.Robert Louden2015-04-211-9/+10
| |
* | Moved over metrics from previous OpenSim 0.8.0.3 repository (this new ↵Glenn Martin2015-04-211-0/+47
|/ | | | repository is now the master branch from OpenSim).
* Change UserProfiles so that the parcel name is used for a ProfilePick and ↵AliciaRaven2015-04-121-1/+1
| | | | | | not the parcel owners name. This change also fixes a bug where if the avatar enters and does not move, creating or editing a ProfilePick would set the parcelId as an empty UUID. This is because ScenePresence.currentParcelUUID is not set until the avatar moves. Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Don't log http auth details by default.Justin Clark-Casey (justincc)2015-03-161-2/+2
| | | | | | This is a security risk when people distribute logs for debug purposes. If necessary the information can be retrieved via config console commands. Relates to http://opensimulator.org/mantis/view.php?id=7501
* Fix XBakes simulator-side authentication regression failureJustin Clark-Casey (justincc)2015-03-165-3/+29
| | | | | Unlike the other connectors, XBakes uses a service auth retrieved from ServiceAuth.Create() and not code inherited from BaseServiceConnector. Fixes regression from 7d3bafd5 (Wed 4 Mar 2015) where the new CompoundAuthenticator did not implement IServiceAuth.AddAuthorization()
* Update version info to 0.8.2.0Justin Clark-Casey (justincc)2015-03-161-1/+1
|
* Revert "Allow a console command to give blank arguments ("") without the ↵dahlia2015-03-141-5/+2
| | | | | | | parser failing, e.g. login text """ This reverts commit 129cc49eb4d2f43cdda3804447f84bd3df397ff1. It was causing the "alert" console command to fail.
* Don't try to write region size and MapfileStaticFile Nini settings that are ↵Justin Clark-Casey (justincc)2015-03-131-4/+6
| | | | | | not set up when invoking the RemoteAdmin create region facility. Changes by MarcelEdward from http://opensimulator.org/mantis/view.php?id=7497. Thanks.
* 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.