Re: [IronPython] [Ironruby-core] Send your IronRuby usage and quotes

2011-06-12 Thread Jimmy Schementi
Dug this old thread up and added the posts to https://github.com/IronLanguages/main/wiki/IronLanguage-usages; if you have anything to add, feel free to add it to the wiki page directly. ~Jimmy ___ Users mailing list Users@lists.ironpython.com

Re: [IronPython] Website Update Help

2011-06-10 Thread Jimmy Schementi
I can do it. ~Jimmy On Jun 10, 2011, at 12:36 PM, Jeff Hardy jdha...@gmail.com wrote: Hi, I'm wondering if there's anyone out there willing to help update the website, in particular replacing the big IronPython Tools banner with something else. Updating it isn't too hard and I'll offer any

Re: [IronPython] Website Update Help

2011-06-10 Thread Jimmy Schementi
On Jun 10, 2011, at 12:56 PM, Jeff Hardy jdha...@gmail.com wrote: On Fri, Jun 10, 2011 at 9:49 AM, Jimmy Schementi jscheme...@gmail.com wrote: I can do it. Thanks. Make sure you check my fork to make sure it's in sync with yours. Any objections to using https://github.com/IronLanguages

Re: [IronPython] Website Update Help

2011-06-10 Thread Jimmy Schementi
On Jun 10, 2011, at 1:26 PM, Jeff Hardy jdha...@gmail.com wrote: Since our sites are all HTML, might be nice just to use GitHub pages rather than the current GoDaddy hosting, though changing the nameservers through Microsoft will be a pain. I was considering that as well, but I'm not sure

Re: [IronPython] Visual studio 2010

2011-06-07 Thread Jimmy Schementi
On Jun 7, 2011, at 3:24 AM, Paul Grenyer wrote: Hi All I'd like to develop some system tests in Iron Python that test against an executable written in C#. Is there a way that i can easily run Iron Python modules from Visual Studio 2010 or do I need to set it up as a post build task? Also,

Re: [IronPython] need help to build Ironpython

2011-04-21 Thread Jimmy Schementi
Just for clarity, here's the URL: http://github.com/IronLanguages/main We should remove the source from CodePlex with a readme that redirects people to github. ~Jimmy On Apr 21, 2011, at 11:08 PM, Slide slide.o@gmail.com wrote: The source on codeplex is old. Check out github repo

Re: [IronPython] AttributeError : System.Drawing.Graphics is read-only

2011-04-18 Thread Jimmy Schementi
Can you send the python code that causes this error? ~Jimmy On Apr 18, 2011, at 7:56 AM, NikoVFR vfr.n...@hotmail.fr wrote: Hello everybody... first i apologize for my bad english... i did not practice for a very long time... A strange problem in a ironpython app, done with

Re: [IronPython] Writing cross-language libraries that appear native

2011-04-04 Thread Jimmy Schementi
Tomas means you can write this: public static string ExpectsString(string val) { return val; } And call it from Ruby with a Ruby string: expects_string Foo ~Jimmy On Apr 4, 2011, at 12:21 PM, Doug Blank doug.bl...@gmail.com wrote: On Mon, Apr 4, 2011 at 11:52 AM, Tomas Matousek

Re: [IronPython] Writing cross-language libraries that appear native

2011-04-04 Thread Jimmy Schementi
For #3, you can avoid using an object argument and casting by typing the argument as the the non-generic IList and IDictionary. I think you're correct with #2 as F# doesn't support NullableT syntactically, but it doesn't mean F# can't consume code using Nullable. ~Jimmy On Apr 4, 2011, at

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Jimmy Schementi
If you're interested in building your own debugger, take a look at http://devhawk.net/2009/07/08/MicrosoftScriptingDebugging.aspx. Microsoft.Scripting.Debugging.dll gives you APIs for non-blocking debugging by rewriting the expression tree. This doesn't require the interpreter. ~Jimmy On Mar 31,

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Jimmy Schementi
On Thu, Mar 31, 2011 at 12:53 PM, Dino Viehland di...@microsoft.com wrote: Jimmy wrote: If you're interested in building your own debugger, take a look at http://devhawk.net/2009/07/08/MicrosoftScriptingDebugging.aspx. Microsoft.Scripting.Debugging.dll gives you APIs for non-blocking

[IronPython] [Code Review] Custom PAL fixes

2011-03-31 Thread Jimmy Schementi
Just checked in some small fixes to make the Importer use a custom Platform Adaptation Layer. I also started to tweak clr.CompileModules a bit, but backed those changes out, so just ignore those. Take a look at the recent commits to https://github.com/jschementi/iron. If there are no objections,

