[Ironruby-core] Using List boxes and Combo Boxes in Ruby on Steel

2010-08-12 Thread Naveen Kavitha
I have just started using Ruby on Steel to create GUI When I simply drag and drop a list box and add some items in the Form and then click Ruby Run Menu, I get the following error message :0:in `InitializeComponent': wrong number or type of arguments for `AddRange' (ArgumentError) from Snippets

[Ironruby-core] Script Validation

2010-08-12 Thread Thorsten Hans
Hi, I'm currently hosting IronRuby within a C# Application. Is there any way to validate the IronRuby scripts that will be invoked by the DLR? For example I'd like to prevent users from executing scripts that include the "require" statement or an impersonation statement... Any ideas? thx Thor

Re: [Ironruby-core] Script Validation

2010-08-12 Thread Dody Gunawinata
Regex and filter it. I don't think the DLR has a sandbox mechanism for this. On Thu, Aug 12, 2010 at 12:57 PM, Thorsten Hans wrote: > Hi, > > I'm currently hosting IronRuby within a C# Application. Is there any way to > validate the IronRuby scripts that will be invoked by the DLR? > > For exampl

Re: [Ironruby-core] "Start spreading the news"

2010-08-12 Thread Jimmy Schementi
Let's not push Tomas or Jim to say anything; This is a big enough issue that I'm sure Microsoft's PR firms are working on this. Again, I suggest we be patient for the next week. ~Jimmy On Tue, Aug 10, 2010 at 12:33 PM, Will Green wrote: > Well, we've seen a few plus-ones on talking to Microsof

Re: [Ironruby-core] Script Validation

2010-08-12 Thread Charles Strahan
I just recently had the same question in mind - how could one sandbox IronRuby? I'd imagine that .NET's built-in security model could be used to prevent the app from accessing the file system, P/Invoking, etc; however, I don't know if the security model is fine grained enough to apply to just a pa

Re: [Ironruby-core] Script Validation

2010-08-12 Thread Tomas Matousek
We have a sandboxing mechanism - we rely on CLR's AppDomains: http://blogs.msdn.com/b/shawnfa/archive/2005/08/08/449050.aspx You can use this API in conjunction with ScriptRuntime.CreateRemote(appDomain, setup) DLR Hosting API. I wouldn't even try to do any source code analysis to ensure security

[Ironruby-core] Code Review: MspecEscapingBug

2010-08-12 Thread Tomas Matousek
tfpt review "/shelveset:MspecEscapingBug;REDMOND\tomat" Comment : Tags are not escaped/unescaped correctly. Tomas MspecEscapingBug.diff Description: MspecEscapingBug.diff ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyfo

[Ironruby-core] Code Review: MSpecEscapingBug

2010-08-12 Thread Tomas Matousek
This one actually works :-) tfpt review "/shelveset:MSpecEscapingBug;REDMOND\tomat" Tags are not escaped/unescaped correctly. Tomas MspecEscapingBug.diff Description: MspecEscapingBug.diff ___ Ironruby-core mailing list Ironruby-core@rubyfo

[Ironruby-core] [ironruby-core] Installing Rails plugins

2010-08-12 Thread Ryan Riley
I'm trying to install a Rails plugin from github using IronRuby 1.1. Unfortunately, all I can get is: C:\sample>ir -S script/plugin install git:// github.com/technoweenie/restful-authentication.git Plugin not found: ["git://github.com/technoweenie/restful-authentication.git "] C:\sample>ir ./scri