Commit graph

1732 commits

Author SHA1 Message Date
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
Georg Brandl
6464d47195 In followup to #1310: Remove more exception indexing. 2007-10-22 16:16:13 +00:00
Kurt B. Kaiser
cdadf242ba Finish bug fix applied at 58398. I missed a piece, Tal Einat found the error. 2007-10-15 02:40:08 +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
8d5c8b525e the default class attr is needed! 2007-10-10 00:36:38 +00:00
Kurt B. Kaiser
3e623ba3ec Windows EOL sequence not converted correctly, encoding error.
Caused file save to fail. Bug 1130.

M    idlelib/IOBinding.py
M    idlelib/NEWS.txt
2007-10-09 23:12:31 +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
Kurt B. Kaiser
44fa8f650f Make IDLE's file decode more robust.
1. coding_spec() only looks at first two lines of bytes to avoid
   a UnicodeDecodeError if rest of file is e.g. latin-1
2. coding_spec() handles \n or \r
3. Clarify that locale_encoding is used by calling it that.  However, it's
   still called IOBinding.encoding in other parts of IDLE and that usage
   needs to be checked to verify that's still what is desired.
4. Return None from _decode() if decoding fails.
5. Name the vars representing bytes and strings or chars appropriately.
2007-09-07 05:06:21 +00:00
Kurt B. Kaiser
105f60ee62 1. Fail gracefully if the file fails to decode when loaded.
2. If the load fails, close the half-built edit window.
3. Don't reopen the file to check the shebang.
4. Clarify that we're setting tabs in Tk.

M    EditorWindow.py
M    FileList.py
2007-09-06 04:03:04 +00:00
Kurt B. Kaiser
1963ad3126 Saving a file containing unicode failed. 2007-09-01 19:47:39 +00:00
Kurt B. Kaiser
804252b3d9 Eliminate latin-1 encoding 2007-08-31 21:42:36 +00:00
Kurt B. Kaiser
d953f6e2c7 Point IDLE menu Help / Python Docs at Python 3000 version 2007-08-31 21:40:34 +00:00
Kurt B. Kaiser
610cee3e86 Convert IDLE's CREDITS file to unicode. 2007-08-31 18:37:07 +00:00
Guido van Rossum
27b02407b7 Updated tracker link. 2007-08-31 17:25:37 +00:00
Kurt B. Kaiser
7cec252b9d 1. Don't encode input strings to bytes.
2. Re-enable stderr redirection.
2007-08-31 04:15:13 +00:00
Kurt B. Kaiser
bc3b345f82 IDLE's py3k NEWS 2007-08-30 22:16:49 +00:00
Kurt B. Kaiser
623d372147 Don't ascii encode eol_convention. Was causing file write to fail. 2007-08-30 21:00:19 +00:00
Kurt B. Kaiser
5495957b6c Bump IDLE version. 2007-08-30 20:51:49 +00:00
Kurt B. Kaiser
152b3c2170 Use inspect.py and clean up. 2007-08-30 06:35:15 +00:00
Kurt B. Kaiser
cf3c4217c7 1. Debugger was failing to start due to DictProxy limitations.
2. Fix some debug prints in RemoteDebugger.py - use py3k syntax.
2007-08-29 18:44:24 +00:00
Neal Norwitz
d082b6eaac os.getcwd() now returns a normal string (ie, unicode) 2007-08-26 23:37:53 +00:00
Kurt B. Kaiser
5b0fdc9d0a Fix another map(...) --> list(map...) 2007-08-26 04:18:40 +00:00
Kurt B. Kaiser
9a3b014f31 os.getcwd() is returning str8; sys.path items are str. 2007-08-23 06:17:40 +00:00
Kurt B. Kaiser
e071277939 Conform to py3k dict.{keys, items, values} with some advice from 2b3
M    idlelib/configHandler.py
M    idlelib/ColorDelegator.py
M    idlelib/Delegator.py
M    idlelib/ObjectBrowser.py
M    idlelib/PyShell.py
M    idlelib/Debugger.py
M    idlelib/configDialog.py
M    idlelib/StackViewer.py
M    idlelib/keybindingDialog.py
M    idlelib/tabpage.py
M    idlelib/EditorWindow.py
M    idlelib/WindowList.py
M    idlelib/RemoteDebugger.py
M    idlelib/dynOptionMenuWidget.py
2007-08-23 05:25:55 +00:00
Kurt B. Kaiser
ad66742e34 Fix raise with 2to3
M    idlelib/configHandler.py
M    idlelib/tabpage.py
M    idlelib/EditorWindow.py
M    idlelib/rpc.py
M    idlelib/IOBinding.py
M    idlelib/RemoteDebugger.py
M    idlelib/TreeWidget.py
2007-08-23 01:06:15 +00:00
Kurt B. Kaiser
2d7f6a079d Switch to absolute imports to support direct execution of modules. Many
IDLE modules have main() or test() functions which are essential for testing.


