Re: [Ironruby-core] [Ironpython-users] IronRuby scripting in Windows Store apps

2012-08-28 Thread Tomas Matousek
=microsoft@python.org] On Behalf Of Jeff Hardy Sent: Tuesday, August 28, 2012 11:59 AM To: ironruby-core@rubyforge.org Cc: ironpython-us...@python.org; John Lam (WINDOWS) Subject: Re: [Ironpython-users] [Ironruby-core] IronRuby scripting in Windows Store apps On Sat, Aug 25, 2012 at 3:39 PM, Toma

[Ironruby-core] IronRuby scripting in Windows Store apps

2012-08-26 Thread Tomas Matousek
(Seems like my previous email didn't go thru, trying again) I have just checked in a sample Windows 8 application that evaluates Ruby code and displays result. https://github.com/IronLanguages/main/tree/master/Hosts/WindowsStore Feel free to play with it. The basics should work but definitely

[Ironruby-core] IronRuby scripting in Windows Store apps

2012-08-25 Thread Tomas Matousek
I have just checked in a sample Windows 8 application that evaluates Ruby code and displays result. https://github.com/IronLanguages/main/tree/master/Hosts/WindowsStore Feel free to play with it. The basics should work but definitely expect bugs :). To try it out build Ruby.sln Win8 configurati

Re: [Ironruby-core] Array Specs

2012-01-04 Thread Tomas Matousek
Cool! I'll take a look asap. Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Orion Edwards Sent: Wednesday, January 04, 2012 1:54 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Array Specs I've been working on bringing IronR

Re: [Ironruby-core] Cannot build IronRuby or IronPython MSI's

2012-01-03 Thread Tomas Matousek
ion, it should only be declared in the database or one merge module. [c:\Dev\ironlanguages-main\Msi\Ruby\Ms i\IronRuby.Msi.wproj] This is where I give up.. The giant stack of changes mostly came from Tomas Matousek / JDHardy / couple of other IronPython devs... Would one of those people mind pleas

Re: [Ironruby-core] WP7 limitations

2012-01-03 Thread Tomas Matousek
I changed Silverlight 3 configuration to build against Mango reference assemblies a couple of days ago. I'll rename Silverlight3 configuration to WP75 soon :) Haven't tested if it works (at runtime) but it at least builds :) IronRuby now also builds against Silverlight 5 and MonoAndroid. Nothing

Re: [Ironruby-core] IronRuby internals - How can I get the full path to the current file?

2012-01-03 Thread Tomas Matousek
I'd recommend to start with some simpler features than this one. This seems to be quite non-trivial to implement efficiently and correctly. Note that getting the current stack trace is very expensive, so you'd probably want to encode the path into Ruby call-sites (RubyCallAction) or something lik

Re: [Ironruby-core] RubySpecs

2011-10-31 Thread Tomas Matousek
re defined in IronRuby.dll. We'd have to move the Errno stuff out of Libraries and into IronRuby.dll I think From:Tomas Matousek mailto:tomas.matou...@microsoft.com>> To:"ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org>" mailto:ironru

Re: [Ironruby-core] RubySpecs

2011-10-31 Thread Tomas Matousek
1) Partly. We are in progress of updating them. Since we've added more specs and sometimes corrected existing ones this needs to be done with care. The current progress is captured here: https://gist.github.com/1159998 After we are done with this process of bringing the specs up to date we can

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 exact

Re: [Ironruby-core] override method_missing()

2011-10-19 Thread Tomas Matousek
Might be a bug. -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Lewis L. Sent: Wednesday, October 19, 2011 8:24 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] override method_missing() Hi, Is there a way

Re: [Ironruby-core] Pull requests

2011-10-03 Thread Tomas Matousek
Yes, sorry about the delay. I just didn't have time to look at it yet - I was out last two weekends. Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Orion Edwards Sent: Monday, October 03, 2011 12:58 PM To: ironruby-core@rubyforge.org Su

Re: [Ironruby-core] ObjectSpace module

2011-08-15 Thread Tomas Matousek
rds, Iulian Fecioru From: Tomas Matousek [mailto:tomas.matou...@microsoft.com]<mailto:[mailto:tomas.matou...@microsoft.com]> Sent: Wednesday, August 10, 2011 7:20 PM To: ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org> Subject: Re: [Ironruby-core] ObjectSpace module Your

