Terry Jan Reedy
96ce227067
bpo-39600: Adjust code, add idlelib/NEWS item (GH-18449)
...
Complete previous patch.
2020-02-10 20:08:58 -05:00
Zackery Spytz
bfdeaa37b3
bpo-38792: Remove IDLE shell calltip before new prompt. ( #17150 )
...
Previously, a calltip might be left after SyntaxError, KeyboardInterrupt, or Shell Restart.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Tal Einat <taleinat+github@gmail.com>
2020-01-30 20:55:42 -05:00
Cheryl Sabella
dd023ad161
bpo-30780: Add IDLE configdialog tests ( #3592 )
...
Expose dialog buttons to test code and complete their test coverage.
Complete test coverage for highlights and keys tabs.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-01-27 17:15:56 -05:00
Cheryl Sabella
d0d9fa8c5e
bpo-39388: IDLE: Fix bug when cancelling out of configdialog (GH-18068)
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-01-25 04:00:54 -05:00
Terry Jan Reedy
f9e07e116c
bpo-32989: IDLE - remove unneeded parameter (GH-18138)
...
IDLE does not pass a non-default _synchre in any of its calls to
pyparse.find_good_parse_start.
2020-01-22 23:55:07 -05:00
Zackery Spytz
2e43b64c94
bpo-39050: The Help button in IDLE's config menu works again (GH-17611)
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-01-22 22:54:30 -05:00
Cheryl Sabella
ec64640a2c
bpo-32989: IDLE - fix bad editor call of pyparse method (GH-5968)
...
Fix comments and add tests for editor newline_and_indent_event method.
Remove unused None default for function parameter of pyparse find_good_parse_start method
and code triggered by that default.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-01-21 05:11:26 -05:00
Gurupad Hegde
6c7bb38ff2
bpo-39136: Fixed typos (GH-17720)
...
funtion -> function; configuraton -> configuration; defintitions -> definitions;
focusses -> focuses; necesarily -> necessarily; follwing -> following;
Excape -> Escape,
2019-12-28 17:16:02 -05:00
JohnnyNajera
bbc4162baf
bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)
...
This has happened on some versions of Ubuntu.
2019-12-09 19:30:01 -05:00
JohnnyNajera
232689b40d
bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)
2019-12-09 18:22:16 -05:00
Terry Jan Reedy
6bf644ec82
bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366)
...
Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py.
2019-11-24 16:29:29 -05:00
Terry Jan Reedy
b8462477bf
bpo-38636: Fix IDLE tab toggle and file indent width (GH-17008)
...
These Format menu functions (default shortcuts Alt-T and Alt-U)
were mistakenly disabled in 3.7.5 and 3.8.0.
2019-11-20 01:18:39 -05:00
Zackery Spytz
9c2844927d
bpo-4630: Add cursor no-blink option for IDLE (GH-16960)
...
This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
2019-11-13 02:13:33 -05:00
Zackery Spytz
c8b53dc3d8
bpo-26353: IDLE adds an unneeded newline when saving a shell window (GH-17103)
2019-11-12 05:54:10 -05:00
Terry Jan Reedy
a8fb9327fb
bpo-37309: First idlelib/NEWS.txt for 3.9.0 (GH-16947)
2019-10-27 01:23:30 -04:00
Terry Jan Reedy
e31a79a5b4
bpo-34162: Last idlelib/NEWS.txt items for 3.8.0. (GH-16943)
2019-10-26 22:19:57 -04:00
Terry Jan Reedy
dfd34a9cd5
bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212)
...
One happens when EditorWindow.close is called twice.
Printing a traceback, when IDLE is run from a terminal,
is useless and annoying.
2019-09-17 02:05:04 -04:00
Terry Jan Reedy
c59295a1ca
bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818)
...
This only happened when initializing the subprocess to run a module.
This recent bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4.
2019-09-09 23:10:44 -04:00
Terry Jan Reedy
38da805d56
bpo-38041: Refine IDLE Shell restart lines. (GH-15709)
...
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.
2019-09-06 13:54:45 -04:00
GeeTransit
2cd9025858
bpo-37902: IDLE: Add scrolling for IDLE browsers. ( #15368 )
...
Modify the wheel event handler so it can also be used for module, path, and stack browsers.
Patch by George Zhang.
2019-09-04 21:33:33 -04:00
Tal Einat
132acaba5a
bpo-35771: IDLE: Fix flaky tool-tip hover delay tests (GH-15634)
...
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.
2019-09-03 01:17:00 -04:00
Terry Jan Reedy
1039f39c9c
bpo-37824: Properly handle user input warnings in IDLE shell. (GH-15500)
...
Cease turning SyntaxWarnings into SyntaxErrors.
2019-08-26 02:27:56 -04:00
Tal Einat
71662dc2f1
bpo-37849: IDLE: fix completion window positioning above line (GH-15267)
2019-08-14 13:06:06 -04:00
Terry Jan Reedy
14070299cd
bpo-37748: Re-order the Run menu. (GH-15115)
...
Put the most common choice, Run Module, at the top.
2019-08-04 16:45:15 -04:00
Terry Jan Reedy
fff5cb21ae
bpo-34162: Add missing items to idlelib/NEWS.txt. (GH-15034)
2019-07-31 00:58:45 -04:00
Terry Jan Reedy
0acb646b8e
Fix idlelib typos discovered by min ho, pr 15018. (GH-15029)
2019-07-30 18:14:58 -04:00
Terry Jan Reedy
f35c51d2ea
bpo-34162: Update idlelib/news.txt. ( #15011 )
2019-07-29 18:12:14 -04:00
Tal Einat
fcf1d003bf
bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)
...
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.
2019-07-06 15:35:24 +03:00
Terry Jan Reedy
54cf2e0780
bpo-37325: Fix focus traversal for 2 IDLE dialogs ( #14209 )
...
Tab now moves focus across and down for Help Source and Custom Run.
2019-06-18 17:08:24 -04:00
Terry Jan Reedy
8fac122109
bpo-37321: Edit IDLE subprocess connection error messages. ( #14170 )
...
Mainly, add a doc reference to message in pyshell.
2019-06-17 17:23:28 -04:00
Tal Einat
5bff3c86ab
bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678)
...
Measure required height by quickly maximizing once per screen.
A search for a better method failed.
2019-06-17 15:41:00 -04:00
Cheryl Sabella
6bdc4dee01
bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307)
...
Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant.
2019-06-02 14:56:47 -04:00
Cheryl Sabella
1a4d9ffa1a
bpo-32411: IDLE: Remove line number sort in browser.py ( #5011 )
...
Insertion in line order makes sorting keys by line order unneeded.
2019-06-01 17:03:22 -04:00
Terry Jan Reedy
81bb97df61
bpo-37038: Make idlelib.run runnable; add test clause (GH-13560)
2019-05-24 21:59:53 -04:00
Terry Jan Reedy
6d965b39b7
bpo-36958: In IDLE, print exit message (GH-13435)
...
Print any argument other than None or int passed to SystemExit
or sys.exit().
2019-05-19 22:52:22 -04:00
Terry Jan Reedy
6a258c8890
bpo-36429: Fix starting IDLE with pyshell ( #12548 )
...
Add idlelib.pyshell alias at top; remove pyshell alias at bottom.
Remove obsolete __name__=='__main__' command.
2019-03-26 19:58:19 -04:00
Terry Jan Reedy
0fe4513d9a
bpo-36405: IDLE - Restore __main__ and add tests ( #12518 )
...
Fix error in commit 2b75155
noticed by Serhiy Storchaka.
2019-03-24 17:12:28 -04:00
Terry Jan Reedy
2b75155590
bpo-36405: Use dict unpacking in idlelib ( #12507 )
...
Remove now unneeded imports.
2019-03-23 03:50:15 -04:00
Terry Jan Reedy
c1419578a1
bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491)
...
This param was only used once and changed the return type.
2019-03-22 18:23:41 -04:00
Terry Jan Reedy
491ef53c15
bpo-36176: Fix IDLE autocomplete & calltip popup colors. ( #12262 )
...
Prevent conflicts with Linux dark themes
(and slightly darken calltip background).
2019-03-10 20:18:40 -04:00
Terry Jan Reedy
8a1bab9291
bpo-34162: Add entries for idlelib/NEWS.txt ( #12232 )
2019-03-08 03:04:32 -05:00
Terry Jan Reedy
d610116a2e
bpo-24310: Document IDLE settings dialog font tab sample (GH-12007)
2019-02-23 23:04:53 -05:00
Cheryl Sabella
ee0f927bd8
bpo-35689: IDLE: Add docstrings and unittests for colorizer.py (GH-11472)
2019-02-19 00:11:18 -05:00
Terry Jan Reedy
8a03ff2ff4
bpo-35833: Revise IDLE doc for control codes sent to Shell. (GH-11799)
...
Add a code example block.
2019-02-08 22:51:51 -05:00
Terry Jan Reedy
39ed289a35
bpo-35770: IDLE macosx deletes Options => Configure IDLE. (GH-11614)
...
It previously deleted Window => Zoom Height by mistake.
(Zoom Height is now on the Options menu). On Mac, the settings
dialog is accessed via Preferences on the IDLE menu.
2019-01-18 14:00:45 -05:00
Terry Jan Reedy
a902239f22
bpo-35769: Change IDLE's name for new files from 'Untitled' to 'untitled' (GH-11602)
...
'Untitled' violates the PEP 8 standard for .py files
2019-01-18 02:09:53 -05:00
Terry Jan Reedy
56c16057c6
bpo-34161: Update idlelib/NEWS.txt to 2019 Jan 17 (GH-11597)
2019-01-17 18:44:13 -05:00
Tal Einat
39a33e9927
bpo-35196: Optimize Squeezer's write() interception (GH-10454)
...
The new functionality of Squeezer.reload() is also tested, along with some general
re-working of the tests in test_squeezer.py.
2019-01-13 17:01:50 +02:00
Tal Einat
44a79cc5b3
bpo-35208: Fix IDLE Squeezer line counting (GH-10449)
2018-12-24 14:05:51 +02:00
Cheryl Sabella
8874f511e7
bpo-35555: IDLE: Gray out Code Context menu item on non-editors ( #11282 )
...
The Code Context menu item only works on Editor windows so disable it for others.
2018-12-23 16:26:53 -05:00
Cheryl Sabella
c1b4b0f616
bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214)
...
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
2018-12-21 22:25:45 -08:00
Terry Jan Reedy
87ec1104b3
bpo-34162: Update idlelib/NEWS.txt to 2018-12-20. ( #11255 )
2018-12-20 01:07:10 -05:00
Tal Einat
9ebe8794f0
bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" ( #10464 )
...
* bpo-34864: warn if "Prefer tabs when opening documents" set to "Always"
* add NEWS entry
* address code review comments
* address second code review comments
* Add entry for idlelib/NEWS.txt.
2018-12-07 01:32:21 -05:00
Terry Jan Reedy
6ea9d54dea
bpo-34162: Update idlelib NEWS to 2018-12-05. (GH-10964)
2018-12-06 00:46:22 -05:00
Stéphane Wirtel
683281f536
bpo-34906: Doc: Fix typos (2) (GH-9735)
...
Fix typos
2018-10-06 16:35:53 +02:00
Terry Jan Reedy
22ef31d0b4
bpo-34162: idlelib/NEWS.txt entry for squeezer (GH-9573)
2018-09-25 13:41:25 -04:00
Terry Jan Reedy
16fba62314
bpo-34162: Update idlelib/NEWS.txt to 2018-9-24. (GH-9551)
2018-09-24 20:11:45 -04:00
Terry Jan Reedy
5a606674ed
bpo-34162: Add entry for idlelib/NEWS.txt already included for 3.6/3.7 (GH-9549)
2018-09-24 19:15:40 -04:00
Terry Jan Reedy
2c5c0a367c
bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345)
2018-07-20 02:14:56 -04:00
Terry Jan Reedy
4b704f29f5
bpo-33656: Mention color in idlelib/NEWS.txt entry. ( #7646 )
2018-06-11 16:53:41 -04:00
Terry Jan Reedy
800415e3df
bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137)
...
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.
2018-06-11 14:14:32 -04:00
Terry Jan Reedy
b1f690294d
Update idlelib/NEWS.txt to 2018 Jun 8 am. (GH-7517)
2018-06-08 02:28:45 -04:00
Cheryl Sabella
8506016f90
bpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests (GH-7085)
2018-05-23 22:18:15 -04:00
Terry Jan Reedy
6b0d09b8f0
bpo-30928: Update idlelib/NEWS.txt. ( #6995 )
2018-05-19 21:38:46 -04:00
Terry Jan Reedy
038b21f2ca
bpo-30928: Update idlelib/NEWS.txt to 2018-05-14. ( #6873 )
2018-05-15 17:41:57 -04:00
Ville Skyttä
61f82e0e33
Spelling fixes to docs, docstrings, and comments (GH-6374)
2018-04-20 16:08:45 -04:00
Terry Jan Reedy
0954c9e9c8
bpo-30928: Update idlelib/NEWS.txt, possibly for 3.7.0b2 (GH-5932)
2018-02-27 18:36:21 -05:00
Terry Jan Reedy
05e806767b
Add entry for uniform lower context; add 'since' to be explicit. (GH-5539)
2018-02-04 19:07:16 -05:00
Terry Jan Reedy
f658641a05
Removed doubled 'bpo-'. ( #4777 )
2017-12-10 04:02:53 -05:00
Terry Jan Reedy
2c0c68d927
bpo-30928: update idlelib/NEWS.txt. ( #4706 )
2017-12-04 17:04:15 -05:00
Terry Jan Reedy
21255fc393
bpo-30928: Update idlelib/NEWS.txt to 2017 Dec 3. ( #4701 )
...
Patches are in 3.7.0a3 even if this update is not.
2017-12-04 14:48:25 -05:00
luzpaz
a5293b4ff2
Fix miscellaneous typos ( #4275 )
2017-11-05 15:37:50 +02:00
Terry Jan Reedy
27288de085
bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. ( #4025 )
2017-10-17 19:02:49 -04:00
Terry Jan Reedy
55679e0ec7
bpo-30928: Update idlelib/NEWS.txt to 2017 Sep 17. ( #3635 )
2017-09-17 20:14:21 -04:00
Terry Jan Reedy
8239fd7046
bpo-30928: Update idlelib/NEWS.txt to 2017-09-11. ( #3503 )
2017-09-11 16:43:26 -04:00
Terry Jan Reedy
7f066844a7
bpo-30928: Update idlelib/NEWS.txt to 2017-08-15. ( #3098 )
2017-08-15 19:15:04 -04:00
Terry Jan Reedy
c3aa47f655
bpo-30928: Update IDLE News.txt. ( #2948 )
2017-07-30 06:25:22 -04:00
terryjreedy
0d0a32fb91
Update idlelib/NEWS.txt. ( #2703 )
2017-07-14 00:14:10 -04:00
terryjreedy
1ccbad9c95
Update idlelib/NEWS.txt with merges upto 2017 Jul 5. ( #2595 )
2017-07-05 19:36:48 -04:00
terryjreedy
faa63d1e84
Add IDLE items to NEWS and idlelib/NEWS.txt ( #2239 )
2017-06-16 01:54:57 -04:00
terryjreedy
503bc6363d
Update idlelib NEWS for 3.7 ( #2089 )
2017-06-10 20:46:08 -04:00
Terry Jan Reedy
c6b5f08f04
Move idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
...
Reformat a few early 3.x entries in HEWS.txt. Merge from 3.5.
2016-09-30 00:02:28 -04:00
Terry Jan Reedy
55f3ae68bb
Move idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
...
Reformat a few early 3.x entries in HEWS.txt.
2016-09-29 23:59:55 -04:00
Terry Jan Reedy
6c58c34dd3
IDLE NEWS item and ack.
2016-09-28 21:55:55 -04:00
Terry Jan Reedy
3dad1a5b82
Merge 3.5 - Issue #15308 : Add 'interrupt execution' (^C) to Shell menu.
...
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:57:25 -04:00
Terry Jan Reedy
70360194c7
IDLE newx items. merge from 3.5
2016-09-10 16:28:01 -04:00
Terry Jan Reedy
d92cecb9f1
IDLE newx items.
2016-09-10 16:24:54 -04:00
Terry Jan Reedy
49dcf9d858
Fix typo in IDLE News.
2016-08-21 00:20:35 -04:00
Terry Jan Reedy
9f957705d6
Fix typo in IDLE News.
2016-08-21 00:18:55 -04:00
Terry Jan Reedy
97c463dcfb
Add 3.6.0a4 IDLE NEWS and idlelib/NEWS.txt items.
2016-08-20 21:43:00 -04:00
Terry Jan Reedy
d3fb55797b
Add 3.5.3 IDLE NEWS and idlelib/NEWS.txt items.
2016-08-20 21:41:03 -04:00
Martin Panter
702f4f5d6f
Issue #23804 : Merge spelling and NEWS fixes from 3.5
2016-07-11 12:54:44 +00:00
Martin Panter
204bf0b9ae
English spelling and grammar fixes
2016-07-11 07:51:37 +00:00
Terry Jan Reedy
4bf9c51f9b
IDLE NEWS items.
2016-07-10 20:30:43 -04:00
Terry Jan Reedy
754a5c1a1d
Merge Update NEWS and idlelib NEWS.text.
2016-06-26 18:22:32 -04:00
Terry Jan Reedy
1e957d145f
Update NEWS and idlelib NEWS.text.
2016-06-26 18:20:20 -04:00
Terry Jan Reedy
b8a79ae812
Issue #27365 : Merge minimal part.
2016-06-22 03:57:32 -04:00
Terry Jan Reedy
6ff7a14b91
Issue #27365 : Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
2016-06-22 03:55:20 -04:00
Terry Jan Reedy
b1c9b64850
IDLE NEWS entries
2016-06-11 04:36:34 -04:00
Terry Jan Reedy
661c0329d3
Merge Issue #5124 : NEWS entries.
2016-06-11 04:32:30 -04:00