Re: [Ironruby-core] IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type

2012-10-03 Thread Badr A.
[http://www.anisaty.com/vb/ منتدى انستي] [http://www.anisaty.com/vb/t71806.html العاب باربي الصينية] [http://www.anisaty.com/vb/t71783.html العاب باربي] [http://www.anisaty.com/vb/t71821 العاب تلبيس باربي الدلوعه] [http://www.anisaty.com/vb/f8/ منتديات عالم حواء]

Re: [Ironruby-core] IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type

2012-07-09 Thread Orion Edwards
I personally haven't done any work on it since those last emails. I'm away from work for the next week or so, so I can't go and look it up easily. From my vague memories of the code, it shouldn't be much work to get it marshalling .NET objects that use the .NET Serialization API's. I had it

Re: [Ironruby-core] IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type

2012-07-09 Thread James W.
Hi Orion, Thanks for the useful feedback. In the interim, I am maintaining the object on the DRb server-side and keeping interaction with the object basic enough to maintain fairly easily. A rudimentary proxy, if you will. Long term, though, I will follow-up on your starting points and endeavor

Re: [Ironruby-core] IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type

2012-07-06 Thread James W.
Orion et al., I am curious if there has been any forward momentum on addressing CLR object serialization in IronRuby. I'm currently porting some JRuby test framework code that utilizes DRb as an interface to serialize Java objects for test automation. We'd like to be able to accomplish the same

Re: [Ironruby-core] IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type

2011-10-31 Thread Orion Edwards
I've updated the pull request as per Tomas' code review comments. - Removed ISpecialRubyMarshalling interface in favour of keeping the code all in the Marshal - Only implement Exception#==, not === and eql? - Implement proper Exception comparison logic to match MRI - Change the

Re: [Ironruby-core] IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type

2011-10-25 Thread Tomas Matousek
I think we should NOT serialize non-Ruby types for now. The implementation isn't quite working so I'd prefer we delete all code that deals with ISerializable, clean up the marshaller and if .NET serialization is needed in future implement it fully and correctly. Marshal.dump has to output

Re: [Ironruby-core] IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type

2011-10-25 Thread Orion Edwards
For dealing with Clr-backed objects such as Exception should we just create special cases in the Marshal to dump and load them? Is there any way I can find out what other ruby objects are actually CLR objects other than Exception types and the basic int, double, float types? My experiments