Re: [Ironruby-core] Sync rubyspec

2011-08-14 Thread Tomas Matousek
And bigdecimal :) \core array b* \language * \library bigdecimal net zlib -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tomas Matousek Sent: Sunday, August 14, 2011

Re: [Ironruby-core] Sync rubyspec

2011-08-14 Thread Tomas Matousek
Merged into main. I've updated some as well. The following specs are up to date: \core array b* \language * \library net zlib Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Beh

Re: [Ironruby-core] Pull request #31 - fix workitem 6345, implemented IO#binread

2011-08-14 Thread Tomas Matousek
Regex should be fixed now. -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tomas Matousek Sent: Sunday, August 07, 2011 9:33 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Pull request #31 - fix

Re: [Ironruby-core] ObjectSpace module

2011-08-10 Thread Tomas Matousek
Your implementation of _id2ref might be a good enough approximation. (It isn't 100% equivalent to MRI though since in MRI I can enumerate integers and ask if there is an object with that id. So I can get to objects for which object_id wasn't called before.) You "become" a developer by submittin

Re: [Ironruby-core] IronRuby IDE with MRI?

2011-08-09 Thread Tomas Matousek
Have you tried http://www.sapphiresteel.com/? Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of David Garner Sent: Tuesday, August 09, 2011 5:32 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] IronRuby IDE with MRI? Hi. I've b

Re: [Ironruby-core] Pull request #31 - fix workitem 6345, implemented IO#binread

