summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34864: Document two IDLE on MacOS issues. (GH-10456)Terry Jan Reedy2018-11-111-7/+17
| | | | | The System Preferences Dock "prefer tabs always" setting disables some IDLE features. Menus are a bit different than as described for Windows and Linux.
* bpo-35202: Remove unused imports in idlelib (GH-10438)Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)2018-11-106-6/+1
|
* bpo-33000: Document that IDLE's shell has no line limit. (#10373)Terry Jan Reedy2018-11-071-5/+12
| | | A program that runs indefinitely can overfill memory.
* bpo-23220: Explain how IDLE's Shell displays output (GH-10356)Terry Jan Reedy2018-11-061-11/+42
| | | Add a new subsection to the doc.
* bpo-35099: Update idlelib/help.html (#10353)Terry Jan Reedy2018-11-061-16/+26
| | | (This should have been done with the first PR for this issue.)
* bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵Serhiy Storchaka2018-11-053-6/+6
| | | | | | | | | | (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.
* bpo-35097: Add IDLE doc subsection explaining editor windows. (#10206)Terry Jan Reedy2018-10-291-0/+17
| | | Topics include opening, title and status bar, .py* extension, and running.
* Issue 35093: Document the IDLE document viewer in the IDLE doc. (#10195)Terry Jan Reedy2018-10-281-10/+20
| | | Add a paragraph in "Help and preferences", "Help sources" subsection.
* bpo-1529353: Explain Shell text squeezing in the IDLE doc. (#10169)Terry Jan Reedy2018-10-281-2/+19
|
* bpo-35088: Update idlelib.help.copy_string docstring (#10164)Terry Jan Reedy2018-10-281-17/+17
| | | We now use git and backporting instead of hg and forward merging.
* bpo-35087: Update idlelib help files for the current doc build. (GH-10162)Terry Jan Reedy2018-10-282-78/+98
| | | There is only one trivial change to idle.rst. Nearly all the changes to help.html are the elimination of chapter and section numbers on headers due to changes in the build system. help.py no longer requires header numbering.
* bpo-33656: Move pyshell ctypes import inside try block. (GH-9858)Terry Jan Reedy2018-10-141-3/+3
| | | | A Windows build with _tkinter, tkinter, and idlelib but without ctypes is unlikely but apparently possible.
* bpo-34906: Doc: Fix typos (2) (GH-9735)Stéphane Wirtel2018-10-061-3/+3
| | | Fix typos
* bpo-34850: Replace is with == in idlelib.iomenu (GH-9649)Terry Jan Reedy2018-09-301-2/+2
| | | Patch by Serhiy Storchaka (in PR #9642).
* bpo-34162: idlelib/NEWS.txt entry for squeezer (GH-9573)Terry Jan Reedy2018-09-251-0/+7
|
* bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)Tal Einat2018-09-2510-29/+971
|
* bpo-34162: Update idlelib/NEWS.txt to 2018-9-24. (GH-9551)Terry Jan Reedy2018-09-251-2/+15
|
* bpo-34162: Add entry for idlelib/NEWS.txt already included for 3.6/3.7 (GH-9549)Terry Jan Reedy2018-09-241-0/+5
|
* bpo-34548: IDLE: use configured theme colors in TextView (GH-9008)Tal Einat2018-09-232-9/+11
| | | https://bugs.python.org/issue34548
* bpo-34047: IDLE: fix mousewheel scrolling direction on macOS (GH-8678)Tal Einat2018-08-101-6/+17
|
* bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests ↵Tal Einat2018-08-056-144/+415
| | | | | | | | (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
* bpo-34275: Make IDLE calltips always visible on Mac. (GH-8639)Terry Jan Reedy2018-08-031-0/+1
| | | | | | Some MacOS-tk combinations need .update_idletasks(). The call is both unneeded and innocuous on Linux and Windows. Patch by Kevin Waltzer.
* bpo-34120: fix text viewer to call grab_release() only when needed (GH-8616)Tal Einat2018-08-021-2/+4
|
* bpo-34120: fix IDLE freezing after closing dialogs (GH-8603)Tal Einat2018-08-025-0/+9
| | | | Added missing .grab_release() calls to all places where we call .grab_set().
* bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345)Terry Jan Reedy2018-07-201-2/+34
|
* bpo-33975: Avoid small type when running IDLE's htests. (GH-7944)Terry Jan Reedy2018-06-271-0/+1
| | | | | | | | | 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.
* bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920)Mark Roseman2018-06-261-2/+2
| | | These should have been included in PR 7836.
* bpo-33951: IDLE test_configdialog: call page.update in setUpClass (GH-7892)Tal Einat2018-06-241-0/+4
| | | | | | | 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
* bpo-33950: Remove IDLE htest spec for a deleted file. (GH-7881)Terry Jan Reedy2018-06-231-10/+0
| | | | In configdialog, the custom tabbedpages widget was replaced by ttk.notebook several months ago.
* bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)Terry Jan Reedy2018-06-222-11/+22
| | | Increases coverage by 44%.
* bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)Terry Jan Reedy2018-06-216-9/+9
| | | | | Every other menudef key is the lowercase version of the corresponding main menu entry (in this case, 'Window').
* bpo-33906: Rename idlelib.windows as window (#7833)Terry Jan Reedy2018-06-217-22/+22
| | | | Match Window on the main menu and remove last plural module name. Change imports, test, and attribute references to match new name.
* bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830)Terry Jan Reedy2018-06-202-26/+38
| | | | The revised file compiles, runs, and tests OK. idle_test/README.txt explains how to use it to create new IDLE test files.
* bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip (GH-7811)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-203-5/+5
|
* bpo-33907: Rename an IDLE module and classes. (GH-7810)Terry Jan Reedy2018-06-203-8/+8
| | | | | 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.
* bpo-33907: Rename an IDLE module and class. (GH-7807)Terry Jan Reedy2018-06-206-32/+32
| | | | Improve consistency and appearance. Module idlelib.calltips is now calltip. Class idlelib.calltip_w.CallTip is now Calltip.
* bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)Terry Jan Reedy2018-06-1936-95/+356
| | | | | 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).
* bpo-33855: More edits and new minimal tests for IDLE (GH-7761)Terry Jan Reedy2018-06-1830-338/+483
| | | | Part 2 of 3. Continues PR #7689, changeset ee5ef30. Edit and add tests for 18 modules, help_about to replace and run.
* bpo-33856: Add "help" to the welcome message of IDLE (GH-7755)Stéphane Wirtel2018-06-161-1/+1
| | | Make it the same as when one runs 'python'.
* bpo-33855: Minimally test all IDLE modules. (GH-7689)Terry Jan Reedy2018-06-1533-106/+418
| | | | Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es). Add a test file for all non-startup IDLE modules. Edit existing files and update coverage. This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files.
* bpo-33656: Mention color in idlelib/NEWS.txt entry. (#7646)Terry Jan Reedy2018-06-111-4/+5
|
* bpo-33656: Add enum name for argument of Windows call. (GH-7642)Terry Jan Reedy2018-06-111-1/+4
| | | Change suggested by Eryk Sun in a comment on PR 7137 after it was merged.
* bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137)Terry Jan Reedy2018-06-113-3/+20
| | | | | | | | | | | | On Windows 8.1+ or 10, with DPI compatibility properties of the Python binary unchanged, and a monitor resolution greater than 96 DPI, this should make text and lines sharper. It should otherwise have no effect. Using a magnifier, I determined that the improvement comes from horizontal and lines being better lined up with the monitor pixels. I checked that this call causes no problem on any Windows buildbot, including the Win7 buildbots. Unlike most IDLE patches, this one can be easily reverted by users by removing a few lines, at the top of idlelib/pyshell.py.
* bpo-33610: Update IDLE Code Context doc entry (GH-7597)Terry Jan Reedy2018-06-101-202/+206
| | | Users can now click on context lines.
* Update idlelib/NEWS.txt to 2018 Jun 8 am. (GH-7517)Terry Jan Reedy2018-06-081-0/+27
|
* bpo-33768: IDLE: Clicking on code context line moves it to top of editor ↵Cheryl Sabella2018-06-082-0/+49
| | | | (GH-7411)
* bpo-33763: IDLE: Replace label widget with text widget in code context (GH-7367)Cheryl Sabella2018-06-042-52/+56
|
* bpo-33664: Scroll IDLE editor text by lines (GH-7351)Cheryl Sabella2018-06-041-2/+27
| | | | | | Previously, the mouse wheel and scrollbar slider moved text by a fixed number of pixels, resulting in partial lines at the top of the editor box. The change also applies to the shell and grep output windows, but not to read-only text views.
* bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199)Cheryl Sabella2018-06-025-35/+67
| | | | | | | | | | | | | The difference from before is that the settings are now on the Highlights tab instead of the Extensions tab and only change one theme at a time instead of all themes. The default for light themes is black on light gray, as before. The default for the IDLE Dark theme is white on dark gray, which better fits the dark theme. When one starts IDLE from a console and loads a custom theme without definitions for 'context', one will see a warning message on the console. To stop the warning, go to Options => Configure IDLE => Highlights, select the custom theme if not selected already, select 'Code Context', and select foreground and background colors.
* bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106)Cheryl Sabella2018-06-015-29/+31
| | | | | | | | | | Instead of displaying a fixed number of lines, some blank, Code Context now displays the variable number of actual context lines. When there are no context lines, it shows a single blank line to indicate that the feature is turned on. The Code Context configuration option is changed from 'numlines' (default 3) to 'maxlines' (default 15) to avoid possible interference between user settings for the old and new versions of Code Context.