Re: [IronPython] no module named re

2011-03-15 Thread Jimmy Schementi
Is IronPython.Modules.dll referenced by the host app? ~Jimmy On Tue, Mar 15, 2011 at 12:22 PM, Slide slide.o@gmail.com wrote: I am embedding IronPython in my app to allow some script capabilities. I have the following code: _content = content.Trim(); string script =

Re: [IronPython] Ironpython and Berkeley License

2011-03-03 Thread Jimmy Schementi
That license applies to the CPython standard library. The Apache 2 License covers everything in IronPython*.dll. ~Jimmy On Thu, Mar 3, 2011 at 10:23 AM, Markus Schaber m.scha...@3s-software.com wrote: Hi, The binary installer of IronPython 2.6 contains the lib subdirectory, which seems to be

Re: [IronPython] Ironpython and Berkeley License

2011-03-03 Thread Jimmy Schementi
...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] Im Auftrag von Jimmy Schementi Gesendet: Donnerstag, 3. März 2011 17:08 An: Discussion of IronPython Betreff: Re: [IronPython] Ironpython and Berkeley License That license applies to the CPython standard library. The Apache 2 License

Re: [IronPython] Authenticode Signing of Releases

2011-02-23 Thread Jimmy Schementi
I'd vote for it not being worth it right now, unless someone wants to donate the money, and even then it makes things more complex. ~Jimmy On Wed, Feb 23, 2011 at 3:39 PM, Dave Wald davew...@tx.rr.com wrote: It would be better for acceptance and evangelistic purposes, in my shop anyway, (but

Re: [IronPython] Road to IronPython 2.7 (update)

2011-02-21 Thread Jimmy Schementi
I can do a quick test pass of the silverlight support. ~Jimmy On Mon, Feb 21, 2011 at 7:01 PM, Steve Dower s.j.do...@gmail.com wrote: The tools problem seems to be to do with the installer. IPyTools (PythonRuntimeHost.cs:89-100) tries to load the installed path from

Re: [IronPython] Proposed Release Schedule for 2.7

2011-01-31 Thread Jimmy Schementi
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 tomas.matou...@microsoft.com wrote: I propose we sync IronRuby releases with IronPython as follows: IronRuby - IronPython - date 1.1.2 - Beta 2 -

Re: [IronPython] What's Where

2010-12-22 Thread Jimmy Schementi
Both sites are still valid. ironpython.net is the fancy landing page, ironpython.codeplex.com is where you find releases and log bugs. The current source code is on http://github.com/IronLanguages/main. The ironpython.netsite hasn't been updated in a couple months, but it will be, at the latest

Re: [IronPython] IronPython source code

2010-11-20 Thread Jimmy Schementi
at that point. *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *Jimmy Schementi *Sent:* Friday, November 19, 2010 8:08 AM *To:* Discussion of IronPython *Subject:* Re: [IronPython] IronPython source code You'll have an easier time

Re: [IronPython] IronPython source code

2010-11-19 Thread Jimmy Schementi
You'll have an easier time understanding Sympl, a sample programming language built on the DLR, which is at http://dlr.codeplex.com. The documentation for Sympl and the DLR itself is at http://dlr.codeplex.com/wikipage?title=Docs%20and%20specsreferringTitle=Documentation. From there you can

Re: [IronPython] ironpython and silverlight

2010-09-29 Thread Jimmy Schementi
IronPython in Action is still relevant, just replace all occurrences of Silverlight 2 with Silverlight 4. Also, http://silverlight.net/dlr has good getting-started content. There is basic support directly in the IPy Tools for VS2010 for Silverlight, as a Project type and template. ~Jimmy On

[IronPython] Python stdlib missing in IronPython-2.7A1-Bin.zip?

2010-09-09 Thread Jimmy Schementi
Just noticed that the stdlib isn't present in the binary zip for IronPython 2.7A1; the Lib directory is the same dir as Languages\IronPython\IronPython\Lib. I also noticed the Config dir is there, which should only be in the source zip. Not that any of this is a big deal, but seems weird since

Re: [IronPython] Python stdlib missing in IronPython-2.7A1-Bin.zip?

2010-09-09 Thread Jimmy Schementi
: This has actually always been the case – the bin ZIP has always been designed to contain just the binaries and other MS produced stuff to which you can add the standard library. *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *Jimmy Schementi

Re: [IronPython] IronPython 2.6 CodePlex Source Update

2010-08-25 Thread Jimmy Schementi
How come a Debug/Release configuration was added to Chiron.csproj? ~Jimmy On Wed, Aug 25, 2010 at 11:48 AM, merl...@microsoft.com wrote: This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from

