aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-11-10varregion: fix GetLandObject error return and initialization of squareRobert Adams1-2/+4
land object bitmaps. This fixes creation of child presences and the editing of parcels. Also lots of commented out debugging messages.
2013-11-08varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams3-7/+48
Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
2013-11-05varregion: properly sense size of terrain heightmap and store asRobert Adams1-4/+15
compressed 2D database blob if a varregion.
2013-11-02varregion: Enforce the configuration of square regions in RegionInfo.cs.Robert Adams1-3/+15
2013-11-01varregion: fix lawn-mower terrain fill so it works for non-square regions.Robert Adams1-2/+2
Add some debugging logs on region creation to report region size.
2013-11-01varregion: enforce multiple of 256 for region size when parameters fetched ↵Robert Adams1-0/+33
from user. Output info and warning messages for non-legacy region sizes.
2013-11-01varregion: push TerrainData implementation up and down the database storage ↵Robert Adams1-24/+169
stack. Implement both LoadTerrain and StoreTerrain for all DBs. Move all database blob serialization/deserialization into TerrainData.
2013-10-31varregion: fix problem of X/Y dimensions swapped and incorrect terrainRobert Adams1-1/+1
compression base computation. Complete replacement of float[] for terrain heightmap with TerrainData instance.
2013-10-28Remove legacy sqlite lines added internally by OpenSimulator to the ↵Justin Clark-Casey (justincc)1-1/+0
[Startup] section. These are long unused but confusingly will be seen in the [Startup] section on a "config save".
2013-10-16varregion: move the compressed heighmap compression factor fromRobert Adams2-15/+30
Constants into TerrainData. Save compression factor with the terrain blob in the database.
2013-10-09* Add a session concurrency option per key. Allows developer/config to ↵teravus4-23/+102
specify number of concurrent requests on a service.
2013-10-07* Move the BasicDOSProtector.cs to OpenSim.Framework (all useful classes ↵teravus1-1/+29
belong there.....) * Add an IsBlocked(string Key) method so it can be used more generically. (think.. if we want to rate limit login failures, we could have a call in the Login Service to IsBlocked(uuid.ToString()) and ignore the connection if it returns true, if IsBlocked returns false, we could run the login information and if the login fails we could run the Process method to count the login failures.
2013-10-07* Refactorteravus4-410/+213
* Break out common BasicDOSProtector code into separate class.
2013-10-07* Added a Basic DOS protection container/base object for the most common ↵teravus4-0/+994
HTTP Server handlers. XMLRPC Handler, GenericHttpHandler and <Various>StreamHandler * Applied the XmlRpcBasicDOSProtector.cs to the login service as both an example, and good practice. * Applied the BaseStreamHandlerBasicDOSProtector.cs to the friends service as an example of the DOS Protector on StreamHandlers * Added CircularBuffer, used for CPU and Memory friendly rate monitoring. * DosProtector has 2 states, 1. Just Check for blocked users and check general velocity, 2. Track velocity per user, It only jumps to 2 if it's getting a lot of requests, and state 1 is about as resource friendly as if it wasn't even there.
2013-10-07varregion: plug in TerrainData class and modify TerrainModule and ↵Robert Adams2-12/+103
LLClientView to use same. This passes a terrain info class around rather than passing a one dimensional array thus allowing variable regions. Update the database storage for variable region sizes. This should be downward compatible (same format for 256x256 regions).
2013-10-07varregion: add new TerrainData and TerrainCompressor routines. ↵Robert Adams1-0/+152
TerrainCompressor needed to replace the one in libopenmetaverse that doesn't know about the larger terrain packets.
2013-10-04* Add an initial complete frame timeout to the WebSocket processor to make ↵teravus1-2/+65
it easier to write WebSocket service code that is resistant to Denial of Service attacks.
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)12-12/+12
2013-09-28varregion: serious rework of TerrainChannel:Robert Adams2-13/+21
-- addition of varaible region size in X and Y -- internal storage of heightmap changed from double[] to short[] -- helper routines for handling internal structure while keeping existing API -- to and from XML that adds region size information (for downward compatibility, output in the legacy XML format if X and Y are 256) Updated and commented Constants.RegionSize but didn't change the name for compatibility.
2013-09-28varregion: go back to using Constants.RegionSize so as not to breakRobert Adams1-20/+13
external modules. People shouldn't use it but don't want to cause too much breakage of legacy modules.
2013-09-28VarRegion: add RegionSize[XYZ] to RegionInfo.cs.Robert Adams1-23/+78
Update RegionInfo parameter and serialization routines to serialize the region size if it is not the LegacyRegionSize.
2013-09-28VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-23/+59
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-27refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)1-2/+2
the code that this is symmetric with CloseAgent()
2013-09-27refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)1-5/+7
it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
2013-09-25varregion: serious rework of TerrainChannel:Robert Adams2-13/+21
-- addition of varaible region size in X and Y -- internal storage of heightmap changed from double[] to short[] -- helper routines for handling internal structure while keeping existing API -- to and from XML that adds region size information (for downward compatibility, output in the legacy XML format if X and Y are 256) Updated and commented Constants.RegionSize but didn't change the name for compatibility.
2013-09-25varregion: go back to using Constants.RegionSize so as not to breakRobert Adams1-20/+13
external modules. People shouldn't use it but don't want to cause too much breakage of legacy modules.
2013-09-25VarRegion: add RegionSize[XYZ] to RegionInfo.cs.Robert Adams1-23/+78
Update RegionInfo parameter and serialization routines to serialize the region size if it is not the LegacyRegionSize.
2013-09-25VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-23/+59
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-22Don't use 'Indented' formatting for RpcXml responses.Aleric Inglewood1-1/+15
(cherry picked from commit 93abcde69043b175071e0bb752538d9730433f1d)
2013-09-22Preserve attachment point & position when attachment is rezzed in worldAleric Inglewood1-0/+11
Patch taken from http://opensimulator.org/mantis/view.php?id=4905 originally by Greg C. Fixed to apply to r/23314 commit ba9daf849e7c8db48e7c03e7cdedb77776b2052f (cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
2013-09-20Make new regions PG by default instead of Mature.Justin Clark-Casey (justincc)1-1/+1
This makes scripted object sounds and a few other things play by default instead of having to switch the viewer to adult This reduces the support burden
2013-09-03minor simplification of some unix date functions in Util. No functional change.Justin Clark-Casey (justincc)1-5/+3
2013-09-03Add experimental "show grid users online" console command to show grid users ↵Justin Clark-Casey (justincc)1-4/+4
online from a standalone/robust instance. This is not guaranteed to be accurate since users may be left "online" in certain situations. For example, if a simulator crashes and they never login/logout again. To counter this somewhat, only users continuously online for less than 5 days are shown.
2013-09-02Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)1-1/+2
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-23minor: Correct typo on "debug stats record start" messageJustin Clark-Casey (justincc)1-1/+1
2013-08-19Make it possible to disconnected a specified number of bots via the pCampbot ↵Justin Clark-Casey (justincc)1-2/+27
console command "disconnect [<n>]" Bots disconnected are ascending from last in numeric order. Temporarily no way to reconnect bots.
2013-08-17remove mono compiler warnings from PollServiceRequestManagerJustin Clark-Casey (justincc)1-4/+2
2013-08-17minor: remove mono compiler warning in StatsManagerJustin Clark-Casey (justincc)1-1/+1
2013-08-10Stats treaking. Update ToOSDMap for Stat and PercentageStat to returnRobert Adams4-150/+235
all the various numbers that have been added to the console output. Break out EventHistogram from CounterStat.
2013-08-08Add parameter and explanation of ManagedStats return to OpenSimDefaults.ini.Robert Adams1-0/+6
Add 'callback' query parameter to managed stats return to return function form of JSON data.
2013-08-08Add a JSON web fetch of the statististics managed by StatsManager.Robert Adams1-0/+31
Disabled by default. Enable by setting [Startup]ManagedStatsRemoteFetchURI="Something" and thereafter "http://ServerHTTPPort/Something/" will return all the managed stats (equivilent to "show stats all" console command). Accepts queries "cat=", "cont=" and "stat=" to specify statistic category, container and statistic names. The special name "all" is the default and returns all values in that group.
2013-08-08minor: Remove console lines at bottom of FakeParcelIDTests() regression test ↵Justin Clark-Casey (justincc)1-2/+0
that were accidentally left in
2013-08-08Fixed error in BuildFakeParcelID() which was detected by regression tests.Kevin Cozens1-2/+2
2013-08-08Added regression tests for the routines related to fake parcel IDs.Kevin Cozens1-0/+84
2013-08-08Additional regression tests for the location routines in Location.csKevin Cozens1-0/+7
2013-08-07minor: add some method doc to ScenePresence fields used for entity transfer, ↵Justin Clark-Casey (justincc)1-0/+6
add minor details to some log messages, rename a misleading local variable name. No functional changes.
2013-08-06Add file missing from last commit 4c2f6deJustin Clark-Casey (justincc)1-0/+108
2013-08-06Add the experimental ability to dump stats (result of command "show stats ↵Justin Clark-Casey (justincc)1-12/+40
all") to file OpenSimStats.log every 5 seconds. This can currently only be activated with the console command "debug stats record start". Off by default. Records to file OpenSimStats.log for simulator and RobustStats.log for ROBUST
2013-08-06Add "debug threadpool status" console command to show min/max/current ↵Justin Clark-Casey (justincc)1-0/+23
worker/iocp threadpool numbers
2013-08-05Add "debug comms status" command to show current debug comms settingsJustin Clark-Casey (justincc)1-0/+11