summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* bpo-30928: update idlelib/NEWS.txt. (#4706)Terry Jan Reedy2017-12-041-0/+7
|
* bpo-32207: Improve tk event exception tracebacks in IDLE. (#4703)Terry Jan Reedy2017-12-041-5/+9
| | | | | | | | When tk event handling is driven by IDLE's run loop, a confusing and distracting queue.EMPTY traceback context is no longer added to tk event exception tracebacks. The traceback is now the same as when event handling is driven by user code. Patch based on a suggestion by Serhiy Storchaka.
* bpo-30928: Update idlelib/NEWS.txt to 2017 Dec 3. (#4701)Terry Jan Reedy2017-12-041-0/+16
| | | Patches are in 3.7.0a3 even if this update is not.
* bpo-32164: Delete unused file idlelib/tabbedpages.py (#4628)Terry Jan Reedy2017-11-291-498/+0
|
* bpo-30781: Remove unused imports in idlelib.configdialog. (#4627)Terry Jan Reedy2017-11-291-4/+3
|
* bpo-32100: Delete unneeded import in idlelib.pathbrowser. (#4626)Terry Jan Reedy2017-11-291-1/+0
|
* bpo-32100: IDLE: Fix pathbrowser errors; improve tests. (#4484)Cheryl Sabella2017-11-235-27/+88
| | | Patch mostly by Cheryl Sabella
* Fix miscellaneous typos (#4275)luzpaz2017-11-054-5/+5
|
* IDLE -- Restrict shell prompt manipulaton to the shell. (#4143)Terry Jan Reedy2017-10-282-24/+15
| | | | | | Editor and output windows only see an empty last prompt line. This simplifies the code and fixes a minor bug when newline is inserted. Sys.ps1, if present, is read on Shell start-up, but is not set or changed.
* bpo-31860: Make the font sample in the IDLE font configuration dialog ↵Serhiy Storchaka2017-10-282-34/+43
| | | | | editable. (#4106) Changes persist while IDLE remains open
* bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. (#4025)Terry Jan Reedy2017-10-171-0/+39
|
* bpo-13802: Use non-Latin characters in IDLE's Font settings sample. (#3960)Terry Jan Reedy2017-10-171-19/+61
| | | | | | | | | | Even if one selects a font that defines a limited subset of the unicode Basic Multilingual Plane, tcl/tk will use other fonts that define a character. The expanded example give users of non-Latin characters a better idea of what they might see in the IDLE shell and editors. To make room for the expanded sample, frames on the Font tab are re-arranged. The Font/Tabs help explains a bit about the additions.