2011-08-07 Thread Tomas Matousek
I can take a look at fixing the regex issue perhaps next weekend. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Enrico Sada Sent: Sunday, August 07, 2011 3:47 PM To: ironruby-core@rubyforge.org Subject: [Ironr

Re: [Ironruby-core] Code Review - Time#strftime ignore invalid directives on format string

2011-08-02 Thread Tomas Matousek
You can remove compatibility check (including the one that's there). IronRuby only supports MRI 1.9. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Enrico Sada Sent: Tuesday, August 02, 2011 9:45 AM To: ironru

Re: [Ironruby-core] Working on IronRuby visual studio tools

2011-05-25 Thread Tomas Matousek
If you need it for "in production" testing definitely use the MSI. That's the way how users will install it. Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Orion Edwards Sent: Wednesday, May 25, 2011 1:04 PM To: ironruby-core@rubyforge.

Re: [Ironruby-core] Commit to solve bug: String.delete gives a wrong result (http://ironruby.codeplex.com/workitem/5426)

2011-05-11 Thread Tomas Matousek
e tests are written in c#) I'll tell you as soon as I have the test done. Cheers On Wed, May 11, 2011 at 6:23 PM, Tomas Matousek mailto:tomas.matou...@microsoft.com>> wrote: I'll take a look. Could you add some tests to the specs, unless there already are some? Let me know if yo

Re: [Ironruby-core] Commit to solve bug: String.delete gives a wrong result (http://ironruby.codeplex.com/workitem/5426)

2011-05-11 Thread Tomas Matousek
I'll take a look. Could you add some tests to the specs, unless there already are some? Let me know if you have any questions. Thanks, Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Roberto Perez Sent: Wednesday, May 11, 2011 3:56 AM To

Re: [Ironruby-core] Fwd: WorkItem Issue #6095 - "IronRuby 1.1.3 Can't count"

2011-05-07 Thread Tomas Matousek
Yes, this is the right process - fix it in a branch and send a pull request. The change looks great! Merged into main and closed the bug. Thanks, Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Nicholas Radford

Re: [Ironruby-core] Hi guys

2011-05-03 Thread Tomas Matousek
It is. Feel free to send start discussion on features you want to work on. See https://github.com/IronLanguages/main/wiki for useful info. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Nicholas Radford Sent:

Re: [Ironruby-core] Getting value of IronRuby object's property using reflections

2011-04-25 Thread Tomas Matousek
Would this be what you need? http://ironruby.codeplex.com/workitem/4920 Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of sridharans sivamurugan Sent: Monday, April 25, 2011 7:38 PM To: ironruby-core@rubyforge.org

Re: [Ironruby-core] Dropping .NET 2.0 Support for IronRuby

2011-04-06 Thread Tomas Matousek
n place and not intentionally remove v2 specific code. Sounds good? Tomas -Original Message- From: Jeff Hardy [mailto:jdha...@gmail.com] Sent: Wednesday, April 06, 2011 3:10 PM To: ironruby-core@rubyforge.org Cc: Tomas Matousek Subject: Re: [Ironruby-core] Dropping .NET 2.0 Support for I

Re: [Ironruby-core] Dropping .NET 2.0 Support for IronRuby

2011-04-06 Thread Tomas Matousek
I'd be fine with dropping support for *Desktop* v2.0. We need to support Silverlight 3 builds though so that we continue running on Windows Phone 7. This essentially means we can't get rid of the inner ring just yet. Do you consider supporting IronPython on Windows Phone too? The only work that'

Re: [Ironruby-core] IronRuby not loading DLL

2011-03-27 Thread Tomas Matousek
agine there might be case where you have an xFoo type and an XFoo type in the same namespace. That's probably being pedantic though - just capitalizing the first letter sounds like a pragmatic solution to me. -Charles On Sat, Mar 26, 2011 at 10:01 PM, Tomas Matousek mailto:tomas.matou...@mic

Re: [Ironruby-core] IronRuby not loading DLL

2011-03-26 Thread Tomas Matousek
an optional block param to require/load_assembly for overriding how .NET types are mapped to constants? That might be prove beneficial in cases such as these. -Charles On Fri, Mar 25, 2011 at 5:37 PM, Tomas Matousek mailto:tomas.matou...@microsoft.com>> wrote: You need to use const_

Re: [Ironruby-core] IronRuby not loading DLL

2011-03-25 Thread Tomas Matousek
You need to use const_get to access classes/namespaces whose names are not compatible with Ruby naming conventions. A module in Ruby must start with capital ASCII letter. const_get(:mdMATCHUPOBJECTLib).const_get(:mdMUIncrementalClass).new should work. Tomas -Original Message- From: iro

Re: [Ironruby-core] Ruby FFI port

2011-03-22 Thread Tomas Matousek
Another idea... what about starting from http://github.com/ffi and replacing the C extension with C# code? Not sure if it will work but it's at least worth looking at. Or perhaps you can also look at what JRuby is doing. Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-bou

Re: [Ironruby-core] Ruby FFI port

2011-03-22 Thread Tomas Matousek
It would be easier to write the core implementation as regular C# library (i.e. not IronRuby.Libraries.*) and write the public API in Ruby that would internally call to that library. The Ruby file could call load_assembly 'CoreFFI.dll' and then use the classes defined there. This way you don't

Re: [Ironruby-core] Compiling Ruby classes to assemblies for use with Unity3D (which uses Mono 1.2.4)

2011-03-21 Thread Tomas Matousek
We are already targeting Mono 2.10. You can try building with msbuild on Windows using /p:Configuration=v2Debug and using the resulting binaries on Mono 2.6. Mono fixed a bunch of bugs since 2.6 though so it might not quite work. Tomas -Original Message- From: ironruby-core-boun...@ruby

Re: [Ironruby-core] [Bug Found: IronRuby 1.1.3 Gem install problem]

2011-03-14 Thread Tomas Matousek
You either need to run gem install in an elevated prompt (start cmd.exe as admin) or install the gems to a directory which you have access to (set GEM_HOME environment variable, see http://docs.rubygems.org/read/chapter/3). Tomas From: ironruby-core-boun

[Ironruby-core] [ANN] IronRuby 1.1.3 Released!

2011-03-13 Thread Tomas Matousek
Dear IronRuby community, We’re pleased to announce the release of IronRuby 1.1.3. The binaries and the installer are now available at CodePlex: http://ironruby.codeplex.com/releases/view/60511 IronRuby 1.1.3 is a servicing release that keeps on improving compatibility with Ruby 1.9.2 and in

Re: [Ironruby-core] Finally trying to check in Iron7....

2011-03-08 Thread Tomas Matousek
What is the motivation for including Iron7 to the IronLanguages repo? Couldn't it just be a separate github project? Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Stuart Lodge Sent: Tuesday, March 08, 2011 9:57 AM To: ironruby-core@rub

Re: [Ironruby-core] How-to Contribute to IronRuby

2011-02-28 Thread Tomas Matousek
the main rubyspec repo (and get them approved). Any volunteers for this? Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tomas Matousek Sent: Monday, February 28, 2011 11:25 AM To: ironruby-core@rubyforge.org

Re: [Ironruby-core] How-to Contribute to IronRuby

2011-02-28 Thread Tomas Matousek
This information should be up to date: http://github.com/IronLanguages/main/wiki if you find any discrepancies, let us know. Bugs are tracked on CodePlex: http://ironruby.codeplex.com There is a plenty of failing specs that also need to be fixed -- see https://github.com/IronLanguages/main/tre

Re: [Ironruby-core] Accessing a Module's Classes from C# with dynamic

2011-02-25 Thread Tomas Matousek
Wouldn't this work? dynamic globalConstants = engine.Runtime.Globals globalConstants.MyModule.const_get('MyClass') assuming module MyModule class MyClass end end Haven't tried. Let me know if it works. Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyfor

Re: [Ironruby-core] [IronPython] Contents of Lib (packaging for RPM)

2011-02-11 Thread Tomas Matousek
...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Andrew Jorgensen Sent: Friday, February 11, 2011 7:14 PM To: Discussion of IronPython Cc: ironruby-core@rubyforge.org Subject: Re: [IronPython] Contents of Lib (packaging for RPM) On Fri, Feb 11, 2011 at 8:03 PM, Tomas

Re: [Ironruby-core] [IronPython] Contents of Lib (packaging for RPM)

2011-02-11 Thread Tomas Matousek
ehalf Of Andrew Jorgensen Sent: Friday, February 11, 2011 6:44 PM To: Discussion of IronPython Cc: ironruby-core@rubyforge.org Subject: Re: [IronPython] Contents of Lib (packaging for RPM) On Fri, Feb 11, 2011 at 7:28 PM, Tomas Matousek wrote: > Yes, it is possible. You shouldn't need to cha

Re: [Ironruby-core] [IronPython] Contents of Lib (packaging for RPM)

2011-02-11 Thread Tomas Matousek
file or directory) > lstat("/home/ajorg/packages-provo/Mono/ironruby/date.so", > 0x7fff01eb9580) = -1 ENOENT (No such file or directory) > stat("/home/ajorg/packages-provo/Mono/ironruby/date.exe", > 0x7fff01eb9580) = -1 ENOENT (No such file or directory)

Re: [Ironruby-core] [IronPython] Contents of Lib (packaging for RPM)

2011-02-11 Thread Tomas Matousek
quot;, 0x7fff01eb9580) = -1 ENOENT (No such file or directory) lstat("/home/ajorg/packages-provo/Mono/ironruby/date.exe", 0x7fff01eb9580) = -1 ENOENT (No such file or directory) On Fri, Feb 11, 2011 at 5:43 PM, Andrew Jorgensen mailto:and...@jorgensenfamily.us>> wrote: >

Re: [Ironruby-core] [IronPython] Contents of Lib (packaging for RPM)

2011-02-11 Thread Tomas Matousek
running from the source build. On Thu, Feb 10, 2011 at 4:01 PM, Tomas Matousek wrote: > What is your installation dir/file layout? > > -Original Message- > From: users-boun...@lists.ironpython.com > [mailto:users-boun...@lists.ironpython.com] On Behalf Of Andrew > Jorgen

Re: [Ironruby-core] [IronPython] Contents of Lib (packaging for RPM)

2011-02-10 Thread Tomas Matousek
What is your installation dir/file layout? -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Andrew Jorgensen Sent: Thursday, February 10, 2011 2:52 PM To: Discussion of IronPython Cc: ironruby-core@rubyforge.org Subject:

Re: [Ironruby-core] Connect to Sql server with Ironruby for windows phone 7

2011-02-09 Thread Tomas Matousek
Require should work if you pass a full assembly name ("System.Data, Version=..., Culture=..., PublicKyeToken=..."). Or you can load the assemblies via Hosting API ScriptRuntime.LoadAssembly. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...

Re: [Ironruby-core] Error Using Bewildr Gem in V1.1.2

2011-02-09 Thread Tomas Matousek
One possible explanation is following: If you run the gem with IronRuby 1.0 it runs in 1.8.6 compat mode. There may be a condition that checks for the RUBY_VERSION in the gem. On Ruby 1.1.2 the RUBY_VERSION is 1.9.2 and thus some other code path might be executed that depends on Hash#flatten. I

Re: [Ironruby-core] [IronPython] Contents of Lib (packaging for RPM)

2011-02-09 Thread Tomas Matousek
[Including IronRuby list]. We have a script in Msi directory called harvest.rb. This is used by another scripts Msi\Python\generate_wxis.rb and Msi\Ruby\generate_wxis.rb that launch it with Python and Ruby specific parameters, respectively. The generated .wxi files fully describe the files and

Re: [Ironruby-core] Preparing 1.1.2 release

2011-02-07 Thread Tomas Matousek
Re binaries - 3 flavors are currently built: 1) Desktop CLR 4.0 (.NET FW 4.0, Mono 2.10) 2) Core CLR 4.0 (Silverlight 4.0, Moonlight) 3) Core CLR 3.0 (Windows Phone 7) So yes, the binaries should be equivalent. They won't be byte-for-byte equal, but should functionally be the s

