summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
Commit message (Collapse)AuthorAgeFilesLines
* bpo-42426: IDLE: Fix reporting offset of the RE error in searchengine (GH-23447)Miss Islington (bot)2020-11-223-9/+10
| | | | | (cherry picked from commit 453bc1da2023d6cbe362637a2e0b06d0521f013c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-42416: Use inspect.getdoc for IDLE calltips (GH-23416)Miss Islington (bot)2020-11-203-6/+12
| | | | | | Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None. (cherry picked from commit 7ddbaa7a1b3e61847ee99658be6a7268a049e302) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-40511: Stop unwanted flashing of IDLE calltips (GH-20910)Miss Skeleton (bot)2020-11-023-7/+141
| | | | | | | | | They were occurring with both repeated 'force-calltip' invocations and by typing parentheses in expressions, strings, and comments in the argument code. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit da7bb7b4d769350c5fd03e6cfb16b23dc265ed72) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-33987: Add master ttk Frame to IDLE search dialogs (GH-22942)Miss Skeleton (bot)2020-10-253-14/+22
| | | | | (cherry picked from commit 5df6c99cb450fe2f30be681dbf68cd1d34d3bbe4) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-33987: Use master ttk Frame for IDLE config dialog (GH-22943)Miss Skeleton (bot)2020-10-251-5/+7
| | | | | (cherry picked from commit c579ad14d3b5bb9a45d7b9cc708eaf0bf4884c50) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-33987: Use ttk Label on IDLE statusbar (GH-22941)Miss Skeleton (bot)2020-10-241-2/+1
| | | | | (cherry picked from commit e53e54425d9b7b9b7b082817da104d60bb25e3a2) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433) (GH-22899)Miss Skeleton (bot)2020-10-222-5/+9
| | | | | | (cherry picked from commit facb522d44fceaf15de6bc95de1cd680c4621c2a) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-38439: Add 256px IDLE icon to the .ico, drop gifs from it (GH-19648)Miss Skeleton (bot)2020-10-212-0/+4
| | | | | (cherry picked from commit faddc7449d07e883b8ad8bb95dd68ce6dbdc06e8) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
* Update idlelib/help.html to current Sphinx output (GH-22833)Miss Skeleton (bot)2020-10-211-33/+37
| | | | | | idle.rst is unchanged (cherry picked from commit a460d45063844a21c20fa8b0d23878165f99f3b5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41775: Make 'IDLE Shell' the shell title (GH-22399)Miss Islington (bot)2020-09-242-1/+3
| | | | | | 'Python Shell' may have contributed to some beginners confusing 'IDLE' with ' Python'. (cherry picked from commit 05cc881cbcf5d73a312568c78c7149eae3195072) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.9] bpo-41841: Prepare IDLE News for 3.9 (GH-22380)Terry Jan Reedy2020-09-231-2/+7
|
* bpo-35764: Rewrite the IDLE Calltips doc section (GH-22363)Miss Islington (bot)2020-09-222-20/+25
|
* bpo-40181: Remove '/' reminder in IDLE calltips. (GH-22350)Miss Islington (bot)2020-09-223-9/+6
| | | | | | | The marker was added to the language in 3.8 and 3.7 only gets security patches. (cherry picked from commit 40a0625792e795cd41c4ba20475e3b770b53817a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Update idlelib/help.html to current IDLE doc (GH-22181)Miss Islington (bot)2020-09-091-4/+4
| | | | | (cherry picked from commit 471247150e9707e583297ac6b4edff978efd8941) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41514: Fix buggy IDLE test (GH-21808)Miss Islington (bot)2020-08-101-5/+5
| | | | | | | | | test_run method test_fatal_error failed when run twice, as with python -m test -m test_fatal_error test_idle test_idle because func.called was not reinitialized to 0. This bug caused a failure on a refleak buildbot. (cherry picked from commit 416f0b71ba84fe83ee2ba4399b8a28712702980b) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41468: Improve and test IDLE run error exit (GH-21798)Miss Islington (bot)2020-08-093-10/+48
| | | | | | A message box pops up when an unexpected error stops the run process. Tell users it is likely a random glitch, but report it if not. (cherry picked from commit f2e161c27964a59bc5ab20d96f87ba5862c6222d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Improve renamed test_run.RecursionLimitTest (GH-21794)Miss Islington (bot)2020-08-091-3/+5
| | | | | | PEP 8 style and new comments. (cherry picked from commit 8b67bf907c51846853127176cbb2982d102a2c2d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37309: NEWS for GH-41373 (GH-21612)Miss Islington (bot)2020-07-261-0/+4
| | | | | (cherry picked from commit af08db7bac3087aac313d052c1a6302bee7c9c89) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41373: IDLE: Fix saving files loaded with no newlines or mixed newlines ↵Miss Islington (bot)2020-07-251-0/+11
| | | | | | | | | | (GH-21597) Fixes regression in 3.8.4 and 3.9.0b4. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 0dd463c8a4269137ebed7cc29605c555030df94f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-4630: Fix errors in Lib/idlelib/NEWS.txt (GH-21594)Miss Islington (bot)2020-07-231-2/+2
| | | | | | Also one in news log. (cherry picked from commit 592527f3ee59616eca2bd1da771f7c14cee808d5) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-41300: IDLE - save files with non-ascii chars (GH-21512)Miss Islington (bot)2020-07-162-0/+4
| | | | | | Fix regression released in 3.9.0b4 and 3.8.4. (cherry picked from commit 38d3864efe914fda64553e2ec75c9ec15574483f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37765: Add keywords to IDLE tab completions (GH-15138)Miss Islington (bot)2020-07-094-41/+60
| | | | | | | | | | Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key. Rewrite Completions doc. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> (cherry picked from commit bce2eb4646021910aa4074d86f44a09b32d0b2b2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.9] bpo-41043: Escape literal part of the path for glob(). (GH-20994). ↵Serhiy Storchaka2020-07-021-1/+1
| | | | | (GH-21275) (cherry picked from commit 935586845815f5b4c7814794413f6a812d4bd45f)
* bpo-41158: IDLE: rewrite the code for handling file encoding (GH-21215)Miss Islington (bot)2020-07-011-152/+41
| | | | | (cherry picked from commit 694d31e714074176f0c324f95948b75dc768c091) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)Miss Islington (bot)2020-06-304-52/+8
| | | | | (cherry picked from commit 2515a28230b1a011205f30263da6b01c6bd167a3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-41144: Fix IDLE open module error (GH-21182)Miss Islington (bot)2020-06-283-7/+19
| | | | | | | | Could not open os.path. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* bpo-39885: Make IDLE context menu cut and copy work again (GH-18951)Miss Islington (bot)2020-05-293-16/+50
| | | | | | Leave selection when right click within. This exception to clearing selections when right-clicking was omitted from the previous commit, 4ca060d. I did not realize that this completely disabled the context menu entries, and I should have merged a minimal fix immediately. An automated test should follow. (cherry picked from commit 97e4e0f53d6690db6b942678489716a30925b8af) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37309: Update IDLE NEWS.txt (GH-20356)Miss Islington (bot)2020-05-241-0/+1
| | | | | (cherry picked from commit 16ef3241939a3a64a447e5d7aabaf2e29deca621) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-40723: Make IDLE autocomplete test run without __main__.__file__ (GH-20311)Miss Islington (bot)2020-05-242-1/+3
| | | | | | This was the only failure running unittest.main(test.test_idle) after imports. (cherry picked from commit 905b3cd05f8d2c29e1605d109900e3e9d07af4d3) Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
* bpo-40460: Fix typo in idlelib/zzdummy.py (GH-20093)Victor Stinner2020-05-141-1/+1
| | | Replace ztest with ztext.
* bpo-40443: Remove unused imports in idlelib (GH-19801)Victor Stinner2020-04-306-6/+3
|
* bpo-38439: Add 256px IDLE icon (GH-17473)Miro Hrončok2020-04-224-2/+16
| | | | Icon author: Andrew Clover, bpo-1490384
* bpo-38689: avoid IDLE hanging when calltip fails getting a signature (GH-17152)Tal Einat2020-04-043-15/+30
| | | Inspect.signature failed on the test case because its isinstance call raised.
* bpo-38002: Use False/True for IDLE pyshell bools (GH-19203)Terry Jan Reedy2020-03-281-13/+12
| | | | | | | Change 0/1 assignments to 'executing', 'canceled', 'reading', 'endoffile'. These are not used outside of pyshell. Other bools already use False/True. Add comment about int needed for Windows call. Remove self.more, unused in idlelib and code.InteractiveInterpreter. The latter uses 'more' as a local.
* bpo-27115: Use Query subclass for IDLE editor Goto (GH-18871)Terry Jan Reedy2020-03-094-12/+72
| | | | Replace tkinter tkSimpleDialog.askinteger with a standard IDLE query dialog. The new box checks for positivity before returning.
* bpo-27115: Move IDLE Query error blanking (GH-18868)Terry Jan Reedy2020-03-091-5/+2
| | | | Move required blanking of error text to non-overridden entry_ok(). (Omit news item.)
* bpo-39885: IDLE context menu clears selection (#18859)Terry Jan Reedy2020-03-082-0/+4
| | | | | Since clicking to get an IDLE context menu moves the cursor, any text selection should be and now is cleared.
* bpo-39852: IDLE 'Go to line' deletes selection, updates status (GH-18801)Terry Jan Reedy2020-03-083-15/+26
| | | | | | It appears standard that moving the text insert cursor away from a selection clears the selection. Clearing prevents accidental deletion of a possibly off-screen bit of text. The update is for Ln and Col on the status bar.
* bpo-39781: Do not jump when select in IDLE codecontext (GH-18683)Terry Jan Reedy2020-02-283-19/+35
| | | | Previously, the button-up part of selecting with a mouse was treated as a click that meant 'jump' to this line, which modified the context and undid the selection
* bpo-39663: IDLE: Add additional tests for pyparse (GH-18536)Cheryl Sabella2020-02-182-2/+16
| | | | | | Test when find_good_parse_start should return 0. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-39600: Adjust code, add idlelib/NEWS item (GH-18449)Terry Jan Reedy2020-02-112-4/+4
| | | Complete previous patch.
* bpo-39600, IDLE: Remove duplicated font names (GH-18430)Victor Stinner2020-02-101-2/+3
| | | In the font configuration window, remove duplicated font names.
* bpo-38792: Remove IDLE shell calltip before new prompt. (#17150)Zackery Spytz2020-01-314-3/+7
| | | | | | | 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>
* bpo-30780: Add IDLE configdialog tests (#3592)Cheryl Sabella2020-01-273-31/+148
| | | | | | | 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>
* bpo-39388: IDLE: Fix bug when cancelling out of configdialog (GH-18068)Cheryl Sabella2020-01-253-8/+18
| | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-32989: IDLE - remove unneeded parameter (GH-18138)Terry Jan Reedy2020-01-232-2/+3
| | | | | IDLE does not pass a non-default _synchre in any of its calls to pyparse.find_good_parse_start.
* bpo-39050: The Help button in IDLE's config menu works again (GH-17611)Zackery Spytz2020-01-233-1/+14
| | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-32989: IDLE - fix bad editor call of pyparse method (GH-5968)Cheryl Sabella2020-01-215-39/+152
| | | | | | | | 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>
* Minor formatting improvements and fixes to idle.rst (GH-17165)Tal Einat2020-01-051-7/+8
|
* Fix idlelib README typo. (GH-17770)Terry Jan Reedy2019-12-311-1/+1
|