aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* minor: Use Vector2.Zero constant and only set in condition branch where it ↵Justin Clark-Casey (justincc)2014-04-301-1/+2
| | | | was missing in TryParseConsole2DVector(). xbuild still compiles.
* Assign value to 'vector' to fix building under xbuild and MonodevelopBlueWall2014-04-301-0/+1
|
* Add "terrain show" console command which outputs terrain height for a given ↵Justin Clark-Casey (justincc)2014-04-301-13/+65
| | | | | | region co-ordinate. For debug purposes.
* Improved HTTP loggingOren Hurvitz2014-04-292-4/+3
|
* Fix issue where terrain height values > 327 caused chaotic spiked terrain.Justin Clark-Casey (justincc)2014-04-251-17/+17
| | | | | | | | | | | Per http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files#Notes_for_Creating_Height_Field_Maps_for_Second_Life terrain heights up to 508 are possible on the LL grid (and were available on previous releases of OpenSimulator). The obvious way to allow both this and equivalent -z values, is to rewiden the internal terrain height storage from short to int. The memory tradeoff is most noticeable on the maximum 8192x8192 var region (equiv to 1024 normal regions), where it adds 128mb to resident use (128k on a normal region) This is still better than the double used in previous releases. This does not affect physics or data storage since they already use float and double respectively. This may not be the final solution if we actually want to sacrifice -z, >327 or something else. Relates to http://opensimulator.org/mantis/view.php?id=7076
* Restore overload mode accidentally disabled in a prior commit. Add a newMelanie2014-04-251-2/+4
| | | | | | config option, LogOverloads, to log when a thread pool overload occurs. This option defaults to "True" because the logging data is useful for diagnosing threading issues.
* - Created a standard function to send XML-RPC requests, which logs them like ↵Oren Hurvitz2014-04-242-75/+139
| | | | | | | we do for other types of HTTP activity. - Changed OpenProfileClient to use the new XML-RPC sending function - Improved logging in WebUtil
* When sending JSON-RPC calls (for UserProfile), use WebUtil instead of ↵Oren Hurvitz2014-04-242-110/+89
| | | | constructing the HTTP requests manually. This allows the calls to be logged when using "debug http all 6".
* Apply logging flag to a spammy message that may have been overlooked.Melanie2014-04-241-1/+1
| | | | No one needs to see every thread launch.....
* Eliminated many warningsOren Hurvitz2014-04-233-1/+8
|
* Changed the maximum asset name and description lengths to constants. Also, ↵Oren Hurvitz2014-04-221-0/+3
| | | | pre-truncate the description of dynamic textures.
* Refactor: Rename GetOtherSetting to GetSetting and make SetOtherSetting privateMelanie2014-04-121-6/+6
|
* Remove the old XML format parsing. Now additional region params can just beMelanie2014-04-128-1186/+8
| | | | | added as they are already exposed through an API when using Nini. That will remove the need to always edit RegioInfo just to add a region based setting.
* Add per-user checking to PrimLimitsModuleDev Random2014-04-122-0/+19
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Reduced log levels for REST 404 errors to DEBUGOren Hurvitz2014-04-031-1/+2
|
* Better error messages in RestClientOren Hurvitz2014-04-031-3/+2
|
* String matching in REST handlers: must allow '-' as a separator, because the ↵Oren Hurvitz2014-04-021-1/+1
| | | | "/map" handler uses it
* Better string matching when searching for REST handlers: must match an ↵Oren Hurvitz2014-04-021-3/+8
| | | | | | entire path component (ending with '/' or a similar character). For example, these should match: "/assets" and "/assets/12345", but these shouldn't match: "/assets" and "/assets_exist".
* Fixed last-resort sending of error response (HTTP 500) when an error occurs ↵Oren Hurvitz2014-04-022-10/+10
| | | | | | while handling a request. The previous code didn't actually send the response, so the caller was stuck until the timeout (100 seconds).
* Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz2014-04-021-0/+50
| | | | | | list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory.
* Merge branch 'master' of /home/opensim/var/repo/opensimBlueWall2014-03-271-23/+28
|\
| * Fixed a case where logging an HTTP response failed because the stream was ↵Oren Hurvitz2014-03-271-23/+28
| | | | | | | | non-seekable
* | Merge branch 'master' into m_testBlueWall2014-03-275-18/+30
|\ \ | |/
| * Log errors in MakeRequest() as INFO, not ERROR. Some communications problems ↵Oren Hurvitz2014-03-271-2/+2
| | | | | | | | | | | | are benign (e.g., can't send Friend status update to a region that is down), so don't log them as ERROR so soon. We rethrow the exception, so the caller can still decide to log the error as an ERROR. Resolves http://opensimulator.org/mantis/view.php?id=7077
| * refactor: Actually use MaptileStaticFile in RegionInfo rather than having ↵Justin Clark-Casey (justincc)2014-03-261-10/+6
| | | | | | | | both a public field and a get property
| * - Increased the threadpool timeout to 10 minutesOren Hurvitz2014-03-261-1/+1
| | | | | | | | - Changed a few places that launch long-lasting threads to skip the timeout altogether
| * Use the "X-Content-Encoding" header to indicate gzipped data, because old ↵Oren Hurvitz2014-03-253-4/+18
| | | | | | | | OpenSims fail if they get an unknown "Content-Encoding"
| * Use the "Content-Encoding" header to indicate gzipped streamsOren Hurvitz2014-03-253-5/+7
| |
* | Sync code that has moved in development branch with changes in masterBlueWall2014-03-251-45/+41
| |
* | Move from UserProfileModule for general availabilityBlueWall2014-03-251-0/+215
|/
* Always throw an exception if MakeRequest (used for HTTP POST) fails. ↵Oren Hurvitz2014-03-252-21/+12
| | | | | | (Previously many exceptions were ignored) Resolves http://opensimulator.org/mantis/view.php?id=6949
* Improved logging of HTTP requestsOren Hurvitz2014-03-253-49/+165
| | | | | | | | | | | - MemoryBuffer isn't seekable, so we can't log it. Log the string instead. - Handle compressed streams - Don't attempt to dump binary data. Either don't log it at all (if we know it's binary), or at least convert non-ASCII characters to ASCII. - Log responses to HTTP requests - Use the same log prefix for all of these log messages ("[LOGHTTP]"), to make them easy to see at a glance - Increased the snippet length to 200 (80 doesn't show enough), and add "..." only if the message was actually truncated Resolves http://opensimulator.org/mantis/view.php?id=6949
* Fixed unit tests due to changes in the threadpoolOren Hurvitz2014-03-251-8/+19
|
* Run slow operations in a separate thread, instead of using FireAndForget ↵Oren Hurvitz2014-03-251-0/+23
| | | | | | (which has a 1-minute timeout) Resolves http://opensimulator.org/mantis/view.php?id=6945
* Changed LogThreadPool to have 4 logging levels. Added console command "debug ↵Oren Hurvitz2014-03-252-19/+78
| | | | | | threadpool level" to set the logging level. Resolves http://opensimulator.org/mantis/view.php?id=6945
* Added a watchdog to abort slow threads in the main thread poolOren Hurvitz2014-03-251-11/+269
| | | | | | | | | | If a task in the thread pool hangs then it will permanently take up one of the threads. If this happens repeatedly then the thread pool will become exhausted and OpenSim will fail. This watchdog terminates threads in the thread pool that have been executing for over a minute (which probably means they're hung). Resolves http://opensimulator.org/mantis/view.php?id=6945
* LogThreadPool: when the thread is for ProcessPacketMethod, also log the ↵Oren Hurvitz2014-03-251-3/+12
| | | | | | packet type Resolves http://opensimulator.org/mantis/view.php?id=6945
* Refactored DebugFlagsEnumOren Hurvitz2014-03-251-5/+14
| | | | Resolves http://opensimulator.org/mantis/view.php?id=6945
* Automatically start logging FireAndForget activity if the threadpool is fullOren Hurvitz2014-03-251-4/+19
| | | | Resolves http://opensimulator.org/mantis/view.php?id=6945
* Added debug flag: LogThreadPool. It makes us log every use of the main ↵Oren Hurvitz2014-03-251-29/+114
| | | | | | threadpool. Resolves http://opensimulator.org/mantis/view.php?id=6945
* Refactored: ExternalRepresentationUtils should be the only place where the ↵Oren Hurvitz2014-03-243-6/+22
| | | | | | "CreatorData" field is calculated, to ensure uniformity Resolves http://opensimulator.org/mantis/view.php?id=6933
* When updating the CreatorId of an inventory item, automatically update the ↵Oren Hurvitz2014-03-241-1/+4
| | | | | | CreatorIdAsUuid field as well Resolves http://opensimulator.org/mantis/view.php?id=6933
* Get the full viewer name even if it's (incorrectly) sent in the 'Channel' fieldOren Hurvitz2014-03-241-0/+32
| | | | | | Recent versions of Firestorm and Singularity have started sending the viewer name in the 'Channel' field, leaving only their version number in the 'Viewer' field. So we need to search both of these fields for the viewer name. This resolves http://opensimulator.org/mantis/view.php?id=6952
* Allow Mono Plugin Registry setting for RegionsDev Random2014-03-221-6/+7
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Add monitored thread last update times as stats in "show stats all"Justin Clark-Casey (justincc)2014-03-211-0/+26
| | | | These have the format server.thread.<thread-name>
* Allow Region specific static maptiles to be loaded from file.Jak Daniels2014-03-181-0/+21
|
* Revert "Simplify DoubleQueue to eliminate redundant sempahore work."Justin Clark-Casey (justincc)2014-03-191-7/+27
| | | | | | This reverts commit 52b7b40034ddbb21d06b11ddc4eb6d766b0f616d. Got the semantics wrong - the sempahore is required so that the blocking thread waits for a signal.
* Simplify DoubleQueue to eliminate redundant sempahore work.Justin Clark-Casey (justincc)2014-03-191-27/+7
| | | | | Exclusion is already guaranteed by the lock on m_syncRoot. Semaphore could not allow more than one thread in these sections anyway since the underlying SDK structures are not thread-safe.
* minor: Make "stats show" an alias for "show stats" command.Justin Clark-Casey (justincc)2014-03-191-2/+10
|
* Rename "debug stats record" command to "stats record" for consistency. Move ↵Justin Clark-Casey (justincc)2014-03-191-3/+3
| | | | from debug to general command category