Jimmy Schementi wrote:
import/require tests are lacking, so I don't doubt that there are some issues, 
especially when embedding Python in C#. I'll make sure to add that to the new 
tests.

FYI, all the DLR Silverlight tests will finally be released and runnable with a 
latest of Silverlight. The current tests contain some IronPython tests (in 
tests/integration), but soon all the tests will be ported to run under unittest 
in the browser, rather than running through IronRuby =P.
http://github.com/jschementi/ironruby/tree/a7dffdbdcee1a616eba71b6d5fd732adc1ed7c11/Merlin/Main/Hosts/SilverLight/Tests

In the future, if you do find something that is busted, feel free to make a test for it, and if it fails, I'll gladly make it work :)

Cool - keep us up to date.

Thanks

Michael

~js

-----Original Message-----
From: users-boun...@lists.ironpython.com [mailto:users-
boun...@lists.ironpython.com] On Behalf Of Michael Foord
Sent: Friday, September 18, 2009 1:37 PM
To: Discussion of IronPython
Subject: Re: [IronPython] [Spec and Code Review] Python and Ruby in HTML
script-tags

This is great Jimmy. One thing I ask you to check - can you test the behaviour
of Python engines when embedded in Silverlight (*both* from C# and from
Python itself). Specifically can you check that imports still work. I've had
several problems with this in Silverlight with IronPython 2.0 - even exec'ing
code that does an import (on a background) thread fails, and imports from
the xap fail in various embedded scenarios which have caused me a bit of
pain.

Thanks
Michael

Jimmy Schementi wrote:
The write-up of "Bringing just-text back to Silverlight" is available at the 
link
below, and I'll take any feedback on it.
http://jimmy.schementi.com/silverlight/sl-back-to-just-text.pdf

The implementation of the write-up is almost feature-complete, and I have
hosted some pretty samples written by the Gestalt team here, so you can
see the implementation in action (disclaimer, currently only tested in Firefox,
some samples are known to not work in IE or CRASH Chrome =P ... I'm sure
all my fault though):
http://jimmy.schementi.com/silverlight/gestalt-port

You can find the code in the "dev/scripttags2" branch of my IronRuby
GitHub fork:
http://github.com/jschementi/ironruby/commits/dev/scripttags2
Download the source code as a zip-file:
http://github.com/jschementi/ironruby/zipball/dev/scripttags2

If you find any bugs, please report them on MY FORK's Issues tab (I wanted
to use GitHub's issue tracking a little ... eventually I'll move them over to
CodePlex when it gets checked in):
http://github.com/jschementi/ironruby/issues

I'd like feedback on the code also, so feel free to code-review the commits
so-far to enable this. They are in chronological order, so you can just click
each link in order, and please leave your comments in the commit's
"Comments" section at the bottom of each page.
- Beginnings of "XAP-less" Silverlight application support:


http://github.com/jschementi/ironruby/commit/7258169605613e4526b5273
e6
09d0b416ee60119
- Basic script tag support:


http://github.com/jschementi/ironruby/commit/c1086d9f37ba257a481e9478
0
b1e4b940cb27dd4
- dlr.js - combination of Silverlight.js and support for DLR-specific options
and adding a Silverlight control to the page automatically:
http://github.com/jschementi/ironruby/commit/f5ddf2c80e76c2b3e766e174
7
0d2b69348cd2361
- language.config:


http://github.com/jschementi/ironruby/commit/b7eccbd5a0d0e1688ce63f1
3d
527e0370a34d962
- Remove localApplicationRoot setting from Chiron, and downloadScripts
setting from Microsoft.Scripting.Silverlight:
http://github.com/jschementi/ironruby/commit/2770a2ad5b11c37d5efcc0a5
5
b1f3c45fe3c3a08
- Download languages as they are used:


http://github.com/jschementi/ironruby/commit/30a55a53936c8064a720b224
9
9b0175c1527e687
- Inline and external script-tags are now enabled for any DLR language:


http://github.com/jschementi/ironruby/commit/e144cc67622a4ef930938cec
6
f75730c4b7dec1b
- Remove margins from script-tags inline source, so white-space-sensitive
languages like Python work as expected:
http://github.com/jschementi/ironruby/commit/4ac55b46a9e4fd074b3fc3a8
8
8ef787395df5e14
- XAML script tag support and gestalt samples porting:


http://github.com/jschementi/ironruby/commit/42a252f1fdf6486a46161ddd
f
3b86299a6a4dbc8
- Cleans up Tutorial by using new script-tag support, and enables desktop
and Silverlight Tutorial tests to run with Tutorial/test.bat:
http://github.com/jschementi/ironruby/commit/5467c428555888e3981e2a83
1
26aa5d51196b907
- Fixes for Microsoft.Scripting.dll and Microsoft.Dynamic.dll shuffle:


http://github.com/jschementi/ironruby/commit/a7dffdbdcee1a616eba71b6
d5
fd732adc1ed7c11

Thanks!
~Jimmy
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog


_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog


_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to