aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-04-29 recover PermissionsUtil.ApplyFoldedPermissions (well my version). its use ↵UbitUmarov1-2/+2
easys code readability
2017-04-28a few changes to permissions folding... we are testing. at this point only ↵UbitUmarov1-1/+4
use master for TESTING also
2017-03-31Allow setting the stats log file location in OpenSim.ini rather than ↵Melanie Thielker1-1/+14
app.exe.config
2017-01-16 chance new effective permissions code to ease aggregation on demand( ie on ↵UbitUmarov1-7/+9
changes). But still doing full aggregation on checks, so still heavy
2017-01-16Remove the last instance of the legacy slam but being setMelanie Thielker1-0/+8
New objects now get only the real slam bit.
2017-01-15use of PermissionMask Bit3 for slam was a recent mistake, so make it only ↵UbitUmarov1-3/+3
bit4 and move folded export to its more natural place as bit3
2017-01-14oops fix FolderMask acordingUbitUmarov1-1/+1
2017-01-14make the Slam bit actually be the two previus used ones, to try to minimize ↵UbitUmarov1-2/+2
compatibilty issues
2017-01-14fix incoerent definition of Slam bit (bits 3 and 4 used in diferentUbitUmarov1-2/+3
places.) this may still be wrong on other places; Do not loose folded permitions, WARNING MASTER IS NOW UNSTABLE. permissions are still broken"
2017-01-13Harmonize case in Permissions enumMelanie Thielker1-4/+5
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-43/+43
2016-12-23 check if a parcelID is a encoded position data or a true UUID. This may ↵UbitUmarov1-1/+5
fail, just reducing the odds.
2016-12-16and yes HG uri againUbitUmarov1-0/+20
2016-12-16ok.. another try on the HG uriUbitUmarov1-0/+114
2016-12-10Fix OpenSim bombing when a MySQL connection string doesn't contain a password.Melanie Thielker1-0/+2
Passwordless connection is perfectly legal and makes sense within a container.
2016-08-22try to make mono happyUbitUmarov1-3/+3
2016-08-22workaround potencial memory leakUbitUmarov1-1/+3
2016-08-13 add a missing cast to ulong in RegionGridLocToHandle (mantis: 7994)UbitUmarov1-1/+2
2016-07-31rearrange handlers convertion math, harcoding the grid unit size of 256m, ↵UbitUmarov1-17/+17
also inviting jit to use cpu barrel shifters.
2016-07-31 rename a few things to reduce confusion between regions wold location and ↵UbitUmarov1-3/+5
grid location (a lot more elsewhere)
2016-07-08Fixed the order of two file names used in a warning.Kevin Cozens1-1/+1
2015-12-09coment out odd DoubleQueue class codeUbitUmarov1-1/+2
2015-12-03fix a 1m diference in regions view range estimationsUbitUmarov1-1/+1
2015-11-27coment out warnings that do a messed around number of threadpool workitens ↵UbitUmarov1-1/+3
and number of active threads ( at least when a pool is in use)
2015-11-25 suspend the use of DisableSimulator, that is causing teleport and crossing ↵UbitUmarov1-1/+1
issues
2015-11-10 fix cut points of UTF-8 stringsUbitUmarov1-10/+28
2015-11-10 add a StringToBytes variant that takes Maximum lenght as argument.UbitUmarov1-0/+50
2015-10-28 fix cut points of UTF-8 stringsUbitUmarov1-10/+28
2015-09-04add a GetTimeStampMS method, this returns a time stamp in miliSeconds with ↵UbitUmarov1-0/+11
the resolution avaiable for StopWatchs. Value in double since it can be large (as machine uptime in high resolution ticks)
2015-09-02seems to compile ( tests comented out)UbitUmarov1-68/+0
2015-08-30more on tps and crossingsUbitUmarov1-7/+16
2015-08-11Better handling of invalid XML: a) prevent infinite loop on EOF; b) better ↵Oren Hurvitz1-0/+10
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.
2015-08-07Have osAvatarName2Key check the cache first, even for foreign usersOren Hurvitz1-1/+24
Another change: removed the second call to userManager.AddUser(). UserManagementModule won't modify an existing record.
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-02-16Add NaN and Infinity tests for SOP Velocity and Acceleration setters.dahlia1-0/+16
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
2014-11-25Add "show threadpool calls active" console debug command.Justin Clark-Casey (justincc)1-1/+27
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-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)1-10/+13
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25Add "show threadpool calls" command to show count of all labelled ↵Justin Clark-Casey (justincc)1-1/+15
smartthreadpool calls
2014-10-13on util thread pool reduce the min number of threads, increase theUbitUmarov1-1/+1
maximum and increase the idle time before release to OS
2014-09-05For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)1-30/+0
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).
2014-08-29Ignore whitespace when reading serialized XML objects.Justin Clark-Casey (justincc)1-5/+5
This was previously effectively being done by XmlDocument in the multiple passes through the XML. This change tells XmlReader to ignore whitespace. This also means changing arguments to use XmlReader instead of XmlTextReader (a descendent of XmlReader) directly. XmlReader.Create() has been the recommend way to create XML readers since .NET 2.0 as per MS SDK and is the only way to specific ignore whitespace settings.
2014-08-12fix the damm thingUbitUmarov1-6/+13
2014-07-21Better logging of threadpool activity in Overload mode: if we didn't log ↵Oren Hurvitz1-1/+7
"Queue threadfunc" for a particular thread then don't log "Run threadfunc" or "End threadfunc" for that thread either.
2014-07-21Close streams immediately when we finish using themOren Hurvitz1-40/+13
2014-07-14Use thread-safe version of .NET Random as the SDK class is not thread-safe.Justin Clark-Casey (justincc)1-1/+1
As per http://msdn.microsoft.com/en-us/library/system.random%28v=vs.100%29.aspx, the .NET Random class is not thread-safe. If called by multiple threads at once, methods may return 0. Except for llRand(), other OpenSimulator code did not lock before calling a shared Random instance. This commit adds a ThreadSafeRandom class that extends Random but does internal locking so that it is thread-safe. This change is invisible to existing callers and the explicit locking in the llFrand() implementation is now redundant.
2014-07-02Actually call Close() for shared region modules when the simulator is being ↵Justin Clark-Casey (justincc)1-1/+6
shutdown. Adds regression test for this case.
2014-04-25Restore overload mode accidentally disabled in a prior commit. Add a newMelanie1-2/+4
config option, LogOverloads, to log when a thread pool overload occurs. This option defaults to "True" because the logging data is useful for diagnosing threading issues.