Commit Graph

1357 Commits

Author SHA1 Message Date
Terry Jan Reedy ec53111f76 Merge with 3.3 2013-08-04 15:39:32 -04:00
Larry Hastings 1f08c772f5 Bumped version to 3.4.0a1. 2013-08-03 12:58:12 -07:00
Terry Jan Reedy 5bcbdf1548 Merge with 3.3 2013-07-30 01:37:28 -04:00
Terry Jan Reedy 4bd31292c2 Make all idle test case names end with 'Test'. 2013-07-30 01:36:48 -04:00
Terry Jan Reedy 7e6cd2999a Merge with 3.3 2013-07-28 16:40:07 -04:00
Terry Jan Reedy 015b4535c5 Update gui section of idle test README. 2013-07-28 16:39:44 -04:00
Terry Jan Reedy a315a97505 Merge with 3.3 2013-07-28 16:25:52 -04:00
Terry Jan Reedy a9d16c85d7 Issue #18441: Remove check from test_text.py in 3.3,4 (already done in 2.7). 2013-07-28 16:25:16 -04:00
Ned Deily 237e8f5394 Issue #17532: merge from 3.3 2013-07-20 15:08:22 -07:00
Ned Deily 8e8b9ba753 Issue #17532: Prevent exception when changing key sets if Options menu is empty. 2013-07-20 15:06:26 -07:00
Terry Jan Reedy ae13ff1c5f Merge with 3.3 2013-07-13 04:06:03 -04:00
Terry Jan Reedy e6a17862e7 Issue #18365: convert buildbot errors to skips. 2013-07-13 04:05:42 -04:00
Terry Jan Reedy 371f746bdc Merge with 3.3 2013-07-13 02:35:07 -04:00
Terry Jan Reedy 4f133e2e98 Issue #18279: Add tests for idlelib/RstripExtension.py. Original patch by
Phil Webster. With that available, modify RstripExtension.py to stop deleting
null slices, which caused a file to be marked as changed when it was not.
2013-07-13 02:34:43 -04:00
Terry Jan Reedy 4064b2448c Merge with 3.3 2013-07-12 20:17:00 -04:00
Terry Jan Reedy 04ff0382b2 Issue #18365: normalize whitespace 2013-07-12 20:16:28 -04:00
Terry Jan Reedy 0c92553d85 Merge with 3.3 2013-07-12 20:10:48 -04:00
Terry Jan Reedy 21784da416 Issue #18365: Add mock Text class and test thereof versus tk.Text.
Based on patches by Todd.Rovito and Phil Webster.
2013-07-12 20:10:23 -04:00
Terry Jan Reedy ec4bdac8dd (merge) Issue #7136: In the Idle File menu, "New Window" is renamed "New File".
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:52:18 -04:00
Terry Jan Reedy 8a0b7756e2 Issue #7136: In the Idle File menu, "New Window" is renamed "New File".
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:42:52 -04:00
Terry Jan Reedy 7afadc856b Merge with 3.3 2013-06-30 18:37:51 -04:00
Terry Jan Reedy acd5f81149 Issue #18189: add test_delegator for Idle Delegator class.
Also change private dict used as a set to a set.
2013-06-30 18:37:05 -04:00
Terry Jan Reedy 14c4799581 Merge with 3.3 2013-06-30 16:52:40 -04:00
Terry Jan Reedy 56fe854a77 Issue 18189: remove unused methods in idlelib.Delegator.Delegator.
Idle code already uses x.delegate instead of x.getdelegate().
The printed report must have been for testing.
2013-06-30 16:52:19 -04:00
Terry Jan Reedy 06beaba785 Merge with 3.3 2013-06-29 18:22:25 -04:00
Terry Jan Reedy e4e530e7e8 Issue #18103: Update README.txt and test_idle to describe and run gui tests. 2013-06-29 18:22:02 -04:00
Terry Jan Reedy a92bfa457c Merge with 3.3 2013-06-28 23:52:05 -04:00
Terry Jan Reedy 95a3f11f95 Issue *18081, #18242: Change Idle warnings capture in PyShell and run to stop
replacing warnings.formatwarnings and to reverse replacement of
warnings.showwarnings when import is complete and when main function exits.
Add test_warning.py. Vinay Sajip provided capture_warnings function.
2013-06-28 23:50:12 -04:00
Terry Jan Reedy 912bad7cd7 Issue #18081: Back out temporary changeset, 2a9e1eb3719c, to merge new patch.
If buildbots run before next push, test_logging will (temporarily) fail.
2013-06-28 23:47:40 -04:00
Victor Stinner b28a375f2f Issue #18081: Workaround "./python -m test_idle test_logging" failure
"import idlelib" should not install hooks on the warning modules, hooks should
only be installed when IDLE is started.
2013-06-25 00:17:37 +02:00
Terry Jan Reedy b54b0ca02a #18151 Merge from 3.3 2013-06-22 18:37:34 -04:00
Terry Jan Reedy de3beb2617 #18151, part 2: Silence debug build resource warning for each file opened by
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.
2013-06-22 18:26:51 -04:00
Brett Cannon cc39b1ed1d merge w/ 3.3 2013-06-15 13:37:38 -04:00
Brett Cannon 27bbfdbc4c Drop some dead imports of imp 2013-06-15 13:37:12 -04:00
Roger Serwy 6d844c5db9 #18196: merge with 3.3 2013-06-11 22:25:34 -05:00
Roger Serwy f467521927 #18196: Avoid displaying spurious SystemExit tracebacks. 2013-06-11 22:25:14 -05:00
Roger Serwy c2efeb61b9 #5492: merge with 3.3 2013-06-11 22:13:51 -05:00
Roger Serwy 036e84924a #5492: Avoid traceback when exiting IDLE caused by a race condition. 2013-06-11 22:13:17 -05:00
Roger Serwy 30b4131b41 #17511: merge with 3.3. 2013-06-10 23:02:56 -05:00
Roger Serwy 391f469681 #17511: Keep IDLE find dialog open after clicking "Find Next".
Original patch by Sarah K.
2013-06-10 23:01:20 -05:00
Terry Jan Reedy ba6c0d3b08 #18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch
changing IOError to OSError (#16715).
2013-06-08 00:22:45 -04:00
Brett Cannon abb18af38f merge w/ 3.3 for issue #18055 2013-06-07 13:18:36 -04:00
Brett Cannon 50793b4438 Issue #18055: Move to importlib from imp for IDLE. 2013-06-07 13:17:48 -04:00
Terry Jan Reedy 448f1a86ef Merge with 3.3 2013-06-05 14:36:50 -04:00
Terry Jan Reedy b101435afa Issue 18130: delete extra spaces 2013-06-05 14:36:33 -04:00
Terry Jan Reedy a55d703e1e Merge with 3.3 2013-06-05 14:23:53 -04:00
Terry Jan Reedy 247bd5ea30 Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.
2013-06-05 14:22:26 -04:00
Terry Jan Reedy eb4c9c77b8 Issue #15392: Do not run tests if threading/_thread not available. Otherwise
touchup test_idle. Rename README.txt.
2013-05-28 22:21:53 -04:00
Terry Jan Reedy db4e5c53c9 Issue #15392: Create a unittest framework for IDLE.
Preliminary patch by Rajagopalasarma Jayakrishnan.
2013-05-27 21:32:03 -04:00
Ned Deily 7f0882c920 Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.
2013-05-22 15:19:40 -07:00
Roger Serwy caf3024fa6 #14146: Highlight source line while debugging on Windows. 2013-05-20 22:13:39 -05:00
Terry Jan Reedy 7b503965a0 Merge with 3.3 2013-05-28 22:22:14 -04:00
Terry Jan Reedy 667a03b292 Merge with 3.3 2013-05-27 21:33:40 -04:00
Ned Deily 6a00b6f4fd Issue #17532: merge 2013-05-22 15:24:44 -07:00
Roger Serwy 87ff387254 #14146: merge with 3.3. 2013-05-20 22:16:53 -05:00
Terry Jan Reedy 6599d0da7d Merge with 3.3 2013-05-13 16:09:47 -04:00
Terry Jan Reedy bf4cba7e8b Silence unclosed open file ResourceWarning. 2013-05-13 16:07:44 -04:00
Terry Jan Reedy 9c60f66dc2 Complete 2 to 3 conversion 2013-05-13 15:44:30 -04:00
Terry Jan Reedy 01180d4679 Complete 2 to 3 conversion 2013-05-13 15:39:24 -04:00
Georg Brandl 88f4dd6451 bump to 3.3.2 2013-05-12 12:51:38 +02:00
Georg Brandl 831ae8454d merge heads 2013-05-12 11:24:47 +02:00
Georg Brandl fbb9152f92 Issue #17838: merge with 3.3 2013-05-12 11:21:27 +02:00
Benjamin Peterson 0d4931eb9e prevent IDLE from trying to close when sys.stdin is reassigned (#17838) 2013-05-11 22:24:28 -05:00
Roger Serwy 53683f6f4b #13495: merge with 3.3. 2013-05-05 22:16:03 -05:00
Roger Serwy 9bc7b793ea #13495: Avoid loading the color delegator twice in IDLE. 2013-05-05 22:15:44 -05:00
Roger Serwy 2faf9b0869 #17798: merge with 3.3. 2013-05-05 11:35:15 -05:00
Roger Serwy 5b1ab24751 #17798: Allow IDLE to edit new files when specified on command line. 2013-05-05 11:34:21 -05:00
Roger Serwy 22b9e651c2 #14735: merge with 3.3. 2013-04-17 00:27:31 -05:00
Roger Serwy 643ea53c14 #14735: Update IDLE docs to omit "Control-z on Windows". 2013-04-17 00:22:50 -05:00
R David Murray a707f299cb #17719: fix incorrect version number in deprecation doc.
Patch by Kent Johnson.
2013-04-13 15:29:22 -04:00
Roger Serwy 663a390454 #17585: merge with 3.3. 2013-04-11 19:18:22 -05:00
Roger Serwy 1eafd1076e #17585: Fixed IDLE regression. Now closes when using exit() or quit(). 2013-04-11 19:16:44 -05:00
Roger Serwy cb31d1fe1b #17657: merge with 3.3. 2013-04-08 20:59:11 -05:00
Roger Serwy 0803a39561 #17657: Show full Tk version in IDLE's about dialog.
Patch by Todd Rovito.
2013-04-08 20:57:13 -05:00
Roger Serwy d673ed9b43 #17613: merge with 3.3. 2013-04-07 12:42:13 -05:00
Roger Serwy 7733be8f26 #17613: Prevent traceback when removing syntax colorizer in IDLE. 2013-04-07 12:41:16 -05:00
Roger Serwy 4687cf795c #1207589: merge with 3.3. 2013-04-07 12:17:17 -05:00
Roger Serwy 6b2918ae75 #1207589: Backwards-compatibility patch for right-click menu in IDLE. 2013-04-07 12:15:52 -05:00
Roger Serwy cdbb06c15c #16887: merge with 3.3. 2013-04-06 20:31:26 -05:00
Roger Serwy 0ef392cde7 #16887: IDLE now accepts Cancel in tabify/untabify dialog box. 2013-04-06 20:26:53 -05:00
Georg Brandl 98297f4807 merge with 3.3 2013-04-06 16:47:34 +02:00
Georg Brandl cca5548159 merge with 3.3.1 release clone 2013-04-06 16:42:43 +02:00
Georg Brandl 2fd4abe6a1 merge with 3.2 branch 2013-04-06 16:39:49 +02:00
Georg Brandl 9aa23c5671 Bump to 3.3.1. 2013-04-06 09:40:02 +02:00
Georg Brandl 8bc7e31529 Bump to 3.2.4. 2013-04-06 09:36:20 +02:00
Benjamin Peterson 4d34bae217 merge 3.3 (#17625) 2013-04-03 22:38:00 -04:00
Benjamin Peterson 38546ee51c close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Benjamin Peterson 7684fa8a38 close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Benjamin Peterson cf658c2833 close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Roger Serwy 1be94cea0f #14254: merge with 3.3. 2013-04-03 00:43:31 -05:00
Roger Serwy 6b7a5ae2c1 #14254: IDLE now handles readline correctly across shell restarts. 2013-04-03 00:42:24 -05:00
Roger Serwy a64a084670 #17614: merge with 3.3. 2013-04-02 22:40:39 -05:00
Roger Serwy 0d28a61d23 #17614: IDLE no longer raises exception when quickly closing a file. 2013-04-02 22:39:39 -05:00
Roger Serwy d7c9d9cdcd #17614: IDLE no longer raises exception when quickly closing a file. 2013-04-02 22:37:12 -05:00
Roger Serwy af504ca017 #6698: merge with 3.3. 2013-03-31 23:31:32 -05:00
Roger Serwy 34d0c66ef2 #6698: IDLE now opens just an editor window when configured to do so. 2013-03-31 23:28:55 -05:00
Roger Serwy c35151cf41 #6698: IDLE now opens just an editor window when configured to do so. 2013-03-31 23:28:55 -05:00
Roger Serwy 6d5bfad545 #8900: merge with 3.3. 2013-03-31 15:56:02 -05:00
Roger Serwy cadd7864d8 #8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception. 2013-03-31 15:53:08 -05:00
Roger Serwy 420e2d8e39 #8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception. 2013-03-31 15:53:08 -05:00
Roger Serwy 3aaf5dab8a #6649: merge with 3.3. 2013-03-31 01:11:26 -05:00
Roger Serwy 71c9e1a5c3 #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. 2013-03-31 01:00:15 -05:00
Roger Serwy 6e4e4abf16 #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. 2013-03-31 00:57:16 -05:00
Terry Jan Reedy d676a3a221 Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett. 2013-03-30 18:50:43 -04:00
Terry Jan Reedy 42a83201a0 Merge from 3.3: Issue #17390 2013-03-30 18:39:14 -04:00
Terry Jan Reedy 32622236d5 Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett. 2013-03-30 18:32:19 -04:00
Benjamin Peterson a1f6fab464 version to 2.7.4rc1 2013-03-23 10:17:29 -05:00
Georg Brandl d08d0b1c69 Bump to 3.3.1rc1. 2013-03-23 16:05:12 +01:00
Georg Brandl b673d99698 Bump to 3.2.4rc1. 2013-03-23 16:02:08 +01:00
Terry Jan Reedy 16b5c13668 Merge 3.3, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:59:07 -04:00
Terry Jan Reedy 98472b8396 Merge 3.2, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:58:27 -04:00
Terry Jan Reedy c30b7b16ea Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:57:08 -04:00
Terry Jan Reedy a70f60acf3 Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:56:17 -04:00
Raymond Hettinger 4234992c75 Keep IDLE from displaying spurious SystemExit tracebacks
when running scripts that terminated by raising SystemExit
(i.e. unittest and turtledemo).
2013-02-09 14:20:55 -05:00
Serhiy Storchaka d971793d15 Issue #17114: IDLE now uses non-strict config parser. 2013-02-07 15:25:33 +02:00
Serhiy Storchaka 705ef7a03d Issue #17114: IDLE now uses non-strict config parser. 2013-02-07 15:25:09 +02:00
Serhiy Storchaka 8995300298 Issue #17114: IDLE now uses non-strict config parser. 2013-02-07 15:24:36 +02:00
Serhiy Storchaka 4c9bae3d31 Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:35:28 +02:00
Serhiy Storchaka b1b3c0dfef Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:34:21 +02:00
Serhiy Storchaka 39e70a4e83 Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:30:58 +02:00
Andrew Svetlov 1bd7f02c81 Issue #5066: Update IDLE docs
Patch by Todd Rovito
2013-01-14 19:27:36 +02:00
Serhiy Storchaka 52f80a7041 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:17:24 +02:00
Serhiy Storchaka 69db587f86 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:16:18 +02:00
Serhiy Storchaka 74fe9f307d Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:13:24 +02:00
Serhiy Storchaka df558cb3b1 Issue #16491: IDLE now prints chained exception tracebacks. 2013-01-09 12:26:54 +02:00
Serhiy Storchaka 7131749959 Issue #16491: IDLE now prints chained exception tracebacks. 2013-01-09 12:24:48 +02:00
Serhiy Storchaka 78470b4c3a Issue #16491: IDLE now prints chained exception tracebacks. 2013-01-09 12:21:57 +02:00
Serhiy Storchaka a97274cbcf Issue #16819: IDLE method completion now correctly works for bytes literals. 2013-01-01 22:33:19 +02:00
Serhiy Storchaka eb6aa5c525 Issue #16819: IDLE method completion now correctly works for bytes literals. 2013-01-01 22:32:42 +02:00
Serhiy Storchaka 8c126d7abd Issue #16819: IDLE method completion now correctly works for bytes literals. 2013-01-01 22:25:59 +02:00
Serhiy Storchaka ffa1795461 Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
2012-12-27 21:54:19 +02:00
Serhiy Storchaka 64df4a1c45 Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
2012-12-27 21:53:06 +02:00
Serhiy Storchaka 07e0e06f8a Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
2012-12-27 21:38:04 +02:00
Andrew Svetlov f7a17b48d7 Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
Andrew Svetlov 6a7a49c631 Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:17:11 +02:00
Andrew Svetlov 7174f0883c Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:16:47 +02:00
Andrew Svetlov 8a495a48a5 Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:15:43 +02:00
Andrew Svetlov 2606a6f197 Issue #16719: Get rid of WindowsError. Use OSError instead
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Andrew Svetlov 0832af6628 Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
Andrew Svetlov 786fbd8db7 Replace os.error with OSError in tkinter and IDLE 2012-12-17 19:51:15 +02:00
Chris Jerdonek e53e44f3bb Issue #16629: Merge IDLE test fix from 3.3. 2012-12-09 18:22:21 -08:00
Chris Jerdonek af72f9ea9c Issue #16629: Merge IDLE test fix from 3.2. 2012-12-09 18:19:54 -08:00
Chris Jerdonek 175196886e Issue #16629: Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.
This commit updates a test broken by the change made for issue #14783.
2012-12-09 18:17:27 -08:00
Andrew Svetlov d98ee9781b Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:44:45 +02:00
Andrew Svetlov e2af509829 Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:44:06 +02:00
Andrew Svetlov d183767ca4 Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:41:19 +02:00
Ned Deily a212114a96 Issue #15853: merge 3.3 -> default 2012-10-22 15:20:13 -07:00
Ned Deily b6d24d9746 Issue #15853: merge 3.2 -> 3.3 2012-10-22 15:18:46 -07:00
Ned Deily fdf0f274e6 Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
with certain versions of Tk 8.5.  Initial patch by Kevin Walzer.
2012-10-22 15:14:31 -07:00
Ned Deily 257c1323f7 Issue #10405: merge from 3.3 2012-10-20 13:28:16 -07:00