Re: [Ironruby-core] Preparing 1.1.2 release

2011-02-07 Thread Tomas Matousek
Great! I spent some time to make xbuild happy :), I'm glad it works on non-Windows boxes as well. I filed a couple of Mono bugs (crashes) yesterday: http://bugzilla.novell.com/show_bug.cgi?id=669808 (GetCustomAttributes crash) http://bugzilla

Re: [Ironruby-core] Preparing 1.1.2 release

2011-02-07 Thread Tomas Matousek
I'll publish the binaries in the evening today. That said, there wasn't really any testing on non-Windows platform at all that I know of. So it might be best to build a debug build from sources instead of using release build. Error stack traces will be better. Mono 2.10 RC2 is able to build Ruby

Re: [Ironruby-core] Preparing 1.1.2 release

2011-02-07 Thread Tomas Matousek
IronRuby 1.1.2 runs on Mono, though there are some bugs in Mono that might cause issues in certain scenarios. The best Mono version to try it on would be 2.10. The .msi requires .NET 4.0, a separate zip package with raw dlls will be available later today (you can always build from sources as wel

Re: [Ironruby-core] Preparing 1.1.2 release

2011-02-07 Thread Tomas Matousek
nruby-core-boun...@rubyforge.org] On Behalf Of Eduardo Blumenfeld Sent: Monday, February 07, 2011 4:43 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Preparing 1.1.2 release Unfortunately none of the links are accessible... Regards Eduardo Tomas Matousek wrote in post #9

