Commit Graph

1483 Commits

Author SHA1 Message Date
Terry Jan Reedy 24330ffb4d Merge with 3.4 2014-06-03 20:57:15 -04:00
Terry Jan Reedy e3fcfc240d Issue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster. 2014-06-03 20:54:21 -04:00
Zachary Ware e7e1375e57 Issue #18492: Merge with 3.4 2014-06-02 16:04:25 -05:00
Zachary Ware 66f2928479 Issue #18492: Allow all resources when tests are not run by regrtest.py.
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:29 -05:00
Terry Jan Reedy d3e50be6d0 Merge with 3.4 2014-06-01 00:30:55 -04:00
Terry Jan Reedy 078b8a81b1 Issue #21477: Update htest docstring and remove extraneous differences between
2.7 and 3.4. Original patch by Saimadhav Heblikar.
2014-06-01 00:30:34 -04:00
Terry Jan Reedy 679a2feb80 Merge with 3.4 2014-05-29 01:46:48 -04:00
Terry Jan Reedy 2e8234a597 Issue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
2014-05-29 01:46:26 -04:00
Terry Jan Reedy 1086fb0947 Merge with 3.4 2014-05-27 03:31:32 -04:00
Terry Jan Reedy 0a4d13e87e Issue #21477: Add htests for Search and Replace dialogs.
Patch by Saimadhav Heblikar.
2014-05-27 03:30:54 -04:00
Terry Jan Reedy c738874024 Merge with 3.4 2014-05-25 18:44:28 -04:00
Terry Jan Reedy a2fc99ecea Issue #21477: Idle htest: modify run; add more tests.
Patch by Saimadhav Heblikar. 2.7 version will follow.
2014-05-25 18:44:05 -04:00
Terry Jan Reedy e84d26c61b Merge with 3.4 2014-05-24 18:48:45 -04:00
Terry Jan Reedy 1b392ffe67 Issue #21477: Idle htest: merge and modify run and runall; add many tests.
Patch by Saimadhav Heblikar
2014-05-24 18:48:18 -04:00
Terry Jan Reedy 92ab9a183c Merge with 3.4 2014-05-19 22:55:59 -04:00
Terry Jan Reedy b7b56e9110 merge heads 2014-05-19 22:54:58 -04:00
Terry Jan Reedy ab4fd4448a Issue #21477: idle htests - lower case function names, other cleanups. 2014-05-19 00:12:10 -04:00
Larry Hastings 5c26a8afbb Version bump for 3.4.1. 2014-05-17 21:46:35 -07:00
Larry Hastings 3a260d228b Merge. 2014-05-17 21:05:10 -07:00
Terry Jan Reedy b96ebd4f9d Merge with 3.4 2014-05-15 20:50:30 -04:00
Terry Jan Reedy 6936159dcd Issue #18104: revise docstrings, remove obsolete comments. 2014-05-15 20:50:10 -04:00
Terry Jan Reedy d9ee1f50e5 Merge with 3.4 2014-05-11 23:35:35 -04:00
Terry Jan Reedy 8386fda154 whitespace 2014-05-11 23:35:09 -04:00
Terry Jan Reedy f80c0f6eac Merge with 3.4 2014-05-11 23:32:58 -04:00
Terry Jan Reedy 06313b79d5 Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest.  Running the module as __main__ runs all tests.
2014-05-11 23:32:32 -04:00
Larry Hastings 95e0b0d1d0 Version bump for 3.4.1rc1. 2014-05-04 05:06:24 -07:00
Terry Jan Reedy 29c47776dd Merge with 3.4 2014-04-22 01:27:06 -04:00
Terry Jan Reedy 9573638c2d Issue #21138: Change default reformat paragraph width to PEP 8's 72. 2014-04-22 01:26:41 -04:00
Terry Jan Reedy f16fa11d29 Merge with 3.4 2014-04-22 01:11:49 -04:00
Terry Jan Reedy d5d4c4eabe Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
reformat width in the configuration menu.
2014-04-22 01:11:03 -04:00
Ned Deily c318288f69 Issue #17654: merge from 3.4 2014-03-27 20:51:15 -07:00
Ned Deily b7601676b0 Issue #17654: Ensure IDLE menus are customized properly on OS X for
non-framework builds and for all variants of Tk.
2014-03-27 20:49:14 -07:00
Larry Hastings f5002bd6ac Version bump to 3.5, step 2. 2014-03-16 23:05:59 -07:00
Larry Hastings 3c5c56f3c0 Merged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1. 2014-03-16 22:54:05 -07:00
Larry Hastings cf1a3cd2c7 Release bump for 3.4.0 final. 2014-03-15 22:34:24 -07:00
Larry Hastings d5c59763ad Version bump for 3.4.0rc3. 2014-03-09 04:13:05 -07:00
Terry Jan Reedy 78c330d714 Merge with 3.3 2014-02-27 18:48:13 -05:00
Terry Jan Reedy 9db1ab8250 Issue #20567: Delete class attribute gui widgets in idle tests.
Code patch by Serhiy Storchaka
2014-02-27 18:47:49 -05:00
Terry Jan Reedy a9daee3eb0 Merge with 3.3 2014-02-23 00:37:46 -05:00
Terry Jan Reedy c3111fcbc7 Issue #20730: Fix typo reported by Claudiu Popa. 2014-02-23 00:37:16 -05:00
Ezio Melotti 48eabbeffd #20634: merge with 3.3. 2014-02-15 13:01:41 +02:00
Ezio Melotti f4e998364e #20634: fix typo in IDLE README noticed by Saimadhav Heblikar. 2014-02-15 13:01:08 +02:00
Larry Hastings 3f99504c08 Merge Python 3.4.0rc1 release branch. 2014-02-11 00:15:46 -08:00
Larry Hastings e9f73ac1fd Python 3.4.0rc1: Version bump. 2014-02-10 14:45:05 -08:00
Terry Jan Reedy b825a3937c Issue #20167: Add missing else: break in 3 places as noticed by Serhiy. 2014-02-10 16:46:28 -05:00
Georg Brandl d8413bab22 merge with 3.3 2014-02-10 22:11:21 +01:00
Georg Brandl f0560d9592 Fix trailing whitespace. 2014-02-10 22:05:16 +01:00
Georg Brandl 8f9c20b8ff merge with 3.3.4 releasing repo 2014-02-10 22:04:20 +01:00
Larry Hastings f34177a6f9 Version bump for Python 3.4.0rc2. 2014-02-23 02:18:24 -06:00
Georg Brandl b38b5c43c7 merge with 3.3 2014-02-10 22:11:21 +01:00
Terry Jan Reedy c03027054d Issue #20406: Use Python application icons for Idle window title bars.
Patch mostly by Serhiy Storchaka.
2014-02-08 09:05:20 -05:00
Terry Jan Reedy a7c07d320b Issue #20406: Use Python application icons for Idle window title bars.
Patch mostly by Serhiy Storchaka.
2014-02-08 09:02:26 -05:00
Terry Jan Reedy 57e4127781 Issue #20167: Suppress 3.4 specific 'Exception ignored' messages.
Original patch by Tal Einat.
2014-02-08 04:47:29 -05:00
Georg Brandl c81402527a Bump to 3.3.4 final 2014-02-09 08:43:05 +01:00
Terry Jan Reedy 2315779c5e Update the python.gif icon for the Idle classbrowser and pathbowser
from the old green snake to the new new blue and yellow snakes.
2014-02-01 23:14:59 -05:00
Terry Jan Reedy c8d9e0e932 Update the python.gif icon for the Idle classbrowser and pathbowser
from the old green snake to the new new blue and yellow snakes.
2014-02-01 23:08:33 -05:00
Terry Jan Reedy d67650e241 Merge with 3.3 2014-01-28 23:14:12 -05:00
Terry Jan Reedy 1e40295af6 Idlelib: forward port changes that silenced 2.7 -3 deprecation warnings and
which are at least as efficient. On Py3, unpacking exceptions never works.
2014-01-28 23:13:45 -05:00
Larry Hastings 581ee3618c Issue #20326: Argument Clinic now uses a simple, unique signature to
annotate text signatures in docstrings, resulting in fewer false
positives.  "self" parameters are also explicitly marked, allowing
inspect.Signature() to authoritatively detect (and skip) said parameters.

