aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-23Dynamic textures shouldn't be saved in the assets service (only in the ↵Oren Hurvitz1-2/+2
simulator cache)
2014-04-22Changed the maximum asset name and description lengths to constants. Also, ↵Oren Hurvitz1-0/+2
pre-truncate the description of dynamic textures.
2014-01-31Make sure Web streams are disposed after useOren Hurvitz1-4/+3
2013-12-14varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams1-2/+2
Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.
2013-11-23Fix false positive test failure in ↵Justin Clark-Casey (justincc)1-2/+2
TestRepeatSameDrawContainingImageReusingTexture() and TestRepeatSameDrawContainingImage() if localhost has a webserver set up. Use 0.0.0.0 instead of localhost
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)3-6/+6
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-10-07varregion: remove scattered use of Constants.RegionSize by having routines ↵Robert Adams1-2/+2
reference RegionInfo.RegionWorldLoc?.
2013-09-28VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-2/+2
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-25VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-2/+2
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-08-08Better error reporting when registering LSL function extensions (comms module).Robert Adams1-4/+13
For unknown reasons, a dynamic function signature cannot have more than 5 parameters. Error message now tells you this fact so you can curse MS and then go change your function definitions.
2013-08-05Comment out debug log lines about script modules comms for now.Justin Clark-Casey (justincc)1-2/+2
If this is an issue, could change log4net config instead to allow re-enablement
2013-07-15Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)1-2/+4
handlers. This adds explicit cap poll handler supporting to the Caps classes rather than relying on callers to do the complicated coding. Other refactoring was required to get logic into the right places to support this.
2013-07-11minor: remove some regression test logging switches accidentally left ↵Justin Clark-Casey (justincc)1-1/+1
uncommented.
2013-07-11minor: Take out unnecessary clumsy sleep at the end of regression ↵Justin Clark-Casey (justincc)1-3/+0
Test404Response(). This wasn't actually necessary in the end but was accidentally left in.
2013-07-11Fix regression where llHTTPRequests which did not get an OK response ↵Justin Clark-Casey (justincc)2-40/+238
returned 499 and the exception message in the http_response event rather than the actual response code and body. This was a regression since commit 831e4c3 (Thu Apr 4 00:36:15 2013) This commit also adds a regression test for this case, though this currently only works with Mono This aims to address http://opensimulator.org/mantis/view.php?id=6704
2013-06-07Supply proper type information for the various types of requestsMelanie1-6/+6
2013-06-07Adding Avination's PollService to round out the HTTP inventory changesMelanie1-4/+4
2013-04-10minor: fix mono compiler warning in ScriptsHttpRequests.csJustin Clark-Casey (justincc)1-1/+0
2013-04-04refactor: Simplify ScriptsHttpRequests.GetNextCompletedRequest to more ↵Justin Clark-Casey (justincc)1-10/+4
simply iterate through pending requests without unnecessary checks.
2013-04-04Fix bug where outstanding llHTTPRequests for scripts were not being aborted ↵Justin Clark-Casey (justincc)1-30/+62
when they were deleted. This was because AsyncCommandManager was handing an item ID to IHttpRequestModule.StopHttpRequest() rather than the expected request ID. This commit also makes the http request asynchronous using BeginGetResponse() rather than doing this by launching a new thread so that we can more safely abort it via HttpWebRequest.Abort() rather than aborting the thread itself. This also renames StopHttpRequest() to StopHttpRequestsForScript() since any outstanding requests are now aborted and/or removed.
2013-03-29Added missing functionality (mainly custom headers) to llHTTPRequest.Kevin Cozens1-9/+64
2013-03-13minor: save some commented out log lines which will be useful again in ↵Justin Clark-Casey (justincc)1-0/+5
future debugging of VectorRenderModule
2013-02-27Add regression test for llReleaseUrl() (and for llRequestUrl)Justin Clark-Casey (justincc)1-9/+16
Forgot to add file for llRequestUrl() test in commit b8a7c8b
2013-02-27Make sure we dispose of WebResponse, StreamReader and Stream in various ↵Justin Clark-Casey (justincc)1-6/+10
places where we were not already.
2013-02-26Add regression test for llRequestUrl()Justin Clark-Casey (justincc)1-16/+21
2013-02-14* Handle null check on configs in module startup so that the the code can be ↵teravus1-6/+8
run on 'stop on handled and unhandled null reference exceptions' mode without pausing during startup a bunch of times. I don't think exceptions were really meant for replacing a single if statement...
2013-01-25Add basic JsonCreateStore() regression testJustin Clark-Casey (justincc)1-1/+1
2013-01-24Mantis 6508 llHTTPResponse body is incorrectly interpreted by IETalun1-1/+15
This patch html escapes responses going to IE so that they cannot be interpreted as HTML if the response type is "text/plain". This has no effect if the reponse type has been set to "text/html" by osSetContentType Signed-off-by: nebadon <michael@osgrid.org>
2012-11-13Another 21 modules' directives moved out of .addin.xmlDiva Canto1-0/+2
2012-11-12Cleanup on region modules: gave short node id's to all of them.Diva Canto1-1/+1
2012-11-13Update ScriptModuleComms name space to CoreModulesMelanie1-1/+1
2012-11-11Fix issues with the DynamicTextureModule and corresponding unit tests.Diva Canto3-32/+39
2012-11-11One more module converted: XMLRPCModule. Removed it from the special loading ↵Diva Canto1-31/+51
at start.
2012-11-11One more module converted: VectorRenderModule.Diva Canto1-27/+41
2012-11-11One more module: DynamicTextureModule. Removed it from the special load in ↵Diva Canto1-11/+27
the beginning.
2012-11-11One more module converted: LoadImageURLModule. Also removed it from its ↵Diva Canto1-19/+38
hard-coded instantiation (I think I understood what the problem was, and that I've done it right).
2012-11-11One more module converted: ScriptsHttpRequests.Diva Canto1-9/+25
2012-11-11One more module converted: EmailModule.Diva Canto1-46/+64
2012-11-10document, 80-character width terminal formatting converting comments to ↵SignpostMarv1-15/+65
documentation for IDE & doxygen goodness Signed-off-by: Diva Canto <diva@metaverseink.com>
2012-11-10document & 80-character width terminal formattingSignpostMarv1-56/+114
Signed-off-by: Diva Canto <diva@metaverseink.com>
2012-11-10Converting WorldCommModule to INonSharedRegionModuleSignpostMarv1-11/+25
Signed-off-by: Diva Canto <diva@metaverseink.com>
2012-11-04Add a method to query all registered script constants to allow non-XEngineMelanie1-0/+16
script engines to use them.
2012-10-26refactoring IWorldCommListenerInfo.GetRegexBitfield() method to be a field ↵SignpostMarv1-12/+8
with a private setter
2012-10-26adding ability for listeners to be filtered by regular expressions and a ↵SignpostMarv1-19/+110
general-purpose function to see if a given string matches a given regex
2012-10-26Formatting and casing correction in WorldCommModule, trailing new line in ↵SignpostMarv1-3/+3
OSSL to get git diff to not complain
2012-10-19minor: comment out currently unused logger in DynamicTextureModuleJustin Clark-Casey (justincc)1-1/+1
2012-09-30Revert "Added request.Proxy=null everywhere, as discussed in ↵Diva Canto3-9/+5
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow." But the patch is here, in case anyone wants to try it. This reverts commit 531edd51d82ecd6a842a2611c99e9919634491ef.
2012-09-30Added request.Proxy=null everywhere, as discussed in ↵Diva Canto3-5/+9
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow. Thanks R.Gunther (rigun@rigutech.nl) https://lists.berlios.de/pipermail/opensim-users/2012-September/010986.html
2012-09-28Lock GDI+ portion og VectorRenderModule.GetDrawStringSize() to prevent ↵Justin Clark-Casey (justincc)1-6/+11
concurrent thread use provoking mono crashes. Same rationale as commit 13690582.
2012-09-17Moving ScriptModuleComms into the CoreModules tree.Mic Bowman1-0/+367