[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2011-01-17 Thread Ned Deily
Ned Deily added the comment: Backported to 2.7 in r88090 (to appear in 2.7.2). (I decided to not backport to 3.1 as some prereq backports would be needed and we do not supply a 64-bit OS X installer for 3.1.x anyway.) -- assignee: ronaldoussoren -> ned.deily resolution: -> fixed stag

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2011-01-03 Thread Kevin Walzer
Kevin Walzer added the comment: Ned--thank you for reviewing, testing, and modifying the patch. I applied your revised version to my new install of Python 2.7.1 and it works fine. -- ___ Python tracker ___

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: I've committed in the py3k branch as r87394, so that this can get testing during beta, although your list of test systems looks quite exhaustive already. Lowering priority and leaving open for the backports. -- priority: release blocker -> critical __

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2010-12-17 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file20097/issue6075_27.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2010-12-17 Thread Ned Deily
Ned Deily added the comment: Thank you very much for the patch. I have updated it and modified it somewhat to work with the latest tip for py3k (3.2b1), 3.1.3+, and 2.7.1+ and to work with both AquaTk Cocoa 8.5 and preserve current behavior with legacy AquaTk Carbon 8.4. Since there are no a

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2010-12-13 Thread Ned Deily
Changes by Ned Deily : -- assignee: -> ned.deily nosy: +ned.deily versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-21 Thread Kevin Walzer
Kevin Walzer added the comment: Apparently the extra menu entries are related to an Appkit bug on Leopard that Tk-Cocoa picks up; the bug is not present on Snow Leopard and won't be fixed on Leopard. As a result, I've closed the SF bug. -- ___ Pyth

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-11 Thread Kevin Walzer
Kevin Walzer added the comment: Re: msg 93821, the comment about redundant entries being appended to a menu when an EditorWindow is destroyed: I've reproduced this behavior in Tk-Cocoa itself, and have concluded it's not an issue with IDLE (or my patches). I've filed bug https://sourceforge.

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-10 Thread Kevin Walzer
Kevin Walzer added the comment: Single revised diff, "tkcocoa.diff", attached, applied against Python trunk. Have not tested against Python trunk, nor do I believe it solves the issue with the extra menu items appearing when a window is closed. But hopefully this will apply more cleanly. ---

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: I have tried to apply the patches to python's trunk, but they don't apply cleanly at all. Could you please rework the patches into a single larger patch that applies to the trunk. -- ___ Python tracker

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-09 Thread Kevin Walzer
Kevin Walzer added the comment: I've run into an additional problem with these patches. While they correctly set up the menus for Python Shell and editor windows, when a front-most window is closed, the menubar suddenly displays duplicate entries (for Edit, Run, and Help) at the end of the me

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-09-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm about to test the patches on a 10.4 system with Tk 8.4 and will report back with the results. These patches might be useful to issue 6864, that issue says IDLE blocks on 10.6 and that problem seems to be fixed in python-trunk + Kevin's patches (although

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-09-06 Thread Kevin Walzer
Kevin Walzer added the comment: Tested against Tk-Cocoa (the build of Tk-8.5 that comes with Snow Leopard; I also have my own build on Leopard) and Tk-Carbon 8.5 on Leopard/10.5, and it works as expected. I no longer have any builds of 8.4 to test against. The code defaults to the current beh

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-09-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patches look acceptable on first glance. Which configurations of Tk have you tested? IMHO IDLE should work with the following configurations: * Tk.framework as supplied with OSX 10.4, 10.5 and 10.6 * The current releases of Tk 8.4 and 8.5 installed in /

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-08-22 Thread Kevin Walzer
Changes by Kevin Walzer : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-21 Thread Kevin Walzer
Kevin Walzer added the comment: typo in macosxSupport.patch--fixed -- Added file: http://bugs.python.org/file14036/macosxSupport.patch ___ Python tracker ___

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-21 Thread Kevin Walzer
Changes by Kevin Walzer : Removed file: http://bugs.python.org/file14035/macosxSupport.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-21 Thread Kevin Walzer
Kevin Walzer added the comment: additional refinement to help_dialog command, makes menu consistent -- Added file: http://bugs.python.org/file14035/macosxSupport.patch ___ Python tracker ___

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-21 Thread Kevin Walzer
Changes by Kevin Walzer : Removed file: http://bugs.python.org/file14031/macosxSupport.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Changes by Kevin Walzer : Removed file: http://bugs.python.org/file14028/macosxSupport.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Kevin Walzer added the comment: This updated patch of macosxSupport.py adds a fix that addresses the preferences dialog, see http://bugs.python.org/issue5232. -- Added file: http://bugs.python.org/file14031/macosxSupport.patch ___ Python tracker

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Kevin Walzer added the comment: These patches were tested on Python/IDLE 2.6.2 and Tk version 8.5.7. My build of Tk, which runs on top of Cocoa, is based on a fork of Tk hosted at http://github.com/das/tcltk/tree/de-carbon-8-5. Tk-Cocoa will become the main line for Mac OS X in Tk 8.6, now in

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Changes by Kevin Walzer : Added file: http://bugs.python.org/file14028/macosxSupport.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Changes by Kevin Walzer : Added file: http://bugs.python.org/file14027/Bindings.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
New submission from Kevin Walzer : In version 8.6 of Tk (now in beta stage), Tk on OS X will be built on top of the Cocoa API, replacing the deprecated Carbon API. Tk-Cocoa implements some UI behaviors (help menu, application menu) differently than Tk- Carbon. The attached files patch IDLE to d