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
9b5ce62cac
bpo-36390: simplify classifyws(), rename it and add unit tests (GH-14500)
2019-07-11 17:20:14 +03:00
Terry Jan Reedy
6aeb2fe606
bpo-26806: IDLE should run without docstrings ( #14657 )
...
After fcf1d00
, IDLE startup failed with python compiled without docstrings.
2019-07-09 14:37: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
İsmail Arılık
8713aa6dfb
Fix typo, 'widger' -> 'widget', in idlelib/tree.py (GH-14263)
2019-06-20 10:30:55 -04: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
Terry Jan Reedy
66d47da86a
bpo-37220: Fix 2.7 test -R crash on Windows. (GH-13957)
...
The patch needed for 2.7 should make the test more stable on 3.x also.
2019-06-16 16:33:56 -04:00
Cheryl Sabella
7f8a38a7c4
IDLE: Standardize naming convention for DummyEditwin in tests (GH-13876)
...
* Change from Dummy_Editwin to DummyEditwin to match other tests.
2019-06-07 05:08:20 -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
Xtreak
d9677f36fe
IDLE: Fix typos in docs and comments (GH-13749)
2019-06-03 00:21:15 -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
Serhiy Storchaka
2085bd0877
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
2019-06-01 11:00:15 +03:00
Terry Jan Reedy
ba0430211f
IDLE - Capitalize search dialogs' 'Close' button label. ( #13691 )
...
It seems to be the only widget label not capitalized.
2019-05-31 04:26:35 -04:00
Terry Jan Reedy
df9b032f47
bpo-37039: IDLE - zoomheight fixes (GH-13576)
...
Move doc entry to match menu and refactor zoom function.
A followup patch will include a blurb.
2019-05-27 19:16:46 -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
8a533ffb49
Fix typos in documentation. Patch by tirkarthi. (GH-13354)
2019-05-16 01:20:37 -04:00
Guido van Rossum
4f098b35f5
bpo-36807: When saving a file in IDLE, call flush and fsync ( #13102 )
2019-05-13 08:31:29 -04:00
penguindustin
9646630895
bpo-36766: Typos in docs and code comments (GH-13116)
2019-05-06 14:57:17 -04:00
Terry Jan Reedy
55d035113d
Syntax highlight IDLE html doc code example. (GH-12981)
...
The new markup is currently ignored by IDLE's tk doc display.
2019-04-26 23:22:36 -04:00
Serhiy Storchaka
da0847048a
bpo-36431: Use PEP 448 dict unpacking for merging two dicts. (GH-12553)
2019-03-27 08:02:28 +02: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
Louie Lu
113d735e20
bpo-30348: IDLE: Add test_autocomplete unittest (GH-2209)
2019-03-24 19:33:12 -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
Cheryl Sabella
d60f658fc0
bpo-23205: IDLE: Add tests and refactor grep's findfiles (GH-12203)
...
* Add tests for grep findfiles.
* Move findfiles to module function.
* Change findfiles to use os.walk.
Based on a patch by Al Sweigart.
2019-03-23 07:33:42 -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
Cheryl Sabella
0bb5e75cf8
bpo-23216: IDLE: Add docstrings to search modules (GH-12141)
2019-03-16 19:29:33 -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
Ned Deily
7eebbbd5b3
bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031)
...
Patch by Kevin Walzer.
2019-03-01 17:53:50 -05:00
Cheryl Sabella
b9f0354efc
bpo-36152: IDLE: Remove unused parameter from colorizer (GH-12109)
...
Remove colorizer.ColorDelegator.close_when_done and the corresponding argument of .close(). In IDLE, both have always been None or False since 2007.
2019-03-01 05:19:40 -05:00
Cheryl Sabella
ed1deb0719
bpo-36096: IDLE: Refactor class variables in colorizer (GH-12002)
2019-02-27 08:21:16 -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
Steve Dower
28f6cb34f6
bpo-35683: Improve Azure Pipelines steps (GH-11493)
2019-01-22 10:49:52 -08:00
Terry Jan Reedy
2cf1ddaff4
bpo-35770: Fix off-by-1 error. ( #11618 )
2019-01-18 17:05:40 -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