Pablo Galindo
8bae2a958e
Python 3.10.0a3
2020-12-07 19:34:10 +00:00
Terry Jan Reedy
57e5113610
bpo-42508: Keep IDLE running on macOS (GH-23577)
...
Remove obsolete workaround that prevented running files with
shortcuts when using new universal2 installers built on macOS 11.
Ignore buggy 2nd run_module_event call.
2020-12-06 22:22:33 -05:00
Serhiy Storchaka
453bc1da20
bpo-42426: IDLE: Fix reporting offset of the RE error in searchengine (GH-23447)
2020-11-22 00:06:51 -05:00
Terry Jan Reedy
7ddbaa7a1b
bpo-42416: Use inspect.getdoc for IDLE calltips (GH-23416)
...
Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
2020-11-20 01:59:11 -05:00
Pablo Galindo
114ee5dec0
Python 3.10.0a2
2020-11-03 00:02:08 +00:00
Tal Einat
da7bb7b4d7
bpo-40511: Stop unwanted flashing of IDLE calltips (GH-20910)
...
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>
2020-11-01 22:59:52 -05:00
Mark Roseman
5df6c99cb4
bpo-33987: Add master ttk Frame to IDLE search dialogs (GH-22942)
2020-10-24 23:14:02 -04:00
Miro Hrončok
faddc7449d
bpo-38439: Add 256px IDLE icon to the .ico, drop gifs from it (GH-19648)
2020-10-20 13:21:08 +01:00
Pablo Galindo
8e9afaf822
Python 3.10.0a1
2020-10-05 18:30:18 +01:00
Terry Jan Reedy
05cc881cbc
bpo-41775: Make 'IDLE Shell' the shell title ( #22399 )
...
'Python Shell' may have contributed to some beginners confusing 'IDLE' with ' Python'.
2020-09-24 15:30:09 -04:00
Terry Jan Reedy
947adcaa13
bpo-35764: Rewrite the IDLE Calltips doc section (GH-22363)
2020-09-22 13:21:58 -04:00
Terry Jan Reedy
40a0625792
bpo-40181: Remove '/' reminder in IDLE calltips. (GH-22350)
...
The marker was added to the language in 3.8 and
3.7 only gets security patches.
2020-09-22 01:43:55 -04:00
Terry Jan Reedy
f2e161c279
bpo-41468: Improve and test IDLE run error exit (GH-21798)
...
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.
2020-08-09 16:08:30 -04:00
Serhiy Storchaka
0dd463c8a4
bpo-41373: IDLE: Fix saving files loaded with no newlines or mixed newlines (GH-21597)
...
Fixes regression in 3.8.4 and 3.9.0b4.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-07-24 23:21:30 -04:00
Terry Jan Reedy
38d3864efe
bpo-41300: IDLE - save files with non-ascii chars (GH-21512)
...
Fix regression released in 3.9.0b4 and 3.8.4.
2020-07-16 18:24:49 -04:00
Terry Jan Reedy
bce2eb4646
bpo-37765: Add keywords to IDLE tab completions (GH-15138)
...
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>
2020-07-09 18:08:33 -04:00
Serhiy Storchaka
2515a28230
bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)
2020-06-29 20:18:22 -04:00
E-Paine
8ab77c6f9f
bpo-41144: Fix IDLE open module error ( #21182 )
...
Could not open os.path.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-06-28 02:02:47 -04:00
Terry Jan Reedy
97e4e0f53d
bpo-39885: Make IDLE context menu cut and copy work again (GH-18951)
...
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.
2020-05-29 18:54:14 -04:00
Florian Dahlitz
905b3cd05f
bpo-40723: Make IDLE autocomplete test run without __main__.__file__ (GH-20311)
...
This was the only failure running unittest.main(test.test_idle) after imports.
2020-05-24 06:53:44 -04:00
Łukasz Langa
bc1c8af8ef
Python 3.9.0a6
2020-04-27 22:44:04 +02:00
Miro Hrončok
3a69f3caee
bpo-38439: Add 256px IDLE icon (GH-17473)
...
Icon author: Andrew Clover, bpo-1490384
2020-04-22 03:21:44 -04:00
Tal Einat
52013e5b6d
bpo-38689: avoid IDLE hanging when calltip fails getting a signature (GH-17152)
...
Inspect.signature failed on the test case because its isinstance call raised.
2020-04-03 23:05:58 -04:00
Łukasz Langa
dcd4c4f9c9
Python 3.9.0a5
2020-03-23 17:19:13 +01:00
Terry Jan Reedy
363fab83b8
bpo-27115: Use Query subclass for IDLE editor Goto (GH-18871)
...
Replace tkinter tkSimpleDialog.askinteger with a standard IDLE query dialog.
The new box checks for positivity before returning.
2020-03-09 16:51:20 -04:00
Terry Jan Reedy
4ca060d8ad
bpo-39885: IDLE context menu clears selection ( #18859 )
...
Since clicking to get an IDLE context menu moves the cursor,
any text selection should be and now is cleared.
2020-03-08 15:30:04 -04:00
Terry Jan Reedy
2522db11df
bpo-39852: IDLE 'Go to line' deletes selection, updates status (GH-18801)
...
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.
2020-03-08 14:32:42 -04:00
Terry Jan Reedy
c705fd1e89
bpo-39781: Do not jump when select in IDLE codecontext (GH-18683)
...
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
2020-02-28 13:22:55 -05:00
Łukasz Langa
6e02691f30
Python 3.9.0a4
2020-02-25 22:06:39 +01:00
Cheryl Sabella
ffda25f6b8
bpo-39663: IDLE: Add additional tests for pyparse (GH-18536)
...
Test when find_good_parse_start should return 0.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-02-17 21:47:52 -05:00
Victor Stinner
ed335cf53b
bpo-39600, IDLE: Remove duplicated font names (GH-18430)
...
In the font configuration window, remove duplicated font names.
2020-02-10 11:41:26 -08: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
Łukasz Langa
b07ead3411
Python 3.9.0a3
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl4rXBoACgkQsmmV4xAl
BWid+xAAmRi6rMnpTrJG6V4herWLg4tQg4LaghxXPHtAfcZCgYkbA3kI4nq7SoKy
7XnJRX6Uk3FhT2rzM2+sg+sPDMNz5ki+G6L0rYrmouZSy+y7/KDBTzh7u8nnAZD1
t72Zl3LyWFgeg58MVld5LWoCt7+ywAfIAEbeYAFonH4yY1MqK8Q5+kbNtuMBar81
S44i/UIjVD1GJTzxxDqWU4B0BmCGizenBiyssAwTbM556dzjR7tDqWhDfiXcMLgW
7Wq5sj96GjNOrNTbtPikiu3sl97hHlJgZEel/vBq2RNArEspRa0F3uqNYyaRedHr
F9XDlsXLdj+18w1tG1HejZiGquW9y55vexEtDp2e2FXl9bHm5n7D8PUX8rCuw6li
lR2W+oB0i8/Jd1R8GymJ4RfHrh7jHoTCskcLp8BrBlFBU0d3DAoYFT9rA5GSj3dx
MIQgA2KbDJEYU7i0/uLLqK6L37PD8NaAPhdVjUN1B2qJ47RrC3yc5tPHIuyiBMYu
M2PW8LNhg/+ZIQjznSam3xiLDzEv/TeHA0YgfdIaXgdtybFSGIUWMxCGQjNtzrHS
u4WjsQy9yFAtF+mgPKqXBI+coBtLUhvRfOGHwhnbjkao7i65ztZC2VX/e2CfquO/
DDJZoiGS0wGbDJfeApNaT7/Kac2uGgvYfx1foGReK3fqRqLl8aU=
=xsba
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iQJEBAABCAAuFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl4sSAgQHGx1a2FzekBs
YW5nYS5wbAAKCRCyaZXjECUFaGJkD/9ktOT+LKyW8+9nKRkVNHy4+PRGdKA/7O7y
q8qieymxaJoq2sFKQmgBvDTEh/S6Z75BlsHiTucpDnFe+WVwLJ79g0w9ehbzWx8g
XjNn1ONvsd/sDgUxZ3YiYy6uMbrCMPmcb0VPdlVW1l55uCDccNkh94Sa0lDEYnJo
+Xr6kDd+dyrF6XswyfDSSYriUNHODfT4aezFbS/EAaD3uX+hqtEW+kl1C3unbN5H
xxqe986NYGX5Yd7sIr9tqVBz4m0gQLDXX1i10pZFi+4pqog/ZV6XQbW+RSjr3SuU
FktleKz5erwY2fEz9KHRjonpPDPwEnWOnnn+MNPDECuIVyHswkAidUS69DkzfUpf
us1RrUoOmzi3cBxhrPCLVMnFFKpdxigiKWVa1CVNEhr7nhLLT3JPdfjXY/XEezW3
i9xJkCaxJUw7xrt808O1MHhkKAC9VFk/s2YDpmhCcmwfF8IR2K4L0XpQRG4+dfwz
WFPA8xQC2W+BHsHQoXW4XFZJQaCDmXZX2c0SOjl2fwZUyi2h3vvqJPfDxtjIRltN
TqAZJuaZgJNhtvK9R2BIY6Xr72owczdM8z35Je44K6oiUgFYs4UN9U+6D4sdRkSc
YBDgRmnGHTb07VWTWxyuzkXmUDiQ458KpdA9xDE47463v+NqkD9scR3EgX/e6OTR
0+EgUU6dYg==
=MyW2
-----END PGP SIGNATURE-----
Merge tag 'v3.9.0a3'
Python 3.9.0a3
2020-01-25 14:52:06 +01: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
Łukasz Langa
c33378df39
Python 3.9.0a3
2020-01-24 22:05:07 +01: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
Terry Jan Reedy
ee9ff05ec2
bpo-34118: memoryview, range, and tuple are classes (GH-17761)
...
Tag memoryview, range, and tuple as classes, the same as list, etcetera, in
the library manual built-in functions list.
2019-12-30 17:16:43 -05:00
Łukasz Langa
6202d856d6
Python 3.9.0a2
2019-12-18 22:09:19 +01: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
Łukasz Langa
fd757083df
Python 3.9.0a1
2019-11-19 12:17:21 +01: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
e3f90b217a
bpo-38598: Do not try to compile IDLE shell or output windows (GH-16939)
2019-10-26 21:15:10 -04:00
Serhiy Storchaka
b690a2759e
bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH-16583)
...
It now escapes them with a backslash, as the regular Python interpreter.
Added the "errors" field to the standard streams.
2019-10-08 14:32:25 +03: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