aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-07-14Mantis#1728. Thank you kindly, Mikem for a patch that solves:Charles Krinke1-7071/+7644
The compiler was missing grammar rules for += etc. operators on vector.member variables, which the attached patch implements.
2008-07-11Thanks Mike for another LSL compiler patch which fixes a bug where 'vector ↵Johan Berntsson1-6947/+7211
v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
2008-07-10Patch from Mike: errors from the LSL/C# compilers are now reported to the ↵Johan Berntsson1-1/+1
user in-world
2008-07-09Patch from Mike which removes a lexer warning in the LSL compiler.Johan Berntsson1-9593/+9326
2008-07-08another patch from Mike: the llscript compiler is now available in XEngine ↵Johan Berntsson2-0/+4
as well. Thanks Mike
2008-07-08llscript compiler patch from Mike: adds LSL jumps and implicit variable ↵Johan Berntsson4-7194/+7574
initializations
2008-07-06Copyright notices and formatting cleanup.Jeff Ames2-537/+591
2008-07-04mini-warnings-safari, plus cleanup of IUserServices method naming.Dr Scofield1-1/+1
2008-07-04The new llScript-cs parser. Thanks MikeJohan Berntsson5-0/+29071
2008-06-27last round of warning squashing. calling it a day now.Dr Scofield11-35/+83
2008-06-07Mantis#1475. Thank you kindly, Kinoc for a patch that:Charles Krinke2-222/+830
This patch brings the Yield Prolog in sync with the YP r669. Biggest item is support for functions asserta and assertz , providing dynamic databases.
2008-06-05Mantis#1451. Thank you kindly, Mikem for a patch that addresses:Charles Krinke1-1/+1
LSL scripts in which a float type is cast to a string or a string type is cast to a float do not compile. When the script is translated from LSL to C#, the LSL float type is translated into double. There is no string <-> double cast in C#, so compilation fails. There is a LSLFloat type, however it seems unfinished and is not used. I am attaching a patch that implements the LSLFloat type. I have also added two methods to the LSLString type to facilitate float <-> string casts.
2008-06-04Mantis#1441. Thank you kindly, Kinoc for a patch that:Charles Krinke1-4/+30
This patch adds the prolog interperter helper object ONLY for YP code, and not every script compiled. Mirrors the other languages like JS and VB more closely.
2008-06-04Formatting cleanup, minor refactoring, svn properties.Jeff Ames17-176/+176
2008-06-02remove the prolog parser from all LSL/C# scripts (it was adding overheadSean Dague1-12/+6
to every script in most environments). This will break prolog support. Prolog code needs to generate it's template script more like how javascript does.
2008-06-01Update svn properties.Jeff Ames17-13548/+13543
2008-05-31* Enabled the Yield Prolog Script Enginelbsa711-8/+25
2008-05-31* minor: Add copyright statementJustin Clarke Casey1-0/+28
2008-05-31* Remove rogue ? to get things compiling againJustin Clarke Casey1-1/+1
2008-05-31Mantis#1314. Thank you kindly, Kinoc for YieldProlog.Charles Krinke17-0/+13548
I have added everything *except* the patch to .../LSL/Compiler.cs. The Compiler.cs patch has a namespace issue. Lets make a second patch to close the gap.
2008-05-30Update svn properties. Formatting cleanup.Jeff Ames1-4/+4
2008-05-29* Fix string literal with URL + LLcommand();Teravus Ovares1-5/+5
* Added 'detected around: value' when a x.Y detect occurs to help debug. * Fixed object text is too long to store to the database (wikilith)
2008-05-28* Resolves comment removal in string literals in the LSL2CSConverterTeravus Ovares1-17/+19
2008-05-27another take on the whole string cleansing, by adding specific poisonSean Dague1-2/+5
keywords in foo.bar strings. Add items to the poison array to block them.
2008-05-27* Revert last commit as it opens sim owners up to all sorts of nasty ↵Teravus Ovares1-3/+3
scripts. * If the regex that we're using isn't good enough, we really need to make it better.
2008-05-27comment out the x.y security check in the script engine because it's so ↵Sean Dague1-3/+6
aggressive it blocks string = "http://osgrid.org", amoung other things.
2008-05-18Formatting cleanup, minor refactoring. Fixed some comparisons of value ↵Jeff Ames1-12/+3
types and null.
2008-05-17* whoops, misplaced / where should have been \Teravus Ovares1-1/+1
2008-05-17* Update on the script engine LSL parser. Blocks all static objects and ↵Teravus Ovares1-8/+50
method references.
2008-05-16Formatting cleanup.Jeff Ames2-29/+10
2008-05-13* Tweaked a regex that was returning invalid results in some cases.Teravus Ovares1-1/+1
2008-05-07* Change LSL -> C# translated script console output to use the logger (at ↵Justin Clarke Casey1-4/+7
DEBUG level) rather than Console.Writeline
2008-05-07Thank you, Middelink for a patch that fixes the regular expresionCharles Krinke1-2/+2
missing the numbers after the initial letter of the identifier.
2008-05-01* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the ↵Teravus Ovares2-489/+1
script to publish the events anymore. * Introduces a language(regex) independent event recognizer and publishes the events the script listens.
2008-04-30Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or ↵Teravus Ovares3-241/+499
explicitly in many cases Thanks Melanie! * Also, I moved the event parser and re-writer to a separate static object. More work will be done here shortly.
2008-04-26* For info about this commit, see last commit.Teravus Ovares1-3/+16
2008-04-26* Error on System. references with 'CS20003: 'System' is null or not an object"Teravus Ovares1-0/+5
2008-04-25* Implements llTarget, llTargetRemove, at_target(), not_at_target()Teravus Ovares1-5/+5
2008-04-23* Fixed an annoying pop-up box when crossing borders.Teravus Ovares1-2/+2
2008-04-23* Fixes lsl scripts with no state_entry event at allTeravus Ovares1-1/+39
* Fixes event reporting on states with no state_entry in lsl scripts.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby2-16/+16
(this took a while to run).
2008-04-20Removed some script engine noise from consoleTedd Hansen1-3/+3
2008-04-20* Fixed up event discovery regexes to work with a specific string format m#1012Teravus Ovares1-2/+2
2008-04-20* Updates LSL2CS converterTeravus Ovares1-1/+199
* All objects are not touchable by default now * When a script listens for one of the touch events in the state, an object becomes touchable. * All LSL scripts report which events they consume now ** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event. ** Tedd may figure out a better way to do this in the future. For now, this works for LSL.
2008-04-15Fixed LSL State support.Teravus Ovares1-33/+43
* Re-applied Tedd's patch that got overwritten. * Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s]) * Added a state(string) method to BuiltIn_Commands_BaseClass
2008-03-30**Big ass update warning**Adam Frisby1-0/+23
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>". * Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax. * New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class. * Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-25Fix a couple more warnings.Jeff Ames1-5/+5
2008-03-18Formatting cleanup.Jeff Ames2-55/+51
2008-02-24By now you all have learned that when I'm committing scripting usually ↵Tedd Hansen1-3/+3
doesn't work, so no big surprise. :) Modified baseclass for compiled script to incorp new OSSL commands class and renamed it to follow standards and all that. Scripts may work again. :)
2008-02-24Forgot to change what class compiled scripts must inherit from to get their ↵Tedd Hansen1-3/+3
commands :)