Re: [IronPython] embedded ironpython in silverlight - class definitions

2010-08-24 Thread Jimmy Schementi
When I run that code (with Visual Studio 2010, Silverlight 4, and IronPython 2.7) I get a Python syntax error unexpected token newline, because you don't have a : after the __init__ function. When that is corrected, your example works properly. Here's the working example:

Re: [IronPython] Hosting IronPython in Silverlight - background loading

2010-08-18 Thread Jimmy Schementi
, right? -- -- Lukáš On 18.8.2010 5:05, Jimmy Schementi wrote: True, but according to his exception stack it never gets there ... it throws on the runtime = DynamicEngine.CreateRuntime(true); line. It throws because somewhere in that method it doesn't dispatch to the UI thread as you

Re: [IronPython] Trying to Create a New Silverlight Project

2010-08-08 Thread Jimmy Schementi
On Fri, Jul 23, 2010 at 8:17 AM, Funke, Matt matt.fu...@vishaypg.comwrote: P.S. Could you point me at instructions for building new IronPython implementations when there are checkins of new code? If you want daily builds, you should extract the IronPython Bin .zip file as your latest-build

Re: [IronPython] Building IronPython from sources

2010-08-08 Thread Jimmy Schementi
On Wed, Jul 28, 2010 at 11:12 AM, Michael Foord fuzzy...@voidspace.org.ukwrote: On 28/07/2010 16:04, Dave Fugate wrote: Hi Lukas, while IronPython 2.6.x itself won’t be able to take advantage of Silverlight 4 features as it’s built against Silverlight 3, I’d guess your Python scripts might

[IronPython] [ANN] ASP.NET dynamic language support is open source!

2010-07-26 Thread Jimmy Schementi
I'm happy to *finally *announce that the *ASP.NET dynamic language support*is now *open source*: *Download IronPython and ASP.NET integration (includes 2.7 Alpha 1 binaries):* http://ironpython.net/download/aspnet-20100716 IronPython 2.7A1 can be found here, along with the full Python standard

Re: [IronPython] Trying to Create a New Silverlight Project

2010-07-22 Thread Jimmy Schementi
Matt, Just make sure the world isn't really broken; http://gestalt.ironpython.net/dlr-latest.js works with Silverlight installed from http://go.microsoft.com/fwlink/?LinkID=188039 (Silverlight 4.0.50524.0 developer runtime). Also, the VS project works as well; both launching the page and

Re: [IronPython] Write permissions

2010-07-08 Thread Jimmy Schementi
On Thu, Jul 8, 2010 at 11:49 AM, Michael Foord fuzzy...@voidspace.org.ukwrote: On 08/07/2010 19:46, Rob Brown-Bayliss wrote: On Thu, Jul 8, 2010 at 11:38 PM, Michael Foordfuzzy...@voidspace.org.uk fuzzy...@voidspace.org.uk wrote: Writing to C: in Vista and Windows 7 requires elevated

Re: [IronPython] Attaching Silverlight/Gestalt events using IronPython 2.6.1

2010-07-07 Thread Jimmy Schementi
On Tue, Jul 6, 2010 at 4:31 PM, Jimmy Schementi ji...@schementi.com wrote: On Mon, Jul 5, 2010 at 1:58 PM, Jeff Hardy jdha...@gmail.com wrote: I'm working on a test Silverlight app using Gestalt and IronPython 2.6.1. I've got a local copy of gestalt-20100305 with the assemblies

Re: [IronPython] Attaching Silverlight/Gestalt events using IronPython 2.6.1

2010-07-07 Thread Jimmy Schementi
On Wed, Jul 7, 2010 at 12:07 PM, Jeff Hardy jdha...@gmail.com wrote: On Wed, Jul 7, 2010 at 12:10 PM, Jimmy Schementi ji...@schementi.com wrote: Try using http://gestalt.ironpython.net/dlr-20100706.js ... I'll make that dlr-latest.js if it works for you and all the tests pass against

Re: [IronPython] How do I include a complete IronPython installation in an ASP.NET Web application?

2010-07-07 Thread Jimmy Schementi
You can put python scripts in the App_Script directory, which is added to the os.path for you, or store it in any other directory and put it on the path. Deploying your application is no different than deploying any other ASP.NET app. From: users-boun...@lists.ironpython.com

Re: [IronPython] IronPython Tools for existing project

2010-07-06 Thread Jimmy Schementi
On Mon, Jul 5, 2010 at 7:38 AM, Michael Foord mich...@voidspace.org.ukwrote: Hello all, I'm working with a team on an IronPython Silverlight application. Some of the team develop with Windows and would like to use IronPython Tools for Visual Studio, especially for its debugging capabilities.

