aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-05-23* Fixes [irritating] edge case in Util.GetLocalHost which could return an ↵Adam Frisby1-0/+8
IPv6 address if no non-loopback IPv4 address can be found. * Restores internal IPv6 support to NetworkUtil.* * Fixes bad login unit tests.
2009-05-23* Adds new NetworkUtil class, contains methods for handling IP resolution ↵Adam Frisby1-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.
2009-05-12Thank you kindly, Patnad, for a patch that:Charles Krinke1-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.
2009-04-28* Add preliminary code for resolving iar profile namesJustin Clarke Casey1-1/+0
* Not yet active
2009-04-14Adds session authentication upon NewUserConnections. Adds user key ↵diva1-0/+16
authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities.
2009-04-04Remove some Mono warnings.Homer Horwitz1-1/+1
2009-04-01* Added NUnit tested utility function GetHashGuid() for future use.lbsa711-7/+30
* Did some aligning refactoring of the MD5 and SHA-1 functions.
2009-03-31* Refactored out and de-duplicated Base64ToString(string)lbsa711-7/+20
* Fixed minor typo
2009-03-03Refactoring of CreateCommsManagerPlugin.MW1-2/+1
Plus some general cleanup of a few other files (deleting excess blank lines etc)
2009-02-28Added check so Util.ReadSettingsFromIniFile doesn't try to set static fields.MW1-18/+21
2009-02-28Copied the Util.ReadSettingsFromIniFile method from the branch to trunk.MW1-0/+61
2009-02-23* Performance Changes:Adam Frisby1-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.
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-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.
2009-02-17* Moved the nifty MySQLEstateData connectionstring password-stripper out ↵lbsa711-0/+20
into the Util project
2009-02-12* optimized usings.lbsa711-5/+5
2009-01-29Complete the implementation of llSHA1String.idb1-0/+11
2009-01-13Change fake parcel ids to allow a Z coordinate. Change TP by lureMelanie Thielker1-4/+24
to also transmit and use a Z coordinate.
2009-01-06* minor: Move GetRandomCapsPath() to a CapsUtil classJustin Clarke Casey1-8/+0
2009-01-05* Centralize references to the well known blank texture ↵Justin Clarke Casey1-1/+6
5748decc-f629-461c-9a36-a35a221fe21f to a constant in OpenSim.Framework.Util
2008-12-14Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke1-1/+1
Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
2008-12-09* Added primitive exception logging capabilities.Adam Frisby1-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.
2008-11-30Mantis #2584 (again)Melanie Thielker1-0/+6
Next step of diva's TP fixes and HG support
2008-11-19Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker1-5/+5
libOMV.
2008-11-19Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker1-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
2008-11-17* Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey1-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
2008-11-11* Implement basic region filtering as described in ↵Justin Clarke Casey1-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
2008-11-08* Added IClientIM to IClientCore interfacesAdam Frisby1-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.*
2008-11-03* Use the UUID regex sitting in utils for detection of uuids embedded in scriptsJustin Clarke Casey1-1/+7
* Replaces the one in the module itself, which had a dumb bug in it anyway
2008-11-02- Add Util.isUUIDHomer Horwitz1-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.
2008-10-18- Fix Util.UnixTimeSinceEpoch:Homer Horwitz1-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.
2008-10-15* Truncate outgoing media and music urls to 254 characters.Justin Clarke Casey1-40/+0
* Hopefully this will resolve http://opensimulator.org/mantis/view.php?id=2383
2008-10-15Thanks to M. Igarashi and nlin for a patch that implements llGetCameraRot().Dahlia Trimble1-0/+54
2008-10-12- Added helper method to compute global coordinates from a fake parcelIDHomer Horwitz1-4/+20
- Some formatting cleanups
2008-09-15* minor: eat up some yummy warningsJustin Clarke Casey1-4/+5
2008-09-12* Check in first part of http://opensimulator.org/mantis/view.php?id=2073Justin Clarke Casey1-0/+2
* This patch aims to introduce look at direction persistence between logins. It won't be active until the second part of the patch is committed in about two weeks time. At this point, region servers that haven't upgraded past this revision may run into problems * This checkin upgrades the user database. As always, we recommend you have backups in case something goes wrong. * Many thanks to tyre for this patch.
2008-09-09Update svn properties, formatting cleanup.Jeff Ames1-2/+2
2008-09-07Mantis #2142Melanie Thielker1-0/+15
Thank you, HomerHorwitz, for a patch that fixes landmark teleport and about landmarks with the new OMV types.
2008-09-06Mantis#2136. Thank you kindly, HomerHorwitz for a patch that:Charles Krinke1-7/+5
libomv corrected the endianess of some Helper methods, which broke the fake parcelID computation for "About Landmark". The attached patch fixes this.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-14/+14
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-30* Initial inspection of UserLoginService.cs, cleaned up source code slightly ↵Adam Frisby1-0/+10
to make it easier to work with.
2008-08-18Formatting cleanup.Jeff Ames1-2/+2
2008-08-16Mantis#1965. Thank you kindly, HomerHorwitz for a patch that:Charles Krinke1-0/+19
Places touched: - Added two events for in-packets to LLCLientView: RegionHandleRequest and ParcelInfoRequest - Added sending of two out-packets to LLCLientView: RegionIDAndHandleReply and ParcelInfoReply. - Scene handles the RegionHandleRequest, LandManagementModule the ParcelInfoRequest - Added inter-region request for LandData by RegionHandle and local position. This was implemented as XML-RPC request. The returned LandData isn't complete, it only contains the data necessary for answering the ParcelInfoRequest - Added new CAPS (0009) for RemoteParcelRequest and some methods for LandData handling to LandManagementModule - Added methods for fake parcelID creation and parsing to Util - Fixed missing implementation of interface methods. - Added new file: OpenSim/Framework/Communications/Capabilities/LLSDRemoteParcelResponse.cs NOTE: This is part of the patch, too. Due to the many places touched, I would consider this patch as experimental.
2008-06-27dr scofield's warning safari:Dr Scofield1-1/+1
* commented out [Obsolete(....)] attributes where no replacement feature was available: if we want to attribute code that we think needs to be reworked, we should define a new attribute and use that instead (together with a little tool to retrieve all the attributed code then) * commenting out unused variables
2008-06-26Minor refactoring of POS. Adds a Util.Clamp(x, min, max) function.Jeff Ames1-0/+8
2008-06-25Added support for terrain map to be serialised to xml(as base64 binary). ↵MW1-0/+42
useful for places that the terrain map is needed in a serialised form. Also could add console commands to save and load from files, which should be faster than .raw files (these load/save commands are not included/implemented) Add util functions to compress and uncompress strings. Fixed a couple of modules so they use SceneCommunicationService rather than directly call functions on the CommsManager.
2008-05-16Minor cleanup.Jeff Ames1-4/+3
2008-05-16Formatting cleanup.Jeff Ames1-10/+10
2008-05-09* Minor: Insert utility function to format raw xml strings into indented xml ↵Justin Clarke Casey1-1/+35
for debugging purposes
2008-04-29* Spring cleaning.Adam Frisby1-33/+32
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
2008-04-24replace hard tabs with 4 spaces to be consistant in the source.Sean Dague1-4/+4
Please adjust your editors to not use hard tabs.