aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-01Mantis #7657 and #7514. This should alleviate the problem of bad object ↵Diva Canto1-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!
2015-07-23Removed unused code related to DNS lookupsOren Hurvitz1-36/+0
2015-05-27llListRandomize() wasn't very randomCinder1-0/+51
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-05-12Disable the "show threadpool calls active" console command for now.Justin Clark-Casey (justincc)1-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.
2015-05-07Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto1-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.
2015-05-05Refactored some code that is used in two different dlls related to SOP ↵Diva Canto1-1/+183
rewriting. Also added some unit tests that relate to mantis #7514
2015-05-04Fixed a bug that would cause the sim extra stats reporter to fail in ↵Steven Zielinski1-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
2015-05-04Fixed vocabulary in a comment to match the code.Steven Zielinski1-1/+1
2015-05-02It wasn't that. Revert "Mantis #7514"Diva Canto1-3/+0
This reverts commit 365f46bfa91245e6e277a180dc6bbf757ea2540f.
2015-05-02Mantis #7514Diva Canto1-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.
2015-05-01Fixed a bug that would cause the sim extra stats reporter to fail in ↵Steven Zielinski1-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
2015-04-29Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto9-9/+9
AssemblyVersion("0.8.2.*")
2015-04-21Phase 2 additons with Frame Dilation metric.Robert Louden1-9/+10
2015-04-21Moved over metrics from previous OpenSim 0.8.0.3 repository (this new ↵Glenn Martin1-0/+47
repository is now the master branch from OpenSim).
2015-04-12Change UserProfiles so that the parcel name is used for a ProfilePick and ↵AliciaRaven1-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>
2015-03-16Don't log http auth details by default.Justin Clark-Casey (justincc)1-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
2015-03-16Fix XBakes simulator-side authentication regression failureJustin Clark-Casey (justincc)5-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()
2015-03-16Update version info to 0.8.2.0Justin Clark-Casey (justincc)1-1/+1
2015-03-14Revert "Allow a console command to give blank arguments ("") without the ↵dahlia1-5/+2
parser failing, e.g. login text """ This reverts commit 129cc49eb4d2f43cdda3804447f84bd3df397ff1. It was causing the "alert" console command to fail.
2015-03-13Don't try to write region size and MapfileStaticFile Nini settings that are ↵Justin Clark-Casey (justincc)1-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.
2015-03-11Allow a console command to give blank arguments ("") without the parser ↵Justin Clark-Casey (justincc)1-2/+5
failing, e.g. login text "" Relates to http://opensimulator.org/mantis/view.php?id=7489
2015-03-05solving HG IM, HGFriends issues based on falsified GridUser dataFreaky Tech1-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>
2015-03-04Alter the migrations so that it is a no-op as the columns are unused and the ↵BlueWall1-1/+1
operation is very expensive
2015-03-04Make private services forbid llHTTPRequest() calls by rejecting those that ↵Justin Clark-Casey (justincc)6-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.
2015-03-04Add outbound URL filter to llHttpRequest() and osSetDynamicTextureURL*() ↵Justin Clark-Casey (justincc)1-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
2015-03-03As per http://wiki.secondlife.com/wiki/Limits Prim description should be 128 ↵Cinder1-1/+1
bytes (127 + null terminator) Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03corrected script notecard parser. It now handles notecards with inventory as ↵ft@noemail1-84/+244
well. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03XML should not contain any BOM. Disabled BOM generation in BaseHttpServerFreaky Tech1-1/+2
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-02-25On shutdown (job engine stop), don't allow the ObjectDisposedException on ↵Justin Clark-Casey (justincc)1-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
2015-02-16Add NaN and Infinity tests for SOP Velocity and Acceleration setters.dahlia1-0/+16
2015-02-13Add missing BSD headers to files in OpenSim/Framework/ServiceAuthJustin Clark-Casey (justincc)3-3/+84
2015-02-04Fix bug in JobEngine where an attempt to restart after stop would trigger an ↵Justin Clark-Casey (justincc)1-1/+2
exception because the cancellation source was not recreated.
2015-01-19Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the ↵Justin Clark-Casey (justincc)1-2/+2
exception on error
2015-01-12Add the missing deleted and re-added JobEngine class from the previous ↵Justin Clark-Casey (justincc)1-0/+329
commit 8e1e8a0
2015-01-12Make the performance controlling job processing threads introduced in ↵Justin Clark-Casey (justincc)2-322/+74
conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
2015-01-07Commented out clear_registry_ because (1) it isn't clearing up anything ↵Diva Canto1-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.
2015-01-04Added overloaded LoadArchSpecificWindowsDll, to help addins load native ↵Diva Canto1-2/+7
libraries.
2015-01-03Added utility function that simplifies configuration loading of all addins.Diva Canto1-0/+57
2015-01-01Fix cut-and-paste error that made StatsManager web fetch queriesRobert Adams1-1/+1
fail for container specification.
2014-12-31Commenting out the suppression of console warnings from Mono addins while we ↵Diva Canto1-2/+2
test this new model for the next couple of weeks.
2014-12-30Renamed VERSION_NUMBER to VersionNumberDiva Canto1-2/+2
2014-12-30This cleans up versioning. Specifically:Diva Canto1-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.
2014-12-20Make sure we always dispose of disposables inside RestClient.Request()Justin Clark-Casey (justincc)1-26/+30
2014-12-20minor: Correct propery doc RestClient._resource spelling mistakeJustin Clark-Casey (justincc)1-1/+1
2014-12-10Fix a regression where objects crossing regions in the same simulator (on ↵Justin Clark-Casey (justincc)1-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
2014-11-28Stop writing SizeZ config parameter for now when creating regions from ↵Justin Clark-Casey (justincc)1-1/+1
console as it is unused/ignored, at least in core.
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)4-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
2014-11-25Change jobengine logging command to "debug jobengine log <int>" rather than ↵Justin Clark-Casey (justincc)1-7/+6
loglevel, in common with similar commands.
2014-11-25Move conditionals which control whether a task is placed in the JobEngine ↵Justin Clark-Casey (justincc)1-2/+37
inside Watchdog.RunJob() (renamed from RunWhenPossible) and generalize them.
2014-11-25Add "show threadpool calls active" console debug command.Justin Clark-Casey (justincc)2-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.