M    idlelib/AutoCompleteWindow.py
M    idlelib/UndoDelegator.py
M    idlelib/Bindings.py
M    idlelib/AutoComplete.py
M    idlelib/configHandler.py
M    idlelib/HyperParser.py
M    idlelib/ColorDelegator.py
M    idlelib/ObjectBrowser.py
M    idlelib/ZoomHeight.py
M    idlelib/PyShell.py
M    idlelib/ParenMatch.py
M    idlelib/Debugger.py
M    idlelib/configDialog.py
M    idlelib/StackViewer.py
M    idlelib/ReplaceDialog.py
M    idlelib/ScriptBinding.py
M    idlelib/GrepDialog.py
M    idlelib/EditorWindow.py
M    idlelib/FormatParagraph.py
M    idlelib/OutputWindow.py
M    idlelib/aboutDialog.py
M    idlelib/IdleHistory.py
M    idlelib/PathBrowser.py
M    idlelib/ClassBrowser.py
M    idlelib/CallTips.py
M    idlelib/FileList.py
M    idlelib/idle.py
M    idlelib/CodeContext.py
M    idlelib/SearchDialog.py
M    idlelib/RemoteObjectBrowser.py
M    idlelib/RemoteDebugger.py
M    idlelib/TreeWidget.py
M    idlelib/run.py
M    idlelib/Percolator.py
M    idlelib/macosxSupport.py
2007-08-22 23:01:33 +00:00
Kurt B. Kaiser
7a4dbaf837 Replace file() with open() 2007-08-22 21:34:28 +00:00
Kurt B. Kaiser
2d726df26e Use buffer of type 'bytes' to accumulate from socket. 2007-08-22 21:33:27 +00:00
Kurt B. Kaiser
4d9620a687 Fix bug introduced at r54854 to mass replace string fcns with methods :-) 2007-08-22 19:41:43 +00:00
Kurt B. Kaiser
ea03c11655 Fix some debugging print statements 2007-08-22 18:57:50 +00:00
Kurt B. Kaiser
bfc672b169 Remove some old comments adequately covered in the code. 2007-08-22 18:10:19 +00:00
Kurt B. Kaiser
3a4e24b999 1. Fix File Open: don't encode filename to UTF-8 bytes
2. Get test() code working.
2007-08-22 18:06:14 +00:00
Kurt B. Kaiser
003b09883e eliminate "from ... import *" in a function. 2007-08-21 19:54:18 +00:00
Guido van Rossum
4c269c5928 Fix two obvious 2.xisms. 2007-08-13 17:39:20 +00:00
Martin v. Löwis
4d9ed9fc33 Enable basic load/store again. 2007-08-13 13:30:04 +00:00
Martin v. Löwis
0f98d8f8ea Allow str8 in .write(). 2007-08-13 06:26:48 +00:00
Martin v. Löwis
98ff898c46 Expect that source strings are Unicode. 2007-08-13 06:03:15 +00:00
Martin v. Löwis
e83395ee79 Make assertion error be more verbose. 2007-08-13 06:02:38 +00:00
Martin v. Löwis
163b717cd3 Fix typo. 2007-08-13 06:02:09 +00:00
Martin v. Löwis
646049ec30 Don't try to convert str to Unicode anymore. 2007-08-12 07:06:14 +00:00
Kurt B. Kaiser
cbbe98f04f 1. Catch TypeError exception when writing to OutputWindow
2. PyShell: shell isn't working due to encoding issues.  Temporarily direct
   exceptions to the terminal.  Also, trap exceptions occurring during write()
   instead of passing.

Checking (2)  in temporarily to aid finding the encoding problem in
IOBinding.py
2007-08-12 01:52:35 +00:00