[IronPython] IronPython 2.6 CodePlex Source Update

Jimmy Schementi Jimmy.Schementi at microsoft.com
Tue Jun 23 23:49:20 CEST 2009


Nope not yet. They'll show up in the next commit.

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Ivan Porto Carrero
Sent: Tuesday, June 23, 2009 2:32 PM
To: Discussion of IronPython
Subject: Re: [IronPython] IronPython 2.6 CodePlex Source Update

these aren't in the ironruby source tree yet are they?
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)


On Tue, Jun 23, 2009 at 11:02 PM, Jimmy Schementi <Jimmy.Schementi at microsoft.com<mailto:Jimmy.Schementi at microsoft.com>> wrote:
All these Silverlight changes don't have a checkin comment associated with them (since I forgot to
flag the commit for codeplex), so here's it is:

Microsoft.Scripting.Silverlight
- In-browser Python/Ruby REPL support with initParams console=true.
    o Adds Microsoft.Scripting.Silverlight.Repl type. Renders the REPL using HTML. REPL runs in the
       same scope as the start-script by default, therefore has the same language as the start-script.
    o Can be instantiated by code as well; see samples/repl.
    o This should be its own assembly in the future to mitigate any “security” concerns from users
       getting access to the REPL. Production apps can remove the assembly.
- Allow importing/requiring on a background thread:
    o Removed UI thread check in FileExists -- Thanks Dan Eloff!
    o Fixed ErrorReporter bug when _sourceFileName is not a file on disk (e.g. <string>) -- Thanks Dan Eloff!
          - Not using try/catch for this anymore (jomes review feedback)
- Allows hosts of the DLR load a  self-contained Python or Ruby library (n a XAP file) and ensures
 requires/imports will work:
    o Enables easy setup of a Ruby testing framework to test C#:
         - http://blog.jimmy.schementi.com/2009/03/testing-c-silverlight-apps-with.html
    o Package.GetFile* methods now take an optional StreamResourceInfo argument, representing
       the XAP file to look for the file in. BrowserPAL also has a XapFile property now for telling it which
      XAP file to look in.
- Primitive SL3 Extension support
    o Hacky at the moment due to a Silverlight 3 bug (which is fixed in more recent internal builds).
       Need to hardcode extension URLs. This will be fixed in the future.
