Hi Tomas Jimmy asked me back in December about whether Iron7 might replace the WP7 app in the tree - and it's been sitting on my todo list ever since.
I don't mind if Iron7 is included in the main tree or on its own - I'm quite happy to publish it in a separate repo or on CodePlex Thanks again for all your hard work on IronRuby! Stuart On 8 March 2011 20:39, <ironruby-core-requ...@rubyforge.org> wrote: > Send Ironruby-core mailing list submissions to > ironruby-core@rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://rubyforge.org/mailman/listinfo/ironruby-core > or, via email, send a message with subject or body 'help' to > ironruby-core-requ...@rubyforge.org > > You can reach the person managing the list at > ironruby-core-ow...@rubyforge.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ironruby-core digest..." > > > Today's Topics: > > 1. Re: Linebreak issue with clr strings manipulated by Ruby code > (Jimmy Schementi) > 2. Re: Linebreak issue with clr strings manipulated by Ruby code > (Aldinei Sampaio) > 3. Finally trying to check in Iron7.... (Stuart Lodge) > 4. Re: Finally trying to check in Iron7.... (Jeff Hardy) > 5. Re: Finally trying to check in Iron7.... (Tomas Matousek) > 6. Re: Finally trying to check in Iron7.... (Stuart Lodge) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 4 Mar 2011 16:06:19 -0500 > From: Jimmy Schementi <ji...@schementi.com> > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] Linebreak issue with clr strings > manipulated by Ruby code > Message-ID: > <AANLkTinAsmZnPdV2F7YP=MMCfCRV3ETkAKqgY=+yu...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Yes, I can reproduce this. I'll look into it. Have you opened a bug? > I'll follow up there. > ~Jimmy > > > > On Thu, Mar 3, 2011 at 6:11 PM, Aldinei Sampaio > <aldinei.samp...@gmail.com> wrote: > > Hi, sorry again, but is anyone seeing this message? > > > > I coudnt get any response about this, either here or in the Codeplex > > issue tracker. > > > > 2011/2/25 Aldinei Sampaio <aldinei.samp...@gmail.com>: > >> Hi, guys. Sorry if I am posting this in the wrong place, but I need > >> some kind of direction here. > >> > >> I isolated my problem in the following UnitTest in Visual Basic: > >> > >> <TestMethod()> > >> Public Sub LineBreakProblem() > >> ? ?Const SCRIPT = "print System::String.Format('Line1{0}Line2', > >> System::Environment.NewLine)" > >> > >> ? ?Dim engine = IronRuby.Ruby.CreateEngine() > >> ? ?Dim stream = New IO.MemoryStream > >> ? ?Dim writer = New IO.StreamWriter(stream) > >> ? ?engine.Runtime.IO.SetOutput(stream, writer) > >> ? ?Dim source = engine.CreateScriptSourceFromString(SCRIPT, "Script", > >> Microsoft.Scripting.SourceCodeKind.File) > >> ? ?source.Execute() > >> > >> ? ?writer.Flush() > >> ? ?stream.Position = 0 > >> ? ?Dim actual = (New IO.StreamReader(stream)).ReadToEnd() > >> > >> ? ?Dim expected = String.Format("Line1{0}Line2", Environment.NewLine) > >> > >> ? ?Assert.AreEqual(expected, actual) > >> End Sub > >> > >> > >> As you can see, i am running this Ruby code: > >> > >> print System::String.Format('Line1{0}Line2', > System::Environment.NewLine) > >> > >> And then I am using the engine.Runtime.IO.SetOutput to get back the > >> result generated by the "print" statement. System.Environment.NewLine > >> returns the char combination CR + LF. > >> > >> The "expected" variable will contain: "Line1" + CR + LF + "Line2". > >> The "actual" variable receive the value "Line1" + CR + LF + CR + LF + > "Line2" > >> > >> Seems that all the linebreaks are doubled when using the CLR string > >> with the "print" statement. > >> > >> Any suggestion that you can give me to resolve or work around this > >> problem will be much appreciated. > >> > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core@rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > ------------------------------ > > Message: 2 > Date: Mon, 7 Mar 2011 08:24:38 -0300 > From: Aldinei Sampaio <aldinei.samp...@gmail.com> > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] Linebreak issue with clr strings > manipulated by Ruby code > Message-ID: > <AANLkTi=ihsympocrfhd+hekoux4vgayi9rnxcwj3z...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Yes, i created the issue #5836. > > Thank you very much. > > 2011/3/4 Jimmy Schementi <ji...@schementi.com>: > > Yes, I can reproduce this. I'll look into it. Have you opened a bug? > > I'll follow up there. > > ~Jimmy > > > > > > > > On Thu, Mar 3, 2011 at 6:11 PM, Aldinei Sampaio > > <aldinei.samp...@gmail.com> wrote: > >> Hi, sorry again, but is anyone seeing this message? > >> > >> I coudnt get any response about this, either here or in the Codeplex > >> issue tracker. > >> > >> 2011/2/25 Aldinei Sampaio <aldinei.samp...@gmail.com>: > >>> Hi, guys. Sorry if I am posting this in the wrong place, but I need > >>> some kind of direction here. > >>> > >>> I isolated my problem in the following UnitTest in Visual Basic: > >>> > >>> <TestMethod()> > >>> Public Sub LineBreakProblem() > >>> ? ?Const SCRIPT = "print System::String.Format('Line1{0}Line2', > >>> System::Environment.NewLine)" > >>> > >>> ? ?Dim engine = IronRuby.Ruby.CreateEngine() > >>> ? ?Dim stream = New IO.MemoryStream > >>> ? ?Dim writer = New IO.StreamWriter(stream) > >>> ? ?engine.Runtime.IO.SetOutput(stream, writer) > >>> ? ?Dim source = engine.CreateScriptSourceFromString(SCRIPT, "Script", > >>> Microsoft.Scripting.SourceCodeKind.File) > >>> ? ?source.Execute() > >>> > >>> ? ?writer.Flush() > >>> ? ?stream.Position = 0 > >>> ? ?Dim actual = (New IO.StreamReader(stream)).ReadToEnd() > >>> > >>> ? ?Dim expected = String.Format("Line1{0}Line2", Environment.NewLine) > >>> > >>> ? ?Assert.AreEqual(expected, actual) > >>> End Sub > >>> > >>> > >>> As you can see, i am running this Ruby code: > >>> > >>> print System::String.Format('Line1{0}Line2', > System::Environment.NewLine) > >>> > >>> And then I am using the engine.Runtime.IO.SetOutput to get back the > >>> result generated by the "print" statement. System.Environment.NewLine > >>> returns the char combination CR + LF. > >>> > >>> The "expected" variable will contain: "Line1" + CR + LF + "Line2". > >>> The "actual" variable receive the value "Line1" + CR + LF + CR + LF + > "Line2" > >>> > >>> Seems that all the linebreaks are doubled when using the CLR string > >>> with the "print" statement. > >>> > >>> Any suggestion that you can give me to resolve or work around this > >>> problem will be much appreciated. > >>> > >> _______________________________________________ > >> Ironruby-core mailing list > >> Ironruby-core@rubyforge.org > >> http://rubyforge.org/mailman/listinfo/ironruby-core > >> > > > > > ------------------------------ > > Message: 3 > Date: Tue, 8 Mar 2011 17:57:29 +0000 > From: Stuart Lodge <m...@slodge.com> > To: ironruby-core@rubyforge.org > Subject: [Ironruby-core] Finally trying to check in Iron7.... > Message-ID: > <aanlktinlm_cd7qoxsdu4rx-5ksjfcmfxe_fp7d0t5...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi All > > I'm finally trying to check iron7 into the GitHub > > I've selected to put it in /Hosts/Silverlight/Iron7 - where it can be a > sibling of WinPhone7 - and I've mostly got it building here > > However, I'm still hitting the issue that Iron7 has a couple of external > dependencies - System.Windows.Controls.dll from the Silverlight toolkit and > Newtonsoft.Json.Silverlight.dll from Json.Net - and I really don't want to > remove these from the app (sorry) > > I'm really not sure whether to check these in - I'm kind of scared about > messing up your lovely source tree. > > Sorry if this sounds "wet"... I'm a long way from being a git or build tree > expert. Does anyone have a strong feeling about how I should check this in? > I'm more than a bit tempted just to check this into a new codeplex project > using MS-PL (or whatever license you would prefer) - someone who knows > their > way around the ironlang source tree can then merge this in if they want to? > > Thanks again for all your fab work on ironruby - still loving coding in it > :) > > Stuart > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/ironruby-core/attachments/20110308/40a119e2/attachment-0001.html > > > > ------------------------------ > > Message: 4 > Date: Tue, 8 Mar 2011 11:56:04 -0700 > From: Jeff Hardy <jdha...@gmail.com> > To: ironruby-core@rubyforge.org > Cc: Stuart Lodge <m...@slodge.com> > Subject: Re: [Ironruby-core] Finally trying to check in Iron7.... > Message-ID: > <AANLkTi=wvppj4wf0ci_d-gb0dmk_eei1ujh8hpp5h...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Any external dependencies should go under the Util/ folder. Include > any licenses as well. > > Otherwise, just check it in where you see fit and send a pull request. > git is really good at moving files around, so it can easily be > corrected afterwards. > > - Jeff > > On Tue, Mar 8, 2011 at 10:57 AM, Stuart Lodge <m...@slodge.com> wrote: > > Hi All > > I'm finally trying to check iron7 into the GitHub > > I've selected to put it in?/Hosts/Silverlight/Iron7 - where it can be a > > sibling of WinPhone7 - and I've mostly got it building here > > However, I'm still hitting the issue that Iron7 has a couple of external > > dependencies -?System.Windows.Controls.dll from the Silverlight toolkit > and > > Newtonsoft.Json.Silverlight.dll from Json.Net - and I really don't want > to > > remove these from the app (sorry) > > I'm really not sure whether to check these in - I'm kind of scared about > > messing up your lovely source tree. > > Sorry if this sounds "wet"... I'm a long way from being a git or build > tree > > expert.?Does anyone have a strong feeling about how I should check this > in? > > I'm more than a bit tempted just to check this into a new codeplex > project > > using MS-PL (or whatever license you would prefer) - someone who knows > their > > way around the ironlang source tree can then merge this in if they want > to? > > Thanks again for all your fab work on ironruby - still loving coding in > it > > :) > > Stuart > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core@rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > ------------------------------ > > Message: 5 > Date: Tue, 8 Mar 2011 19:06:26 +0000 > From: Tomas Matousek <tomas.matou...@microsoft.com> > To: "ironruby-core@rubyforge.org" <ironruby-core@rubyforge.org> > Subject: Re: [Ironruby-core] Finally trying to check in Iron7.... > Message-ID: > < > d5ceb4b8e7e7514993e9faa680b207351e76d...@tk5ex14mbxc116.redmond.corp.microsoft.com > > > > Content-Type: text/plain; charset="us-ascii" > > 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@rubyforge.org > Subject: [Ironruby-core] Finally trying to check in Iron7.... > > Hi All > > I'm finally trying to check iron7 into the GitHub > > I've selected to put it in /Hosts/Silverlight/Iron7 - where it can be a > sibling of WinPhone7 - and I've mostly got it building here > > However, I'm still hitting the issue that Iron7 has a couple of external > dependencies - System.Windows.Controls.dll from the Silverlight toolkit and > Newtonsoft.Json.Silverlight.dll from Json.Net - and I really don't want to > remove these from the app (sorry) > > I'm really not sure whether to check these in - I'm kind of scared about > messing up your lovely source tree. > > Sorry if this sounds "wet"... I'm a long way from being a git or build tree > expert. Does anyone have a strong feeling about how I should check this in? > I'm more than a bit tempted just to check this into a new codeplex project > using MS-PL (or whatever license you would prefer) - someone who knows their > way around the ironlang source tree can then merge this in if they want to? > > Thanks again for all your fab work on ironruby - still loving coding in it > :) > > Stuart > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/ironruby-core/attachments/20110308/27f3334f/attachment-0001.html > > > > ------------------------------ > > Message: 6 > Date: Tue, 8 Mar 2011 20:39:46 +0000 > From: Stuart Lodge <m...@slodge.com> > To: Jeff Hardy <jdha...@gmail.com> > Cc: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] Finally trying to check in Iron7.... > Message-ID: > <AANLkTinhPNtynfR8Hnf=owseujmdpndxhh3nel9ls...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Thanks Jeff > > I've just sent a Pull request - I hope that iron7 is successfully included > in the Hosts directory. > > Included in the source is: > - my code - Iron7 > - image derived from "Pinwheel Galaxy" on Flickr - used creative commons > - System.Controls.Windows.dll - which i think is part of Silverlight 4 - > not > the toolkit > - the Bing Maps SL control for Windows Phone - it wasn't clear to me what > the redist rules were on this dll > - JSON.Net for SL WindowsPhone - including license > > Iron7 itself is a separate solution - it definitely builds in WP7 Release - > alongside IronLanguages SL3 Release > > Any problems... you've got my email address... > > Stuart > > P.S The code doesn't currently contain any copyright headers - I want to > donate the source to IronRuby.net - Apache license sounds OK to me - but do > intend to keep publishing the app on the Marketplace - not sure if there's > any way I can specify that! (No worries if not) > > On 8 March 2011 18:56, Jeff Hardy <jdha...@gmail.com> wrote: > > > Any external dependencies should go under the Util/ folder. Include > > any licenses as well. > > > > Otherwise, just check it in where you see fit and send a pull request. > > git is really good at moving files around, so it can easily be > > corrected afterwards. > > > > - Jeff > > > > On Tue, Mar 8, 2011 at 10:57 AM, Stuart Lodge <m...@slodge.com> wrote: > > > Hi All > > > I'm finally trying to check iron7 into the GitHub > > > I've selected to put it in /Hosts/Silverlight/Iron7 - where it can be a > > > sibling of WinPhone7 - and I've mostly got it building here > > > However, I'm still hitting the issue that Iron7 has a couple of > external > > > dependencies - System.Windows.Controls.dll from the Silverlight toolkit > > and > > > Newtonsoft.Json.Silverlight.dll from Json.Net - and I really don't want > > to > > > remove these from the app (sorry) > > > I'm really not sure whether to check these in - I'm kind of scared > about > > > messing up your lovely source tree. > > > Sorry if this sounds "wet"... I'm a long way from being a git or build > > tree > > > expert. Does anyone have a strong feeling about how I should check this > > in? > > > I'm more than a bit tempted just to check this into a new codeplex > > project > > > using MS-PL (or whatever license you would prefer) - someone who knows > > their > > > way around the ironlang source tree can then merge this in if they want > > to? > > > Thanks again for all your fab work on ironruby - still loving coding in > > it > > > :) > > > Stuart > > > _______________________________________________ > > > Ironruby-core mailing list > > > Ironruby-core@rubyforge.org > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/ironruby-core/attachments/20110308/b76c1862/attachment.html > > > > ------------------------------ > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > End of Ironruby-core Digest, Vol 43, Issue 5 > ******************************************** > >
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core