[Ironruby-core] invoke member and dynamic binding isn't the same?

2009-11-25 Thread Ivan Porto Carrero
Hi I have some ruby code, which through a process of instance_eval and other meta programming tricks builds an object with a method assign defined on it. I have this code in C# *var scope = Engine.CreateScope();* *scope.SetVariable("ctxt", this);* *Engine.ExecuteFile("rubyfile.rb", scope);* Thi

[Ironruby-core] Finding the mythical root_visual object in Gestalt

2009-11-25 Thread Adam Burmister
Hi all, I'm currently writing about Gestalt using the 1.0 release. The best documentation I can find for it is the PDF "sl-back-to-just-text.pdf", by Jimmy, which states: "XAML accessors root_visual maps to System.Windows.Application.Current.RootVisual ... When a method is called that does not

[Ironruby-core] 2 lines to add to the ir launcher

2009-11-25 Thread Ivan Porto Carrero
Hi Could the following 2 lines be added to the ir launcher script for mono ? export MONO_IOMAP=all export MONO_MANAGED_WATCHER=1 The first one ensures no errors when people related to casing and drive letters http://www.mono-project.com/IOMap the second one enables System.IO.FileSystemWatcher o

Re: [Ironruby-core] invoke member and dynamic binding isn't the same?

2009-11-25 Thread Tomas Matousek
Can you send the entire source code that sets “Something” and then the entire C# method that accesses it, ideally a minimal repro? Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Ivan Porto Carrero Sent: Wednesday, November 25, 2009 5:29

[Ironruby-core] ListViewItem DataTemplate

2009-11-25 Thread Patrick Brown
Hello Has anyone gotten a datatemplate for a ListView under WPF? I created a very simple C# sample and converted it to IronRuby, the C# works perfectly, the IronRuby example displays my class name, the datatemplate didn't load and bind up to the properties as I hoped. C# public class Stat

Re: [Ironruby-core] ListViewItem DataTemplate

2009-11-25 Thread Patrick Brown
Hi Ok, this confuses me a bit, I can get it to work by not deriving from ListView and setting all my settings in the initialize method and instead having a listview member and assigning all the values on it. Can anyone see a reason for this? def BuildListView() self.statusListView = ListVie

[Ironruby-core] Back with more questions: mono 2.4.x & IR 0.9.x

2009-11-25 Thread Andrew S. Townley
Hi Folks, Since I hear such good things about the rate at which features are being added to the project (and since it coincides with needing to write some cross-platform UI code), I thought I'd give the new version a go. Here's my environment: $ mono --version Mono JIT compiler version 2.4.2.3 (t

Re: [Ironruby-core] .NET Remoting with IronRuby 0.9.2

2009-11-25 Thread Dong Zhang
Hi Patrick did you find a solution to your problem? I got exactly the same problem while trying to call .NET remote method. thanks Dong Patrick Brown wrote: > Hello > >Has anyone been able to get Remoting to work? I get the following > exception when attempting to make a call. I am rathe