Kurt B. Kaiser
28c7bcf38e
Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat.
2007-12-28 04:18:01 +00:00
Christian Heimes
0423698bc3
Fixed #1649 : IDLE error: dictionary changed size during iteration
2007-12-18 21:56:09 +00:00
Kurt B. Kaiser
7a634e6027
IDLE_tabbedpages.071101.patch Tal Einat
...
Cosmetic changes, one bug. Remove tabpage.py, replaced by tabbedpages.py
2007-12-11 19:35:12 +00:00
Kurt B. Kaiser
0c64fb435a
format_paragraph_event wasn't returning 'break'
2007-12-11 00:04:57 +00:00
Kurt B. Kaiser
20172f9b5d
check in Tal Einat's update to tabpage.py
...
Patch 1612746
M configDialog.py
M NEWS.txt
AM tabbedpages.py
2007-10-30 02:38:54 +00:00
Kurt B. Kaiser
60d58406d0
Add confirmation dialog before printing. Patch 1717170 Tal Einat.
2007-10-28 19:03:59 +00:00
Kurt B. Kaiser
1e45f80b22
1. Add comments to provide top-level documentation.
...
2. Refactor to use more descriptive names.
3. Enhance tests in main().
2007-10-26 00:10:09 +00:00
Kurt B. Kaiser
aa8a96a159
Correct an ancient bug in an unused path by removing that path: register() is
...
now idempotent.
2007-10-25 22:43:45 +00:00
Kurt B. Kaiser
631fee6235
show paste if > 80 columns. Patch 1659326 Tal Einat.
2007-10-10 01:06:47 +00:00
Kurt B. Kaiser
cca976b11c
Allow cursor color change w/o restart. Patch 1725576 Tal Einat.
2007-10-10 00:55:40 +00:00
Kurt B. Kaiser
c8f65e69da
Allow interrupt only when executing user code in subprocess
...
Patch 1225 Tal Einat modified from IDLE-Spoon.
2007-10-09 19:31:30 +00:00
Kurt B. Kaiser
e3fde8f8cd
configDialog cleanup. Patch 1730217 Tal Einat.
2007-10-04 03:11:12 +00:00
Kurt B. Kaiser
d5f4910afd
textView cleanup. Patch 1718043 Tal Einat.
...
M idlelib/EditorWindow.py
M idlelib/aboutDialog.py
M idlelib/textView.py
M idlelib/NEWS.txt
2007-10-04 02:53:07 +00:00
Kurt B. Kaiser
0b634efcbc
Clean up EditorWindow close.
2007-10-04 02:09:17 +00:00
Kurt B. Kaiser
85897c9b38
Remove unused theme that was causing a fault in p3k.
2007-10-04 02:07:50 +00:00
Kurt B. Kaiser
67bd62fd6c
Assume that the user knows when he wants to end the line; don't insert
...
something he didn't select or complete.
2007-10-04 01:49:54 +00:00
Ronald Oussoren
9b0bcc1f4b
Patch 1693258: Fix for duplicate "preferences" menu-OS X
2007-07-09 06:02:21 +00:00
Georg Brandl
d53d951c24
Patch #1672481 : fix bug in idlelib.MultiCall.
2007-03-06 11:52:24 +00:00
Kurt B. Kaiser
209de1f6ca
Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;
...
mouse and cursor selection in ACWindow implemented; double Tab inserts current
selection and closes ACW (similar to double-click and Return); scroll wheel now
works in ACW. Added AutoComplete instructions to IDLE Help.
2007-02-08 22:58:18 +00:00
Kurt B. Kaiser
814ef237a2
Handle AttributeError during calltip lookup
2007-02-07 08:07:13 +00:00
Kurt B. Kaiser
ca30acfea8
[ 1621265 ] Auto-completion list placement
...
Move AC window below input line unless not enough space, then put it above.
Patch: Tal Einat
2007-02-07 03:39:41 +00:00
Kurt B. Kaiser
f30ff3b8fd
narrow exception per [ 1540849 ] except too broad
2007-02-06 19:21:19 +00:00
Kurt B. Kaiser
4864b2bcd7
Updated patch (CodeContext.061217.patch) to
...
[ 1362975 ] CodeContext - Improved text indentation
Tal Einat 16Dec06
2007-02-06 19:09:43 +00:00
Kurt B. Kaiser
dddeb0eec4
Clean up ModifiedInterpreter.runcode() structure
2007-02-06 03:21:40 +00:00
Kurt B. Kaiser
ecf796ed43
1. Calltips now 'handle' tuples in the argument list (display '<tuple>' :)
...
Suggested solution by Christos Georgiou, Bug 791968.
2. Clean up tests, were not failing when they should have been.
4. Remove some camelcase and an unneeded try/except block.
2007-02-05 23:02:16 +00:00
Kurt B. Kaiser
90f84922ee
Add 'raw' support to configHandler. Patch 1650174 Tal Einat.
2007-02-05 06:03:18 +00:00
Tim Peters
f733abb783
Whitespace normalization.
2007-01-30 03:03:46 +00:00
Matthias Klose
a398e2d059
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092 ).
2007-01-11 11:44:04 +00:00
Kurt B. Kaiser
c3200b97d6
1. Avoid hang when encountering a duplicate in a completion list. Bug 1571112.
...
2. Duplicate some old entries from Python's NEWS to IDLE's NEWS.txt
M AutoCompleteWindow.py
M NEWS.txt
2006-12-15 05:13:11 +00:00
Martin v. Löwis
8609da9b17
Move IDLE news into NEWS.txt.
2006-12-03 09:54:46 +00:00
Martin v. Löwis
4ebbefe677
Patch #1362975 : Rework CodeContext indentation algorithm to
...
avoid hard-coding pixel widths. Also make the text's scrollbar
a child of the text frame, not the top widget.
2006-11-22 08:50:02 +00:00
Georg Brandl
d076153ee8
Bug #813342 : Start the IDLE subprocess with -Qnew if the parent
...
is started with that option.
2006-10-12 07:57:21 +00:00
Kurt B. Kaiser
e0b673573b
Add comment explaining that error msgs may be due to user code when
...
running w/o subprocess.
2006-10-01 21:54:37 +00:00
Kurt B. Kaiser
c426ffcdfc
Some syntax errors were being caught by tokenize during the tabnanny
...
check, resulting in obscure error messages. Do the syntax check
first. Bug 1562716, 1562719
2006-10-01 21:16:45 +00:00
Anthony Baxter
78b1a08373
Updating IDLE's version number to match Python's (as per python-dev
...
discussion).
2006-08-18 07:29:02 +00:00
Kurt B. Kaiser
7ae354846f
File menu hotkeys: there were three 'p' assignments. Reassign the
...
'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the
Shell menu hotkey from 's' to 'l'.
M Bindings.py
M PyShell.py
M NEWS.txt
2006-08-16 21:45:59 +00:00
Kurt B. Kaiser
f137e1df2c
Get quit() and exit() to work cleanly when not using subprocess.
2006-08-16 07:04:17 +00:00
Kurt B. Kaiser
d112bc7958
Patch #1540892 : site.py Quitter() class attempts to close sys.stdin
...
before raising SystemExit, allowing IDLE to honor quit() and exit().
M Lib/site.py
M Lib/idlelib/PyShell.py
M Lib/idlelib/CREDITS.txt
M Lib/idlelib/NEWS.txt
M Misc/NEWS
2006-08-16 05:01:42 +00:00
Anthony Baxter
b409666e8c
preparing for 2.5c1
2006-08-16 03:42:26 +00:00
Kurt B. Kaiser
2a7ff297c5
The 'with' statement is now a Code Context block opener
2006-08-16 03:15:26 +00:00
Kurt B. Kaiser
cd3d8bee02
Retrieval of previous shell command was not always preserving indentation
...
since 1.2a1) Patch 1528468 Tal Einat.
2006-08-10 17:11:09 +00:00
Kurt B. Kaiser
1fe9ca09a3
Changing tokenize (39046) to detect dedent broke tabnanny check (since 1.2a1)
2006-08-10 01:41:17 +00:00
Kurt B. Kaiser
53f2b5fab2
ToggleTab dialog was setting indent to 8 even if cancelled (since 1.2a1).
2006-08-09 20:34:46 +00:00
Andrew M. Kuchling
faeeab7ed7
Typo fix
2006-08-09 18:23:14 +00:00
Kurt B. Kaiser
be332e4ba7
As a slight enhancement to the previous checkin, improve the
...
internal error reporting by moving message to IDLE console.
2006-08-09 17:47:15 +00:00
Kurt B. Kaiser
312e5afb51
1. When used w/o subprocess, all exceptions were preceeded by an error
...
message claiming they were IDLE internal errors (since 1.2a1).
2. Add Ronald Oussoren to CREDITS
M NEWS.txt
M PyShell.py
M CREDITS.txt
2006-08-09 16:46:15 +00:00
Anthony Baxter
5d32a9f188
pre-release machinations
2006-08-02 07:43:09 +00:00
Ronald Oussoren
3075e16c51
Fix bug #1517990 : IDLE keybindings on OSX
...
This adds a new key definition for OSX, which is slightly different from the
classic mac definition.
Also add NEWS item for a couple of bugfixes I added recently.
2006-07-25 20:28:55 +00:00
Martin v. Löwis
0b48303f28
Bug #1525817 : Don't truncate short lines in IDLE's tool tips.
2006-07-25 09:53:12 +00:00
Tim Peters
0bbfd83250
Whitespace normalization.
2006-07-24 21:02:15 +00:00
Kurt B. Kaiser
a2946a437e
- EditorWindow.test() was failing. Bug 1417598
...
M EditorWindow.py
M ScriptBinding.py
M NEWS.txt
2006-07-24 18:05:51 +00:00
Kurt B. Kaiser
b3c4d16e68
EditorWindow failed when used stand-alone if sys.ps1 not set.
...
Bug 1010370 Dave Florek
M EditorWindow.py
M PyShell.py
M NEWS.txt
2006-07-24 17:13:23 +00:00
Ronald Oussoren
8133f9da17
Fix for bug #1517996 : Class and Path browsers show Tk menu
...
This patch replaces the menubar that is used by AquaTk for windows without a
menubar of their own by one that is more appropriate for IDLE.
2006-07-23 09:46:11 +00:00
Ronald Oussoren
17db495445
Without this patch CMD-W won't close EditorWindows on MacOS X. This solves
...
part of bug #1517990 .
2006-07-23 09:41:09 +00:00
Kurt B. Kaiser
c6bacd5606
Tooltips failed on new-syle class __init__ args. Bug 1027566 Loren Guthrie
2006-07-23 04:19:49 +00:00
Kurt B. Kaiser
43476e009b
Avoid occasional failure to detect closing paren properly.
...
Patch 1407280 Tal Einat
M ParenMatch.py
M NEWS.txt
M CREDITS.txt
2006-07-20 22:22:52 +00:00
Kurt B. Kaiser
4b7e35b530
Rebinding Tab key was inserting 'tab' instead of 'Tab'. Bug 1179168.
2006-07-18 04:03:16 +00:00
Kurt B. Kaiser
a2f60a47b5
Patch 1479219 - Tal Einat
...
1. 'as' highlighted as builtin in comment string on import line
2. Comments such as "#False identity" which start with a keyword immediately
after the '#' character aren't colored as comments.
3. u or U beginning unicode string not correctly highlighted
Closes bug 1325071
2006-07-17 21:59:27 +00:00
Georg Brandl
7b71bf3872
Remove usage of sets module (patch #1500609 ).
2006-07-17 13:23:46 +00:00
Anthony Baxter
70e8e87750
preparing for 2.5b2
2006-07-10 07:41:04 +00:00
Ronald Oussoren
53f1a943ec
Workaround for bug #1512124
...
Without this patch IDLE will get unresponsive when you open the debugger
window on OSX. This is both using the system Tcl/Tk on Tiger as the latest
universal download from tk-components.sf.net.
2006-06-25 20:44:16 +00:00
Anthony Baxter
d113680720
Preparing for 2.5b1.
2006-06-19 12:04:15 +00:00
Tim Peters
231c3c8804
Add missing svn:eol-style property to text files.
2006-06-11 19:43:49 +00:00
Tim Peters
4f96f1f2b5
Whitespace normalization.
2006-06-11 19:42:51 +00:00
Ronald Oussoren
19302d927e
This patch improves the L&F of IDLE on OSX. The changes are conditionalized on
...
being in an IDLE.app bundle on darwin. This does a slight reorganisation of the
menus and adds support for file-open events.
2006-06-11 14:33:36 +00:00
Georg Brandl
b2afe855e5
Make use of new str.startswith/endswith semantics.
...
Occurences in email and compiler were ignored due to backwards compat requirements.
2006-06-09 20:43:48 +00:00
Ronald Oussoren
19bebf2e2f
Without this patch OSX users couldn't add new help sources because the code
...
tried to update one item in a tuple.
2006-05-26 08:41:25 +00:00
Anthony Baxter
c7d00327ab
2.5a2
2006-04-27 02:11:24 +00:00
Anthony Baxter
ebed3f629b
preparation for 2.5a1
2006-04-03 15:03:44 +00:00
Kurt B. Kaiser
70f05c5d7f
Source file f.flush() after writing; trying to avoid lossage if user
...
kills GUI. Report from B. Sherwood. Backport to 2.3.4.
2006-03-19 20:40:05 +00:00
Martin v. Löwis
307021f40b
Patch #1162825 : Support non-ASCII characters in IDLE window titles.
2005-11-27 16:59:04 +00:00
Kurt B. Kaiser
9df23ea1fc
Fix main() call
...
Patch 1315161 sebastien blanchet
2005-11-23 15:12:19 +00:00
Kurt B. Kaiser
5c6e0a1a0c
1. Made advanced keybinding dialog functional.
...
2. Allow binding of movement keys
2005-11-22 21:09:37 +00:00
Kurt B. Kaiser
3b148ca43d
Fix typo and update comment obsoleted by 'syntax' patch
2005-11-22 02:17:10 +00:00
Kurt B. Kaiser
2bf2af6d9b
Default two second delay on attribute pop-up, less noisy interface.
...
(Opens immediately if TAB is typed after '.')
2005-11-22 01:52:22 +00:00
Kurt B. Kaiser
5a67f9b815
Following 'syntax' patch, accelerator keys in menus weren't being
...
updated after a keyset change. Also, formatted ApplyKeyBindings()
2005-11-22 01:47:14 +00:00
Kurt B. Kaiser
b17544551f
Merge IDLE-syntax-branch r39668:41449 into trunk
...
A idlelib/AutoCompleteWindow.py
A idlelib/AutoComplete.py
A idlelib/HyperParser.py
M idlelib/PyShell.py
M idlelib/ParenMatch.py
M idlelib/configDialog.py
M idlelib/EditorWindow.py
M idlelib/PyParse.py
M idlelib/CallTips.py
M idlelib/CallTipWindow.py
M idlelib/run.py
M idlelib/config-extensions.def
A idlelib/MultiCall.py
2005-11-18 22:05:48 +00:00
Kurt B. Kaiser
b61602c968
Better indentation after first line of string continuation.
...
IDLEfork Patch 681992, Noam Raphael
2005-11-15 07:20:06 +00:00
Kurt B. Kaiser
389482ccbe
Incorporate Tal Einat's comment on Patch 936169: Fixes alignment problem.
2005-10-03 20:08:25 +00:00
Kurt B. Kaiser
0a1357930a
Tweak CodeContext.py docstrings, comments, and names.
2005-10-03 19:26:03 +00:00
Kurt B. Kaiser
74910225df
Increased performance in CodeContext extension Patch 936169 Noam Raphael
2005-10-02 23:36:46 +00:00
Neal Norwitz
6203196c7c
Remove unused import
2005-09-01 00:39:02 +00:00
Kurt B. Kaiser
0cd233f487
Revert previous code elimination, 'filename' is needed.
2005-08-23 03:25:38 +00:00
Kurt B. Kaiser
2618c7fadc
1. Mac line endings were incorrect when pasting code from some browsers
...
when using X11 and the Fink distribution. Python Bug 1263656.
2. Eliminate duplicated code in ScriptBinding.run_module_event()
Modified Files:
NEWS.txt ScriptBinding.py
2005-08-23 02:27:23 +00:00
Georg Brandl
7eb4b7d177
Fix all wrong instances of "it's".
2005-07-22 21:49:32 +00:00
Georg Brandl
08c02dbb85
[ 1243081 ] repair typos
2005-07-22 18:39:19 +00:00
Kurt B. Kaiser
8fa7eb563b
Remove dead code
...
M IdleHistory.py
M PyShell.py
2005-06-21 02:42:17 +00:00
Kurt B. Kaiser
a7daba6866
<Enter> when cursor is on a previous command retrieves that command. Instead
...
of replacing the input line, the previous command is now appended to the
input line. Indentation is preserved, and undo is enabled.
Patch 1196917 Jeff Shute
Modified Files:
NEWS.txt PyShell.py
2005-06-19 18:56:15 +00:00
Kurt B. Kaiser
ca7329c9c1
1. Clarify "tab/space" Error Dialog and "Tab Width" Dialog associated with
...
the Untabify command.
2. Corrected "tab/space" Error Dialog to show correct menu for Untabify.
Patch 1196980 Jeff Shute
M EditorWindow.py
M NEWS.txt
M ScriptBinding.py
2005-06-12 05:19:23 +00:00
Kurt B. Kaiser
df506ea98b
1. Patch 1196895 Jeff Shute:
...
New files are colorized by default, and colorizing is removed when
saving as non-Python files. Patch 1196895 Jeff Shute
Closes Python Bugs 775012 and 800432, partial fix IDLEfork 763524
2. Update help.txt for left/right word delete
M CREDITS.txt
M ColorDelegator.py
M EditorWindow.py
M NEWS.txt
M help.txt
2005-06-12 04:33:30 +00:00
Kurt B. Kaiser
935ea9a0b2
Improve subprocess link error notification
...
M NEWS.txt
M PyShell.py
M rpc.py
2005-05-10 03:44:24 +00:00
Kurt B. Kaiser
20345fb8aa
Use Queue's blocking feature instead of sleeping in the main
...
loop. Patch # 1190163 Michiel de Hoon
2005-05-05 23:29:54 +00:00
Kurt B. Kaiser
0676dfdce0
Add config-main.def option to make the 'history' feature non-cyclic.
...
Default remains cyclic. Python Patch 914546 Noam Raphael.
M IdleHistory.py
M NEWS.txt
M config-main.def
2005-02-03 01:37:14 +00:00
Kurt B. Kaiser
acdef858a5
Removed ability to configure tabs indent from Options dialog. This 'feature'
...
has never worked and no one has complained. It is still possible to set a
default tabs (v. spaces) indent 'manually' via config-main.def (or to turn on
tabs for the current EditorWindow via the Format menu) but IDLE will encourage
indentation via spaces.
Enable setting the indentation width using the Options dialog.
Bug # 783877
Remove some commented out old code from configDialog.py (related to old
methods for invoking the HelpBrowser).
M EditorWindow.py
M NEWS.txt
M configHandler.py
2005-01-31 03:34:26 +00:00
Kurt B. Kaiser
3069dbb8ec
Add keybindings for del-word-left and del-word-right.
...
M EditorWindow.py
M NEWS.txt
M config-keys.def
M configHandler.py
2005-01-28 00:16:16 +00:00
Kurt B. Kaiser
6af4498602
1. Polish tabbing code.
...
2. Restore use of set_indentation_params(), was dead code since
Autoindent.py was merged into EditorWindow.py.
3. Make usetabs, indentwidth, tabwidth, context_use_ps1 instance vars
and set in EditorWindow.__init__()
4. In PyShell.__init__() set usetabs, indentwidth and context_use_ps1
explicitly (config() is eliminated).
5. Add Tabnanny check when Module is Run/F5, not just when Checked.
6. Discourage using an indent width other than 8 when using tabs to
indent Python code.
M EditorWindow.py
M NEWS.txt
M PyShell.py
M ScriptBinding.py
2005-01-19 00:22:59 +00:00
Kurt B. Kaiser
b00e89faab
If an extension can't be loaded, print warning and skip it instead of
...
erroring out.
2005-01-18 00:54:58 +00:00
Tim Peters
608c2fff69
Whitespace normalization.
2005-01-13 17:37:38 +00:00
Kurt B. Kaiser
1b6f398c98
Improve error handling when .idlerc can't be created.
2005-01-11 19:29:39 +00:00
Kurt B. Kaiser
e852c194e3
Improve error message if rpc'l localcall() fails with unexpected
...
exception.
2004-12-23 04:39:55 +00:00