Tal Einat
4e2e5c1c4f
bpo-41611: IDLE: Catch TclError exceptions in AutoCompleteWindow.winconfig_event() (GH-26404)
...
Since the <Configure> event may occur after the
completion window is gone, catch potential
TclError exceptions when accessing acw.
2021-05-28 09:07:21 +03:00
Tal Einat
abc4bd5db9
bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400)
2021-05-27 17:29:55 +03:00
Tal Einat
60d343a816
bpo-44010: IDLE: colorize pattern-matching soft keywords (GH-25851)
2021-05-19 12:18:10 +03:00
Ned Deily
164d6e1bb1
Add the blurbify of the 3.10.0b1 changelog to the main branch (GH-25976)
2021-05-07 22:31:01 -04:00
E-Paine
092f9ddb5e
bpo-44026: Idle - display interpreter's 'did you mean' hints (GH-25912)
...
A C function accessible by the default exception handler, but not by python code,
finds the existing name closest to the name causing a name or attribute error. For
such errors, call the default handler after capturing stderr and retrieve its message line.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-05-07 19:52:01 -04:00
Tal Einat
b43cc31a27
bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)
...
Left click and drag to select lines. With selection, right click for context menu with copy and copy-with-prompts.
Also add copy-with-prompts to the text-box context menu.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-05-02 22:27:38 -04:00
Pablo Galindo
6689e45dfe
bpo-43981: Fix reference leaks in test_squeezer (GH-25758)
2021-04-30 19:34:29 +01:00
Terry Jan Reedy
8ec2f0dc0c
bpo-37892: Use space indents in IDLE Shell (GH-25678)
...
Adding a newline to the prompt moves it out of the way of
user code input, which now starts at the left margin,
along with continuation lines.
2021-04-29 06:48:18 -04:00
Tal Einat
15d3861856
bpo-37903: IDLE: Shell sidebar with prompts (GH-22682)
...
The first followup will change shell indents to spaces.
More are expected.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-04-28 18:27:55 -04:00
Serhiy Storchaka
3bb3fb3be0
bpo-43655: Tkinter and IDLE dialog windows are now recognized as dialogs by window managers on macOS and X Window ( #25187 )
2021-04-25 13:07:58 +03:00
Pablo Galindo
53e55290cf
Python 3.10.0a7
2021-04-05 17:39:49 +01:00
Terry Jan Reedy
1b4a9c7956
bpo-42225: IDLE - document two unix-related problems. ( #25078 )
...
1. Bad IP masquerade rules can prevent startup.
2. X cannot handle some complex colored chars.
2021-03-31 01:19:38 -04:00
Pablo Galindo
06c245fb67
Python 3.10.0a6
2021-03-01 16:45:40 +00:00
Terry Jan Reedy
2827e8a177
bpo-43283: Add IDLE doc paragraph about print speed (GH-24615)
...
Printing to IDLE's Shell is often slower than printing to a system
terminal, but it can be made faster by pre-formatting a single
string before printing.
2021-02-23 19:39:51 -05:00
Pablo Galindo
22dbd9e8c0
Python 3.10.0a5
2021-02-02 20:41:05 +00:00
Terry Jan Reedy
11d75ec807
bpo-43008: Add 'Patch by Ken Hilton' (GH-24370)
2021-01-29 13:02:05 -05:00
Zackery Spytz
23a567c11c
bpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163)
...
Starting stack viewer when user code is running, including when Debugger is active, hangs or crashes IDLE.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-01-28 18:13:22 -05:00
Ken
7a34380ad7
bpo-43008: Make IDLE respect sys.excepthook (GH-24302)
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-01-26 18:55:52 -05:00
Terry Jan Reedy
81f87bbf9f
bpo-33065: Fix problem debugging user classes with __repr__ method (GH-24183)
...
If __repr__ uses instance attributes, as normal, and one steps
through the __init__ method, debugger may try to get repr before
the instance attributes exist. reprlib.repr handles the error.
2021-01-10 01:59:47 -05:00
Cheryl Sabella
e40e2a2cc9
bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)
...
Make menu items work with formatter, add docstrings, add 100% tests.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-01-05 02:26:43 -05:00
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
Terry Jan Reedy
0048afc16a
bpo-38183: Test_idle ignores user config directory GH-16198)
...
It no longer tries to create or access .idlerc or any files within.
Users must run IDLE to discover problems with saving settings.
2019-09-16 19:04:21 -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
d4b4c00b57
bpo-37929: IDLE: avoid Squeezer-related config dialog crashes (GH-15452)
...
These were caused by keeping around a reference to the Squeezer
instance and calling it's load_font() upon config changes, which
sometimes happened even if the shell window no longer existed.
This change completely removes that mechanism, instead having the
editor window properly update its width attribute, which can then
be used by Squeezer.
2019-08-25 08:52:58 +03:00
Terry Jan Reedy
0dfc025ccc
Fix typo and rearrange words in IDLE news item (GH-15471)
...
Redo of #15402 by GeeTransit and Kyle Stanley.
2019-08-24 17:32:33 -04:00
Terry Jan Reedy
fa7a6f5e35
Revert "(TH-15402)" ( #15468 )
...
This reverts commit a50f0a4c2b
.
2019-08-24 14:10:04 -04:00
GeeTransit
a50f0a4c2b
(TH-15402)
2019-08-24 13:01:36 -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
1213123005
bpo-36419: IDLE - Refactor autocompete and improve testing. ( #15121 )
2019-08-04 19:48:52 -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
Min ho Kim
c4cacc8c5e
Fix typos in comments, docs and test names ( #15018 )
...
* Fix typos in comments, docs and test names
* Update test_pyparse.py
account for change in string length
* Apply suggestion: splitable -> splittable
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Apply suggestion: splitable -> splittable
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Apply suggestion: Dealloccte -> Deallocate
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Update posixmodule checksum.
* Reverse idlelib changes.
2019-07-30 18:16:13 -04:00
Terry Jan Reedy
b222955355
bpo-37692: Improve highlight config sample ( #14983 )
...
Use an example shell interaction in the sample and better labels for shell elements.
2019-07-28 12:04:31 -04:00
Tal Einat
3221a63c69
bpo-37628: Fix IDLE config sample sizes ( #14958 )
...
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box.
2019-07-27 12:57:48 -04:00
Tal Einat
7123ea009b
bpo-17535: IDLE editor line numbers (GH-14030)
2019-07-23 15:22:11 +03:00
Ngalim Siregar
35b87e6001
bpo-37627: Initialize IDLE Custom Run dialog with previous entries ( #14870 )
...
Repeat the command line arguments most recently entered before so the user can edit them.
2019-07-21 11:37:28 -04:00
Tal Einat
e0a1f8fb5c
bpo-33610: IDLE's code-context always shows current context immediately (GH-14821)
...
Eliminate delay of up to 100ms and accompanying visual artifact.
Fix bug of never showing context when hide and show.
2019-07-18 16:03:18 -04:00
Terry Jan Reedy
1b38922434
bpo-36390: Gather IDLE Format menu functions into format.py ( #14827 )
...
Add two indent spec methods from editor and Rstrip to existing file.
Tests are not added for indent methods because they need change
in lights of 3.x's prohibition on mixing tabs and spaces.
2019-07-17 20:48:36 -04:00
Cheryl Sabella
82494aa6d9
bpo-36390: IDLE: Combine region formatting methods. (GH-12481)
...
Rename paragraph.py to format.py and add region formatting methods
from editor.py. Add tests for the latter.
2019-07-17 09:44:44 -04:00
Tal Einat
7036e1de3a
bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675)
...
* Only create CodeContext instances for "real" editors windows, but
not e.g. shell or output windows.
* Remove configuration update Tk event fired every second, by having
the editor window ask its code context widget to update when
necessary, i.e. upon font or highlighting updates.
* When code context isn't being shown, avoid having a Tk event fired
every 100ms to check whether the code context needs to be updated.
* Use the editor window's getlineno() method where applicable.
* Update font of the code context widget before the main text widget
2019-07-17 11:15:53 +03:00
Cheryl Sabella
f8d4cc7dbb
bpo-27452: IDLE: Cleanup config.py code (GH-14577)
2019-07-16 16:58:25 -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
Cheryl Sabella
201bc2d18b
bpo-5680: IDLE: Customize running a module (GH-13763)
...
The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu.
2019-06-17 22:24:10 -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
Tal Einat
554450fb4e
bpo-37177: make IDLE's search dialogs transient (GH-13869)
...
This avoids the search dialogs being hidden behind the editor window.
2019-06-07 08:54:40 +03:00
Terry Jan Reedy
949fe976d5
bpo-35763: Make IDLE calltip note about '/' less obtrusive (GH-13791)
...
Add it to the end of the first line if there is room. Tests were reworked.
2019-06-04 21:55:37 -04:00