aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/GridService.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-26coment out some debug, clean a bitUbitUmarov1-8/+0
2015-09-02seems to compile ( tests comented out)UbitUmarov1-33/+4
2015-08-28 review gridservice module. Not merged os code for varsize, since thatUbitUmarov1-0/+68
should be handle at db level
2015-07-22Added logging in places where regions are searched for by their locationOren Hurvitz1-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.
2015-03-29varregion: any conversions of use of Constants.RegionSize converted intoRobert Adams1-1/+2
Util.cs routines to convert region coords to and from world coords or handles.
2015-01-22On the GridService, the central simulator features: ensure that the map tile ↵Diva Canto1-1/+7
url ends with '/' because the viewer is dumb and just appends to it.
2015-01-10SimulatorFeatures: the viewer also takes GridName in OpenSim extras. Added ↵Diva Canto1-0/+13
that (plus GridURL, in case viewers want to use it too) to the GridService that gives out that info to simulators.
2014-12-03minor: Just have one message that displays successful registration of a ↵Justin Clark-Casey (justincc)1-2/+4
region with its parameters rather than 2
2014-08-06OpenSimExtrasBlueWall1-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.
2014-07-20Add code to GridService to check for overlapping of varregionsRobert Adams1-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.
2014-07-18In grid mode, add SuppressConsoleCommands flag to [GridService] so that we ↵Justin Clark-Casey (justincc)1-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
2014-07-18Add ICommands.HasCommand() method so that we can detect whether a command ↵Justin Clark-Casey (justincc)1-1/+1
has already been registered without needing to also run it
2014-07-14minor: Remove compiler warning in GridServiceJustin Clark-Casey (justincc)1-1/+1
2014-07-05Add experimental "show grid size" robust console command.Justin Clark-Casey (justincc)1-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)
2014-07-05Adjust "show regions" and "show region" robust service console output to ↵Justin Clark-Casey (justincc)1-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)
2014-05-31Modifications to debugging printouts. No functional changes.Robert Adams1-2/+7
2014-01-15Minor: Add prentheses to make a condition clearerMelanie1-2/+1
2013-12-28Add serialization/deserialization of region size to RegionInfo, GridRegion, ↵Robert Adams1-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.
2013-12-26varregion: many more updates removing the constant RegionSize and replacingRobert Adams1-6/+8
with a passed region size. This time in the map code and grid services code.
2013-11-28varregion: many replacements of in-place arithmetic with calls toRobert Adams1-0/+5
the Util functions for converting world addresses to region addresses and converting region handles to locations.
2013-11-02varregion: add linkage for region size in creations and conversionsRobert Adams1-0/+4
of GridRegion. New variables for size and code to initialize same.
2013-09-02Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)1-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.
2013-08-23remove redundant return at end of HandleDeregisterRegion()Justin Clark-Casey (justincc)1-2/+0
2013-08-23Make it possible for the "deregister region id" command to accept more than ↵Justin Clark-Casey (justincc)1-24/+27
one id
2013-01-02Allow registering regions whose names are equivalent under LIKE but not ↵Oren Hurvitz1-7/+7
truly equal
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-51/+48
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-10-09Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)1-24/+24
easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
2012-08-25Fix and refactor region registration. Reorder checks to short-curcuit ↵Melanie1-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.
2012-06-26Show region positions in "show regions" robust console commandJustin Clark-Casey (justincc)1-1/+7
2012-06-26minor: correct GridService "show regions" cibsike cinnabd usage statementJustin Clark-Casey (justincc)1-1/+1
2012-06-26Add much easier ConsoleDisplayTable AddColumn() and AddRow() methods.Justin Clark-Casey (justincc)1-6/+5
Use these for new "show regions" command rather than old cumbersome stuff.
2012-06-26Add "show regions" console command to ROBUST to show all regions currently ↵Justin Clark-Casey (justincc)1-0/+44
registered. Command is not added in standalone, which has its own version of "show regions" that can also show estate name
2012-06-25Add "show region at" command to grid service to get the details of a region ↵Justin Clark-Casey (justincc)1-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"
2012-06-13Add "deregister region" by uuid command to grid service to allow manual ↵Justin Clark-Casey (justincc)1-0/+45
deregistration of simulators. Useful if a simulator has crashed without removing its regions and those regions have been reconfigured differently
2012-05-23Add ConsoleDisplayList for more consistent formatting of console output in ↵Justin Clark-Casey (justincc)1-9/+9
list form. Convert "show region" to use this structure rather than hand-constructing
2012-05-23Add missing Y co-ord in "show region" console command informationJustin Clark-Casey (justincc)1-1/+1
2012-05-23Lay out "show region" information in an easier to read line by line formatJustin Clark-Casey (justincc)1-9/+11
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-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.
2011-11-19Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)1-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
2011-11-19Improve some grid region log messages to express regions at co-ordinate ↵Justin Clark-Casey (justincc)1-3/+3
(e.g. 1000, 1000) rather than meter positions (256000, 256000)
2011-11-19improve region deregistration log messageJustin Clark-Casey (justincc)1-1/+4
2011-11-19Don't register a region twice on both official registration and maptile ↵Justin Clark-Casey (justincc)1-0/+1
regeneration. Maptile storage appears orthogonal to region registration
2011-10-08Tweak to language of last commit in rejecting UUID.Zero in ↵Justin Clark-Casey (justincc)1-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.
2011-10-08GridService - Region UUID can not be NULLPixel Tomsen1-0/+2
http://opensimulator.org/mantis/view.php?id=3426
2011-08-05Get "show region" command in GridService to show grid co-ordinates rather ↵Justin Clark-Casey (justincc)1-2/+3
than meters co-ord. This makes it consistent with "show regions" Addresses http://opensimulator.org/mantis/view.php?id=5619
2011-08-02If GetRegionByName can't match something in the local db, then search the ↵Justin Clark-Casey (justincc)1-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
2011-08-02Change GridService.GetRegionByName() to only return info if there is an ↵Justin Clark-Casey (justincc)1-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.
2011-08-02Revert "In GridService, have GetRegionByName() call GetRegionsByName() with ↵Justin Clark-Casey (justincc)1-5/+4
a max return of 1 instead of duplicating code." This reverts commit 8d33a2eaa10ed75146f45cca4d6c19ac814d5fee. Better fix will be along in a minute
2011-08-02In GridService, have GetRegionByName() call GetRegionsByName() with a max ↵Justin Clark-Casey (justincc)1-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()
2011-02-18If GridService.GetNeighbours() could not find the region then log a warning ↵Justin Clark-Casey (justincc)1-1/+11
rather than causing a null reference on the normal log line This also extends the TestChildAgentEstablished() test to actually activate the EntityTransferModule, though the test is not yet viable