aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Try/catch around EndInvoke() when Util.FireAndForget() returns to catch ↵John Hurliman2009-10-061-1/+3
| | | | | | | exceptions thrown in the async method * Added packet stats handling to the new LLUDP implementation * Attempting to avoid a race condition when creating a new LLUDPClient
* * Continued work on the new LLUDP implementation. Appears to be functioning, ↵John Hurliman2009-10-061-0/+36
| | | | | | | | although not everything is reimplemented yet * Replaced logic in ThreadTracker with a call to System.Diagnostics that does the same thing * Added Util.StringToBytes256() and Util.StringToBytes1024() to clamp output at byte[256] and byte[1024], respectively * Fixed formatting for a MySQLAssetData error logging line
* Merge branch 'diva-textures-osgrid'Melanie2009-10-041-4/+6
|\
| * * Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2009-10-021-5/+7
| | | | | | | | | | | | Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
* | Formatting cleanup.Jeff Ames2009-10-011-3/+3
| |
* | Moved all HG1 operations to HGGridConnector.cs and ↵Diva Canto2009-09-261-0/+26
| | | | | | | | | | | | HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo. Fixed small bugs with hyperlinked regions' map positions.
* | * Minor commit, added two new math utility functions.Adam Frisby2009-09-241-0/+33
|/
* Added Util.FireAndForget(), to replace leaking calls to Delegate.BeginInvoke()John Hurliman2009-09-031-0/+22
|
* Remove debugging output frm ini file loading. Make it collect matchingMelanie2009-08-071-10/+8
| | | | files only from last path component.
* Add extensive debug output to Util.GlobMelanie2009-08-071-0/+9
|
* Remove GetFullPath call from config includes, because it barfs in WindozeMelanie2009-08-071-3/+0
|
* Add a method to init the OSSL Api's m_LSL_Api member back to the OSSL ApiMelanie2009-08-071-0/+3
|
* Allow arbitrary wildcards in config includes. Things likeMelanie2009-08-061-0/+51
| | | | | Include-Modules = "addin-modules/*/config/*.ini" will now work. Adds Util.Glob, which will resolve a globbed path into a string list.
* Formatting cleanup.Jeff Ames2009-06-101-2/+2
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Add copyright headers, formatting cleanup, ignore some generated files.Jeff Ames2009-05-311-1/+1
|
* One more utility. Not used yet.diva2009-05-251-2/+22
|
* * Fixes [irritating] edge case in Util.GetLocalHost which could return an ↵Adam Frisby2009-05-231-0/+8
| | | | | | | | IPv6 address if no non-loopback IPv4 address can be found. * Restores internal IPv6 support to NetworkUtil.* * Fixes bad login unit tests.
* * Adds new NetworkUtil class, contains methods for handling IP resolution ↵Adam Frisby2009-05-231-0/+14
| | | | | | | when located on the same subnet. (Eg, can be used to avoid NAT Loopback requirements if fully utilized.) * Adds a few new network-related methods to Util.
* Thank you kindly, Patnad, for a patch that:Charles Krinke2009-05-121-0/+24
| | | | | | | | | This is to handle the changes in the v1.23 viewer of LL regarding the adult rating. With this patch a region can be changed to the adult rating from LL viewer v1.23 and above.
* * Add preliminary code for resolving iar profile namesJustin Clarke Casey2009-04-281-1/+0
| | | | | | * Not yet active
* Adds session authentication upon NewUserConnections. Adds user key ↵diva2009-04-141-0/+16
| | | | authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities.
* Remove some Mono warnings.Homer Horwitz2009-04-041-1/+1
|
* * Added NUnit tested utility function GetHashGuid() for future use.lbsa712009-04-011-7/+30
| | | | | * Did some aligning refactoring of the MD5 and SHA-1 functions.
* * Refactored out and de-duplicated Base64ToString(string)lbsa712009-03-311-7/+20
| | | | | * Fixed minor typo
* Refactoring of CreateCommsManagerPlugin.MW2009-03-031-2/+1
| | | | | Plus some general cleanup of a few other files (deleting excess blank lines etc)
* Added check so Util.ReadSettingsFromIniFile doesn't try to set static fields.MW2009-02-281-18/+21
|
* Copied the Util.ReadSettingsFromIniFile method from the branch to trunk.MW2009-02-281-0/+61
|
* * Performance Changes:Adam Frisby2009-02-231-0/+15
| | | | | | | * Moves Entity Updates into a seperate thread, allowing for OpenSim to utilize a computers CPU more effectively in return for potentially greater user and prim capacity. * Removes an expensive Sqrt call performed during Update on each object. This should lower CPU requirements for high-prim regions with physics enabled. * MXP Changes: Centers the region around 0,0 for primitives instead of 128,128. Prim display should now look more correct for MXP viewers.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-221-4/+2
| | | | | | | | | * Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
* * Moved the nifty MySQLEstateData connectionstring password-stripper out ↵lbsa712009-02-171-0/+20
| | | | into the Util project
* * optimized usings.lbsa712009-02-121-5/+5
|
* Complete the implementation of llSHA1String.idb2009-01-291-0/+11
|
* Change fake parcel ids to allow a Z coordinate. Change TP by lureMelanie Thielker2009-01-131-4/+24
| | | | | | to also transmit and use a Z coordinate.
* * minor: Move GetRandomCapsPath() to a CapsUtil classJustin Clarke Casey2009-01-061-8/+0
|
* * Centralize references to the well known blank texture ↵Justin Clarke Casey2009-01-051-1/+6
| | | | 5748decc-f629-461c-9a36-a35a221fe21f to a constant in OpenSim.Framework.Util
* Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke2008-12-141-1/+1
| | | | | | | Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
* * Added primitive exception logging capabilities.Adam Frisby2008-12-091-0/+28
| | | | | | | * Disabled by default (see OpenSim.ini.example for how to enable) * Saves exceptions to a folder on disk (default "crashes") when enabled. * These reports can then be uploaded or posted to help debug an error.
* Mantis #2584 (again)Melanie Thielker2008-11-301-0/+6
| | | | | | Next step of diva's TP fixes and HG support
* Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker2008-11-191-5/+5
| | | | | | libOMV.
* Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker2008-11-191-5/+5
| | | | | | | | | release a direct descendant of the stable 7364, with all the features and none of the issues. This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373 r7372 r7370 r7369 r7368 r7367 r7366
* * Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey2008-11-171-5/+5
| | | | | | | | * Update libopenjpeg as well for this patch. * Appears to be okay on a very short sniff test * Source code will be placed in opensim-libs shortly
* * Implement basic region filtering as described in ↵Justin Clarke Casey2008-11-111-0/+27
| | | | | | | | | | | | https://lists.berlios.de/pipermail/opensim-dev/2008-November/003468.html * This is done by sending a 'major interface version' number on sim registration. Developers must increment this every time they make a change that would make the previous OpenSim revision failure incompatible with the new one (non-fatal incompatibilities are fine). * This number resides in OpenSim.Framework.Servers.VersionInfo.MajorInterfaceVersion * This allows the grid service to stop older, incompatible regions from connecting
* * Added IClientIM to IClientCore interfacesAdam Frisby2008-11-081-1/+1
| | | | | | * Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting. * Removed unused usings from Framework.*
* * Use the UUID regex sitting in utils for detection of uuids embedded in scriptsJustin Clarke Casey2008-11-031-1/+7
| | | | | | * Replaces the one in the module itself, which had a dumb bug in it anyway
* - Add Util.isUUIDHomer Horwitz2008-11-021-0/+7
| | | | | | | - Add tests for Util.isUUID - First part of the fix for protocol interoperability between viewer 1.20 and 1.21 for friend offers.
* - Fix Util.UnixTimeSinceEpoch:Homer Horwitz2008-10-181-3/+8
| | | | | | | | | | | | * Unix epoch starts at midnight, not at 8:00am * All date/time handling should be done in UTC in the server, not in the local timezone. * Refactor out repeated computation of a constant value - Added setting of CreationTime to some places where inventoryitems are created This fixes Mantis#2390.
* * Truncate outgoing media and music urls to 254 characters.Justin Clarke Casey2008-10-151-40/+0
| | | | | | * Hopefully this will resolve http://opensimulator.org/mantis/view.php?id=2383
* Thanks to M. Igarashi and nlin for a patch that implements llGetCameraRot().Dahlia Trimble2008-10-151-0/+54
|
* - Added helper method to compute global coordinates from a fake parcelIDHomer Horwitz2008-10-121-4/+20
| | | | | | - Some formatting cleanups