summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345)Terry Jan Reedy2018-07-201-2/+34
|
* bpo-33975: Avoid small type when running IDLE's htests. (GH-7944)Terry Jan Reedy2018-06-271-0/+1
| | | | | | | | | Import pyshell first in htest to call SetProcessDpiAwareness on Windows before tkinter.Tk() is called for the htest. Apparently, 'root.destroy()' undoes a previous 'root = Tk()'. Since IDLE unittests always destroy roots, a unittest before an htest does not require anything more to work right. Since part of the purpose of human-viewed tests is to determine that widgets look right, it is important that they look the same for testing as when running IDLE.
* bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920)Mark Roseman2018-06-261-2/+2
| | | These should have been included in PR 7836.
* bpo-33951: IDLE test_configdialog: call page.update in setUpClass (GH-7892)Tal Einat2018-06-241-0/+4
| | | | | | | This avoids a failure in at least one case when running only a single test method rather than all tests in the module. The issue came up when testing the following on Windows 10 Pro 64-bit: HighPageTest.test_highlight_target_text_mouse
* bpo-33950: Remove IDLE htest spec for a deleted file. (GH-7881)Terry Jan Reedy2018-06-231-10/+0
| | | | In configdialog, the custom tabbedpages widget was replaced by ttk.notebook several months ago.
* bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)Terry Jan Reedy2018-06-222-11/+22
| | | Increases coverage by 44%.
* bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)Terry Jan Reedy2018-06-216-9/+9
| | | | | Every other menudef key is the lowercase version of the corresponding main menu entry (in this case, 'Window').
* bpo-33906: Rename idlelib.windows as window (#7833)Terry Jan Reedy2018-06-217-22/+22
| | | | Match Window on the main menu and remove last plural module name. Change imports, test, and attribute references to match new name.
* bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830)Terry Jan Reedy2018-06-202-26/+38
| | | | The revised file compiles, runs, and tests OK. idle_test/README.txt explains how to use it to create new IDLE test files.
* bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip (GH-7811)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-203-5/+5
|
* bpo-33907: Rename an IDLE module and classes. (GH-7810)Terry Jan Reedy2018-06-203-8/+8
| | | | | Fix-up class name duplication in PR #7807. Combined effect is that module calltips and its class CallTips are now calltip and Calltip. In module calltip_w class CallTip is now CalltipWindow.
* bpo-33907: Rename an IDLE module and class. (GH-7807)Terry Jan Reedy2018-06-206-32/+32
| | | | Improve consistency and appearance. Module idlelib.calltips is now calltip. Class idlelib.calltip_w.CallTip is now Calltip.
* bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)Terry Jan Reedy2018-06-1936-95/+356
| | | | | Part 3 of 3, continuing PR #7689. This covers 14 idlelib modules and their tests, rpc to zoomheight except for run (already done) and tooltip (being done separately).
* bpo-33855: More edits and new minimal tests for IDLE (GH-7761)Terry Jan Reedy2018-06-1830-338/+483
| | | | Part 2 of 3. Continues PR #7689, changeset ee5ef30. Edit and add tests for 18 modules, help_about to replace and run.
* bpo-33856: Add "help" to the welcome message of IDLE (GH-7755)Stéphane Wirtel2018-06-161-1/+1
| | | Make it the same as when one runs 'python'.
* bpo-33855: Minimally test all IDLE modules. (GH-7689)Terry Jan Reedy2018-06-1533-106/+418
| | | | Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es). Add a test file for all non-startup IDLE modules. Edit existing files and update coverage. This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files.
* bpo-33656: Mention color in idlelib/NEWS.txt entry. (#7646)Terry Jan Reedy2018-06-111-4/+5
|
* bpo-33656: Add enum name for argument of Windows call. (GH-7642)Terry Jan Reedy2018-06-111-1/+4
| | | Change suggested by Eryk Sun in a comment on PR 7137 after it was merged.
* bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137)Terry Jan Reedy2018-06-113-3/+20
| | | | | | | | | | | | On Windows 8.1+ or 10, with DPI compatibility properties of the Python binary unchanged, and a monitor resolution greater than 96 DPI, this should make text and lines sharper. It should otherwise have no effect. Using a magnifier, I determined that the improvement comes from horizontal and lines being better lined up with the monitor pixels. I checked that this call causes no problem on any Windows buildbot, including the Win7 buildbots. Unlike most IDLE patches, this one can be easily reverted by users by removing a few lines, at the top of idlelib/pyshell.py.
* bpo-33610: Update IDLE Code Context doc entry (GH-7597)Terry Jan Reedy2018-06-101-202/+206
| | | Users can now click on context lines.
* Update idlelib/NEWS.txt to 2018 Jun 8 am. (GH-7517)Terry Jan Reedy2018-06-081-0/+27
|
* bpo-33768: IDLE: Clicking on code context line moves it to top of editor ↵Cheryl Sabella2018-06-082-0/+49
| | | | (GH-7411)
* bpo-33763: IDLE: Replace label widget with text widget in code context (GH-7367)Cheryl Sabella2018-06-042-52/+56
|
* bpo-33664: Scroll IDLE editor text by lines (GH-7351)Cheryl Sabella2018-06-041-2/+27
| | | | | | Previously, the mouse wheel and scrollbar slider moved text by a fixed number of pixels, resulting in partial lines at the top of the editor box. The change also applies to the shell and grep output windows, but not to read-only text views.
* bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199)Cheryl Sabella2018-06-025-35/+67
| | | | | | | | | | | | | The difference from before is that the settings are now on the Highlights tab instead of the Extensions tab and only change one theme at a time instead of all themes. The default for light themes is black on light gray, as before. The default for the IDLE Dark theme is white on dark gray, which better fits the dark theme. When one starts IDLE from a console and loads a custom theme without definitions for 'context', one will see a warning message on the console. To stop the warning, go to Options => Configure IDLE => Highlights, select the custom theme if not selected already, select 'Code Context', and select foreground and background colors.
* bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106)Cheryl Sabella2018-06-015-29/+31
| | | | | | | | | | Instead of displaying a fixed number of lines, some blank, Code Context now displays the variable number of actual context lines. When there are no context lines, it shows a single blank line to indicate that the feature is turned on. The Code Context configuration option is changed from 'numlines' (default 3) to 'maxlines' (default 15) to avoid possible interference between user settings for the old and new versions of Code Context.
* bpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests (GH-7085)Cheryl Sabella2018-05-243-59/+60
|
* bpo-30928: Update idlelib/NEWS.txt. (#6995)Terry Jan Reedy2018-05-201-0/+5
|
* bpo-32831: IDLE: Add docstrings and tests for codecontext (GH-5638)Cheryl Sabella2018-05-192-13/+397
|
* bpo-33564: Add async to IDLE's code context block openers. (GH-6960)Terry Jan Reedy2018-05-181-1/+1
|
* bpo-30928: Update idlelib/NEWS.txt to 2018-05-14. (#6873)Terry Jan Reedy2018-05-151-0/+21
|
* bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846)Terry Jan Reedy2018-05-151-3/+2
| | | | | Added to the eye-verified htest, not to the unittests. Also remove some stray leftover comments.
* bpo-21474: Update IDLE word/identifier definition from ascii to unicode. ↵Terry Jan Reedy2018-04-301-4/+4
| | | | | | | (GH-6643) In text and entry boxes, this affects selection by double-click, movement left/right by control-left/right, and deletion left/right by control-BACKSPACE/DEL.
* Spelling fixes to docs, docstrings, and comments (GH-6374)Ville Skyttä2018-04-201-1/+1
|
* bpo-33204: IDLE - revise and extend colorizer test. (GH-6347)Terry Jan Reedy2018-04-021-3/+6
| | | Followup to primary PR for the issue, GH-6344.
* bpo-33204: IDLE: consistently color invalid string prefixes (#6344)Terry Jan Reedy2018-04-021-4/+7
| | | | A 'u' string prefix cannot be paired with either 'r' or 'f'. Consistently color as much of the prefix, starting at the right, as is valid.
* Fix duplicating words words. (GH-6296)Serhiy Storchaka2018-03-282-2/+2
| | | Most of them have been added in 3.7.
* bpo-32984: IDLE - set __file__ for startup files (GH-5981)Terry Jan Reedy2018-03-051-0/+3
| | | | | | | | | Like Python, IDLE optionally runs one startup file in the Shell window before presenting the first interactive input prompt. For IDLE, option -s runs a file named in environmental variable IDLESTARTUP or PYTHONSTARTUP; -r file runs file. Python sets __file__ to the startup file name before running the file and unsets it before the first prompt. IDLE now does the same when run normally, without the -n option.
* bpo-32940: IDLE: Simplify StringTranslatePseudoMapping in pyparse (GH-5862)Cheryl Sabella2018-02-282-89/+31
| | | The new code also runs faster.
* bpo-30928: Update idlelib/NEWS.txt, possibly for 3.7.0b2 (GH-5932)Terry Jan Reedy2018-02-271-0/+16
|
* bpo-32916: IDLE: Change `str` to `code` in pyparse (GH-5830)Cheryl Sabella2018-02-244-102/+102
| | | Adjust tests and user modules to match.
* bpo-32905: IDLE - remove unused code in pyparse module (GH-5807)Terry Jan Reedy2018-02-222-50/+7
| | | dump is similar to print but less flexible. lastopenbracketpos is now always initialized in _study2, as was stmt_bracketing, so the class settings are not needed. get_last_open_bracket_pos is never called.
* bpo-32874: IDLE: add tests for pyparse (GH-5755)Cheryl Sabella2018-02-222-66/+618
| | | | There are no code changes other than comments and docstrings.
* bpo-32837: IDLE - require encoding argument for textview.view_file. (GH-5646)Terry Jan Reedy2018-02-122-4/+5
| | | | | Using the system and place-dependent default encoding for open() is a bad idea for IDLE's system and location-independent files.
* bpo-32826: Add "encoding=utf-8" to open() in idle_test/test_help_about. ↵Terry Jan Reedy2018-02-121-25/+27
| | | | | | | | (GH-5639) GUI test test_file_buttons() only looks at initial ascii-only lines, but failed on systems where open() defaults to 'ascii' because readline() internally reads and decodes far enough ahead to encounter a non-ascii character in CREDITS.txt.
* Add entry for uniform lower context; add 'since' to be explicit. (GH-5539)Terry Jan Reedy2018-02-051-4/+7
|
* bpo-32765: Update configdialog General tab create page docstring (GH-5529)Cheryl Sabella2018-02-041-0/+16
| | | Add new entries to the widget list.
* bpo-32746: Fix multiple typos (GH-5144)Leo Arias2018-02-041-2/+2
| | | Fix typos found by codespell in docs, docstrings, and comments.
* Fix idlelib comment typos reported by Mike on pull request 4803. (#4807)Terry Jan Reedy2017-12-123-3/+3
|
* Removed doubled 'bpo-'. (#4777)Terry Jan Reedy2017-12-101-1/+1
|