summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38183: Test_idle ignores user config directory GH-16198)Terry Jan Reedy2019-09-161-7/+7
| | | | | It no longer tries to create or access .idlerc or any files within. Users must run IDLE to discover problems with saving settings.
* bpo-38041: Refine IDLE Shell restart lines. (GH-15709)Terry Jan Reedy2019-09-061-0/+22
| | | Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user.
* bpo-37902: IDLE: Add scrolling for IDLE browsers. (#15368)GeeTransit2019-09-052-1/+36
| | | | Modify the wheel event handler so it can also be used for module, path, and stack browsers. Patch by George Zhang.
* bpo-35771: IDLE: Fix flaky tool-tip hover delay tests (GH-15634)Tal Einat2019-09-031-44/+59
| | | | Extending the hover delay in test_tooltip should avoid spurious test_idle failures. One longer delay instead of two shorter delays results in a net speedup.
* bpo-37929: IDLE: avoid Squeezer-related config dialog crashes (GH-15452)Tal Einat2019-08-251-14/+3
| | | | | | | | | These were caused by keeping around a reference to the Squeezer instance and calling it's load_font() upon config changes, which sometimes happened even if the shell window no longer existed. This change completely removes that mechanism, instead having the editor window properly update its width attribute, which can then be used by Squeezer.
* bpo-36419: IDLE - Refactor autocompete and improve testing. (#15121)Terry Jan Reedy2019-08-041-99/+149
|
* bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103)Tal Einat2019-08-042-28/+37
| | | Convert mouse y to line number in the sidebar rather than the text.
* Fix idlelib typos discovered by min ho, pr 15018. (GH-15029)Terry Jan Reedy2019-07-301-2/+2
|
* bpo-37706: Disable 3 IDLE scrollbar tests on Mac. (#15010)Terry Jan Reedy2019-07-291-7/+29
| | | They pass with tk 8.5.9 (Azure) but fail with the 8.6.x we install.
* bpo-37628: Fix IDLE config sample sizes (#14958)Tal Einat2019-07-272-5/+57
| | | | The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box.
* bpo-17535: IDLE editor line numbers (GH-14030)Tal Einat2019-07-233-39/+403
|
* bpo-37627: Initialize IDLE Custom Run dialog with previous entries (#14870)Ngalim Siregar2019-07-211-4/+6
| | | Repeat the command line arguments most recently entered before so the user can edit them.
* bpo-33610: IDLE's code-context always shows current context immediately ↵Tal Einat2019-07-181-3/+14
| | | | | | | (GH-14821) Eliminate delay of up to 100ms and accompanying visual artifact. Fix bug of never showing context when hide and show.
* bpo-36390: Gather IDLE Format menu functions into format.py (#14827)Terry Jan Reedy2019-07-182-53/+46
| | | | | | Add two indent spec methods from editor and Rstrip to existing file. Tests are not added for indent methods because they need change in lights of 3.x's prohibition on mixing tabs and spaces.
* bpo-36390: IDLE: Combine region formatting methods. (GH-12481)Cheryl Sabella2019-07-171-20/+218
| | | | | Rename paragraph.py to format.py and add region formatting methods from editor.py. Add tests for the latter.
* bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675)Tal Einat2019-07-171-58/+86
| | | | | | | | | | | * Only create CodeContext instances for "real" editors windows, but not e.g. shell or output windows. * Remove configuration update Tk event fired every second, by having the editor window ask its code context widget to update when necessary, i.e. upon font or highlighting updates. * When code context isn't being shown, avoid having a Tk event fired every 100ms to check whether the code context needs to be updated. * Use the editor window's getlineno() method where applicable. * Update font of the code context widget before the main text widget
* bpo-27452: IDLE: Cleanup config.py code (GH-14577)Cheryl Sabella2019-07-161-13/+0
|
* bpo-36390: simplify classifyws(), rename it and add unit tests (GH-14500)Tal Einat2019-07-111-0/+61
|
* bpo-26806: IDLE should run without docstrings (#14657)Terry Jan Reedy2019-07-091-0/+8
| | | After fcf1d00, IDLE startup failed with python compiled without docstrings.
* bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)Tal Einat2019-07-061-0/+33
| | | | | | | | This is done to compensate for the extra stack frames added by IDLE itself, which cause problems when setting the recursion limit to low values. This wraps sys.setrecursionlimit() and sys.getrecursionlimit() as invisibly as possible.
* bpo-37325: Fix focus traversal for 2 IDLE dialogs (#14209)Terry Jan Reedy2019-06-181-2/+3
| | | Tab now moves focus across and down for Help Source and Custom Run.
* bpo-5680: IDLE: Customize running a module (GH-13763)Cheryl Sabella2019-06-182-27/+87
| | | The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu.
* bpo-37220: Fix 2.7 test -R crash on Windows. (GH-13957)Terry Jan Reedy2019-06-161-2/+2
| | | The patch needed for 2.7 should make the test more stable on 3.x also.
* IDLE: Standardize naming convention for DummyEditwin in tests (GH-13876)Cheryl Sabella2019-06-071-2/+2
| | | * Change from Dummy_Editwin to DummyEditwin to match other tests.
* bpo-37177: make IDLE's search dialogs transient (GH-13869)Tal Einat2019-06-071-5/+6
| | | This avoids the search dialogs being hidden behind the editor window.
* bpo-35763: Make IDLE calltip note about '/' less obtrusive (GH-13791)Terry Jan Reedy2019-06-051-57/+63
| | | Add it to the end of the first line if there is room. Tests were reworked.
* IDLE: Fix typos in docs and comments (GH-13749)Xtreak2019-06-033-3/+3
|
* bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307)Cheryl Sabella2019-06-023-5/+5
| | | | Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant.
* bpo-32411: IDLE: Remove line number sort in browser.py (#5011)Cheryl Sabella2019-06-011-14/+14
| | | Insertion in line order makes sorting keys by line order unneeded.
* IDLE - Capitalize search dialogs' 'Close' button label. (#13691)Terry Jan Reedy2019-05-311-1/+2
| | | | It seems to be the only widget label not capitalized.
* bpo-36766: Typos in docs and code comments (GH-13116)penguindustin2019-05-061-1/+1
|
* bpo-30348: IDLE: Add test_autocomplete unittest (GH-2209)Louie Lu2019-03-241-21/+119
|
* bpo-36405: IDLE - Restore __main__ and add tests (#12518)Terry Jan Reedy2019-03-241-3/+8
| | | | Fix error in commit 2b75155 noticed by Serhiy Storchaka.
* bpo-23205: IDLE: Add tests and refactor grep's findfiles (GH-12203)Cheryl Sabella2019-03-231-11/+81
| | | | | | | | | | | | | * Add tests for grep findfiles. * Move findfiles to module function. * Change findfiles to use os.walk. Based on a patch by Al Sweigart.
* bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491)Terry Jan Reedy2019-03-222-29/+20
| | | | This param was only used once and changed the return type.
* bpo-36096: IDLE: Refactor class variables in colorizer (GH-12002)Cheryl Sabella2019-02-271-10/+42
|
* bpo-35689: IDLE: Add docstrings and unittests for colorizer.py (GH-11472)Cheryl Sabella2019-02-191-10/+348
|
* bpo-35683: Improve Azure Pipelines steps (GH-11493)Steve Dower2019-01-221-0/+2
|
* bpo-35730: IDLE - test squeezer reload() by checking load_font() (GH-11585)Tal Einat2019-01-181-7/+3
|
* bpo-35730: Disable IDLE test_reload assertion. (GH-11543)Terry Jan Reedy2019-01-131-1/+3
| | | | IDLE's test_squeezer.SqueezerTest.test_reload, added for issue 35196, failed on both Gentoo buildbots.
* bpo-35196: Optimize Squeezer's write() interception (GH-10454)Tal Einat2019-01-131-177/+134
| | | | The new functionality of Squeezer.reload() is also tested, along with some general re-working of the tests in test_squeezer.py.
* bpo-35641: IDLE - format calltip properly when no docstring (GH-11415)Emmanuel Arias2019-01-031-0/+29
|
* bpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395)Terry Jan Reedy2019-01-031-3/+5
|
* bpo-35598: IDLE - Globalize some config_key objects (GH-11392)Cheryl Sabella2018-12-311-19/+22
| | | | | Move translate_key() and constant tuples to module level. Inline the remnant one-line function.
* bpo-35598: IDLE: Switch config_key dialog to ttk widgets (GH-11365)Cheryl Sabella2018-12-301-4/+4
|
* bpo-35598: IDLE: Increase test coverage for config_key.py (#11360)Cheryl Sabella2018-12-301-3/+192
|
* bpo-35598: IDLE: Update config_key.py with PEP8 names (GH-11330)Cheryl Sabella2018-12-282-26/+25
| | | A few other changes make the code easier to follow.
* bpo-35208: Fix IDLE Squeezer line counting (GH-10449)Tal Einat2018-12-241-0/+23
|
* bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214)Cheryl Sabella2018-12-221-0/+6
| | | | | | | | The Code Context menu label now toggles between Show/Hide Code Context. The Zoom Height menu now toggles between Zoom/Restore Height. Zoom Height has moved from the Window menu to the Options menu. https://bugs.python.org/issue22703
* bpo-35202: Remove more unused imports in idlelib (GH-10573)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-11-174-4/+3
|