Chiron
- Zip version fix (sdlsdk CodePlex Bug# 11803)
- Use standard libraries in Silverlight:
    o Add "/path" option to Chiron for a ";"-separated list of folders to get included into the XAP
- Auto-XAP support for IIS:
    o Add XapHttpHander to Chiron, so it can be used to auto-XAP directories for IIS or Cassini (thanks Harry Pierson!)
    o Example in Utils/xap-http-handler
- Launch Chiron by right-clicking on a folder: chiron-here utility

Tests
- Run in one Silverlight application:
- 52 specifications (81 requirements), 0 failures, 0 errors
   o Port Python tests 01, args, auto_addref, error_handle, execfile, and issubclass, from existing TestSuites
   o Unit tests for console, dynamic_application, extension_types, package, and window
- Includes Eggs; makes Bacon (a Ruby spec framework) work in Silverlight. Can be used to test a Python/Ruby app,
 or a C#/VB app (see testing link above).
- Not running in SNAP yet.

Samples
- Cleans up all samples
- Adds Photoviewer
  o http://blog.jimmy.schementi.com/2008/08/walk-through-silverlight-flickr-client.html
- Updates to dlrconsole to fix Ruby and make dragging clock demo work:
  o http://blog.jimmy.schementi.com/2008/08/dragging-elements-in-silverlight-with.html
- Adds REPL
- Piano, Tetris, and Surface work again

Misc:
- reflect new template layout for gopackage MSI generation
- Microsoft.Scripting.Helpers.csproj now builds correctly in Silverlight
- JScript removed from Silverlight.sln

There are some Moonlight fixes that I forgot to include here, so those will be coming in next.

> -----Original Message-----
> From: users-bounces at lists.ironpython.com<mailto:users-bounces at lists.ironpython.com> [mailto:users-<mailto:users->
> bounces at lists.ironpython.com<mailto:bounces at lists.ironpython.com>] On Behalf Of merllab at microsoft.com<mailto:merllab at microsoft.com>
> Sent: Tuesday, June 23, 2009 8:53 AM
> To: users at lists.ironpython.com<mailto:users at lists.ironpython.com>
> Subject: [IronPython] IronPython 2.6 CodePlex Source Update
>
> This is an automated email letting you know that sources have recently been
> pushed out.  You can download these newer sources directly from
> http://ironpython.codeplex.com/SourceControl/changeset/view/55405.
>
> ADDED SOURCES
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/XapHttpHandl
> er.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/agdlr.css
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/agdlr.js
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/Extension.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/Repl.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/Window.cs
>         $/IronPython/IronPython_Main/Src/IronPython.Modules/_codecs.cs
>         $/IronPython/IronPython_Main/Src/IronPythonConsoleAny
>
> $/IronPython/IronPython_Main/Src/IronPythonConsoleAny/IronPythonCon
> soleAny.csproj
>         $/IronPython/IronPython_Main/Src/IronPythonWindowAny
>
> $/IronPython/IronPython_Main/Src/IronPythonWindowAny/IronPythonWin
> dowAny.csproj
>
> DELETED SOURCES
>         $/IronPython/IronPython_Main/Src/IronPython.Modules/codecs.cs
>
> MODIFIED SOURCES
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/XapHttpHandl
> er.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/agdlr.css
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/agdlr.js
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/Extension.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/Repl.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/Window.cs
>         $/IronPython/IronPython_Main/Src/IronPython.Modules/_codecs.cs
>         $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/Zip.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/Configuration.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/Package.cs
>         $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/App.config
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/Microsoft.Scripting.Silverlight.csproj
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/ErrorFormatter.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/XapBuilder.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/DynamicApplication.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/SilverlightVersion.cs
>         $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/Chiron.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Sil
> verlight/BrowserPAL.cs
>
> $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/Chiron.csproj
>
> $/IronPython/IronPython_Main/Src/IronPython.Modules/_collections.cs
>         $/IronPython/IronPython_Main/Src/IronPython.Modules/array.cs
>         $/IronPython/IronPython_Main/Src/IronPython.Modules/thread.cs
>         $/IronPython/IronPython_Main/Src/IronPython.Modules/nt.cs
>
> $/IronPython/IronPython_Main/Src/IronPython.Modules/IronPython.Modu
> les.csproj
>         $/IronPython/IronPython_Main/Src/IronPython.sln
>
> $/IronPython/IronPython_Main/Src/IronPythonConsoleAny/IronPythonCon
> soleAny.csproj
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/NullImporter.cs
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/Binding/PythonPr
> otocol.cs
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/Exceptions/Pytho
> nExceptions.cs
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/Types/PythonTyp
> e.cs
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/Pytho
> nTypeOps.cs
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonAsciiEncodi
> ng.cs
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/Pytho
> nOps.cs
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/String
> Ops.cs
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/LiteralParser.cs
>         $/IronPython/IronPython_Main/Src/IronPython/Runtime/Slice.cs
>
> $/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonContext.cs
>
> $/IronPython/IronPython_Main/Src/IronPythonWindow/IronPythonWindo
> w.csproj
>         $/IronPython/IronPython_Main/Src/IronPythonTest/InheritTest.cs
>
> $/IronPython/IronPython_Main/Src/IronPythonConsole/IronPythonConsole
> .csproj
>
> $/IronPython/IronPython_Main/Src/IronPythonWindowAny/IronPythonWin
> dowAny.csproj
>         $/IronPython/IronPython_Main/Src/Tests/test_imp.py
>         $/IronPython/IronPython_Main/Src/Tests/test_generator.py
>         $/IronPython/IronPython_Main/Src/Tests/test_codecs.py
>         $/IronPython/IronPython_Main/Src/Tests/test_cliclass.py
>         $/IronPython/IronPython_Main/Src/Tests/test_class.py
>         $/IronPython/IronPython_Main/Src/Tests/test_array.py
>         $/IronPython/IronPython_Main/Src/Tests/test_nt.py
>         $/IronPython/IronPython_Main/Src/Tests/test_slice.py
>         $/IronPython/IronPython_Main/Src/Tests/test_python25.py
>         $/IronPython/IronPython_Main/Src/Tests/test_interactive.py
>         $/IronPython/IronPython_Main/Src/Tests/test_thread.py
>         $/IronPython/IronPython_Main/Src/Tests/versions/python26.py
>
> CHECKIN COMMENTS
> --------------------------------------------------------------------------------
> Changeset Id: 957381
> Date: 6/22/2009 10:54:19 AM
>
> (dfugate) More CPython 2.6 feature work testing.
>
>
> (Shelveset: CP65;REDMOND\dfugate | SNAP CheckinId: m9534)
> --------------------------------------------------------------------------------
> Changeset Id: 957377
> Date: 6/22/2009 10:53:19 AM
>
> (dinov) 22744    1              High       _codecs.charmap_decode('') should return a
> tuple
> 22740    1              High       Return value of _codecs.charmap_encode should be
> a tuple
> 22746    1              High       Exceptions in threads are sent to stdout instead of
> stderror
> 10646    2              Low        startswith/endswith methods of string do not throw
> TypeError w/ bad parameters
> 22733    1              High       nt.waitpid broken
> 22732    1              Low        "nt.waitpid(bad, params)" should throw OSError, not
> ValueError
> 22723    2              Medium               IsFamily and IsFamilyOrAssembly error
> 18637    2              Medium               Source code encoding is not work correctly
> 20908    1              Medium               Stack overflow when piclking slice objects
> 20909    1              Medium               IPy crashes with StackOverflowException
> rather than raising RuntimeError
> 19215    1              Medium               array.array('u', u"...") broken
> 19216    1              Medium               array.array('I', "...") broken
> 19217    1              Medium               array.array('l', "...") broken
> 18939    1              Medium               A deque item that mutates the deque in its
> __eq__ ought to throw an IndexError                IronPython\2.6
> 19705    1              Medium               CLR Dictionary iterator bug
> 22742    1              Medium               _codecs.escape_decode should support two
> parameters
> 22743    1              Medium               _codecs.escape_decode("\\\a") broken
> 22471 Invalid mapping dict parameter passed to
> _codecs.charmap_encode(..., mapping_dict) should throw
> UnicodeEncodeError
> 22738 _codecs.charmap_encode takes 1-3 parameters (not exactly 3)
>
>
> Fixing __str__ on EnvironmentError – it needs to format the exception and
> put in the [Errno #] text.
> type.__module__ a data descriptor so that
> type(someFunction).__module__ works correctly
>
>
>
> (Shelveset: 26Beta2Bugs2Final;REDMOND\dinov | SNAP CheckinId: m9534)
> --------------------------------------------------------------------------------
> Changeset Id: 957310
> Date: 6/22/2009 10:08:19 AM
>
> (dinov) Changes ipy.exe/ipyw.exe to be 32-bit only applications.  Adds a new
> ipy64.exe/ipyw64.exe which is a platform neutral assembly.  Updates the
> MSI so that both versions are installed on a 64-bit machine and only ipy.exe is
> installed on a 32-bit machine.
>
>
>
> (Shelveset: 3264ipyFinal;REDMOND\dinov | SNAP CheckinId: 8763)
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com<mailto:Users at lists.ironpython.com>
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users at lists.ironpython.com<mailto:Users at lists.ironpython.com>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090623/51486671/attachment.html>


More information about the Ironpython-users mailing list