Re: [IronPython] Attaching Silverlight/Gestalt events using IronPython 2.6.1

2010-07-06 Thread Jimmy Schementi
On Mon, Jul 5, 2010 at 1:58 PM, Jeff Hardy jdha...@gmail.com wrote: I'm working on a test Silverlight app using Gestalt and IronPython 2.6.1. I've got a local copy of gestalt-20100305 with the assemblies in the IronPython.slvx Microsoft.Scripting.slvx file replaced with the ones from

Re: [IronPython] Developing Silverlight apps using IronPython -- best strategies

2010-07-02 Thread Jimmy Schementi
-Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Jan-Philip Gehrcke Sent: Friday, July 02, 2010 11:02 AM To: users@lists.ironpython.com Subject: [IronPython] Developing Silverlight apps using IronPython -- best

Re: [IronPython] Announcing IronPython Tools for Visual Studio CTP3

2010-07-01 Thread Jimmy Schementi
Keep in mind, these downloads are hosted on the website directly only while we have this temporary license; once the source code is released as well, the downloads will move to CodePlex. That being said, the download page which redirects to the actual file is for tracking purposes; we use

Re: [IronPython] IronPython ASP.net MVC

2010-06-14 Thread Jimmy Schementi
To just use the IronPython engine in a ASP.NET application, place the DLLs in the same place you would put other 3rd party DLLs; a bin directory at the root of the app (same dir as your web.config). See http://aspnet.codeplex.com/wikipage?title=Dynamic%20Language%20Support for direct

Re: [IronPython] list submission

2010-05-06 Thread Jimmy Schementi
Looks like your all signed up, as this email went to the whole list. ~Jimmy On May 5, 2010, at 11:36 PM, elettrika2...@libero.it elettrika2...@libero.it wrote: godd morning my name's walter i would like to submit to this forum but after some days pratically nothing occours . The first

Re: [IronPython] Strange IPY / WPF behavior on a ListBox

2010-05-05 Thread Jimmy Schementi
Have you tried ListBox.ScrollIntoView(object)? From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Ken MacDonald Sent: Friday, April 30, 2010 12:44 PM To: Discussion of IronPython Subject: Re: [IronPython] Strange IPY / WPF behavior on a ListBox

Re: [IronPython] AddReference to Silverlight toolkit assemblies

2010-05-05 Thread Jimmy Schementi
; Jimmy Schementi Subject: Re: [IronPython] AddReference to Silverlight toolkit assemblies Well, I was wrong when I said it worked. Here is the scenario: I have necessary .dlls in separate file called SLToolkit.zip which I reference in AppManifest.xaml: Deployment.ExternalParts ExtensionPart

Re: [IronPython] Can't install IronPython Tools for Visual Studio

2010-05-03 Thread Jimmy Schementi
http://ironpython.net/ironpython/tools/http://ironpython.net/ironpython/tools/http://ironpython.net/ironpython/tools/ should probably be updated to not link to the express version. You're absolutely right; the Visual Studio 2010 link on http://ironpython.net/tools/ now goes to the general

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-30 Thread Jimmy Schementi
So can we close the connect bug now? :-P ~Jimmy On Apr 27, 2010, at 8:34 PM, Hank Fay h...@prosysplus.commailto:h...@prosysplus.com wrote: I've been getting everyone (relatives including kids, anyone, programming experience not necessary s) I can cajole into going to MS Connect to vote up

Re: [IronPython] Learn IronPython

2010-04-29 Thread Jimmy Schementi
http://ironpython.net/documentation/ has links to the information you're looking for, specifically: - Differences between IronPython and Python: http://ironpython.codeplex.com/wikipage?title=Differences - IronPython .NET integration documentation: http://ironpython.net/documentation/dotnet/

Re: [IronPython] Still stuck on rich editor with IronPython and Silverlight

2010-04-22 Thread Jimmy Schementi
Sent: Friday, April 16, 2010 6:21 PM To: Discussion of IronPython Cc: Jimmy Schementi Subject: Re: [IronPython] Still stuck on rich editor with IronPython and Silverlight On 17/04/2010 03:19, Jimmy Schementi wrote: Michael, let's get Dino in on this ... Dino, This seems like our fault

Re: [IronPython] Office add-in with IronPython?

2010-04-20 Thread Jimmy Schementi
Mats, The way to write a Office add-in is to create one in a static .NET language, like C#, and then use the DLR hosting APIs to run Python code, which would also involve exposing whatever Office APIs to script code. I believe VS Pro and above support creating new Office add-in projects, so