Issue #20326: Argument Clinic now generates separate checksums for the
input and output sections of the block, allowing external tools to verify
that the input has not changed (and thus the output is not out-of-date).
2014-01-28 05:00:08 -08:00
Larry Hastings 23105d8014 Merge. 2014-01-26 22:28:06 -08:00
Terry Jan Reedy 908669bdb3 Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:27:38 -05:00
Terry Jan Reedy 91d4278fba Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:24:26 -05:00
Terry Jan Reedy 0c5b5d4571 Merge with 3.3 2014-01-26 21:35:22 -05:00
Terry Jan Reedy 1b759bc49e Idlelib.calltips: add test of starred first parameters. They should not be
removed even for bound methods. (Inspect.signature does, see 20401.)
2014-01-26 21:34:33 -05:00
Terry Jan Reedy 76964877e3 White space and merge cleanup. 2014-01-26 20:24:35 -05:00
Terry Jan Reedy 0902ce437d Merge with 3.3 2014-01-26 20:17:48 -05:00
Terry Jan Reedy ddc5758885 Merge heads. 2014-01-26 20:16:53 -05:00
Terry Jan Reedy e2d9b39dd4 Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Original patch by Serhiy Storchaka.
2014-01-26 20:08:26 -05:00
Terry Jan Reedy a0f1e22068 Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Original patch by Serhiy Storchaka.
2014-01-26 19:55:34 -05:00
Larry Hastings 2d8e1e4f07 Version bump for 3.4.0b3. 2014-01-26 00:48:23 -08:00
Eric Snow 6029e08691 Issue 19944: Fix importlib.find_spec() so it imports parents as needed.
The function is also moved to importlib.util.
2014-01-25 15:32:46 -07:00
Georg Brandl 18f2ce9e7d Bump to 3.3.4rc1. 2014-01-25 09:19:50 +01:00
Georg Brandl 12e18c3d01 Update IDLE news from Misc/NEWS. 2014-01-25 09:19:36 +01:00
Larry Hastings 5c66189e88 Issue #20189: Four additional builtin types (PyTypeObject,
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
2014-01-24 06:17:25 -08:00
Terry Jan Reedy 8860443749 Merge with 3.3 2014-01-23 00:39:11 -05:00
Terry Jan Reedy 94338de49b Issue #17390: Add Python version to Idle editor window title bar.
Original patches by Edmond Burnett and Kent Johnson.
2014-01-23 00:36:46 -05:00
Terry Jan Reedy 45726d3011 Merge with 3.3 2014-01-21 21:13:25 -05:00
Terry Jan Reedy 0e3b0e397e Issue #20818: Remove code from idlelib.CallTipWindow.showtip that is now
completely redundant. After 16638 patch, CallTips.get_argspec trims over-long
signature strings as well as docstring lines.
2014-01-21 21:12:24 -05:00
Terry Jan Reedy 3f440de7d3 Merge with 3.3 2014-01-21 20:45:38 -05:00
Terry Jan Reedy d5710f8b36 Issue #16638: Include up to 5 docstring header lines (before first blank) in
Idle calltips. This is needed for builtins, such bytes (which is why 5).
Based on patch by Serhiy Storchaka.
2014-01-21 20:45:17 -05:00
Terry Jan Reedy 502d80f8b4 Merge with 3.3 2014-01-21 15:37:16 -05:00
Terry Jan Reedy 715476d8e3 Issue #16630: Make Idle calltips work even when __getattr__ raises.
Initial patch by Roger Serwy.
2014-01-21 15:36:51 -05:00
Terry Jan Reedy 781a5441ae Issue #16655: Explain why Idle's test_calltips has 'fragile' tests of builtins.
Pending Clinic/inspect changes will probably require change to this file.
2014-01-21 03:10:01 -05:00
Terry Jan Reedy eed1661b47 Issue #16655: Explain why Idle's test_calltips has 'fragile' tests of builtins. 2014-01-21 03:07:51 -05:00
Terry Jan Reedy 83b8105c64 Merge with 3.3 2014-01-21 00:26:49 -05:00
Terry Jan Reedy 681ede8b0a Issue #20122: Idlelib: Move tests in CallTips.py to test_calltips.py. 2014-01-21 00:26:21 -05:00
Serhiy Storchaka 7282ff6d5b Issue #18960: Fix bugs with Python source code encoding in the second line.
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.

* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.

* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.

* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.

* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.

* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
2014-01-09 18:41:59 +02:00
Serhiy Storchaka 768c16ce02 Issue #18960: Fix bugs with Python source code encoding in the second line.
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.

* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.

* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.

* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.

* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.

* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
2014-01-09 18:36:09 +02:00
Eric Snow 02b9f9d6bb Remove more usage of APIs deprecated by PEP 451. 2014-01-06 20:42:59 -07:00
Larry Hastings a6c55232ab Bump version number for 3.4.0b2. 2014-01-05 04:40:25 -08:00
Serhiy Storchaka a7a4b4916f Issue #20058: sys.stdin.readline() in IDLE now always returns only one line. 2013-12-25 14:27:16 +02:00
Serhiy Storchaka 0fd557647d Issue #20058: sys.stdin.readline() in IDLE now always returns only one line. 2013-12-25 14:24:35 +02:00
Ned Deily e72b90eb7a Issue #18270: merge from 3.3 2013-12-10 16:32:57 -08:00
Ned Deily f3c6589ea3 Issue #18270: Prevent possible IDLE AttributeError on OS X when no initial
shell window is present. (Original patch by Terry Reedy)
2013-12-10 16:24:01 -08:00
Serhiy Storchaka 0ed6c4ae62 Issue #19481: print() of string subclass instance in IDLE no more hangs. 2013-12-10 10:06:35 +02:00
Serhiy Storchaka 9df8a1c112 Issue #19481: print() of string subclass instance in IDLE no more hangs. 2013-12-10 10:05:19 +02:00
Larry Hastings 7e611dab4a Bump version number to 3.4.0b1. 2013-11-24 06:59:35 -08:00
Georg Brandl 9e2043a561 Bump to 3.3.3 final. 2013-11-17 07:58:22 +01:00
Georg Brandl 4cf9b2047d Bump to 3.3.3rc2. 2013-11-11 06:13:54 +01:00
Georg Brandl 2d34f41bee Bump to 3.3.3rc1. 2013-10-27 09:22:59 +01:00
Larry Hastings bd61c3ae1f Version bump for 3.4.0a4. 2013-10-20 02:01:29 -07:00
Larry Hastings 44719a7717 Version bump to 3.4.0a3. 2013-09-28 23:51:00 +01:00
Serhiy Storchaka 935349406a Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script
now detect Python source code encoding only in comment lines.
2013-09-16 23:57:00 +03:00
Serhiy Storchaka dafea85190 Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script
now detect Python source code encoding only in comment lines.
2013-09-16 23:51:56 +03:00
Serhiy Storchaka fa7d3b13a3 Issue #18988: The "Tab" key now works when a word is already autocompleted. 2013-09-11 22:48:52 +03:00
Serhiy Storchaka dd4754e6a8 Issue #18988: The "Tab" key now works when a word is already autocompleted. 2013-09-11 22:46:27 +03:00
Larry Hastings 3a2d18b7d7 Version number bump for Python 3.4.0a2. 2013-09-07 23:42:07 +12:00
Terry Jan Reedy 2e87c87933 Merge from 3.3 #18489 Search Engine tests 2013-08-31 16:28:53 -04:00
Terry Jan Reedy 31e4d325b6 Issue #18489: Add complete, gui-free tests for idlelib.SearchEngine.
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
2013-08-31 16:27:16 -04:00
Terry Jan Reedy 86d26238d3 Merge with 3.3 2013-08-19 01:05:41 -04:00
Terry Jan Reedy ca64d25dd2 Issue #18489: idlelib.SearchEngine - add docstrings
(original patch by Phil Webster).
2013-08-19 01:05:19 -04:00
Terry Jan Reedy 5b3d906741 Merge with 3.3 2013-08-18 18:27:27 -04:00
Terry Jan Reedy ba5d8f33ec Issue #18592: whitespace 2013-08-18 18:27:02 -04:00
Terry Jan Reedy 40fe3240c1 Merge with 3.3 2013-08-18 18:23:10 -04:00
Terry Jan Reedy c5507c0d76 Issue #18592: Add docstrings to file being tested (idlelib.SearchDialogBase.py). 2013-08-18 18:22:43 -04:00
Ezio Melotti e0c69161bc #18741: merge with 3.3. 2013-08-17 16:13:22 +03:00
Ezio Melotti b5bc353b88 #18741: fix more typos. Patch by Févry Thibault. 2013-08-17 16:11:40 +03:00
Terry Jan Reedy 0db895e752 Merge with 3.3 2013-08-15 16:19:33 -04:00
Terry Jan Reedy 29c3fc5d8f Issue #18732: Remove unused* parameter output_sep from IdleHistory.History
and paired splits and joins that do nothing when output_sep is its default \n.
*It in unused in that the class in only instantiated once, with the default.
Make a few other changes in .fetch and its test.
2013-08-15 16:19:13 -04:00
Terry Jan Reedy 102bdbcaa7 Merge with 3.3 2013-08-15 14:32:46 -04:00
Terry Jan Reedy c2564f9329 Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan. 2013-08-15 14:32:04 -04:00
Terry Jan Reedy b31e3f7fb8 Merge with 3.3 2013-08-13 19:51:29 -04:00
Terry Jan Reedy 0a01ac4300 Issue #18425: Add docstrings to IdleHistory.py. Remove redundant 'history_'
prefix from two attributes and two methods of History class.
2013-08-13 19:51:04 -04:00
Terry Jan Reedy 9559243fc8 Merge with 3.3 2013-08-10 16:57:02 -04:00
Terry Jan Reedy 7c64aad9fb Issue #18226: Add docstrings and unittests for idlelib/FormatParagraph.py.
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.
2013-08-10 16:56:28 -04:00
Terry Jan Reedy 95f34ab959 Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'. 2013-08-04 15:39:03 -04:00
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