| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
(cherry picked from commit f8d4cc7dbbf54b9c5435c3080582a4aa421a067d)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 9b5ce62cac27fec9dea473865d79c2c654312957)
Co-authored-by: Tal Einat <taleinat@gmail.com>
|
|
|
|
|
|
| |
After fcf1d00, IDLE startup failed with python compiled without docstrings.
(cherry picked from commit 6aeb2fe606408aae14c246470794f1303b3be812)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit fcf1d003bf4f0100c9d0921ff3d70e1127ca1b71)
Co-authored-by: Tal Einat <taleinat+github@gmail.com>
|
|
|
|
|
|
| |
Tab now moves focus across and down for Help Source and Custom Run.
(cherry picked from commit 54cf2e0780ca137dd9abea5d3d974578ce0c18a9)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
| |
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.
(cherry picked from commit 201bc2d18b60adb05810d2a6ab396047bc527088)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
|
|
|
|
|
| |
The patch needed for 2.7 should make the test more stable on 3.x also.
(cherry picked from commit 66d47da86aff15be34adbec02596bb3188684c0d)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
| |
(#13885)
* Change from Dummy_Editwin to DummyEditwin to match other tests.
(cherry picked from commit 7f8a38a7c47823c17adab469fcb4f762f4e945b7)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
|
|
|
|
|
| |
This avoids the search dialogs being hidden behind the editor window.
(cherry picked from commit 554450fb4e95066e825bdb4a2d544a490daeebdc)
Co-authored-by: Tal Einat <taleinat@gmail.com>
|
|
|
|
|
|
| |
Add it to the end of the first line if there is room. Tests were reworked.
(cherry picked from commit 949fe976d5c62ae63ed505ecf729f815d0baccfc)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
| |
Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant.
|
|
|
| |
Insertion in line order makes sorting keys by line order unneeded.
|
|
|
|
| |
It seems to be the only widget label not capitalized.
|
| |
|
| |
|
|
|
|
| |
Fix error in commit 2b75155 noticed by Serhiy Storchaka.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add tests for grep findfiles.
* Move findfiles to module function.
* Change findfiles to use os.walk.
Based on a patch by Al Sweigart.
|
|
|
|
| |
This param was only used once and changed the return type.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
IDLE's test_squeezer.SqueezerTest.test_reload, added for issue 35196,
failed on both Gentoo buildbots.
|
|
|
|
| |
The new functionality of Squeezer.reload() is also tested, along with some general
re-working of the tests in test_squeezer.py.
|
| |
|
| |
|
|
|
|
|
| |
Move translate_key() and constant tuples to module level.
Inline the remnant one-line function.
|
| |
|
| |
|
|
|
| |
A few other changes make the code easier to follow.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(GH-10284)
Two kind of mistakes:
1. Missed space. After concatenating there is no space between words.
2. Missed comma. Causes unintentional concatenating in a list of strings.
|
| |
|
|
|
|
|
|
|
|
| |
(GH-7683)
* make CallTip and ToolTip sub-classes of a common abstract base class
* remove ListboxToolTip (unused and ugly)
* greatly increase test coverage
* tested on Windows, Linux and macOS
|
|
|
|
|
|
|
|
|
| |
Import pyshell first in htest to call SetProcessDpiAwareness on Windows
before tkinter.Tk() is called for the htest. Apparently, 'root.destroy()'
undoes a previous 'root = Tk()'. Since IDLE unittests always destroy roots,
a unittest before an htest does not require anything more to work right.
Since part of the purpose of human-viewed tests is to determine that
widgets look right, it is important that they look the same for testing
as when running IDLE.
|
|
|
|
|
|
|
| |
This avoids a failure in at least one case when running only a single
test method rather than all tests in the module.
The issue came up when testing the following on Windows 10 Pro 64-bit:
HighPageTest.test_highlight_target_text_mouse
|
|
|
|
| |
In configdialog, the custom tabbedpages widget was replaced
by ttk.notebook several months ago.
|
|
|
| |
Increases coverage by 44%.
|
|
|
|
|
| |
Every other menudef key is the lowercase version of the
corresponding main menu entry (in this case, 'Window').
|
|
|
|
| |
Match Window on the main menu and remove last plural module name.
Change imports, test, and attribute references to match new name.
|
|
|
|
| |
The revised file compiles, runs, and tests OK. idle_test/README.txt
explains how to use it to create new IDLE test files.
|
| |
|
|
|
|
|
| |
Fix-up class name duplication in PR #7807. Combined effect is that
module calltips and its class CallTips are now calltip and Calltip.
In module calltip_w class CallTip is now CalltipWindow.
|
|
|
|
| |
Improve consistency and appearance. Module idlelib.calltips is now calltip.
Class idlelib.calltip_w.CallTip is now Calltip.
|
|
|
|
|
| |
Part 3 of 3, continuing PR #7689. This covers 14 idlelib modules and their tests,
rpc to zoomheight except for run (already done) and tooltip (being done separately).
|
|
|
|
| |
Part 2 of 3. Continues PR #7689, changeset ee5ef30.
Edit and add tests for 18 modules, help_about to replace and run.
|