aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-09Apply http://opensimulator.org/mantis/view.php?id=4066Justin Clark-Casey (justincc)1-1/+1
If XEngine compile fails, show script name in error message in-world as well as the exception itself Thanks Luca Peck
2009-10-06* Added a sanity check for Mono before trying to enumerate over an empty ↵John Hurliman1-4/+4
SortedDictionary * Changed the order of a log line from DotNetEngine so you can tell whether or not it is actually loading
2009-10-06Fixing a few compile errors in the previous commitJohn Hurliman3-3/+0
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2-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?
2009-10-02reducing script engine log spamdr scofield (aka dirk husemann)1-4/+4
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)2-26/+29
- adding LandDataSerializer to OAR mechanics
2009-10-02Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization ↵Melanie2-9/+11
of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity" This reverts commit 39842eb4af3b5a8c52d56c0f7f05ad54f0651bb0.
2009-10-01Formatting cleanup.Jeff Ames6-16/+16
2009-09-29 Given the perverse way that strided works, ifAlan M Webb1-4/+7
there is only one element in the range, it must also coincide with the specified stride. The existing code assumes that the stride starts at start ( which is the expected and most useful behavior). Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-29Add copyright header. Formatting cleanup.Jeff Ames1-28/+22
2009-09-26First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto2-14/+22
minimally. A few bugs to catch now.
2009-09-23* fix endlines in LSL_api.csTeravus Ovares (Dan Olivares)1-6/+6
2009-09-23Added delay loop to give a newly created assembly time to appear. OnAlan M Webb1-32/+71
Linux (as an example), it is possible for the existence check to fail because the file is not yet recognized by the file system. Although the loop has a 250mS delay, in practise, the existence test in the for loop is successful and no delay is introduced. Next, this takes care of the two, unpredictable, situations where a script fails to compile. The first is caused by an occasional SEGV in the underlying mono VM while mcs is running, the second is caused by file system latency. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-22Moved RegionName from RegionInfo to SimpleRegionInfo.Diva Canto1-5/+5
2009-09-22Thank you, Intari, for a patch that implements the missing pieces ofMelanie3-8/+12
Http-in and makes the host name for URL generation configurable. Applied with changes: llGetSimulatorHostname was not changed, because the change breaks existing behavior and carries a data exposure risk. That value needs to be configurable, the proposed fixed change is not acceptable.
2009-09-19Updatate llOpenRemoteDataChannel to provide the external hostname configured ↵BlueWall (James Hughes)1-1/+5
in the Regions.ini (or xml) to the XmlRpcGridRouterModule
2009-09-18addition of a new script function osSetParcelSIPAddress(string SIPAddress), ↵Rob Smart3-0/+35
now including iVoiceModule This patch allows the land owner to dynamically set the SIP address of a particular land parcel from script. This allows predetermined SIP addresses to be used, making it easier to allow non OpenSim users to join a regions voice channel. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16* Adding Scale to EntityBase * Fixing the incorrect initialization of ↵John Hurliman2-11/+9
EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity
2009-09-16 This fix allows you to configure a script-to-console-log channelAlan M Webb1-49/+70
association. Then, whenever there is an llSay to that channel, the message is directed to the OpenSim console log (and NOT forwarded to the client). This is a great way to capture scripting events to the log. To enable, add ScriptConsoleChannel = -xxx to the ScriptEngine parameters in the .ini file. Note that the message is written using Console.WriteLine rather than the rather more fragile log4net service. The console channel is also not subjected to the 1024 character limit imposed on regular say traffic. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16 This fixes a boundary case error in the strided listAlan M Webb1-0/+4
implementation. If the range included only a single item an empty list was always returned (has no-one been using this function?) Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-14fix to preserve UTF8 encoding in saved script state.dr scofield (aka dirk husemann)1-4/+4
2009-09-09reformatting.dr scofield (aka dirk husemann)1-18/+17
2009-09-09fix: unicode notecards not surviving script treatment (fixes #4119 ---dr scofield (aka dirk husemann)2-8/+8
perhaps).
2009-09-07llRot2Euler() now returns angles -PI < angle < PIdahlia1-3/+8
2009-09-07random drive-by maths optimization in llRot2Euler() and llEuler2Rot()dahlia1-8/+8
2009-09-06remove warningJustin Clark-Casey (justincc)1-1/+2
2009-09-06remove warningJustin Clark-Casey (justincc)1-1/+2
2009-09-01Experimental. Set attachment flag early on rezzing from inventory.Melanie1-1/+0
2009-08-31Change the return value if the compiler to "object" to allow compilersMelanie4-7/+7
to return dynamic method objects
2009-08-31- making font name used by VectorRenderModule configurable: can be setdr scofield (aka dirk husemann)3-0/+15
via [VectorRender] font_name = "Comic Sans MS" in OpenSim.ini - adding osSetFontName OSSL function
2009-08-28Implements osDrawPolygon, similar to already implemented osDrawFilledPolygonArthur Valadares3-0/+25
2009-08-25Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows ↵Arthur Valadares3-0/+15
using arrow, diamond, round and flat caps. * Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
2009-08-21Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing ↵Arthur Valadares4-7/+61
functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far. * Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
2009-08-21Add copyright header. Formatting cleanup.Jeff Ames1-15/+17
2009-08-21* Moves NPC Creation across AppDomains to prevent a major perfomance issue.Adam Frisby1-0/+2
2009-08-21* Protip: Declare publically accessible functions, as public functions.Adam Frisby1-4/+6
2009-08-21* Addendum to previousAdam Frisby1-0/+17
2009-08-21* Fleshes more of NPCModule out.Adam Frisby2-0/+58
* Implements some OSSL commands: key osNpcCreate(string user, string name, vector position, key cloneFrom); void osNpcMoveTo(key npc, vector position); void osNpcSay(key npc, string message); void osNpcRemove(key npc); * Untested. Requires ThreatLevel.High.
2009-08-20* Deal with git thinking that file was changed even though it wasn't and ↵Teravus Ovares (Dan Olivares)1-24/+24
it's blocking a pull
2009-08-21* Implements a bunch of stuff in NPCModuleAdam Frisby1-24/+24
2009-08-18osGetLinkPrimitiveParams fixJeff Lee1-1/+25
2009-08-16* ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)1-1/+2
randomly occurs. * LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
2009-08-16* minor: commentsTeravus Ovares (Dan Olivares)1-0/+16
2009-08-15Changed FromAssetID to FromItemIDDiva Canto1-1/+1
2009-08-15* whoops, missing a /Teravus Ovares (Dan Olivares)1-1/+1
2009-08-15* Comment out XEngineTest that doesn't appear to test anything. It just ↵Teravus Ovares (Dan Olivares)1-0/+3
creates a scene named 'My Test' which just happens to be the last scene displayed in the nunit log before it goes boom.
2009-08-14Remove one more sponsor referenceMelanie1-1/+1
2009-08-14Remove the script sponsor logic because scripts are timing out again.Melanie4-19/+15
This needs to be looked into. This commit, unfortunately, reinstates a memory leak in regions that see significant script fluctuation, e.g. lots of scripted attachments, or script development.
2009-08-14Add some extra info to script load messagesMelanie1-2/+2
2009-08-10Replace the Replaceable modules nameMelanie2-2/+2