Re: [IronPython] Still stuck on rich editor with IronPython and Silverlight

2010-04-16 Thread Jimmy Schementi
Michael, let's get Dino in on this ... Dino, This seems like our fault, but I'm not savvy enough to track it down or verify my claim. Seems like it doesn't work regardless of invoking via reflection or ref.emit code; calling it's constructor 10,000 times still gave the same result. As Michael

Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight

2010-04-14 Thread Jimmy Schementi
: Jimmy, I'm having trouble finding the source code for the 2.6.1 .NET 4.0 release on Codeplex. Can you point me to it? Thanks. On Sat, Apr 10, 2010 at 2:22 PM, Jimmy Schementi jimmy.scheme...@microsoft.com wrote: To embed IronPython (CLR2 SL build) in a Silverlight 4 app, you have to add

Re: [IronPython] Code Access Security?

2010-04-14 Thread Jimmy Schementi
ipy,exe isn't running with any special permissions. How are you invoking the code in a.dll? ~Jimmy On Apr 13, 2010, at 7:28 AM, Neidhoo Xaphier xaphi...@googlemail.com wrote: Hello, I created an DLL-File 'a.dll' from my IronPython module/library 'a.py'. This module uses SqlClient

Re: [IronPython] Marking an IronPython class as serializable

2010-04-14 Thread Jimmy Schementi
Take a look at the clrtype sample; it shows how to use .NET attributes on python classes, such as Serializable. http://ironpython.codeplex.com/releases/view/36280#DownloadId=116513 ~Jimmy On Apr 13, 2010, at 5:42 AM, Pablo Dalmazzo pablodalm...@hotmail.commailto:pablodalm...@hotmail.com

Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight

2010-04-14 Thread Jimmy Schementi
Ok - so that makes sense. So to use some C# 4 features with Silverlight and IronPython you *will* need a version of IronPython for Silverlight built specifically against Silverlight 4. I guess that means that apps using that version of IronPython *won't* work in earlier versions of

Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight

2010-04-14 Thread Jimmy Schementi
of IronPython Cc: Jimmy Schementi Subject: Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight On 14/04/2010 09:29, Jimmy Schementi wrote: [snip...] In general versions of IronPython built against (for example) Silverlight 2 *can* use features from Silverlight 3. (Try Python uses

Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight

2010-04-10 Thread Jimmy Schementi
)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' and '\IronPythonDlls\Microsoft.Scripting.Core.dll' On Fri, Apr 9, 2010 at 4:33 PM, Jimmy Schementi jimmy.scheme...@microsoft.com wrote: The MSI I downloaded from the link in my previous posts

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-09 Thread Jimmy Schementi
Will there be a web forms component? Also, will you provide a list of enhancements from the last version. A newer Gestalt should be out by then too, correct? We will probably include a web-forms template, as well as Silverlight templates that generate a standalone XAP file, as well as

Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight

2010-04-09 Thread Jimmy Schementi
The MSI I downloaded from the link in my previous posts installs to the following: C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ There is no Silverlight folder as there is in the 2.6.1 download for .NET 2.0. If I try to add the dlls in the root of that folder I get the following

Re: [IronPython] IronPython for asp.net and codefiles

2010-04-06 Thread Jimmy Schementi
PM To: Jimmy Schementi Cc: Discussion of IronPython; pablodalm...@hotmail.com Subject: Re: [IronPython] IronPython for asp.net and codefiles Is there any way to control the when IP for ASP.Net does the caching? I have been using VirtualPathProvider to serve IP ascx/aspx code on demand but I have

Re: [IronPython] WPF / ipy minimize weirdness?

2010-04-06 Thread Jimmy Schementi
Can you manually minimize the modal dialog and then minimize the main window at all? The definition of a modal window is that you must interact with it first before returning to the main application, so I wouldn't think that you could minimize both, and then somehow ever get back to the parent

Re: [IronPython] winforms and avalon samples

2010-04-05 Thread Jimmy Schementi
avalon.py and winforms.py are still in the Tutorial directory of the IronPython binary zip, as well as in the installer ... -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Sunday, April 04, 2010

[IronPython] Python questions on DLR forums

2010-04-05 Thread Jimmy Schementi
Ironpython, os.system does not work correctly but does in regular Python http://social.msdn.microsoft.com/Forums/en-US/dlr/thread/e43322ce-a0b8-483e-a69d-416e73381666 IronPython using WCF client w config http://social.msdn.microsoft.com/Forums/en-US/dlr/thread/0c08afaa-252f-442e-b8d2-e1cdb9e0d522

Re: [IronPython] IronPython exception line numbers in Gestalt