[Ironruby-core] Preparing 1.1.2 release

2011-02-06 Thread Tomas Matousek
be happy to help. Let me know what needs to be done. Shay. On Tue, Feb 1, 2011 at 8:41 AM, Tomas Matousek mailto:tomas.matou...@microsoft.com>> wrote: It's easy to build the msi's and I'll run IronRuby tests. I could use some help with IronRuby Tools testing. Tomas From: us

Re: [Ironruby-core] How can you return the Rubified version of a CLR object back to the CLR?

2011-02-04 Thread Tomas Matousek
This is by design. System.String doesn't really have "reverse" method. IronRuby just pretends it's there to make work more like Ruby string. So while you're writing Ruby code you use these convenience methods, but once you're in another context (another language, be it C#, or Python) you won't s

Re: [Ironruby-core] linq support in IronRuby

2011-02-02 Thread Tomas Matousek
https://github.com/IronLanguages/main/blob/master/Languages/Ruby/Samples/Linq/101samples.rb Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Eduardo Blumenfeld Sent: Wednesday, February 02, 2011 10:26 AM To: iron

Re: [Ironruby-core] [IronPython] Proposed Release Schedule for 2.7

2011-02-01 Thread Tomas Matousek
: Discussion of IronPython Cc: ironruby-core@rubyforge.org Subject: Re: [IronPython] Proposed Release Schedule for 2.7 That schedule looks good for me too, and I can help get the releases out as well. ~Jimmy On Sun, Jan 30, 2011 at 3:37 PM, Tomas Matousek mailto:tomas.matou...@microsoft.com>> wro

Re: [Ironruby-core] [IronPython] Proposed Release Schedule for 2.7

2011-01-30 Thread Tomas Matousek
I propose we sync IronRuby releases with IronPython as follows: IronRuby - IronPython - date 1.1.2 - Beta 2 - February 6 none - RC1 - February 20 none - RC2 - February 27 1.1.3 - RTM - March 6 Tomas -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.

Re: [Ironruby-core] Accessing a Module's Classes from C# with dynamic

2011-01-15 Thread Tomas Matousek
Another option would be RbScriptApp.const_get("Foo") I haven't tried that, but I think it should work. Neither solution is indeed ideal. CLR interop with Modules isn't quite polished yet. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...

Re: [Ironruby-core] IR WPF Project, ActiveRecord sqlite3-ironruby writes slow, reads fast

2011-01-08 Thread Tomas Matousek
The driver should convert Int64 to Bignum, using e.g. Kernel#Integer: >>> i64 = System::Int64.new(1) => 1 (Int64) >>> Integer(i64) => 1 >>> Integer(i64).class => Bignum >>> Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforg

Re: [Ironruby-core] Location of ir.exe.config in IronRuby 1.1

2011-01-06 Thread Tomas Matousek
Create a new file ir.exe.config next to ir.exe. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Poojan Wagh Sent: Thursday, January 06, 2011 6:36 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Locat

Re: [Ironruby-core] Hello...

2010-12-22 Thread Tomas Matousek
Very cool! Tomas From: ironruby-core-boun...@rubyforge.org [ironruby-core-boun...@rubyforge.org] on behalf of Stuart Lodge [...@slodge.com] Sent: Wednesday, December 22, 2010 3:42 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Hello... Hello Iro

Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year?

2010-12-22 Thread Tomas Matousek
01CAF81D.6A076510] <http://twitter.com/meligy> [http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.

Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year?

