aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * Patch from Melanie provides Util.CleanString and uses it on the prim name ↵Teravus Ovares2007-12-281-5/+28
| | | | and description. Thanks Melanie.
* * Added ability to create new prim on existing prim (rezzing prim from ↵Teravus Ovares2007-12-281-0/+12
| | | | | | | inventory on other prim coming soon). No more new prim buried in the ground by accident. * The prim are at the absolute position of the prim you rezzed it on top of + (0,0,0.5) for now.
* * Optimized usingslbsa712007-12-271-8/+9
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* Fix up other sqlite db interactions to use non-hyphenated uuidJustin Clarke Casey2007-12-201-1/+1
| | | | | | | | | | Inventory contents retrieval and persistent region storage standalone now appear to work as well as they did before :) This patch will not fix grid problems. May be bugs present due to conversions I didn't spot. I personally probably don't have any more time for this today. I'm also not entirely convinced this is the right way forward so this might be a handy pause for thought. I'll also be delighted if I wake up tommorrow and everything is fine again.
* Establish Util.ToRawUuidString to get LLUUIDs in unhyphenated formJustin Clarke Casey2007-12-201-0/+10
| | | | | | | | Apply method to UUID crud in SqliteInventoryStore as an initial test This appears now to successfully recover inventory upon login This will almost certainly only work on standalone
* Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames2007-12-201-1/+1
| | | | Works with LibSL rev>1532
* Misc. cleanup:Jeff Ames2007-12-191-0/+10
| | | | | | | * added Util.Clip(value, min, max) * modified asset cache's numPackets calculation to use max packet size (600) instead of 1000 * removed a few magic numbers
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-101-2/+2
| | | | notice of doom
* Updates to LibSL revision 1498. Thanks Johan!Adam Johnson2007-12-071-0/+6
|
* * Moved OpenSim/Framework/General to OpenSim/Framework for great justice.lbsa712007-10-311-0/+371