2010-03-31 Thread Jimmy Schementi
Ryan, The reason you're seeing that weird error message is that consumer versions of Silverlight omit exception strings (note the error says debugging string are unavailable, not line numbers =P). The developer version of Silverlight has full exception strings. Now I can get the line number

Re: [IronPython] AddReference to Silverlight toolkit assemblies

2010-03-31 Thread Jimmy Schementi
Lukas, When you use ExtensionPart, it calls Assembly.Load on each file in the zip file referenced, so you don't need to do clr.Addreference. System.Windows.Data.dll and System.Windows.Controls.Data.dll are not DLLs in Silverlight; they are in the Silverlight SDK. So you'll have to package them

Re: [IronPython] Compiling .py to .dll to use with Silverlight

2010-03-31 Thread Jimmy Schementi
please vote: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=25680 -- -- Lukáš Jimmy Schementi wrote: No update yet, but I'm planning on looking at it for my PyCon talk ... ~Jimmy -Original Message- From: users-boun...@lists.ironpython.commailto:users-boun

Re: [IronPython] Gestalt, IronPython in Silverlight and embedded xaml

2010-03-31 Thread Jimmy Schementi
I mean that if I develop in an html file I can't view it from the filesystem in a browser but must still have a locally running server for the scripts to run. Yes, this is true today; I think mainly because dlr.xap depends on downloading Microsoft.Scripting.slvx at startup, and that must be

Re: [IronPython] Gestalt, IronPython in Silverlight and embedded xaml