2010-12-19 Thread Tomas Matousek
A non-blocking socket operation could not be completed immediately". What do you think? Shay. On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek mailto:tomas.matou...@microsoft.com>> wrote: Isn't "no such file to load -- rubygems/defaults/operating_system" exceptio

Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year?

2010-12-18 Thread Tomas Matousek
etowork.com.au/best/best-companies-australia.php>[X]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek mailto:tomas.matou...@microsoft.com>> wrote: The fix is already checked into the main. So if there is still any problem

Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year?

2010-12-17 Thread Tomas Matousek
I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas From: ironruby-core-boun...@r

Re: [Ironruby-core] What happened to the github repo?

2010-12-12 Thread Tomas Matousek
The repo was renamed to https://github.com/IronLanguages/main It's the primary repo for IronRuby, IronPython and the DLR. Tomas From: ironruby-core-boun...@rubyforge.org [ironruby-core-boun...@rubyforge.org] on behalf of Ryan Riley [ryan.ri...@panesofglass.o

Re: [Ironruby-core] Help configuring latest IronRuby

2010-12-01 Thread Tomas Matousek
What errors do you get? Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Travis Herrick Sent: Wednesday, December 01, 2010 1:34 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Help configuring latest IronRuby Hello, I am not

[Ironruby-core] Language poll

2010-11-30 Thread Tomas Matousek
In case you'd like to vote for your favorite language :) http://blogs.msdn.com/b/mikeormond/archive/2010/11/26/msdn-flash-poll-13-language-shapes-the-way-we-think.aspx Tomas ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org

Re: [Ironruby-core] Is it possible to yield C# code?

2010-11-30 Thread Tomas Matousek
It is not possible today, it might be possible in future :) BTW, I would suggest to use Action instead of defining your own delegate type. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jonas Elfström Sent: M

Re: [Ironruby-core] no such file to load -- spec/story (LoadError)

2010-11-29 Thread Tomas Matousek
Do these problems manifest when using IronRuby 1.1.2? (master from github). Could you file a bug with details if so? Thanks, Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Mike Hatfield Sent: Monday, November 29, 2010 11:16 AM To: ironr

Re: [Ironruby-core] Name mangling seems broken

