aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/GridService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* coment out some debug, clean a bitUbitUmarov2015-09-261-8/+0
|
* seems to compile ( tests comented out)UbitUmarov2015-09-021-33/+4
|
* bad merge?UbitUmarov2015-09-011-2/+36
|\
| * review gridservice module. Not merged os code for varsize, since thatUbitUmarov2015-08-281-0/+68
| | | | | | | | should be handle at db level
| * varregion: any conversions of use of Constants.RegionSize converted intoRobert Adams2015-03-291-1/+2
| | | | | | | | Util.cs routines to convert region coords to and from world coords or handles.
| * Merge branch 'master' of ssh://3dhosting.de/var/git/careminsterMelanie Thielker2014-06-211-30/+69
| |\ | | | | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
| | * Add serialization/deserialization of region size to RegionInfo, GridRegion, ↵Robert Adams2013-12-281-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | and RegionData. This does not modify interfaces or handling of variable sized regions. This only enables the loading and storing of the region size and the reporting of the region size in grid service responses. The database tables already have the code to load and store the region size.
| * | Minor: Add prentheses to make a condition clearerMelanie2014-01-151-2/+1
| | |
* | | Added logging in places where regions are searched for by their locationOren Hurvitz2015-07-221-4/+15
| | | | | | | | | | | | This commit also fixes the log message "Region already exists in coordinates <{0},{1}>": it was actually showing the *requested* coordinates, instead of the coordinates of the previously-existing link.
* | | On the GridService, the central simulator features: ensure that the map tile ↵Diva Canto2015-01-221-1/+7
| | | | | | | | | | | | url ends with '/' because the viewer is dumb and just appends to it.
* | | SimulatorFeatures: the viewer also takes GridName in OpenSim extras. Added ↵Diva Canto2015-01-101-0/+13
| | | | | | | | | | | | that (plus GridURL, in case viewers want to use it too) to the GridService that gives out that info to simulators.
* | | minor: Just have one message that displays successful registration of a ↵Justin Clark-Casey (justincc)2014-12-031-2/+4
| | | | | | | | | | | | region with its parameters rather than 2
* | | OpenSimExtrasBlueWall2014-08-061-0/+43
| | | | | | | | | | | | Move the experimental extra features functionality into the GridService. This sends default values for map, search and destination guide, plus ExportSupported control to the region on startup. Please watch http://opensimulator.org/wiki/SimulatorFeatures_Extras for changes and documentation.
* | | Add code to GridService to check for overlapping of varregionsRobert Adams2014-07-201-6/+123
| | | | | | | | | | | | | | | | | | | | | | | | when registering a new region. Adds parameter "[GridService]SuppressVarRegionOverlapCheckOnRegistration=false" that can be turned on to suppress the error check if a simulator's database has old regions that overlap.
* | | In grid mode, add SuppressConsoleCommands flag to [GridService] so that we ↵Justin Clark-Casey (justincc)2014-07-181-13/+16
| | | | | | | | | | | | | | | | | | can stop misleading grid service only console commands from registering. We need to do this because the simulator initializes and internal copy of the GridService in grid mode for internal purposes
* | | Add ICommands.HasCommand() method so that we can detect whether a command ↵Justin Clark-Casey (justincc)2014-07-181-1/+1
| | | | | | | | | | | | has already been registered without needing to also run it
* | | minor: Remove compiler warning in GridServiceJustin Clark-Casey (justincc)2014-07-141-1/+1
| | |
* | | Add experimental "show grid size" robust console command.Justin Clark-Casey (justincc)2014-07-051-5/+34
| | | | | | | | | | | | | | | This will show an approximate grid size that doesn't count regions that are hyperlinks Not particularly trustworthy since it will still count regions that are not active but were not deregistered (deliberately or due to simulator crash or similar)
* | | Adjust "show regions" and "show region" robust service console output to ↵Justin Clark-Casey (justincc)2014-07-051-5/+5
| | | | | | | | | | | | | | | | | | | | | show size "show regions" drops the owner id column but is till present in "show region" "show regions" name column expanded to allow for longer hg regions (probably still too short, may eventually have to truncate rather than taking up huge screen space)
* | | Modifications to debugging printouts. No functional changes.Robert Adams2014-05-311-2/+7
| | |
* | | varregion: many more updates removing the constant RegionSize and replacingRobert Adams2013-12-261-6/+8
| | | | | | | | | | | | with a passed region size. This time in the map code and grid services code.
* | | varregion: many replacements of in-place arithmetic with calls toRobert Adams2013-11-281-0/+5
| | | | | | | | | | | | | | | the Util functions for converting world addresses to region addresses and converting region handles to locations.
* | | varregion: add linkage for region size in creations and conversionsRobert Adams2013-11-021-0/+4
| |/ |/| | | | | of GridRegion. New variables for size and code to initialize same.
* | Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)2013-09-021-2/+30
| | | | | | | | | | | | | | | | | | | | allow different default regions for HG and direct grid logins. This requires a new GridService.GetDefaultHypergridRegions() so ROBUST services require updating but not simulators. This method still returns regions flagged with just DefaultRegion after any DefaultHGRegions, so if no DefaultHGRegions are specified then existing configured defaults will still work. Immediate use is for conference where we need to be able to specify different defaults However, this is also generally useful to send experienced HG users to one default location and local users whose specified region fails (e.g. no "home" or "last") to another.
* | remove redundant return at end of HandleDeregisterRegion()Justin Clark-Casey (justincc)2013-08-231-2/+0
| |
* | Make it possible for the "deregister region id" command to accept more than ↵Justin Clark-Casey (justincc)2013-08-231-24/+27
|/ | | | one id
* Allow registering regions whose names are equivalent under LIKE but not ↵Oren Hurvitz2013-01-021-7/+7
| | | | truly equal
* Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)2012-10-091-24/+24
| | | | easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
* Fix and refactor region registration. Reorder checks to short-curcuit ↵Melanie2012-08-251-25/+28
| | | | | | | expensive and destructive ones. Properly fix region reservation and authentication. Make region moves and flags preservation work again as intended. Prevent failes reservation take-over from damging reservation data.
* Show region positions in "show regions" robust console commandJustin Clark-Casey (justincc)2012-06-261-1/+7
|
* minor: correct GridService "show regions" cibsike cinnabd usage statementJustin Clark-Casey (justincc)2012-06-261-1/+1
|
* Add much easier ConsoleDisplayTable AddColumn() and AddRow() methods.Justin Clark-Casey (justincc)2012-06-261-6/+5
| | | | Use these for new "show regions" command rather than old cumbersome stuff.
* Add "show regions" console command to ROBUST to show all regions currently ↵Justin Clark-Casey (justincc)2012-06-261-0/+44
| | | | | | registered. Command is not added in standalone, which has its own version of "show regions" that can also show estate name
* Add "show region at" command to grid service to get the details of a region ↵Justin Clark-Casey (justincc)2012-06-251-22/+69
| | | | | | | at a specific location. "show region" command becomes "show region name" to disambiguate This is the same format as used by "show object name", etc. "deregister region" also becomes "deregister region id"
* Add "deregister region" by uuid command to grid service to allow manual ↵Justin Clark-Casey (justincc)2012-06-131-0/+45
| | | | | | deregistration of simulators. Useful if a simulator has crashed without removing its regions and those regions have been reconfigured differently
* Add ConsoleDisplayList for more consistent formatting of console output in ↵Justin Clark-Casey (justincc)2012-05-231-9/+9
| | | | | | list form. Convert "show region" to use this structure rather than hand-constructing
* Add missing Y co-ord in "show region" console command informationJustin Clark-Casey (justincc)2012-05-231-1/+1
|
* Lay out "show region" information in an easier to read line by line formatJustin Clark-Casey (justincc)2012-05-231-9/+11
|
* Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2012-03-081-2/+2
| | | | | | | | | | | <category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
* Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)2011-11-191-2/+2
| | | | | | | 57956c4b-ff2e-4fc1-9995-613c6256cc98>: Invalid character 'O' in input string messages These are just the result of an attempt to canonicalize received messages - it's not important that we constantly log them. Also finally get the deregister grid service message working properly
* Improve some grid region log messages to express regions at co-ordinate ↵Justin Clark-Casey (justincc)2011-11-191-3/+3
| | | | (e.g. 1000, 1000) rather than meter positions (256000, 256000)
* improve region deregistration log messageJustin Clark-Casey (justincc)2011-11-191-1/+4
|
* Don't register a region twice on both official registration and maptile ↵Justin Clark-Casey (justincc)2011-11-191-0/+1
| | | | | | regeneration. Maptile storage appears orthogonal to region registration
* Tweak to language of last commit in rejecting UUID.Zero in ↵Justin Clark-Casey (justincc)2011-10-081-2/+4
| | | | | | | GridService.RegisterRegion() Allowing regions with UUID.Zero causes problems elsewhere according to http://opensimulator.org/mantis/view.php?id=3426 It's probably a bad idea to allow these in any case.
* GridService - Region UUID can not be NULLPixel Tomsen2011-10-081-0/+2
| | | | http://opensimulator.org/mantis/view.php?id=3426
* Get "show region" command in GridService to show grid co-ordinates rather ↵Justin Clark-Casey (justincc)2011-08-051-2/+3
| | | | | | | than meters co-ord. This makes it consistent with "show regions" Addresses http://opensimulator.org/mantis/view.php?id=5619
* If GetRegionByName can't match something in the local db, then search the ↵Justin Clark-Casey (justincc)2011-08-021-6/+27
| | | | | | hypergrid if that functionality has been enabled. This should fix the problem today where old style HG addresses (e.g. "hg.osgrid.org:80:Vue-6400") stopped working since 8c3eb324c4b666e7abadef4a714d1bd8d5f71ac2
* Change GridService.GetRegionByName() to only return info if there is an ↵Justin Clark-Casey (justincc)2011-08-021-1/+1
| | | | | | | exact region name match, unlike GetRegionsByName() This should fix the first part of http://opensimulator.org/mantis/view.php?id=5606, and maybe 5605. Thanks to Melanie for helping with this.
* Revert "In GridService, have GetRegionByName() call GetRegionsByName() with ↵Justin Clark-Casey (justincc)2011-08-021-5/+4
| | | | | | | | a max return of 1 instead of duplicating code." This reverts commit 8d33a2eaa10ed75146f45cca4d6c19ac814d5fee. Better fix will be along in a minute
* In GridService, have GetRegionByName() call GetRegionsByName() with a max ↵Justin Clark-Casey (justincc)2011-08-021-4/+5
| | | | | | return of 1 instead of duplicating code. This also fixes the problem where this method would not return a hypergrid region, unlike GetRegionsByName()