2010-03-30 Thread Jimmy Schementi
I still need to package my app into a zip file and serve it locally (doesn't work from the filesystem) Michael, what do you exactly mean by this? You need your app to run out of browser? It doesn't seem to me that embedded xaml is working First of all, docs/spec issue: the current online

Re: [IronPython] Being unable to import module after succesfully adding reference, in asp.net IronPython

2010-03-30 Thread Jimmy Schementi
Let me see if understand your question: You have funciones.dll and your trying to use it in IronPython like this: import clr clr.AddReferenceToFile('funciones.dll') from funciones import * First off, I'm not sure the contents of funciones.dll. You mentioned conexiones as the namespace, but I'm

Re: [IronPython] Is it possible to associate an IronPython asp.net webform to a dll file?

2010-03-30 Thread Jimmy Schementi
Pablo/Dody, we don't support pre-compiled files currently in ASP.NET; the integration managed that. ~js From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Dody Gunawinata Sent: Monday, February 22, 2010 9:28 AM To: Discussion of IronPython Subject:

Re: [IronPython] vb.net webform in asp.net website problem reloaded

2010-03-30 Thread Jimmy Schementi
I'd advise keeping them in separate projects/websites, but it shouldn't be a requirement if you're just using ASPX/VB files. But, once you need to compile those files to a DLL, you need different projects (1 DLL per project). From: users-boun...@lists.ironpython.com

Re: [IronPython] autocompletion, silverlight 2

2010-03-25 Thread Jimmy Schementi
What features does Silvershell have over the console that is provided in the browser already? I'm wondering if it'd be useful to merge some of that stuff in ... -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of

Re: [IronPython] clr.CompileModules(.) couldn't find member CompileModules

2010-03-25 Thread Jimmy Schementi
has seen very little progress. But, it's something I've resumed pushing on, as I've taken over Harry's lawyer-interaction roles. ~js From: Dino Viehland Sent: Thursday, February 25, 2010 11:09 AM To: Discussion of IronPython; Jimmy Schementi Subject: RE: [IronPython] clr.CompileModules

Re: [IronPython] IronPython for asp.net and codefiles

2010-03-21 Thread Jimmy Schementi
Pablo, what is the reason you are looking into obfuscation? Is it because you're concerned that people could make requests for your *.aspx.py files and see the Python source? By default any request for a *.aspx.py file should fail because that file extensions is not in the MIME type map on IIS.

[IronPython] [ANN] Python in the browser (update)

2010-03-06 Thread Jimmy Schementi
Gestalt (codename for the new IronPython in Silverlight integration) has been updated to what I showed at PyCon 2010: either reference http://gestalt.ironpython.net/dlr-20100305.js in a HTML page, or download the redistributable package to develop locally

Re: [IronPython] [Newbie] Problem with Getting Started code

2010-03-06 Thread Jimmy Schementi
I've been trying the Getting Started example code (from http://ironpython.net/browser/gettingstarted.html) but I get an error message. The message is:- TypeError: unsupported operand type(s) for +: 'NoneType' and 'function' and the code that causes it is this (marked line appears to be

Re: [IronPython] clr.CompileModules(.) couldn't find member CompileModules

2010-02-25 Thread Jimmy Schementi
integration, which has seen very little progress. But, it's something I've resumed pushing on, as I've taken over Harry's lawyer-interaction roles. ~js From: Dino Viehland Sent: Thursday, February 25, 2010 11:09 AM To: Discussion of IronPython; Jimmy Schementi Subject: RE: [IronPython

Re: [IronPython] IronPython Tools

2010-02-24 Thread Jimmy Schementi
By chance has the issue been resolved for adding references for our own assemblies from Gestalt Not yet in a public build. =( The tools point to a build of IronPython from 2009-11-20, and that fix was only done a week or so ago, and we haven't pushed the release up to CDN. Though, I'm

Re: [IronPython] Monkey-patching CLR types

2010-02-16 Thread Jimmy Schementi
Dino Viehland wrote: If you strongly type handler to a delegate type IronPython should convert the function to the delegate type on the call. Unfortunately it doesn't seem to :(. I repro'd that it doesn't on the desktop as well as in Silverlight; here's a desktop repro: import clr

Re: [IronPython] Monkey-patching CLR types

2010-02-16 Thread Jimmy Schementi
. From: Jimmy Schementi Sent: Tuesday, February 16, 2010 12:09 AM To: Discussion of IronPython Subject: RE: Monkey-patching CLR types Dino Viehland wrote: If you strongly type handler to a delegate type IronPython should convert the function to the delegate type on the call. Unfortunately

Re: [IronPython] Monkey-patching CLR types

2010-02-15 Thread Jimmy Schementi
- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Jimmy Schementi Sent: Sunday, February 14, 2010 2:06 PM To: Discussion of IronPython Subject: [IronPython] Monkey-patching CLR types (Yes, I'm asking a question this time =P) I want to know

[IronPython] Monkey-patching CLR types

2010-02-14 Thread Jimmy Schementi
(Yes, I'm asking a question this time =P) I want to know my options for adding functionality to an existing CLR type. Specifically I want to make hooking DOM events cleaner: in Silverlight today you cannot hook DOM events with the standard += syntax that IronPython uses for CLR events:

Re: [IronPython] Databinding a color in the datagrid in Silverlight

2010-02-09 Thread Jimmy Schementi
I believe Silverlight 4 supports DataBinding on DependencyObjects, like Brush and Animation, so binding to a SolidColorBrush will work. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Tuesday, February 09, 2010 6:34 AM To:

Re: [IronPython] Hosting DLR under ASP.NET

2010-02-02 Thread Jimmy Schementi
Recreating them on each call is OK for really simple script usages, since multiple requests of an ASP.NET app run in the same CLR instance, and the result of ScriptRuntime.GetEngine(langName) is cached, so the app will only incur a performance hit (because of the language's assemblies JITing)

Re: [IronPython] IronPython 2.6 and Moonlight

2010-02-01 Thread Jimmy Schementi
Not sure ... I'll see if it still works against Silverlight 2; I'm not sure if the SILVERLIGHT_3 flag is still needed. -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Lukas Cenovsky Sent: Sunday, January 31, 2010

Re: [IronPython] Are Converters (IValueConverter) supported in IronPython + Silverlight?

2010-01-20 Thread Jimmy Schementi
I took a simple converter and ported it to IronPython, however I'm getting the ever helpful SystemError 2255. Do you have the Silverlight Developer runtime? The Consumer runtime give you only error codes, while the developer runtime gives you actual exception messages. Here's the developer

[IronPython] Write a Ruby or Python web-app and win cash!

2010-01-20 Thread Jimmy Schementi
MIX 10K Smart Coding Challenge: http://mix10k.visitmix.com 9 days left, an counting, to enter your minimalist creation into the MIX 10K Smart Coding Challenge. I can be anything you want, it just has to be less than 10 kilobytes of source code. You can use HTML5, or Silverlight, and also use

Re: [IronPython] Are Converters (IValueConverter) supported in IronPython + Silverlight?

2010-01-20 Thread Jimmy Schementi
work either. I'm not sure what to try next? Anyone have any ideas? On Jan 20, 2010, at 3:12 AM, Jimmy Schementi wrote: I took a simple converter and ported it to IronPython, however I'm getting the ever helpful SystemError 2255. Do you have the Silverlight Developer runtime

Re: [IronPython] [ANN] IronPython 2.6 ASP.NET integration

2010-01-16 Thread Jimmy Schementi
Of Dody Gunawinata Sent: Saturday, January 16, 2010 11:25 PM To: Discussion of IronPython Subject: Re: [IronPython] [ANN] IronPython 2.6 ASP.NET integration Awesome. Thank you so much. Now I can upgrade to final version of IronPython 2.6 :) Dody Gunawinata On Fri, Jan 15, 2010 at 9:33 PM, Jimmy

[IronPython] [ANN] IronPython 2.6 ASP.NET integration

2010-01-15 Thread Jimmy Schementi
All, The ASP.NET integration (Microsoft.Web.Scripting.dll) has been updated to work with the final version of IronPython 2.6: Download it here: http://ironpython.net/download/aspnet-201001 Read more about the project here: http://aspnet.codeplex.com/wikipage?title=Dynamic%20Language%20Support

Re: [IronPython] Silverlight code need help (Repost)

2010-01-12 Thread Jimmy Schementi
Haha, when in doubt blame your browser =P ... It's most likely an issue with your code. Feel free to send me your updated code and I can check things out. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Andrew Evans Sent: Tuesday, January 12,

Re: [IronPython] Silverlight code need help (Repost)

2010-01-11 Thread Jimmy Schementi
The error you're probably seeing is AttributeError: 'Duration' object has no attribute 'CurrentState', correct (line highlighted below)?. This is because MediaElement.NaturalDuration gives you a System.Windows.Duration object

Re: [IronPython] Silverlight code need help (Repost)

2010-01-11 Thread Jimmy Schementi
2008 SP1 has the Silverlight 3 Tools (http://www.microsoft.com/downloads/details.aspx?familyid=9442b0f2-7465-417a-88f3-5e7b5409e9dddisplaylang=en) installed, or you're using VS 2010 (which support Silverlight out-of-the-box). ~js From: Jimmy Schementi Sent: Monday, January 11, 2010 1:27 PM

Re: [IronPython] Silverlight code need help (Repost)

2010-01-11 Thread Jimmy Schementi
And to answer your initial question about images in buttons, here's how to do it: from System.Windows.Controls import Button, Image from System.Windows.Media.Imaging import BitmapImage btn = Button( Width = 25, Height = 20, Content = Image( Source =

Re: [IronPython] Can't Get an Image on a Button Ipy Silverlight

2010-01-11 Thread Jimmy Schementi
For archival purposes, here's the answer to this: http://lists.ironpython.com/pipermail/users-ironpython.com/2010-January/011953.html ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Silverlight code need help (Repost)

2010-01-11 Thread Jimmy Schementi
You must be getting sick of me :-P j/k Na, I'm happy someone's asking this many questions about Silverlight. =) Ok I have a simple video player setup ultimately I would like to connect it to a Database. I am writing the database code but I am unsure how to $_GET a value in IronPython.

Re: [IronPython] Silverlight IronPy Video Player

2010-01-05 Thread Jimmy Schementi
There's plenty of samples out there about playing video in Silverlight (with C# or VB), and any of those should be easily translated to Python as well. I'm assuming you're not having trouble with actual Python code, but you don't know where to start with video in Silverlight: the Silverlight 3

Re: [IronPython] Can't Get an Image on a Button Ipy Silverlight

2010-01-05 Thread Jimmy Schementi
Can you possibly send me your project zipped up? jimmysch*(at)*microsoft.com. images/stop.jpg I believe will first look into images/stop.jpg inside the XAP file, and the look at http://yourserver.com/path/to/xap/images/stop.jpg, but I can get it working for you.

Re: [IronPython] codecs module in Silverlight

2009-12-15 Thread Jimmy Schementi
The whole browser crashes?! That shouldn't be happening; can you open a bug with a repro of that? System.Json.dll is what I've used in silverlight, it's in the silverlight sdk. ~Jimmy Sent from my phone On Dec 15, 2009, at 2:16 AM, Lukas Cenovsky cenov...@bakalari.cz wrote: Michael

Re: [IronPython] Embedding IronPython in Silverlight

2009-12-10 Thread Jimmy Schementi
Dody, That blog post should work against 2.6 RC3; the method your looking for is a static method: Microsoft.Scripting.Silverlight.DynamicEngine.CreateRuntime. Take a look at the example again, I use a using statement to get rid of the Microsoft.Scripting part. ~js

[IronPython] Mailing list back to normal

2009-12-07 Thread Jimmy Schementi
Sorry for the mailing list downtime this weekend; it was a messup with moving to a new DNS server. Things appear to be back to normal. If not, feel free to directly email me, or on twitter (@jschementi). ~Jimmy ___ Users mailing list

[IronPython] Mailing list downtime

2009-12-07 Thread Jimmy Schementi
Sorry for the IronPython mailing list downtime this weekend; it was a mess-up with moving to a new DNS server. ~Jimmy ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

  1   2   3   >