aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-06-01Comment and remove JScript support. Mono 2.7Dev and 2.8 no longer include theMelanie1-19/+19
needed libraries
2010-04-28Compiler.cs contained method GetCompilerOutput which, apparently,unknown1-4/+7
was not used, but exactly the same path was calculated inline. This patch does some minor refactoring by replacing inline path calculation with GetCompilerOutput. This doesn't actually affect anything, just minor prettifying of the code
2009-12-22FINALLY! Script compile errors now appear in the script error pane,Melanie3-4/+4
not in a funky debug window.
2009-11-20Fix http://opensimulator.org/mantis/view.php?id=3874 - parenthesis in for ↵Justin Clark-Casey (justincc)1-1/+19
statements cause script compile failures This fixes a problem in OpenSim where statements of the form for ((i = 0); (i < 10); (++i)) { ... } do not compile even though they are valid lsl.
2009-10-29* Misc. formatting cleanup for the previous patchJohn Hurliman1-25/+26
* Added the new AppDomainLoading variable to the [XEngine] section in the example config
2009-10-29OptimizationsDan Lake1-84/+72
2009-09-29Add copyright header. Formatting cleanup.Jeff Ames1-28/+22
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-08-31Change the return value if the compiler to "object" to allow compilersMelanie1-2/+2
to return dynamic method objects
2009-06-21Publish a method on ICompiler to generate the CIL assembly pathMelanie Thielker1-0/+7
Cause group deeding to apply next owner perms
2009-06-10Formatting cleanup.Jeff Ames3-8/+8
2009-06-09Formatting cleanup. Ignore some generated files.Jeff Ames2-10/+10
2009-06-07Skip lone ident statments or for-loop assignmentsMike Mazur2-3/+65
SL's LSL supports lone idents: integer x; x; as well as lone idents in for-loop assignments: for (x; x < 10; x++) { ... } while those are errors in C# (MONO at least). This patch skips lone idents in such places. Fixes Mantis #3042.
2009-06-07Allow empty assignment in for-loopMike Mazur5-7513/+7733
For loops with no assignment are no longer syntax errors. For example, this is now valid: for ( ; i < 10; i++) { ... } Corresponding changes to lsl.{lexer,parser} in r99 in opensim-libs. Fixes Mantis #2501. Fixes Mantis #2884.
2009-06-05Thank you, thomax, for a patch to provide finer-grained access control toMelanie Thielker1-1/+9
scripting. Fixes Mantis #2862
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames8-8/+8
LICENSE.txt.
2009-05-22cleaning out warnings.Dr Scofield1-1/+0
NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
2009-05-13Make the LSL HTTP server create and give out URLs to scriptsMelanie Thielker2-14026/+14346
2009-04-10Add events to IScriptEngine to notify scripting modules of the removalMelanie Thielker1-2/+5
of objects from the scene, and of scripts from objects. This facilitates the development of modules that can register prims with externall servers for inbound email and XMLRPC. Currently implemented in XEngine only. Also applying cmickeyb's compiler locking patch, since it seems risk-free.
2009-04-02Fix a nullref when compiling non-LSL scriptsMelanie Thielker1-5/+8
2009-03-27* minor: remove one mono compiler warningJustin Clarke Casey1-1/+1
2009-03-26Read the .map files in on sim startup. Also clean them up when an assemblyMelanie Thielker1-1/+29
is deleted.
2009-03-26Avoid preprocessing scripts on region restart just to generate the lineMelanie Thielker1-11/+23
number map. Instead, write the map to a file for later use. That is not yet used, so currently runtime errors after a sim restart will have wrong line numbers
2009-03-25cleanupDr Scofield1-1/+0
2009-03-24Thank you, dslake, for a patch that speeds up the Delete Old Files optionMelanie Thielker1-13/+19
in the compiler. Committed with changes. Fixes Mantis #3325
2009-03-11* Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey1-2/+1
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
2009-03-11Remove chained tests in BasicGridTest.cs.Mike Mazur1-1/+1
It's good practice to isolate unit tests so their outcome (pass/fail) does not depend on whether another test has been run/passed/failed. A method is used to populate the DB independently for each test, and a TearDown method cleans up the database after each test. Also adding extra comment in C-style comment test.
2009-02-25* minor: Remove most mono compiler warningsJustin Clarke Casey1-1/+1
2009-02-25Allow /* C-style comments */ in LSL scripts.Mike Mazur2-17501/+17655
This fixes Mantis #3199. opensim-libs SVN r87 contains the corresponding changes.
2009-02-25Fixes Mantis #3187. Thank you kindly, DoranZemlja for a patch that:Charles Krinke2-0/+2
Deals with the multiple warning side affect introduced earlier.
2009-02-23Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames1-1/+1
2009-02-23Mantis#3187. Thank you kindly, DoranZemlja for a patch that:Charles Krinke3-0/+99
Adds a warning for an LSL construct that exploits a popular list memory saving hack.
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-4/+4
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-22Refactor log4net logger handling in script engine. (#3148)Jeff Ames1-23/+21
2009-02-20Thanks DoranZemlja for a patch implementing non-shortcircuiting inMike Mazur2-12/+31
logical and and logical or in LSL. Fixes Mantis #3174.
2009-02-18Fix the windows sharing violations on script crossingsMelanie Thielker1-1/+43
2009-02-16cleanupDr Scofield1-6/+0
2009-02-16From: alan webb <alan_webb@us.ibm.com> & dr scofield <drscofield@xyzzyxyzzy.net>Dr Scofield1-8/+17
This changeset fixes a rather nasty script compile bug that manifests itself under heavy load.
2009-02-09Thanks Tommi Laukkanen for a patch that allows theMike Mazur1-3/+7
CSCodeGeneratorTest.TestStringsWithEscapedQuotesAndComments unit test to pass on Windows. Fixes Mantis #3104.
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-1/+1
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2008-12-07Allow empty statements in LSL (; followed by ;). Fixes Mantis#2320Homer Horwitz1-7665/+7735
2008-12-03Remove a line of debug info in XEngine that i missedMelanie Thielker1-1/+1
2008-12-02Remove some of the XEngine chattinessMelanie Thielker1-3/+3
2008-11-29Start scripts in attachments only after a successful attach. ElimininateMelanie Thielker1-0/+12
a gratuitious asset fetch when region crossing.
2008-11-17fixing warnings in YProlog language supportDr Scofield1-2/+2
2008-11-12* Set defaults on the allowed LSL Compilers to 'lsl' unless you've specified ↵Teravus Ovares1-1/+1
otherwise.
2008-11-08Refactor IEventReceiver back into IScriptEngineMelanie Thielker1-2/+2
2008-11-06* Fix test failure in CSCodeGeneratorTest.TestJumps()Justin Clarke Casey1-1/+1
* Need new NoOp(); generated part * Not Homer's fault - this test ain't running under Windows! (needs fixing!)
2008-11-06Mantis #2571Melanie Thielker1-2/+2
Thank you, idb, for a patch that fixes the jump function in LSL.
2008-11-04Prefix LSL variables which are C# keywords with @ instead of _ when ↵Mike Mazur1-1/+1
translating from LSL to C#. Thanks idb for the patch. Fix issue 2546.