[issue25090] IDLE: remove noisy icons from class (module) browser

2015-09-14 Thread Mark Roseman
Mark Roseman added the comment: Thanks Raymond. As an 'outsider' I rely on people like you to provide feedback based on your experience to some of the proposals I'm floating here. On a more specific note... This one came about mainly as I was looking at the class (mod

[issue25146] IDLE debugger could better visualize program execution

2015-09-16 Thread Mark Roseman
New submission from Mark Roseman: (This touches a bit on things mentioned in #14111) I'm looking through the debugger code in IDLE, and now understand that it's essentially trying to make a GUI program act like a command line program. Hence the nested call to mainloop(), when we

[issue15191] tkinter convenience dialogs don't use themed widgets

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue15191> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17060] IDLE -- jump to home should not go past the PS1 and PS2 prompts

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue17060> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11229] Make the Mac installer more like the Windows installer

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue11229> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18064] IDLE: add current directory to open_module

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue18064> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14440] Close background process if IDLE closes abnormally.

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue14440> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue15308> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18318] Idle: stop depending on console output

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue18318> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue18444> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12913] Add a debugging howto

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue12913> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1080387] Making IDLE Themes and Keys Config more Robust

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue1080387> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20579] OS X IDLE keyboard accelerators fail or misbehave with Cocoa Tk

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue20579> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue1350> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20827] IDLE : Display function argument list in ClassBrowser

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue20827> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21674] Idle: Add 'find all' in current file

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue21674> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21647] Idle unittests: make gui, mock switching easier.

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue21647> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8231] Unable to run IDLE without write-access to home directory

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue8231> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21588] Idle: make editor title bar user configurable

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue21588> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14111] IDLE Debugger should handle interrupts

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue14111> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24455] IDLE debugger causes crash if not quitted properly before next run

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue24455> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21973] Idle should not quit on corrupted user config files

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue21973> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20580] IDLE should support platform-specific default config defaults

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue20580> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5594] IDLE startup configuration

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue5594> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue2704> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22354] Idle: highlite tabs

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue22354> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25173] IDLE - several common dialogs don't have correct parent set

2015-09-18 Thread Mark Roseman
New submission from Mark Roseman: The confirmation, file, etc. common dialogs in tkinter accept both a 'master' and a 'parent' argument. Master is not required (it will use parent if not provided). Parent is used to associate the dialog with a given window. On Mac OS X,

[issue25173] IDLE - several common dialogs don't have correct parent set

2015-09-19 Thread Mark Roseman
Mark Roseman added the comment: No comment on state of Tkinter documentation. ;-) I'll have a go through the uses of 'master' in IDLE and see which others should be changed, and put together a patch. Plus double-check with all the other dialogs in lib/tkinter to see if ther

[issue25173] IDLE - several common dialogs don't have correct parent set

2015-09-19 Thread Mark Roseman
Mark Roseman added the comment: I think both master and parent are needed, for the likely rare case when you don't want a dialog attached to any window, but it needs a Tk window handle to build the dialog from. Ran across that in SearchEngine, which has a root window just for the purpos

[issue25173] IDLE - several common dialogs don't have correct parent set

2015-09-19 Thread Mark Roseman
Mark Roseman added the comment: Attached masterparent27.patch, same thing for 2.7 branch -- Added file: http://bugs.python.org/file40518/masterparent27.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25178] IDLE: search regex errors should be in/attached to search dialog

2015-09-19 Thread Mark Roseman
New submission from Mark Roseman: Follow-on to #25173, any regex errors are displayed by SearchEngine but they should be shown by the dialog where the user is typing the error. Either as a modal tkMessageBox attached to the dialog, or as an inline error in the dialog itself

[issue25146] IDLE debugger could better visualize program execution

2015-09-19 Thread Mark Roseman
Mark Roseman added the comment: Regarding the nested loops, what's happening is: - IDLE tells interpreter to run program - Interpreter now has control and is running program, start to end - Because execution is being traced, before every statement we get a callback If we didn't use

[issue25146] IDLE debugger could better visualize program execution

2015-09-19 Thread Mark Roseman
Mark Roseman added the comment: Ok, I lied. The program runs through start to finish regardless, and all the 'stopping' and breakpoints is really just very selectively deciding which subset of execution tracing events to pass back to the debugger. So you really do need to '

[issue25146] IDLE debugger could better visualize program execution

2015-09-20 Thread Mark Roseman
Mark Roseman added the comment: Frighteningly, your wild idea is close to how it actually works now, as per the ASCII art at the top of RemoteDebugger.py. :-) The authors of RemoteDebugger and rpc.py went to fantastic lengths to make this transparent so that everything looks local. If in my

