Commit Graph

523 Commits

Author SHA1 Message Date
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