pyobjc-dev Mailing List for PyObjC (Page 63)
Brought to you by:
ronaldoussoren
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(9) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(1) |
Feb
(2) |
Mar
(3) |
Apr
(30) |
May
(18) |
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2002 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
(13) |
Aug
|
Sep
(23) |
Oct
(180) |
Nov
(291) |
Dec
(95) |
| 2003 |
Jan
(338) |
Feb
(352) |
Mar
(97) |
Apr
(46) |
May
(226) |
Jun
(184) |
Jul
(145) |
Aug
(141) |
Sep
(69) |
Oct
(161) |
Nov
(96) |
Dec
(90) |
| 2004 |
Jan
(66) |
Feb
(87) |
Mar
(98) |
Apr
(132) |
May
(115) |
Jun
(68) |
Jul
(150) |
Aug
(92) |
Sep
(59) |
Oct
(52) |
Nov
(17) |
Dec
(75) |
| 2005 |
Jan
(84) |
Feb
(191) |
Mar
(133) |
Apr
(114) |
May
(158) |
Jun
(185) |
Jul
(62) |
Aug
(28) |
Sep
(36) |
Oct
(88) |
Nov
(65) |
Dec
(43) |
| 2006 |
Jan
(85) |
Feb
(62) |
Mar
(92) |
Apr
(75) |
May
(68) |
Jun
(101) |
Jul
(73) |
Aug
(37) |
Sep
(91) |
Oct
(65) |
Nov
(30) |
Dec
(39) |
| 2007 |
Jan
(24) |
Feb
(28) |
Mar
(10) |
Apr
(2) |
May
(18) |
Jun
(16) |
Jul
(21) |
Aug
(6) |
Sep
(30) |
Oct
(31) |
Nov
(153) |
Dec
(31) |
| 2008 |
Jan
(63) |
Feb
(70) |
Mar
(47) |
Apr
(24) |
May
(59) |
Jun
(22) |
Jul
(12) |
Aug
(7) |
Sep
(14) |
Oct
(26) |
Nov
(5) |
Dec
(5) |
| 2009 |
Jan
(10) |
Feb
(41) |
Mar
(70) |
Apr
(88) |
May
(49) |
Jun
(62) |
Jul
(34) |
Aug
(15) |
Sep
(55) |
Oct
(40) |
Nov
(67) |
Dec
(21) |
| 2010 |
Jan
(60) |
Feb
(17) |
Mar
(26) |
Apr
(26) |
May
(29) |
Jun
(4) |
Jul
(21) |
Aug
(21) |
Sep
(10) |
Oct
(12) |
Nov
(3) |
Dec
(19) |
| 2011 |
Jan
(3) |
Feb
(13) |
Mar
(8) |
Apr
(8) |
May
(17) |
Jun
(20) |
Jul
(21) |
Aug
(7) |
Sep
|
Oct
|
Nov
(9) |
Dec
(11) |
| 2012 |
Jan
(3) |
Feb
|
Mar
|
Apr
(5) |
May
(4) |
Jun
(14) |
Jul
(5) |
Aug
(2) |
Sep
(15) |
Oct
(2) |
Nov
(23) |
Dec
(1) |
| 2013 |
Jan
(8) |
Feb
(1) |
Mar
|
Apr
|
May
(5) |
Jun
(1) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(12) |
Nov
(10) |
Dec
(3) |
| 2014 |
Jan
(7) |
Feb
(14) |
Mar
(2) |
Apr
|
May
(2) |
Jun
(11) |
Jul
(10) |
Aug
(4) |
Sep
|
Oct
(8) |
Nov
(1) |
Dec
(2) |
| 2015 |
Jan
(9) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(7) |
Jun
|
Jul
(5) |
Aug
(6) |
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
| 2016 |
Jan
(1) |
Feb
(1) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
|
Jul
(6) |
Aug
(8) |
Sep
(21) |
Oct
(17) |
Nov
|
Dec
(36) |
| 2017 |
Jan
(6) |
Feb
(2) |
Mar
(4) |
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(6) |
| 2018 |
Jan
(2) |
Feb
(3) |
Mar
(3) |
Apr
(14) |
May
(2) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(6) |
Oct
(16) |
Nov
(1) |
Dec
(6) |
| 2019 |
Jan
(3) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(7) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
(2) |
Dec
(1) |
| 2021 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
|
From: Daniel A. <da...@se...> - 2008-03-22 20:41:54
|
Hi people I'm using Leopard and wanted to give Python + PyObjC another go. Have built a small interface and saved it as a .nib-file. Now when I try to run my main.py, I get: $ python main.py 2008-03-22 21:38:35.423 Python[460:613] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting The examples found on the PyObjC website didn't work this way either. My main.py DOES work when I run it through Xcode. Since I can't say I'm a fan of Xcode, I'd like to be able to run it in iTerm (or through TextMate). Is this possible? I've googled and googled, but haven't found any tutorials nor howtos or anything like it covering PyObjC 2.0, so I'm here begging for help :) Thanks in advance! Kind regards, Daniel |
|
From: SourceForge.net <no...@so...> - 2008-03-21 22:05:44
|
Bugs item #1922597, was opened at 2008-03-21 15:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=1922597&group_id=14534 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: red (mizraith) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot install on OS 10.5.2 Initial Comment: Unable to install pyobjc 2.0 on os 10.5.2 due to (what seems) like a host of issues with various pieces during the install process. Just installed the python 2.5.2 dmg distribution for python.org. This installed in the /Library/Frameworks/Python.framework location. File is attached with some of the output issues. I believe some of the issues can be traced to the fact that the pyobjc-framework-Cocoa sub package does not compile and install correctly. This seems to be traceable to 2 modules in the "Modules" directory: _Foundation_nscoder.m and _Foundation_inlines.m and eventually it seems the problem my lie in: pybojc-core / Modules / objc / bundle-variables.m line 220 or so. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=1922597&group_id=14534 |
|
From: Ronald O. <ron...@ma...> - 2008-03-21 16:29:29
|
On 21 Mar, 2008, at 6:08, Kyle Johnson wrote: > On Thu, Mar 20, 2008 at 7:05 AM, Ronald Oussoren <ron...@ma... > > wrote: >> >> On 20 Mar, 2008, at 11:27, Kyle Johnson wrote: >>> So basically, I need to code something which converts the PyObjc >>> internal type to a SWIG-understandable internal type. >> >> Those types are automaticly generated. >> >> You can use the __cobject__() method on all Objective-C or >> CoreFoundation objects to get a Python CObject that wraps the raw >> pointer. That might be easier to convert to something that swig >> might >> understand. > > > Thank you for the info, Ronald. I think I'm going in the right > direction with this now. > > I think there may be some wrapping still going on though with > __cobject__ as I'm getting invalid context errors from Core Graphics > (via Cairo). You are the first user of this API, but looking at the code I'd say say that the implementation of __cobject__ is obviously correct. Are your Cairo wrappers available somewhere? This would be easier to debug if I had access to the code. BTW. If you don't mind having a hard dependency on PyObjC you could drop SWIG and use PyObjC instead, with some luck without writing a line of C code. PyObjC can use the bridgesupport files generated by gen_bridge_metadata(1) on Leopard, and it should be possible to use that tool to generate an XML description of the cairo API's. Ronald |
|
From: Kevin A. M. <ka...@ka...> - 2008-03-21 16:19:16
|
On 3/20/08, Ronald Oussoren <ron...@ma...> wrote: > > > On 19 Mar, 2008, at 23:09, Adam Atlas wrote: > > Using the Apple-supplied PyObjC in 10.5, is it possible to develop > > applications that will run on 10.4? If I set it to use the 10.4u SDK, > > it builds just fine and doesn't complain, but it obviously won't > > actually run on 10.4 because the resulting .app bundle does not > > contain the Python/PyObjC binaries and support files. How do I work > > around this? Would I need to install some other distribution of > > PyObjC? Or am I just missing some build setting or somesuch? > > > The binaries that are included with 10.5 won't work on 10.4. > > pyobjc-core in the repository should work on 10.4, but the framework > wrappers do not due to lack of bridgesupport files. I replied earlier, but I suppose my reply went directly to Adam only. If you have a 10.4 installation around that had PyObjC installed, you can grab enough pieces from it to do PyObjC 1.4 development with Python 2.3while running Leopard. The results are Tiger and Leopard compatible. Details, caveats, and limitations here: http://www.kamit.com/blog-entry/2008/02/16/backwards-compatible-pyobjc-development-leopard Of course, that doesn't include the improvements made in PyObjC 2.0. But at least it fills the gap for now, and it's as good as you could get developing on Tiger. -- Kevin A. Mitchell http://www.kamit.com/ |
|
From: Kyle J. <osm...@gm...> - 2008-03-21 05:08:49
|
On Thu, Mar 20, 2008 at 7:05 AM, Ronald Oussoren <ron...@ma...> wrote:
>
> On 20 Mar, 2008, at 11:27, Kyle Johnson wrote:
> > So basically, I need to code something which converts the PyObjc
> > internal type to a SWIG-understandable internal type.
>
> Those types are automaticly generated.
>
> You can use the __cobject__() method on all Objective-C or
> CoreFoundation objects to get a Python CObject that wraps the raw
> pointer. That might be easier to convert to something that swig might
> understand.
Thank you for the info, Ronald. I think I'm going in the right
direction with this now.
I think there may be some wrapping still going on though with
__cobject__ as I'm getting invalid context errors from Core Graphics
(via Cairo).
I call the cairo function from Python like so:
ctx = NSGraphicsContext.currentContext().graphicsPort()
cairo.cairo_quartz_surface_create_for_cg_context(ctx.__cobject__(), 400, 400)
My wrapper code looks like this:
// definition of cairo function
cairo_surface_t *cairo_quartz_surface_create_for_cg_context
(CGContextRef cgContext, unsigned int width, unsigned int height);
// BEGIN: wrapper code (simplified)
CGContextRef arg1;
unsigned int arg2, arg3;
PyObject *obj0, *obj1, *obj2;
PyArg_ParseTuple(args,(char
*)"OOO:cairo_quartz_surface_create_for_cg_context",&obj0,&obj1,&obj2);
if( PyCObject_Check(obj0) ) {
// !!! something is wrong here; either the void ptr returned isn't for
// a CGContextRef or my typecasting/de-pointerizing is bad
arg1 = *(CGContextRef *) PyCObject_AsVoidPtr(obj0);
} else {
PyErr_SetString(PyExc_TypeError, "cgContext is not type PyCObject");
return NULL;
}
// [...] code for obj1/arg2, obj2/arg3
result = cairo_quartz_surface_create_for_cg_context(arg1,arg2,arg3);
// END: wrapper code (simplified)
This shouldn't be a Cairo issue. I have a identical C/Objective-C copy
of my program working without a problem.
--
Kyle Johnson
|
|
From: Kyle J. <osm...@gm...> - 2008-03-21 03:07:49
|
On Thu, Mar 20, 2008 at 7:14 AM, Ronald Oussoren <ron...@ma...> wrote: > Yes. Which methods return a PyObjCPointer when you don't import Quartz? As far as I know, just NSGraphicsContext.currentContext().graphicsPort() -- Kyle Johnson |
|
From: Ronald O. <ron...@ma...> - 2008-03-20 14:14:18
|
On 20 Mar, 2008, at 11:27, Kyle Johnson wrote:
>
>
> A semi-related question: if I'm getting objects of type PyObjCPointer
> when I do not import the PyObjc Quartz lib, but then I get objects of
> "actual" types ("core-foundation class CGContextRef" in this case)
> when I include the PyObjc Quartz lib, is that an indication that I
> _must_ include the Quartz lib?
Yes. Which methods return a PyObjCPointer when you don't import Quartz?
>
>> From my digging so far, I think that just dealing with PyObjCPointers
> and SWIG would be relatively simple; I just have that nagging idea
> that PyObjCPointers are results of errors though. :)
PyObjCPointers are definitely something you don't want to use. They
are the last resort for wrapping an arbitrary C pointer and should
never occur when a library is properly wrapped.
Ronald
|
|
From: Ronald O. <ron...@ma...> - 2008-03-20 14:06:11
|
On 20 Mar, 2008, at 11:27, Kyle Johnson wrote: > I have a C library (Cairo) which accesses Core Graphics. I've wrapped > it up in a SWIG binding so I can easily access it from Python. > > Everything is great when calling functions in it and passing around > objects from Apple's CoreGraphics Python library (which they generated > with SWIG as well). However, when I switch from using Apple's > CoreGraphics to using PyObjc libraries (AppKit and Quartz) and try to > pass a CGContextRef from a PyObjC lib to the SWIG-wrapped library I > get errors because SWIG doesn't recognize the PyObjc wrapping of the > object. > > So basically, I need to code something which converts the PyObjc > internal type to a SWIG-understandable internal type. > > Here's the problem: I can't figure out where to dig around in PyObjc > to find the representation of "core-foundation class CGContextRef." Is > this something which is being generated automatically and not > hand-coded somewhere? Those types are automaticly generated. You can use the __cobject__() method on all Objective-C or CoreFoundation objects to get a Python CObject that wraps the raw pointer. That might be easier to convert to something that swig might understand. Ronald |
|
From: Ronald O. <ron...@ma...> - 2008-03-20 14:02:39
|
On 19 Mar, 2008, at 23:09, Adam Atlas wrote: > Using the Apple-supplied PyObjC in 10.5, is it possible to develop > applications that will run on 10.4? If I set it to use the 10.4u SDK, > it builds just fine and doesn't complain, but it obviously won't > actually run on 10.4 because the resulting .app bundle does not > contain the Python/PyObjC binaries and support files. How do I work > around this? Would I need to install some other distribution of > PyObjC? Or am I just missing some build setting or somesuch? The binaries that are included with 10.5 won't work on 10.4. pyobjc-core in the repository should work on 10.4, but the framework wrappers do not due to lack of bridgesupport files. Fixing all of that is on my todo list, but I don't know when I'll get around doing this because (a) I'm working on some other things and (b) I don't use 10.4 anymore. Ronald |
|
From: Kyle J. <osm...@gm...> - 2008-03-20 10:27:30
|
I have a C library (Cairo) which accesses Core Graphics. I've wrapped
it up in a SWIG binding so I can easily access it from Python.
Everything is great when calling functions in it and passing around
objects from Apple's CoreGraphics Python library (which they generated
with SWIG as well). However, when I switch from using Apple's
CoreGraphics to using PyObjc libraries (AppKit and Quartz) and try to
pass a CGContextRef from a PyObjC lib to the SWIG-wrapped library I
get errors because SWIG doesn't recognize the PyObjc wrapping of the
object.
So basically, I need to code something which converts the PyObjc
internal type to a SWIG-understandable internal type.
Here's the problem: I can't figure out where to dig around in PyObjc
to find the representation of "core-foundation class CGContextRef." Is
this something which is being generated automatically and not
hand-coded somewhere?
A semi-related question: if I'm getting objects of type PyObjCPointer
when I do not import the PyObjc Quartz lib, but then I get objects of
"actual" types ("core-foundation class CGContextRef" in this case)
when I include the PyObjc Quartz lib, is that an indication that I
_must_ include the Quartz lib?
>From my digging so far, I think that just dealing with PyObjCPointers
and SWIG would be relatively simple; I just have that nagging idea
that PyObjCPointers are results of errors though. :)
Thanks!
--
Kyle Johnson
|
|
From: Adam A. <ad...@at...> - 2008-03-19 22:09:31
|
Using the Apple-supplied PyObjC in 10.5, is it possible to develop applications that will run on 10.4? If I set it to use the 10.4u SDK, it builds just fine and doesn't complain, but it obviously won't actually run on 10.4 because the resulting .app bundle does not contain the Python/PyObjC binaries and support files. How do I work around this? Would I need to install some other distribution of PyObjC? Or am I just missing some build setting or somesuch? Thanks for any assistance. - Adam |
|
From: Ronald O. <ron...@ma...> - 2008-03-15 17:15:05
|
On 13 Mar, 2008, at 23:14, mario alejandro wrote: > I'm a developer with 10+ of experience in developing with > Delphi, .NET, Python, FoxPro and other small langauges. I have 2 > years working in the windows mobile plataform and with the release > of the iphone sdk I wish port my actual solution (for take orders) > to iphone. > > Despite I understan the c-derivates languages and looking at Objc-c > is not that bad as C++, as you can see on my language list I prefer > run away anything that smell as C ;) > > I know pyObjc is already ported to iPhone. Let's imagine that the > Apple licence restriction allow to use python here.... how good can > be use pyObjc instead of go native? > > The rest message was written without access to an actual iPhone or Touch, and hence not necessarily based on reality :-). > I don't need a explanation on how great is python, I know. I wonder > about: > > - I can acces the specific abilities of iphone as the contact, > photos, accelerometer & seudo-gps? A PyObjC port would allow access to all Objective-C API's, just like on the desktop. So I guess the anwser to your question is "yes". > > - Is a nightmare the deployment or is a pice of cake? The end-user > need install complex unix-like things, install outside the python > interpreter, mess with the iphone configuration or jailbreak it? That depends on what Apple will allow. If Apple allows PyObjC applications on the appstore deployment would be easy. Even with a jail-broken phone it should be possible to tweak py2app to build standalone .app bundles that can be installed using Installer.app. But please not that this does require some enginering work: py2app is currently not able to do cross-builds. > > - I lost the debugging & tracing or is full suported? I don't understand the question. A question you don't specifically ask is: what are the advantages and disadvantages of using Python instead of Objective-C on the iPhone. Let's start with two major-ish disadvantages: you're .app bundle will be relatively large because you will have to embed Python (or you have to use a jailbroken device and a package manager application). A second disadvantage is raw speed: Python code is slower than C code, and this tends to be more noticable on slow devices like an iPhone. That said, we've deployed hybrid Python/C++ applications on iPaq devices (C++ GUI, Python for everything else) and those are perfectly usable on devices slower than an iPhone. The major advantages of Python are the availability of loads of useful libraries and a very rapid development process due to having very high level language. Those advantages are just as useful on a mobile device as on the desktop and server. This should at least allow you to prototype your application in Python. Ronald |
|
From: mario a. <ma...@el...> - 2008-03-13 22:14:48
|
I'm a developer with 10+ of experience in developing with Delphi, .NET, Python, FoxPro and other small langauges. I have 2 years working in the windows mobile plataform and with the release of the iphone sdk I wish port my actual solution (for take orders) to iphone. Despite I understan the c-derivates languages and looking at Objc-c is not that bad as C++, as you can see on my language list I prefer run away anything that smell as C ;) I know pyObjc is already ported to iPhone. Let's imagine that the Apple licence restriction allow to use python here.... how good can be use pyObjc instead of go native? I don't need a explanation on how great is python, I know. I wonder about: - I can acces the specific abilities of iphone as the contact, photos, accelerometer & seudo-gps? - Is a nightmare the deployment or is a pice of cake? The end-user need install complex unix-like things, install outside the python interpreter, mess with the iphone configuration or jailbreak it? - I lost the debugging & tracing or is full suported? I don't mind do hard work to setup the system for development as long for the end-user is transparent when deployed. -- Mario A.Montoya Gerente http://www.elmalabarista.com La mejor guía de los lugares donde estar y disfrutar http://www.paradondevamos.com |
|
From: Amos L. <am...@la...> - 2008-03-13 03:19:22
|
Hi, I'm new to pyobjc and cocoa. I'm trying to embed python in a cocoa application. It's working fine, but it seems like a lot of work to convert objc types to python before calling python functions, and then convert the resulting python objects to objc objects. I suspect that there may be a way to use pyobjc to do this kind of conversion for me more easily and/or more correctly. I've looked at the pyobjc examples but none of them seem to be written from the point of view of someone embedding python in an objc application. My suspicions are that I should figure out how to create a bundle written in python, and then load that bundle in my cocoa app and call the functions it defines, with pyobjc taking care of the python/objc conversions of arguments and return values. I'd appreciate any suggestions or examples of the best ways to embed python in cocoa apps. Thanks! -Amos |
|
From: Ryan W. <rya...@ma...> - 2008-03-09 14:38:22
|
Hi guys, I wrote an app with PyObjC 2.0, using the XCode Python Application template. This app uses a Python module, and imports it via: import pyaws.ecs as aws When the end user runs it, they get an ImportError on launch. Is there something special I need to do, since I'm not using py2app anymore? Or is it something else (like my import statement) that's preventing automatic dependancy management? Thanks In Advance, _Ryan Wilcox |
|
From: Jay F. \(saurik\) <sa...@sa...> - 2008-03-08 20:30:26
|
So, while I am quite focused on Telesphoreo (a project which Apple would never allow onto their phones: it's a complete distribution of Unixy utilities for the device), I _am_ intending on providing a stand-alone environment for the various development platforms I'm providing (Java, Python, etc.) that will work on the SDK and could be included, entirely self contained, in your .app folder. My main interests are on promoting development on the iPhone, which thereby now requires a slightly forked approach. So, yes, this will work with the SDK, and stay tuned ;P. (I have now been given the iphone-dev toolchain project, which I've been spending the last couple days working on: I now have a linker compatible with the cpu subtypes in Apple's new SDK linker, and am working on a new version of my JocStrap Java/Objective-C tool that can generate headers from Objective-C 2.0 binaries. I also got gcc 4.2 working: http://www.saurik.com/id/4. I believe a lot of cool stuff is going to be possibly soon.) --- legal issues, as someone brought them up. not very important to anyone who doesn't care. --- Oh, and on the front of Apple and NDAs: I have signed no NDAs with Apple and I only have access to the free SDK. On top of that, I don't even own a Mac, so I've just been ssh'ing into a friend's box and running just the new gcc without Xcode (and gcc by definition can't have anything in it that would still be applicable under any reasonable NDA, as all its secrets should already be provided by Apple as its under GPL). I am pretty sure that I can talk about this as long as I want and there won't be any problems. ;P (On which point: Apple should be providing the source code to their compiler. More to the point, Apple may not even remember that their copy of "as" in cctools is gas, which is licensed under GPL2 as well, so while I might actually have the source for Apple's compiler from the latest trunk at llvm-gcc, I know for a fact that I am missing their cctools, which is normally distributed from the Darwin Source Code site. So if anyone from Apple _is_ on this list, I hereby request the source code I have the right to see and build for myself, and am vaguely angry that I haven't found it in some obvious place yet.) Sincerely, Jay Freeman (saurik) sa...@sa... http://www.saurik.com/ ----- Original Message ----- From: "Ron Stephens" <rd...@ma...> To: "Jay Freeman (saurik)" <sa...@sa...> Cc: <pyo...@li...> Sent: Saturday, March 08, 2008 8:37 AM Subject: Re: [Pyobjc-dev] PyObjC on the iPhone > Hello, > > I'm new to the list, and I am interested in this, thnaks! > > Also, I wonder, is pyobjc going to be usable with the new iphone SDK? > > Ron |
|
From: Jay F. \(saurik\) <sa...@sa...> - 2008-03-08 19:53:36
|
By the way, I'd be happy to help with any effort to getting my changes pushed upstream with regards to Python (such as in spending more time cleaning it up), although it would obviously be preferable, just to me, if someone who knew more about that build environment spent the time to work on it and I instead worked on say, porting RubyCocoa, which is also on my todo list ;P. Anyone know who I should talk to with regards to that? Would they be interested if I just made a post about it to the Python development mailing list? Sincerely, Jay Freeman (saurik) sa...@sa... http://www.saurik.com/ On 8 Mar, 2008, at 17:40, Ian Baird wrote: > Any thoughts of putting this on github? Might be an appropriate place > for your branch. I gave bbum an invite a couple of weeks ago and I'm > pretty sure I could scrounge one up for Ronald and you. I intend to merge this port into the pyobjc trunk. I've looked at Jay's patches and they seem to be clean enough to merge without too many changes. BTW. the patches for python at his site are slightly more involved, but it should be possible to get that port into the python repository as well (after further cleaning up, they cannot be merged as is). Ronald ----- Original Message ----- From: "Ronald Oussoren" <ron...@ma...> To: "Ian Baird" <ib...@gm...> Cc: "pyObjC Mailing list" <pyo...@li...> Sent: Saturday, March 08, 2008 9:12 AM Subject: Re: [Pyobjc-dev] PyObjC on the iPhone > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ---------------------------------------------------------------------------- ---- > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > |
|
From: Noah G. <noa...@gm...> - 2008-03-08 18:20:12
|
On Mar 8, 2008, at 10:35 AM, John Harrison wrote: > I'll be there and my presentation (#9 on PySight and PyGame) will > even mention PYObjC briefly as both PySight and my hacked > DarwiinRemote wrapper. (Yes this means that I plan to show my head > tracking demo) I would love to attend an impromptu on PyObjC and > would also be interested if anyone is presenting on Python/PyObjC on > the iPhone. > Yes, I will be at PyCon Wed night to Tues the next week. I would love to talk about iPhone PyObjC stuff, and regular PyObjc stuff. > -John Harrison > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev Noah Gift / http://noahgift.com |
|
From: Ian B. <ib...@gm...> - 2008-03-08 17:23:01
|
Not to throw cold water on any of this, but since it's a public list, just remember that the details of the SDK are under NDA. Not that I care really, but there are Apple folks on this list and their corporate masters might care. - Ian On Mar 8, 2008, at 10:20 AM, Ronald Oussoren wrote: > > On 8 Mar, 2008, at 17:37, Ron Stephens wrote: > >> Hello, >> >> I'm new to the list, and I am interested in this, thnaks! >> >> Also, I wonder, is pyobjc going to be usable with the new iphone SDK? > > I see no reason why it shouldn't be. I haven't at the SDK yet > beyond installing it and building/running one of the template > projects in the iPhone emulator though. I have read on several > blogs/websites about the SDK and there are two non-technical issues > that might affect us: (1) it won't be possible to share a > Python.framework between several applications, as you seem to be > limited to installing self-contained applications and (2) > appearantly you cannot distribute apps that allow the user to > download and run other code. At first glance that would forbid us to > create a mobile Python IDE using the SDK. > > As I wrote before, this is without properly looking at the SDK, > > Ronald > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |
|
From: Ronald O. <ron...@ma...> - 2008-03-08 17:20:42
|
On 8 Mar, 2008, at 17:37, Ron Stephens wrote: > Hello, > > I'm new to the list, and I am interested in this, thnaks! > > Also, I wonder, is pyobjc going to be usable with the new iphone SDK? I see no reason why it shouldn't be. I haven't at the SDK yet beyond installing it and building/running one of the template projects in the iPhone emulator though. I have read on several blogs/websites about the SDK and there are two non-technical issues that might affect us: (1) it won't be possible to share a Python.framework between several applications, as you seem to be limited to installing self-contained applications and (2) appearantly you cannot distribute apps that allow the user to download and run other code. At first glance that would forbid us to create a mobile Python IDE using the SDK. As I wrote before, this is without properly looking at the SDK, Ronald |
|
From: Ian B. <ib...@gm...> - 2008-03-08 17:15:22
|
Cool - I'm totally stoked about github, makes community branching and sharing really easy to do, although it might be more appropriate to have a python-based project in something like Mercurial. -Ian On Mar 8, 2008, at 10:12 AM, Ronald Oussoren wrote: > > On 8 Mar, 2008, at 17:40, Ian Baird wrote: > >> Any thoughts of putting this on github? Might be an appropriate place >> for your branch. I gave bbum an invite a couple of weeks ago and I'm >> pretty sure I could scrounge one up for Ronald and you. > > I intend to merge this port into the pyobjc trunk. I've looked at > Jay's patches and they seem to be clean enough to merge without too > many changes. > > BTW. the patches for python at his site are slightly more involved, > but it should be possible to get that port into the python > repository as well (after further cleaning up, they cannot be merged > as is). > > Ronald |
|
From: Ronald O. <ron...@ma...> - 2008-03-08 17:13:06
|
On 8 Mar, 2008, at 17:40, Ian Baird wrote: > Any thoughts of putting this on github? Might be an appropriate place > for your branch. I gave bbum an invite a couple of weeks ago and I'm > pretty sure I could scrounge one up for Ronald and you. I intend to merge this port into the pyobjc trunk. I've looked at Jay's patches and they seem to be clean enough to merge without too many changes. BTW. the patches for python at his site are slightly more involved, but it should be possible to get that port into the python repository as well (after further cleaning up, they cannot be merged as is). Ronald |
|
From: Ian B. <ib...@gm...> - 2008-03-08 16:40:30
|
Any thoughts of putting this on github? Might be an appropriate place for your branch. I gave bbum an invite a couple of weeks ago and I'm pretty sure I could scrounge one up for Ronald and you. - Ian On Mar 8, 2008, at 4:25 AM, Jay Freeman (saurik) wrote: > So, a few weeks ago I ported PyObjC to the iPhone, and I'm realizing > that I should be doing a better job of telling people how to get > it ;P. I don't know if anyone is even interested in this, but I have > written a little article about it on my website (http://www.saurik.com/id/5 > ). Most of it is for iPhone developers who want to get started with > PyObjC, but it also explains how to get it and provides a link to > some example iPhone application code. > > (The short version of getting it is to add http:// > apptapp.saurik.com/ as an Installer source, install Cydia Packger, > and then install iPhone/Python from the Python category.) > > I had to bypass the build environment (as I didn't see how to make > it do cross compilation in any easy way) and I made a bunch of > modifications to the iPhone assembler to support libffi almost > entirely out of the box (I also ported Java a few months ago, which > needed this for a setup I built that's similar to PyObjC called > JocStrap), but otherwise PyObjC pretty much worked. The changes and > build scripts can be found at the Telesphoreo project: > > http://svn.telesphoreo.org/trunk/data/pyobjc/port.diff > http://svn.telesphoreo.org/trunk/data/pyobjc/make.sh > > (Sorry about the massive single-file .diff, when I was working on > that I was sufficiently in a rush as to not spend the time to break > it into a couple patches for the couple things I changed.) > > Sincerely, > Jay Freeman (saurik) > sa...@sa... > http://www.saurik.com/ > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |
|
From: Ron S. <rd...@ma...> - 2008-03-08 16:37:53
|
Hello, I'm new to the list, and I am interested in this, thnaks! Also, I wonder, is pyobjc going to be usable with the new iphone SDK? Ron On Saturday, March 08, 2008, at 03:25AM, "Jay Freeman (saurik)" <sa...@sa...> wrote: >So, a few weeks ago I ported PyObjC to the iPhone, and I'm realizing that I should be doing a better job of telling people how to get it ;P. I don't know if anyone is even interested in this, but I have written a little article about it on my website (http://www.saurik.com/id/5). Most of it is for iPhone developers who want to get started with PyObjC, but it also explains how to get it and provides a link to some example iPhone application code. > >(The short version of getting it is to add http://apptapp.saurik.com/ as an Installer source, install Cydia Packger, and then install iPhone/Python from the Python category.) > >I had to bypass the build environment (as I didn't see how to make it do cross compilation in any easy way) and I made a bunch of modifications to the iPhone assembler to support libffi almost entirely out of the box (I also ported Java a few months ago, which needed this for a setup I built that's similar to PyObjC called JocStrap), but otherwise PyObjC pretty much worked. The changes and build scripts can be found at the Telesphoreo project: > >http://svn.telesphoreo.org/trunk/data/pyobjc/port.diff >http://svn.telesphoreo.org/trunk/data/pyobjc/make.sh > >(Sorry about the massive single-file .diff, when I was working on that I was sufficiently in a rush as to not spend the time to break it into a couple patches for the couple things I changed.) > >Sincerely, >Jay Freeman (saurik) >sa...@sa... >http://www.saurik.com/ |
|
From: John H. <joh...@gm...> - 2008-03-08 15:51:12
|
I'll be there and my presentation (#9 on PySight and PyGame) will even mention PYObjC briefly as both PySight and my hacked DarwiinRemote wrapper. (Yes this means that I plan to show my head tracking demo) I would love to attend an impromptu on PyObjC and would also be interested if anyone is presenting on Python/PyObjC on the iPhone. -John Harrison |