[issue15347] IDLE - does not close if the debugger was active

2015-09-22 Thread Mark Roseman
Mark Roseman added the comment: Figured out the cause of this hang, it was to do with the nested event loops. It turns out that mainloop() really should just be for the mainloop. Or at least quit() should only be used to quit the outer loop, as it relies on setting a static variable, so is

[issue17942] IDLE Debugger: Improve GUI

2015-09-22 Thread Mark Roseman
Mark Roseman added the comment: Have attached debugger-ui.patch, which greatly updates the user interface for the existing debugger. This also relies on some images that should be downloaded and unpacked into the 'Icons' directory: http://www.tkdocs.com/images/debugicons.zip

[issue24455] IDLE debugger causes crash if not quitted properly before next run

2015-09-22 Thread Mark Roseman
Mark Roseman added the comment: Like #15347 and #15348, this was also caused by nested event loops, though the exact problem is slightly different. I've attached fix-mainloop2.patch which has a lengthy comment explaining the problem and how the patch solves it. This patch also include

[issue15347] IDLE - does not close if the debugger was active

2015-09-22 Thread Mark Roseman
Mark Roseman added the comment: See #24455 for a patch that includes the changes from this one as well as some additional changes that fixes that bug. -- ___ Python tracker <http://bugs.python.org/issue15

[issue25198] Idle: improve idle.html help viewer.

2015-09-24 Thread Mark Roseman
Mark Roseman added the comment: Have attached help-indent-fix.patch. Basically the parser is very fragile when it comes to combining tags, so the handling of the 'span .pre' was stomping on the indent tag. Separated out handling of character level tags (e.g. italic) from block level

[issue25225] Idle doc: redo Syntax Colors section

2015-09-24 Thread Mark Roseman
Mark Roseman added the comment: I'd suggest that there is no reason to include the list of what elements can be coloured, as it's there in the dialog for anyone who wants to muck with it. Just the first paragraph (two sentences) would be sufficient I think. Even dropping it from th

[issue24820] IDLE themes for light on dark

2015-09-24 Thread Mark Roseman
Mark Roseman added the comment: I wrote a short utility that parses TextMate XML-based theme files (which are also used by Sublime) and converts them into something IDLE can use. It's not a perfect match, because IDLE's themes are more restrictive, but it's not bad. I'm

[issue24820] IDLE themes for light on dark

2015-09-25 Thread Mark Roseman
Mark Roseman added the comment: Sounds good. I agree picking a few and tweaking them would be a good way forward (and incidentally, the 'Cobalt' theme is the one I use in my regular editor!) -- ___ Python tracker <http://bugs.python.o

[issue15347] IDLE - does not close if the debugger was active

2015-09-25 Thread Mark Roseman
Mark Roseman added the comment: Doing some testing using "-n". Various close/quit scenarios are either disallowed or broken as it turns out. I found that removing the "interacting" check on close improved the matter quite substantially, so that I could quit when the

[issue24820] IDLE themes for light on dark

2015-09-25 Thread Mark Roseman
Mark Roseman added the comment: Ok, do you want to add the dark theme in then? I'll add some code to the ttk based preferences dialog (for when that gets in) to give the user the option of applying the new background color to all the other elements which had the same original backg

[issue24781] Improve UX of IDLE Highlighting configuration tab

2015-09-25 Thread Mark Roseman
Mark Roseman added the comment: Have added the 'apply changes to other elements with same background?' feature in my private copy. To save constantly uploading new versions on every tweak, when we're ready to evaluate/integrate, I&#

[issue23218] Modernize the IDLE Find/Replace/Find in Files dialogs