2010-11-23 Thread Tomas Matousek
The library doesn't follow .NET naming conventions at all :( >>> BWAPI::Bwapi.BWAPIClient.respond_to? :isConnected => true Client class has a method called "isConnected". >>> BWAPI::Bwapi.BWAPIClient.respond_to? :is_connected => false Client doesn't have a method "IsConnected" nor "is_connecte

Re: [Ironruby-core] ScriptScope from IDictionary + function definitions = NotImplementedException

2010-11-21 Thread Tomas Matousek
I've just added support for string dictionaries. It's committed to the github repo. Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Anton Firsov Sent: Tuesday, November 16, 2010 10:05 AM To: ironruby-core@rubyforge.org Subject: [Ironruby

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-21 Thread Tomas Matousek
Can you pull the latest source from gthub and try to build again? I fixed some issues, so it should work now. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Timothy Barnes Sent: Friday, November 12, 2010 10:4

Re: [Ironruby-core] Lowercase classname

2010-11-20 Thread Tomas Matousek
Can you send a link to the assembly that defines the class you are trying to use? Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tinco Andringa Sent: Saturday, November 20, 2010 2:27 PM To: ironruby-core Subje

Re: [Ironruby-core] Lowercase classname

2010-11-18 Thread Tomas Matousek
This might be a bug in the documentation :-)? Method names are mangled so that you can use foo_bar to call FooBar method. You should be able to use const_get(:foo) to get to the constant. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@

Re: [Ironruby-core] Organization and repo renames

2010-11-15 Thread Tomas Matousek
-core@rubyforge.org Subject: Re: [Ironruby-core] Organization and repo renames On Mon, Nov 15, 2010 at 6:42 PM, Tomas Matousek mailto:tomas.matou...@microsoft.com>> wrote: Hello everyone, I've renamed the github organization that hosts IronRuby repo on github to "IronLanguages&qu

[Ironruby-core] Organization and repo renames

2010-11-15 Thread Tomas Matousek
Hello everyone, I've renamed the github organization that hosts IronRuby repo on github to "IronLanguages" and the repo itself to "main". This name better reflects the fact that the repository also includes IronPython and DLR sources and is their primary repo as well. If you have a clone of the

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-12 Thread Tomas Matousek
msbuild Installer.proj /p:Configuration=Release > output.log Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Timothy Barnes Sent: Thursday, November 11, 2010 12:26 PM To: ironruby-core@rubyforge.org Subject: Re:

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-11 Thread Tomas Matousek
Can you attach the entire output? Did you synced to the latest version of the repo? TOmas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Timothy Barnes Sent: Thursday, November 11, 2010 11:05 AM To: ironruby-core@ru

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-10 Thread Tomas Matousek
No, you don't need to build anything before you build the installer. What are the errors? Do you have VS SDK 2010 installed? You need to have that so that the VS integration builds. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyfor

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-10 Thread Tomas Matousek
There are some issues with how library load paths are set up today (gem_prelude load error), I'm working on a fix. I might finish it this weekend. Did you pass /p:Configuration=Release to msbuild when building the installer? If not look at bin\Debug folder :) Tomas -Original Message- F

Re: [Ironruby-core] Type conversion error

2010-11-09 Thread Tomas Matousek
Yes, you probably have the assembly that defines the type loaded twice in different load contexts (Load vs LoadFrom). That might happen if you load the assembly using a file path (require 'x.dll') instead of a full assembly name and then dependency loads it as well. Tomas From: ironruby-core-bo

Re: [Ironruby-core] Using win32ole "connect" method on Ironruby

2010-11-09 Thread Tomas Matousek
Contributing is easy: fork the repo, make the changes, add tests covering the new functionality (ideally as specs to Languages/Ruby/Tests/mspec/rubyspec), run all the tests (irtests command in Languages\Ruby\Scripts), and if everything passes push your changes to your fork and send a pull reques

Re: [Ironruby-core] Questions around load order of rb files in Libs and StdLib

2010-11-09 Thread Tomas Matousek
I don't think it's good idea to introduce such a dependency. Why would I need to install CRuby if I just wanted to program in Ruby on Mono/.NET? CRuby would not be useful for me and it's additional 12MB to download and 30MB on disk. Besides JRuby also ships with the standard library. In fact bot

Re: [Ironruby-core] Questions around load order of rb files in Libs and StdLib

