Also, just to be clear: we (IronPython team) didn't write "IronPython Studio".
Although it sure looks like a cool project!
- John
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:users-
> [EMAIL PROTECTED] On Behalf Of Keith J. Farmer
> Sent: Wednesday, December 19, 2007 11:09 AM
>
Michael Foord wrote:
> Sorry about the noise guys, but having found the solution I guess I
> ought to share it. The answer is (wait for it...)... use site of origin
> relative syntax for the Source tag.
>
> Source="pack://siteoforigin:,,,/image.jpg"
>
> And its such an obvious syntax, how could I
Sounds like a bug in XAML event binding...
In the Silverlight 1.1 alpha, if the XAML contains an x:Code element, then the
XAML parser will always go to DLR/IronPython for event hookup. That is to say,
it will never use reflection to hook the event to a statically defined C#
method. That is a kn
For what it's worth, this appears to be fixed in IronPython 2.0 alpha 3:
>ipy paramcalltest.py
args = System.String[]('a', 'b', 'c')
creating ParamCall object:
pc.Joined() => a,b,c
If it's really bothersome we could add it to the 1.1.1 bug list, but in the
meantime I'd suggest the workaround Mic
The version of IronPython/DLR that shipped with the Silverlight 1.1 Alpha
Refresh is the same one that shipped in the original MIX release: IronPython
2.0 alpha 1. The Refresh release was focused on bug fixes rather than new
features. The next Silverlight 1.1 release should have newer IronPython
I'm sure it was accidental :). I'll see if I can get someone to fix it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Monday, July 23, 2007 6:35 PM
To: Discussion of IronPython
Subject: Re: [Users] Mailing List Archives Gone Private ?
What happens if you change method() to return a string, e.g.:
[Scriptable]
public string method()
Does that help?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Thursday, July 19, 2007 4:33 PM
To: Discussion of IronPython
Subject: [I
bject: Re: [IronPython] Silverlight - Adding References to Assemblies
John Messerly wrote:
> Did rebooting help?
>
> That's a really strange error--the app domain should be recreated every page
> refresh. Maybe some old copy DLL is in the browser cache...
>
Nope - same error on a
007 5:27 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Silverlight - Adding References to Assemblies
John Messerly wrote:
> Good catch. I'll see if we can get that text updated.
>
Well - it caught me. ;-)
Actually, now I'm getting a different problem. Restarting both
blies
John Messerly wrote:
> Hi Michael,
>
> What does the call to clr.AddReference look like? We currently have a
> limitation in Silverlight, that we require a fully qualified assembly name,
> e.g.:
>
> clr.AddReference("MyAssembly, Version=1.0.0.0, Culture=neutral
Hi Michael,
What does the call to clr.AddReference look like? We currently have a
limitation in Silverlight, that we require a fully qualified assembly name,
e.g.:
clr.AddReference("MyAssembly, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null")
(We do some magic to map short names to ful
I think what we're seeing here is an IronPython bug. When you try to call a
method on "a", we reflect over the assembly looking for custom attributes,
which fails because it was loaded with ReflectionOnlyLoadFrom. If it's any
consolation, it is fixed in the 2.0 alpha tree:
IronPython console: I
The "stream = args.Result" line in asyncReader is the culprit. The Result
property will throw if the read operation failed. You could move that line
inside the try block, so the exception is caught. Or alternatively, use the
args.Exception property to determine if there was an error in the read.
The reason arguments aren't getting passed is because file associations by
default only pass the file name, not any additional arguments. You can see the
registry entry for the file association by running the following IPy code:
# Reads the registry key containing the command to run for .py file
Actually, it's a result of System.Text.ASCIIEncoding, which replaces bytes
greater than 0x7f with a question mark. I filed this as CodePlex work item
#10983 (http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=10983).
Thanks,
John
-Original Message-
From: [EMAIL PROTECTED]
Hi,
I am definitely not a lawyer, but I think this question is addressed in the
Microsoft Permissive License
(http://www.microsoft.com/resources/sharedsource/licensingbasics/permissivelicense.mspx).
See section 2.b, "Patent Grant".
Cheers,
John
-Original Message-
From: [EMAIL PROTECT
16 matches
Mail list logo