2015-09-25 Thread Mark Roseman
Mark Roseman added the comment: Have attached find-dialogs.patch, which does some cosmetic tweaks to the existing dialogs, as per the previous screenshot. It uses ttk widgets if available, and standard Tk widgets if not. Relies on the ui.py module (not attached, as it is changing often

[issue24820] IDLE themes for light on dark

2015-09-25 Thread Mark Roseman
Mark Roseman added the comment: Looks good to me! -- ___ Python tracker <http://bugs.python.org/issue24820> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25198] Idle: improve idle.html help viewer.

2015-09-27 Thread Mark Roseman
Mark Roseman added the comment: Good catch about yview for text widgets! -- ___ Python tracker <http://bugs.python.org/issue25198> ___ ___ Python-bugs-list mailin

[issue16023] IDLE freezes on ^5 or ^6 (Un-)Tabify Region with OS X Cocoa Tk 8.5

2015-09-29 Thread Mark Roseman
Mark Roseman added the comment: Just tried and it seemed to work ok for me. I'm guessing it'll be a particular Tk version. Noting the timeline on the original bug report and subsequent comments, that was right when Tk 8.5 switched from Carbon to Cocoa, so it was probably somethin

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2015-09-29 Thread Mark Roseman
Mark Roseman added the comment: Ned, is there anything that I might be able to help with here? While I'm not a Mac installer guru, it doesn't look like we'd need anything too fancy here. Installing an 8.6 variant (via the frameworks approach I mentioned in my previous message

[issue25224] Replace Idle's README.txt with annotated file list

2015-09-30 Thread Mark Roseman
Mark Roseman added the comment: Good start... would have been very helpful for me a couple of months back! Have attached a patch to your patch, breaking the main implementation into a few categories, and fixing a few typos. -- Added file: http://bugs.python.org/file40629/README2.diff

[issue15663] Investigate providing Tcl/Tk 8.6 with OS X installers

2015-09-30 Thread Mark Roseman
Mark Roseman added the comment: Thanks Ned. A couple of things. First, you probably know about this, but for future reference in case it might be useful, the install_name_tool lets you point a shared library at a different dependent shared library than the one it was originally compiled to

[issue24820] IDLE themes for light on dark

2015-09-30 Thread Mark Roseman
Mark Roseman added the comment: Hi Marc, you're correct that is an error in the theme. To correct it, change the setting for 'break-background' to be something like #22. Thanks! -- ___ Python tracker <http://bugs.pyt

[issue20580] IDLE should support platform-specific default config defaults

2015-09-30 Thread Mark Roseman
Mark Roseman added the comment: Before creating another layer on top of the existing layers of configuration handling, can I suggest for now at least just hard-coding the few things that are needed in the code itself? For example, in configHandler.py, after calling LoadCfgFiles, we could

[issue24820] IDLE themes for light on dark

2015-09-30 Thread Mark Roseman
Mark Roseman added the comment: Attached a patch to the current config dialog to add breakpoint to the window, and have updated the same thing in my newer dialog. -- keywords: +patch Added file: http://bugs.python.org/file40635/breakpoint-prefs.patch

[issue25254] Idle: debugger source line highlighting fails again

2015-09-30 Thread Mark Roseman
Mark Roseman added the comment: Was the 'source' checkbox in the debugger checked? -- ___ Python tracker <http://bugs.python.org/issue25254> ___ ___

[issue25313] IDLE: gracefully handle themes (or keysets, or ...) not present

2015-10-04 Thread Mark Roseman
New submission from Mark Roseman: As a follow-on to #24820, when a particular theme is selected in the configuration files, but that theme is not available, IDLE will print out a bunch of warning messages on console. That can occur for example when using a newer built-in theme in an older

[issue24820] IDLE themes for light on dark

2015-10-04 Thread Mark Roseman
Mark Roseman added the comment: FYI, the change multiple backgrounds thing is in my working version for the new dialog. Added new issue #25313 to remind us that the warning message is something we'd love to get rid of in the future and as quickly as possible make it unnecessary if we add

[issue25313] IDLE: gracefully handle themes (or keysets, or ...) not present

2015-10-04 Thread Mark Roseman
Mark Roseman added the comment: Actually, I think we may be able to get away without the warning message when you select a 'new' theme, and still maintain backwards compatibility. For 'new' themes (i.e. IDLE Dark and any more builtins we add in the future), we write the t

[issue25313] IDLE: gracefully handle themes (or keysets, or ...) not present

2015-10-04 Thread Mark Roseman
Mark Roseman added the comment: Patch write-new-defaults.patch attached so that we write 'newer' default themes to config-highlight.cfg if selected, and ignore them if we already have a default by that name. -- keywords: +patch Added file: http://bugs.python.org/file40674

[issue25313] IDLE: gracefully handle themes (or keysets, or ...) not present

2015-10-04 Thread Mark Roseman
Mark Roseman added the comment: I see the 3.4.4 is not an immediate concern, so that's good. FYI, I get the (multiple) error messages on console consistently on Mac, but it probably depends how it was launched. Agree the code for future versions should do a better job to detect the

[issue25313] IDLE: gracefully handle themes (or keysets, or ...) not present

2015-10-05 Thread Mark Roseman
Mark Roseman added the comment: On a more direct note, have attached missingtheme.patch, which ensures that all queries for the active theme go through CurrentTheme(), which has been modified to verify that the theme exists; if not, it returns 'IDLE Classic' -- Added

[issue22726] Idle: add help to config dialogs

2015-10-06 Thread Mark Roseman
Mark Roseman added the comment: I'm not against online help, but I feel that what's there wouldn't be helpful to someone using IDLE. Once this would be extended to per-tab, what are the problem areas that people really need help with? Also keeping in mind we're going

[issue25313] IDLE: gracefully handle themes (or keysets, or ...) not present

2015-10-06 Thread Mark Roseman
Mark Roseman added the comment: Okay, that's reasonable enough for me. :-) I'd still be for nuking the warning so that nothing gets displayed unless you go looking in online help. -- ___ Python tracker <http://bugs.python.o

[issue14576] IDLE: inconsistent use of HOMEDRIVE, HOMEPATH, and USERPROFILE on Windows

2015-10-06 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue14576> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25254] Idle: debugger source line highlighting fails again