2010-11-08 Thread Tomas Matousek
There are currently some small changes in the StdLib to work around IronRuby bugs. So those need to be fixed first. Will your IronRuby package require CRuby to be installed first? Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-08 Thread Tomas Matousek
It's already there - build Solutions\Ruby.sln from GIT repo (https://github.com/ironruby/ironruby/archives/master): msbuild Solutions.Ruby.sln /p:Configuration=Release This produces binaries to bin\Release directory. You'll need to take all IronRuby binaries (not just irw.exe). Of if you'd rat

Re: [Ironruby-core] Cleaning up of the Source Tree - Removal of Redundant files

2010-11-04 Thread Tomas Matousek
Yes, we shouldn't have any .cs files that are not included in any .csproj. I would be surprised if there were too many of them but there might be some. Feel free to send a patch that deletes them. Microsoft.Scripting.Core directory includes DLR v1.0 that shipped in .NET 4.0 in System.Core. We s

Re: [Ironruby-core] Very Very initial CMake support

2010-11-04 Thread Tomas Matousek
"Mainly the complete and easy separation of dlr from ironruby" I don't think we need cmake to make this happen. In fact, I don't even think it is desirable to do so (at least not short term). I'm still convinced that having all source code in a single repo (perhaps split into multiple submodule

Re: [Ironruby-core] Very Very initial CMake support

2010-11-03 Thread Tomas Matousek
-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Andrius Bentkus Sent: Wednesday, November 03, 2010 5:16 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Very Very initial CMake support On Wed, Nov 3, 2010 at 7:56 PM, Tomas Matousek

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-03 Thread Tomas Matousek
Yes, should be easy. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Timothy Barnes Sent: Wednesday, November 03, 2010 2:37 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Running IronRuby script

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-03 Thread Tomas Matousek
Not today, but it would be easy to implement. I can do it over the weekend if you need it. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Timothy Barnes Sent: Wednesday, November 03, 2010 10:59 AM To: ironruby

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-03 Thread Tomas Matousek
r you (we have a similar one for Python). Tomas -Original Message----- From: Tomas Matousek Sent: Wednesday, November 03, 2010 1:06 PM To: ironruby-core@rubyforge.org Subject: RE: [Ironruby-core] Running IronRuby script from C# Not today, but it would be easy to implement. I can do i

Re: [Ironruby-core] Very Very initial CMake support

2010-11-03 Thread Tomas Matousek
Please don't add yet another build system. Generating .csproj files is not the right way to go. The project files are and should be the primary metadata storage for the build system. If you work in VS and add a new file VS will add it into csproj. If you would like to build some packages (like

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-03 Thread Tomas Matousek
Files don't need to be encoded in UTF8, you can chose any encoding supported on your system. IronRuby 1.1.1 supports BOMs and also Ruby specific #encoding directives. I would suggest always using UTF8. Personally I consider any non-Unicode based encoding obsolete and frankly don't understand wh

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-02 Thread Tomas Matousek
What version of IronRuby do you use? The file has UTF8 BOM at the beginning and IronRuby 1.0 doesn't support that (MRI 1.8.6 doesn't either). IronRuby 1.1.1 should work fine. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org]

Re: [Ironruby-core] IronRuby 1.1.1 IIRB failing

2010-10-25 Thread Tomas Matousek
Right, the installer installs only to GAC. You can download all the binaries from http://ironruby.codeplex.com/releases/view/49097#DownloadId=159562.There is no point copying them to Program Files. Once they are in the GAC all apps load them from there. You can build a redistributable msm Windo

Re: [Ironruby-core] Compiling on Mono?

2010-10-25 Thread Tomas Matousek
We have actually always targeted Mono and IronRuby mostly works on it. Of course we found a bunch of Mono bugs for which we either implemented a workaround or filed a bug if the workaround would be too convoluted. Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@ru

Re: [Ironruby-core] Contributing?

2010-10-25 Thread Tomas Matousek
-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jb Evain Sent: Monday, October 25, 2010 1:03 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Contributing? Hey, On Mon, Oct 25, 2010 at 8:19 PM, Tomas Matousek wrote: > 2)  It might be poss

  1   2   3   4   5   6   7   8   9   >