aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-31Allow llRegionSayTo() to work on the PUBLIC_CHANNEL, as per ↵Justin Clark-Casey (justincc)1-1/+1
http://wiki.secondlife.com/wiki/LlRegionSayTo Addresses http://opensimulator.org/mantis/view.php?id=5950
2012-03-06Add sensor, dataserver requests, timer and listener counts to "xengine ↵Justin Clark-Casey (justincc)1-0/+20
status" command. This is for diagnostic purposes.
2012-01-14Allow SmtpClients and other SSL users to work with our cert handler installedMelanie1-9/+25
2012-01-14Register the UrlModule for script engine events OnScriptRemoved and ↵Justin Clark-Casey (justincc)1-1/+8
OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script. Doing this in every script is unnecessary since the event trigger is parameterized by the item id. All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException. Registration moved to UrlModule so that the handler is registered for all script engine implementations. This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references.
2012-01-01Fix for failed http request statusBlueWall1-14/+17
Thanks "sendapatch" for fixes to llHTTPRequest status reporting.
2011-12-07Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)1-11/+6
It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.
2011-12-05Fix CHANGED_TEXTURE and CHANGED_COLOR.Melanie1-2/+2
2011-11-02Change default say distance to 20m from 30m, the same as on the big grid. ↵Justin Clark-Casey (justincc)1-1/+1
This is to improve the migration of scripts that expect a 20m say distance. If you want to keep a 30m say distance then please set this as the say_distance parameter in the [Chat] section of OpenSim.ini.
2011-11-02Get some hopefully more useful exception information when ↵Justin Clark-Casey (justincc)2-5/+8
OpenJPEG.EncodeFromImage() fails in VectorRender and DynamicTexture modules
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)1-0/+1
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-10-11meaningless change to goose pandaJustin Clark-Casey (justincc)1-0/+1
2011-10-10remove unused LastAssetID from DynamicTextureUpdaerJustin Clark-Casey (justincc)1-6/+4
2011-09-24Added a setting to [Startup] section of config that will allow the simulator ↵Kevin Houlihan & Michelle Argus1-3/+6
to start up with no regions configured. I added the boolean config setting "allow_regionless", defaulting to false. If set to true, opensim will start up ok if no region configurations are found in the specified region_info_source. It will not ask the user to create a region.
2011-09-05Try disabling the inconsistent attachment state check to see if this ↵Justin Clark-Casey (justincc)1-1/+2
actually has an impact. The code in question is over three years old and just be catching an inconsistency rather than being wholly necessary. This commit still carries out the check and prints all the previous log warnings but a 'failure' no longer prevents avatar region crossing or teleport, and it doesn't give the client the error message. This will have some kind of impact on http://opensimulator.org/mantis/view.php?id=5672
2011-08-31In WorldCommModule, replace the useless Attachments == null check with ↵Justin Clark-Casey (justincc)1-2/+1
Attachments.Count == 0 instead
2011-08-31minor: seal up another instance of using the appearance list without lockingJustin Clark-Casey (justincc)1-1/+1
2011-08-31Make SP.Attachments available as sp.GetAttachments() instead.Justin Clark-Casey (justincc)1-4/+8
The approach here, as in other parts of OpenSim, is to return a copy of the list rather than the attachments list itself This prevents callers from forgetting to lock the list when they read it, as was happening in various parts of the codebase. It also improves liveness. This might improve attachment anomolies when performing region crossings.
2011-08-20Add avatar and attachments to llRegionSayBlueWall1-4/+67
llRegionSay will now message avatars on chan 0 and will message attachments on the avatar that listen on channels other than 0. This behavior is consistant with the LL implementation as tested on regions in Agni with one exception: this implementation does not include issue: https://jira.secondlife.com/browse/SCR-66?
2011-08-19Add llRegionSayToBlueWall1-0/+21
llRegionSayTo(key target, integer channel, string messasge) Allows messages to be sent region-wide to a particular prim.
2011-05-13Fix the cert validation handler so that it will not block other parts ofMelanie1-2/+10
the server doing ssl successfully.
2011-05-05Add support for llRequestSecureURL() if ssl is enabledBlueWall1-5/+56
2011-04-11minor: remove now inaccurate commentJustin Clark-Casey (justincc)1-1/+1
2011-04-11minor: adjust some spacing and indentationJustin Clark-Casey (justincc)1-10/+10
2011-04-11Implimented HTTP_VERIFY_CERT for llHttpRequestE. Allen Soard1-3/+31
2011-04-02Comment out some startup logging lines to make up for the one I added ↵Justin Clark-Casey (justincc)1-2/+0
earlier on. Most of these are where the region modules are telling us they are disabled. Convention is only to log when enabled (even that is really noisy)
2010-12-10Normalization of OSSL function names.Marck1-11/+12
Added the following replacement functions for compliance to the OSSL standards stated on the wiki: osGetTerrainHeight osSetTerrainHeight osGetSunParam osSetSunParam osSetPenColor The functions that do not comply to the standard give a warning when used but work normally otherwise. The graphics primitive drawing command "PenColor" has also been added as well as dynamic texture parameter "bgcolor" as an alternative to "bgcolour". The following two functions have been renamed because they are not enabled yet aynway: osWindParamSet => osSetWindParam osWindParamGet => osGetWindParam
2010-11-02Thanks Snoopy for a patch that addresses Mantis #0005165: ↵dahlia1-32/+32
osSetDynamicTextureURL crashed region server Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
2010-06-28Change the way IRegionModule us referenced by IEmailModule toMelanie Thielker1-1/+1
allow later conversion to new style
2010-03-25minor: Print out port that http servers are usingJustin Clark-Casey (justincc)1-6/+6
do this in callers so that we know who is setting up these things
2010-03-16Fixed several unhandled exceptions and performance issues with ↵John Hurliman1-11/+9
PrimitiveBaseShape.Textures. This really should be moved from a property to a method if it is going to decode a byte[] into a TextureEntry each time
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+2
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-06Endline fixTeravus Ovares (Dan Olivares)1-12/+12
2010-02-04minor: one method docJustin Clark-Casey (justincc)1-0/+1
2010-02-02refactor: move world comm message queueing into its own methodJustin Clark-Casey (justincc)1-23/+13
2010-01-29Resolve one more conflict I overlookedMelanie1-14/+0
2010-01-29Revert "Updates all IRegionModules to the new style region modules."Melanie8-203/+89
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
2010-01-28Changes WorldCommModule to ISharedRegionModule.Revolution1-1/+5
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-23Updates all IRegionModules to the new style region modules.Revolution8-86/+210
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-18Fix a major security problem with osSetDynamicTexture which allowed the ↵CasperW1-5/+12
deletion of /any/ asset.
2009-11-27Make locking of timers and listeners in script related functions consistentJustin Clark-Casey (justincc)1-3/+6
See http://opensimulator.org/mantis/view.php?id=4316 Thanks KittyLiu!
2009-11-16minor: very minor formatting changeJustin Clark-Casey (justincc)1-4/+1
2009-11-10Fixed XMLRPC return paramsMic Bowman1-1/+1
Signed-off-by: Melanie <melanie@t-data.com>
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-4/+1
unknown asset type, and log an error if it ever does happen
2009-10-09Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman1-2/+2
contain an unmanaged resource that will not automatically be disposed when they are GCed), and commenting out some ManualResetEvents that are not in use yet
2009-10-07Revert "Rewrote parts of the code that were double-locking different ↵Melanie1-19/+18
objects. This is about half of the code base reviewed." This reverts commit e992ca025571a891333a57012c2cd4419b6581e5.
2009-10-07Revert "Merging in diva's locking fixes"Melanie1-19/+18
This reverts commit 832cc685138b2244529f10b54b373c34adb4a633.
2009-10-06Rewrote parts of the code that were double-locking different objects. This ↵Diva Canto1-18/+19
is about half of the code base reviewed.
2009-10-06Fixing a few compile errors in the previous commitJohn Hurliman2-2/+0
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman1-2/+2
Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?