pyobjc-dev Mailing List for PyObjC (Page 215)
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
|
Nov
|
Dec
|
From: Dinu G. <gh...@da...> - 2003-09-26 18:39:44
|
Dinu Gherman: > Sounds like this could be of interest for PyPy development (and/or > funding?), especially since the program committee is highly aware > of Python, already! ;-) Argh, sorry, wrong list! Auto-completion can be a dangerous feature... Dinu |
From: Dinu G. <gh...@da...> - 2003-09-26 14:54:40
|
Sounds like this could be of interest for PyPy development (and/or funding?), especially since the program committee is highly aware of Python, already! ;-) Dinu > Von: Jeremy Hylton <je...@al...> > Datum: Fr, 26. Sep 2003 16:14:18 Europe/Berlin > An: pyt...@py... > Betreff: Lightweight Languages 2003 (LL3) CFP > Antwort an: je...@al... > > Lightweight Languages Workshop 2003 (LL3) > ---------------------------------- > > Saturday, November 8, 2003, MIT, Cambridge, MA > http://ll3.ai.mit.edu/ mailto:ll...@ai... > > CALL FOR PRESENTATIONS > > LL3 will be an intense, exciting, one-day forum bringing together the > best programming language implementors and researchers, from both > academia and industry, to exchange ideas and information, to challenge > one another, and to learn from one another. > > The workshop series focuses on programming languages, tools, and > processes that are usable and useful. Lightweight languages have been > an effective vehicle for introducing new features to mainstream > programmers. > > We encourage presentations on topics of interest to the community of > lightweight language users and designers. We prefer topics that will > interest a broad audience. We do not require the presentation of > novel research ideas. > > Proposal Abstracts > ------------------ > Due Friday Oct. 17 > > We seek two to five page abstracts of talks to be given at the > workshop. Talks will be 30 minutes long, including time for > questions and answers. Presenters are not expected to submit > papers, but slides will be published on the workshop web site. > We will also consider proposals for talks of different lengths. > > Some suggested topics are: > > * Language design: New language features, type systems and other > reasoning tools, critiques of existing languages. > > * Implementation techniques: Interpreters and virtual machines, > optimizations, cross-language interactions. > > * From scripts to programs: Software engineering with > lightweight and/or a mix of languages. How to (or not to!) > scale from little scripts to large, complex applications. > Application war stories. > > * From ivory tower to cubicle -- what language implementors need > to know from academic programming languages research -- and > back. > > * Lightweight pearls: Elegant and instructive examples of > programs in lightweight languages. > > * Programming tools and development processes. > > Send submissions to: ll3...@ai... > > We want presentations that will inspire, motivate, and educate. We > want language implementors and researchers to leave the workshop fired > up with ideas for future languages, features, and implementation > tricks. We want language users to leave the workshop fired up with > new ideas and new tools. > > In addition to submitted presentations, there will be two invited > talks. After the workshop, there will be an evening social event and > dinner. > > Dates: Tuesday, Oct. 17 -- submissions due by end of day. > Tuesday, Oct. 24 -- notification of acceptance or rejection > Saturday, Nov. 8 -- 9am-7pm, LL3! > > Program Committee: > > Ken Anderson, BBN (co-chair) > Jeremy Hylton, Python Software Foundation (co-chair) > Geoffrey Knauth, BAE Systems > Shriram Krishnamurthi, Brown University > Erik Meijer, Microsoft Research > Dan Sugalski, Perl Foundation > Greg Sullivan, MIT CSAIL |
From: Jack J. <Jac...@cw...> - 2003-09-25 20:16:15
|
On 24-sep-03, at 13:11, Ronald Oussoren wrote: > > On 24 sep 2003, at 12:47, Jack Jansen wrote: > >> >> On zondag, sep 21, 2003, at 16:47 Europe/Amsterdam, Ronald Oussoren >> wrote: >> >>> I've created a new snapshot of libffi. This snapshot was made today >>> from the HEAD branch of GCC. PyObjC passes its unittests with this >>> release of libffi. >> >> Where is the snapshot? Or is it named 20030705 for reasons I don't >> understand? > > It's in the files section of PyObjC: > http://prdownloads.sourceforge.net/pyobjc/libffi-src-20030921.tar.gz? > download. The link on our website is incorrect (oops). It's there now. I didn't see it yesterday, either my laptop did some incorrect caching or it was an SF glitch, I guess. -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |
From: Dinu G. <gh...@da...> - 2003-09-25 15:08:12
|
Etienne Posthumus: > Does it absolutely HAVE to be a CGI script? It's more conveniant for now, but I could also trigger the same process externally. > If you want be calling stuff like NSApplicationLoad etc. which sets up > some environment each time, wouldn't it be better to make your script a > long-running process with something like Quixote, and use mod_proxy in > Apache to redirect the relevant URL? If that's the only way, maybe yes. I'd just like to know what makes the function (the AppKit stuff) behave differently as CGI... > That could also have the pleasant side effect of letting you do some > caching and increasing performance. Yep, that's not an issue, yet. Dinu -- Dinu C. Gherman ...................................................................... "As long as people believe in absurdities, they will continue to commit atrocities." (Voltaire) |
From: Etienne P. <et...@br...> - 2003-09-25 14:19:51
|
On Thu, 25 Sep 2003, Dinu Gherman wrote: > That works great! Only one more step to go... is there any reason > it cannot possibly work inside a CGI script? So far, I still get > this unfriendly "INIT_Processeses(), could not establish the de- > fault connection to the WindowServer" message from Apache as soon > as I'm calling NSApplicationLoad()... Does it absolutely HAVE to be a CGI script? If you want be calling stuff like NSApplicationLoad etc. which sets up some environment each time, wouldn't it be better to make your script a long-running process with something like Quixote, and use mod_proxy in Apache to redirect the relevant URL? That could also have the pleasant side effect of letting you do some caching and increasing performance. EP |
From: Dinu G. <gh...@da...> - 2003-09-25 13:57:20
|
Etienne Posthumus: > If you add AppKit.NSApplicationLoad() [...] > This can be used for all Python scripts where you need window server > connections and stuff like that. That works great! Only one more step to go... is there any reason it cannot possibly work inside a CGI script? So far, I still get this unfriendly "INIT_Processeses(), could not establish the de- fault connection to the WindowServer" message from Apache as soon as I'm calling NSApplicationLoad()... BTW, I'm doing crazy stuff like displaying images rendered dynami- cally using NSView inside a CGI application, where tricky drawing stuff works ok, but getting a simple icon for a file... sigh! Dinu -- Dinu C. Gherman ...................................................................... "The empires of the future are the empires of the mind." (Winston Churchill) |
From: Etienne P. <et...@br...> - 2003-09-25 13:25:27
|
On Thu, 25 Sep 2003, Dinu Gherman wrote: > does anybody get a real NSImage instance instead of None for some > existing path on his filesystem? I seem to always get None... See > code below... (I can't use NSWorkspace.iconForFile_() because it > needs an application, window server, whatever...). Hi Dinu, If you add AppKit.NSApplicationLoad() before calling f = NSFileWrapper.alloc().initWithPath_(path) it will work. It sets up all the housekeeping stuff you need, and you would then also be able to call NSWorkspace.sharedWorkspace() to use the methods in there. This can be used for all Python scripts where you need window server connections and stuff like that. EP |
From: Just v. R. <ju...@le...> - 2003-09-25 11:23:14
|
Dinu Gherman wrote: > does anybody get a real NSImage instance instead of None for some > existing path on his filesystem? I seem to always get None... See > code below... (I can't use NSWorkspace.iconForFile_() because it > needs an application, window server, whatever...). It appears it's the same for the NSFileWrapper route: it does work from an app, but not from an non-app script. Just |
From: Dinu G. <gh...@da...> - 2003-09-25 11:11:14
|
Hi, does anybody get a real NSImage instance instead of None for some existing path on his filesystem? I seem to always get None... See code below... (I can't use NSWorkspace.iconForFile_() because it needs an application, window server, whatever...). Thanks, Dinu import os from AppKit import NSFileWrapper # path = '/Users/dinu/foo.html' print os.path.exists(path) f = NSFileWrapper.alloc().initWithPath_(path) print f.filename() print f.icon() -- Dinu C. Gherman ...................................................................... "The first principle is that you must not fool yourself - and you are the easiest person to fool." (Richard Feynman) |
From: Ronald O. <ous...@ci...> - 2003-09-24 11:11:27
|
On 24 sep 2003, at 12:47, Jack Jansen wrote: > > On zondag, sep 21, 2003, at 16:47 Europe/Amsterdam, Ronald Oussoren > wrote: > >> I've created a new snapshot of libffi. This snapshot was made today >> from the HEAD branch of GCC. PyObjC passes its unittests with this >> release of libffi. > > Where is the snapshot? Or is it named 20030705 for reasons I don't > understand? It's in the files section of PyObjC: http://prdownloads.sourceforge.net/pyobjc/libffi-src-20030921.tar.gz? download. The link on our website is incorrect (oops). Ronald |
From: Jack J. <Jac...@or...> - 2003-09-24 10:47:52
|
On zondag, sep 21, 2003, at 16:47 Europe/Amsterdam, Ronald Oussoren wrote: > I've created a new snapshot of libffi. This snapshot was made today > from the HEAD branch of GCC. PyObjC passes its unittests with this > release of libffi. Where is the snapshot? Or is it named 20030705 for reasons I don't understand? -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |
From: Dinu G. <gh...@da...> - 2003-09-24 10:38:46
|
Ronald Oussoren: > Emh, maybe because NSBitmapImageRep doesn't have methods named > compressionType and compressionFactor? At least not according to > AppKiDo. There is a method named getCompression:factor: that has two > output arguments, hence 'compression, factor = > bitmap.getCompression_factor_()' Ouch! After reading this I first thought, this is an issue with my CocoaBrowser.app, but it's not, I was looking at the Java API! ;-) Sorry! Dinu -- Dinu C. Gherman ...................................................................... "An error is not a mistake until you refuse to correct it." (Werner Heisenberg) |
From: Ronald O. <ous...@ci...> - 2003-09-24 10:14:26
|
On 24 sep 2003, at 11:53, Dinu Gherman wrote: > Hi, > > I see these two ObjC methods: > > NSBitmapImageRep.compressionType() > NSBitmapImageRep.compressionFactor() > > being mapped to the following PyObjC one: > > NSBitmapImageRep.getCompression_factor_() > > but I can't quite see any reason for that, since there are no > pointer arguments involved, etc. In fact, none of them takes > any argument at all, despite underscores! Emh, maybe because NSBitmapImageRep doesn't have methods named compressionType and compressionFactor? At least not according to AppKiDo. There is a method named getCompression:factor: that has two output arguments, hence 'compression, factor = bitmap.getCompression_factor_()' Ronald |
From: Dinu G. <gh...@da...> - 2003-09-24 09:53:22
|
Hi, I see these two ObjC methods: NSBitmapImageRep.compressionType() NSBitmapImageRep.compressionFactor() being mapped to the following PyObjC one: NSBitmapImageRep.getCompression_factor_() but I can't quite see any reason for that, since there are no pointer arguments involved, etc. In fact, none of them takes any argument at all, despite underscores! Dinu -- Dinu C. Gherman ...................................................................... "They made a desert and called it peace." (Tacitus) |
From: Ronald O. <ous...@ci...> - 2003-09-22 17:19:16
|
The 1.0 release is getting close very fast. I'm looking for suggestions to spice up the announcement texts for the 1.0 release. This release deserves something less boring than our previous announcements ;-). Ronald |
From: Ronald O. <ous...@ci...> - 2003-09-21 14:47:06
|
I've created a new snapshot of libffi. This snapshot was made today from the HEAD branch of GCC. PyObjC passes its unittests with this release of libffi. This should solve bug #738252. Ronald |
From: Ronald O. <ous...@ci...> - 2003-09-21 11:34:05
|
On 21 sep 2003, at 10:50, Dinu Gherman wrote: > Hi, I just found this today: > > http://anode.anotrash.com/index.php?cat=2 > > where the final comment is maybe of interest: > > "The big selling point here is not the utility of these appli- > cations (which is appreciable, if not extraordinary), but that > such a wealth of PyObjC examples has become available. If any- > body knows any other open-source PyObjC applications, please > let me know in the comments." > > This makes me believe that some central page for "all PyObjC appli- > cations worth knowing about" might be a good selling point, until > Apple and others can't ignore it anymore. ;-) At the rate your pushing out new tools we cannot get away with just shipping them as part of PyObjC :-). I'm all for adding a section to the PyObjC website that contains (links to) applications that use PyObjC. Ronald |
From: Ronald O. <ous...@ci...> - 2003-09-20 05:56:37
|
On 19 sep 2003, at 18:51, Dinu Gherman wrote: > Hi, > > very briefly: is anything happening on the GNUStep front, > i.e. support for GNUStep in PyObjC? Not AFAIK know. Ronald |
From: Ronald O. <ous...@ci...> - 2003-09-19 20:26:10
|
I've written a unittest for NSRectFillList (see the attached file), but I'm not sure how this should be merged into the generic unittest framework. What I've done so far: - The unittests that require access to the window server are in files with a 'guitest_' prefix, as opposed to 'test_' for normal unittests. - The 'if __name__ == "__main__":' part contains a hack to force a connection to the WindowServer - I've updated 'Scripts/allTestsTogether.py' to also run 'guitest_' tests. The last item should be changed a little, the script should check if it is possible to run these tests. This all works fine for the current tests, but I'm not sure if this is the right solution for tests that will have to pop up actual windows. Ronald |
From: Dinu G. <gh...@da...> - 2003-09-19 20:06:54
|
Hi, very briefly: is anything happening on the GNUStep front, i.e. support for GNUStep in PyObjC? Dinu -- Dinu C. Gherman ...................................................................... "There are causes worth dying for, but none worth killing for." (Albert Camus) |
From: David E. <epp...@ic...> - 2003-09-16 22:55:27
|
On 9/16/03 6:49 PM -0400 Bob Ippolito <bo...@re...> wrote: > Oh, also, your system already comes with this command line utility.. make > a shell alias (or tcsh script, or whatever): > > alias browse /usr/bin/open -a "Camino" > > It'll do the same thing as your script, only faster because it doesn't > start python or anything. Thanks! I knew about open, but not the -a option. -- David Eppstein http://www.ics.uci.edu/~eppstein/ Univ. of California, Irvine, School of Information & Computer Science |
From: Bob I. <bo...@re...> - 2003-09-16 22:49:59
|
On Tuesday, Sep 16, 2003, at 18:18 America/New_York, David Eppstein wrote: > Maybe someone other than me will find this useful. I got frustrated > with the inability to drag typeless and creatorless files onto my > browser; this command line utility was the result. PyObjC makes this > sort of thing almost trivial to implement. Of course it would be nicer > if it didn't delay 3 seconds before taking effect... Oh, also, your system already comes with this command line utility.. make a shell alias (or tcsh script, or whatever): alias browse /usr/bin/open -a "Camino" It'll do the same thing as your script, only faster because it doesn't start python or anything. -bob |
From: Bob I. <bo...@re...> - 2003-09-16 22:33:42
|
On Tuesday, Sep 16, 2003, at 18:18 America/New_York, David Eppstein wrote: > Maybe someone other than me will find this useful. I got frustrated > with the inability to drag typeless and creatorless files onto my > browser; this command line utility was the result. PyObjC makes this > sort of thing almost trivial to implement. Of course it would be nicer > if it didn't delay 3 seconds before taking effect... > > > #! /usr/bin/env python > > # browse file*: open file(s) in browser > # D. Eppstein, UC Irvine, 9/16/2003 > # > # Browser hardcoded to Camino because many others can't open files... > > import AppKit > import sys > > w = AppKit.NSWorkspace.sharedWorkspace() > for file in sys.argv[1:]: > w.openFile_withApplication_(file, "Camino") Although it's a little more annoying, you could have a long-running application that's registered to open any kind of file, and have it do whatever you want with the files when dragging them to the dock icon. My LaunchServices module will let you find out all sorts of things about the file that NSWorkspace and its kin may or may not give you (the ObjC APIs are higher level than LaunchServices and may or may not wrap all of the functionality, I also don't know the ObjC APIs as well as I know LaunchServices). You could also make a contextual menu plugin that lets you ctrl-click files in finder and send them to this application (though, I can't see how one would write one of those reasonably in Python.. maybe you could, but it'd end up embedding Python in Finder and you'd have to write a C/C++ plugin anyways.. I'll have to try that and see what happens). -bob |
From: David E. <epp...@ic...> - 2003-09-16 22:18:54
|
Maybe someone other than me will find this useful. I got frustrated with the inability to drag typeless and creatorless files onto my browser; this command line utility was the result. PyObjC makes this sort of thing almost trivial to implement. Of course it would be nicer if it didn't delay 3 seconds before taking effect... #! /usr/bin/env python # browse file*: open file(s) in browser # D. Eppstein, UC Irvine, 9/16/2003 # # Browser hardcoded to Camino because many others can't open files... import AppKit import sys w = AppKit.NSWorkspace.sharedWorkspace() for file in sys.argv[1:]: w.openFile_withApplication_(file, "Camino") -- David Eppstein http://www.ics.uci.edu/~eppstein/ Univ. of California, Irvine, School of Information & Computer Science |
From: SourceForge.net <no...@so...> - 2003-09-16 07:44:26
|
Bugs item #806984, was opened at 2003-09-16 07:44 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=806984&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dinu C. Gherman (dinu_gherman) Assigned to: Nobody/Anonymous (nobody) Summary: Error in NSBezierPath.appendBezierPathWithPoints_count_ Initial Comment: Ok, it doesn't crash anymore on 1.0rc3, but the method signature seems to be different from what the docs say. Python 2.2.3 (#1, Sep 10 2003, 11:51:43) [GCC 3.1 20020420 (prerelease)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> import objc >>> objc.__version__ '1.0rc3' >>> from AppKit import * >>> path = NSBezierPath.bezierPath() >>> points = [(0,0), (100,0), (100,100)] >>> path.appendBezierPathWithPoints_count_(points, len(points)) Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: function takes exactly 3 arguments (2 given) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=806984&group_id=14534 |