aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * minor: eat up some yummy warningsJustin Clarke Casey2008-09-151-4/+5
|
* * Check in first part of http://opensimulator.org/mantis/view.php?id=2073Justin Clarke Casey2008-09-121-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.
* Update svn properties, formatting cleanup.Jeff Ames2008-09-091-2/+2
|
* Mantis #2142Melanie Thielker2008-09-071-0/+15
| | | | | | | Thank you, HomerHorwitz, for a patch that fixes landmark teleport and about landmarks with the new OMV types.
* Mantis#2136. Thank you kindly, HomerHorwitz for a patch that:Charles Krinke2008-09-061-7/+5
| | | | | | | | libomv corrected the endianess of some Helper methods, which broke the fake parcelID computation for "About Landmark". The attached patch fixes this.
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-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.
* * Initial inspection of UserLoginService.cs, cleaned up source code slightly ↵Adam Frisby2008-08-301-0/+10
| | | | to make it easier to work with.
* Formatting cleanup.Jeff Ames2008-08-181-2/+2
|
* Mantis#1965. Thank you kindly, HomerHorwitz for a patch that:Charles Krinke2008-08-161-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.
* dr scofield's warning safari:Dr Scofield2008-06-271-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
* Minor refactoring of POS. Adds a Util.Clamp(x, min, max) function.Jeff Ames2008-06-261-0/+8
|
* Added support for terrain map to be serialised to xml(as base64 binary). ↵MW2008-06-251-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.
* Minor cleanup.Jeff Ames2008-05-161-4/+3
|
* Formatting cleanup.Jeff Ames2008-05-161-10/+10
|
* * Minor: Insert utility function to format raw xml strings into indented xml ↵Justin Clarke Casey2008-05-091-1/+35
| | | | for debugging purposes
* * Spring cleaning.Adam Frisby2008-04-291-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.
* replace hard tabs with 4 spaces to be consistant in the source.Sean Dague2008-04-241-4/+4
| | | | | | Please adjust your editors to not use hard tabs.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-7/+9
| | | | (this took a while to run).
* * Get Util.GetHostFromDNS to tell us the dns address it was trying to ↵Justin Clarke Casey2008-04-141-1/+15
| | | | resolve if it fails.
* XmlRpcCommand refactoringJohan Berntsson2008-03-241-0/+13
|
* * First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey2008-03-201-22/+0
| | | | | | | | | | | | non-home regions * Should work in multi-region standalone and grid modes * This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc) * We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master * Current limitation is that this will only work if your http_listener_port is 9000 * This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
* Formatting cleanup. Minor refactoring.Jeff Ames2008-03-181-34/+16
|
* * Added the ability to type the partial name of a region in the start ↵Teravus Ovares2008-03-181-0/+48
| | | | | | | location box and go to that region if it's there. If no close match was found, it sends you home. This is tested on mySQL. There's untested code on grids that are based on sqlite and MSSQL. The SQL statements *should* be right, but your results may very. * Ex, if you want to go to Wright Plaza, you simply need to type Wright Plaza in the start location in the client when you log-in.
* Formatting cleanup.Jeff Ames2008-03-181-26/+25
|
* Applied patch from mantis #610, fixed invalid filenames with ↵MW2008-03-121-26/+55
| | | | dump_assets_to_file set to true. thanks tyre.
* Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson2008-03-041-0/+58
| | | | support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim.
* * Applying Ahzz's profile patch. Thanks Ahzz! Teravus Ovares2008-03-031-3/+19
| | | | | | * Fixed a few bugs in the patch that are sim crashers. * There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
* * Applying mantis 339 patches round 2 -- Thanks daediusAdam Frisby2008-02-081-2/+36
|
* * Added ReadEtcIssue to Util Teravus Ovares2008-01-231-0/+22
| | | | | | * If you have Debian running, you should get a platform line that says, 'Found Debian!' when starting up your sim. * If someone running Debian will confirm this does occur, that would be most helpful.
* * Mother of all commits:Adam Frisby2008-01-151-1/+1
| | | | | | | * Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
* Whitespace cleanup.Jeff Ames2008-01-101-21/+21
|
* Make it possible for new inventory 'libraries' to be added without changing ↵Justin Clarke Casey2007-12-311-1/+6
| | | | | | | | | the default OpenSimLibrary files. Additional library folders and items can be added in a separate directory and linked in by an entry to inventory/Libraries.xml
* Allow OpenSim operators to specify their own asset sets without needing to ↵Justin Clarke Casey2007-12-291-0/+5
| | | | | | | | change the default OpenSim set. Equivalent changes to allow operators to also specify their own standard inventory library directories and items to follow.