2015-10-12 Thread Mark Roseman
Mark Roseman added the comment: FYI, the new debugger UI has an option to only show highlights in already open files (i.e. don't open new ones) -- ___ Python tracker <http://bugs.python.org/is

[issue24782] Merge 'configure extensions' into main IDLE config dialog

2015-10-12 Thread Mark Roseman
Mark Roseman added the comment: No, I don't, sorry. If it will be quick for you to do, no problem, otherwise I'd be happy to put it together. -- ___ Python tracker <http://bugs.python.o

[issue24782] Merge 'configure extensions' into main IDLE config dialog

2015-10-12 Thread Mark Roseman
Mark Roseman added the comment: Patch against head to change extensions dialog to a pane of main config dialog. -- Added file: http://bugs.python.org/file40761/mergeext.patch ___ Python tracker <http://bugs.python.org/issue24

[issue24782] Merge 'configure extensions' into main IDLE config dialog

2015-10-12 Thread Mark Roseman
Mark Roseman added the comment: Same patch against 2.7 -- Added file: http://bugs.python.org/file40762/mergeext27.cfg ___ Python tracker <http://bugs.python.org/issue24

[issue24782] Merge 'configure extensions' into main IDLE config dialog

2015-10-21 Thread Mark Roseman
Mark Roseman added the comment: The extra width appears to be coming from the canvas inside VerticalScrolledFrame; the canvas gets the default size and the frame adjusts to fit its contents (the canvas and the scrollbar). If you really want to reduce the size, add a "-width" option

[issue25244] Idle: refine right-click behavior

2015-10-22 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker <http://bugs.python.org/issue25244> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8231] Unable to run IDLE without write-access to home directory

2015-10-27 Thread Mark Roseman
Mark Roseman added the comment: Can I suggest that this issue continues to be about IDLE not being able to write its preferences directory/files due to permissions, and we create a new issue for the fact that IDLE is storing it in the wrong place under Windows

[issue8231] Unable to run IDLE without write-access to home directory

2015-10-28 Thread Mark Roseman
Mark Roseman added the comment: Checked on Linux and Mac - doesn't work correctly. mkdtemp() returns a different name every time it's called, and GetUserCfgDir() is called in three places, meaning we end up with three different tmp directories (which on quick examination didn

[issue8231] Unable to run IDLE without write-access to home directory

2015-10-28 Thread Mark Roseman
Mark Roseman added the comment: Just a note that the 'store things in APPDATA' is issue #24765 -- ___ Python tracker <http://bugs.python.org/issue8231> ___ __

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-10-28 Thread Mark Roseman
Mark Roseman added the comment: Further to Terry's backwards compatibility issues (also discussed in #8231). Storing things in the "correct" location (%APPDATA% on Windows, and Application Support on OS X) would presumably be the "right" thing to do if backwards compa

[issue8231] Unable to run IDLE without write-access to home directory

2015-10-29 Thread Mark Roseman
Mark Roseman added the comment: Better, but alas still not quite. On further investigation, the issue is that a new instance of idleConf is instantiated in the subprocess, which then calls mkdtemp() returning a different name. You can see this by doing 'restart shell' and noting th

[issue25507] IDLE: user code 'import tkinter; tkinter.font' should fail

2015-10-29 Thread Mark Roseman
Mark Roseman added the comment: This (restructuring/refactoring to minimize the subprocess imports) does definitely sound like the right approach. There will be other benefits to breaking up PyShell a bit too.. -- ___ Python tracker <h

[issue25514] better startup error messages in IDLE when stdlib modules shadowed

2015-10-29 Thread Mark Roseman
New submission from Mark Roseman: When we create e.g. string.py that shadows a stdlib module needed by IDLE, it would be nice if a better error message could be shown, pointing to that cause. Original message: lac at smartwheels:~/junk$ echo "print ('hello there')&quo

<    1   2   3