summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31500: IDLE: Scale default fonts on HiDPI displays. (#3639)Serhiy Storchaka2017-09-213-0/+19
|
* bpo-31500: Removed fixed size of IDLE config dialog. (#3664)Terry Jan Reedy2017-09-191-1/+1
| | | This one line of Serhiy Storchacka's bpo-31500 patch for is needed for other issues.
* bpo-30928: Update idlelib/NEWS.txt to 2017 Sep 17. (#3635)Terry Jan Reedy2017-09-181-0/+19
|
* bpo-31502: IDLE Configdialog again deletes custom themes and keysets. (#3634)Terry Jan Reedy2017-09-181-2/+2
| | | This reverses a never-released regression resulting from bpo-31287.
* bpo-31493: Fix code context update and font update timers. (#3622)Terry Jan Reedy2017-09-171-26/+26
| | | | Canceling timers prevents a warning message when test_idle completes. (This is the minimum fix needed before upcoming releases.)
* bpo-31488: IDLE - update former extensions when options change. (#3612)Terry Jan Reedy2017-09-163-25/+28
| | | | | When apply changes, call .reload on each class with non-key options. Change ParenMatch so that updates affect current instances.
* bpo-314777: IDLE - improve rstrip entry in doc (#3602)Terry Jan Reedy2017-09-151-2/+4
| | | | | | | 'Strip trailing whitespace' is not limited to spaces. Wording caters to beginners who do know know the meaning of 'whitespace'. Multiline string literals are not skipped. * News blurb.
* bpo-31480: IDLE - fix tests to pass with zzdummy extension disabled. (#3590)Terry Jan Reedy2017-09-143-45/+40
| | | Enabled by default was a temporary expedient. The fix is to add a user override to enable.
* bpo-31462: Remove trailing whitespaces. (#3564)Serhiy Storchaka2017-09-143-31/+31
|
* bpo-31421: Document how IDLE runs tkinter programs. (#3513)Terry Jan Reedy2017-09-121-10/+30
| | | | IDLE calls tcl/tk update in the background in order to make live interaction and experimentatin with tkinter applications much easier.
* bpo-27099: Finish updating IDLE doc and help text. (#3510)Terry Jan Reedy2017-09-121-16/+7
| | | | As needed for the conversion of extensions to features.
* bpo-30928: Update idlelib/NEWS.txt to 2017-09-11. (#3503)Terry Jan Reedy2017-09-111-0/+46
|
* bpo-31414: IDLE -- fix tk entry box tests by deleting first. (#3501)Terry Jan Reedy2017-09-111-11/+17
| | | | | Adding to an int entry is not the same as deleting and inserting because int('') will fail.
* bpo-30781: IDLE: Fix help button on configdialog (#3238)Cheryl Sabella2017-09-111-3/+3
| | | | | This fixes an omission in the ttk conversion patch for this issue, hence no new news. Patch by Cheryl Sabella.
* bpo-27099: IDLE - Convert built-in extensions to regular features (#2494)wohlganger2017-09-1019-252/+428
| | | | | | | | | | | | | | | | | | | | | About 10 IDLE features were implemented as supposedly optional extensions. Their different behavior could be confusing or worse for users and not good for maintenance. Hence the conversion. The main difference for users is that user configurable key bindings for builtin features are now handled uniformly. Now, editing a binding in a keyset only affects its value in the keyset. All bindings are defined together in the system-specific default keysets in config- extensions.def. All custom keysets are saved as a whole in config- extension.cfg. All take effect as soon as one clicks Apply or Ok. The affected events are '<<force-open-completions>>', '<<expand-word>>', '<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', '<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) customizations made before 3.6.3 will not affect their keyset- specific customization after 3.6.3. and vice versa. Inital patch by Charles Wohlganger, revised by Terry Jan Reedy.
* bpo-31051: Rearrange IDLE condigdialog GenPage into Window, Editor, and ↵Terry Jan Reedy2017-08-301-38/+45
| | | | Help sections. (#3239)
* bpo-30617: IDLE: docstrings and unittest for outwin.py (#2046)Cheryl Sabella2017-08-272-62/+274
| | | Move some data and functions from the class to module level. Patch by Cheryl Sabella.
* bpo-31287: IDLE - do not alter tkinter.messagebox in configdialog tests. (#3220)Terry Jan Reedy2017-08-272-7/+15
|
* bpo-30781: IDLE - use ttk widgets in configdialog (#2654)Cheryl Sabella2017-08-262-85/+85
| | | Patch by Cheryl Sabella.
* bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3160)Cheryl Sabella2017-08-201-657/+0
| | | Part 3 of 3. Remove old highlight functions and load_config as this functionality is now contained within classes. Patch by Cheryl Sabella.
* bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3156)Cheryl Sabella2017-08-202-39/+37
| | | Patch 2 of 3, to avoid horrendous diff. Create highlights page from new HighPage class instead of old ConfigDialog methods and change tests to match.
* bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3141)Cheryl Sabella2017-08-181-0/+643
| | | | This is the first half of a patch similar to the one for for bpo-31205. It is being split into 2 PRs to avoid what happened with PR-3096 -- an incomprehensible diff that could not be cleanly backported to 3.6. This half copies several methods of ConfigDialog and turns them into a new class.
* bpo-31001: IDLE: Add tests for configdialog highlight tab (#3123)Cheryl Sabella2017-08-182-157/+670
|
* bpo-30928: Update idlelib/NEWS.txt to 2017-08-15. (#3098)Terry Jan Reedy2017-08-151-1/+29
|
* bpo-31205: IDLE: Factor KeysPage class from ConfigDialog (#3096)Cheryl Sabella2017-08-152-457/+468
| | | The slightly modified tests continue to pass. Patch by Cheryl Sabella.
* bpo-31002: IDLE: Add tests for configdialog keys tab (#2996)Cheryl Sabella2017-08-152-188/+609
| | | Patch by Cheryl Sabella.
* bpo-19903: IDLE: Calltips changed to use inspect.signature (#2822)Louie Lu2017-08-102-26/+59
| | | | | Idlelib.calltips.get_argspec now uses inspect.signature instead of inspect.getfullargspec, like help() does. This improves the signature in the call tip in a few different cases, including builtins converted to provide a signature. A message is added if the object is not callable, has an invalid signature, or if it has positional-only parameters. Patch by Louie Lu.
* bpo-31130: IDLE -- stop leaks in test_configdialog. (#3016)Terry Jan Reedy2017-08-072-38/+49
| | | | Initial patch by Victor Stinner.
* bpo-29910: IDLE - revert `break`s that disabled calltip close. (#2997)Terry Jan Reedy2017-08-071-4/+4
|
* Spelling fixes (#2902)Ville Skyttä2017-08-031-1/+1
|
* bpo-31083: IDLE: Describe the Page classes in configdialog (#2965)csabella2017-08-011-15/+27
| | | | | Add template as comment. Update existing classes to match outline. Initial patch by Cheryl Sabella.
* bpo-31050: IDLE: Factor GenPage class from ConfigDialog (#2952)csabella2017-07-302-284/+267
| | | | The slightly modified tests for the General tab continue to pass. Patch by Cheryl Sabella.
* bpo-31004: IDLE: Factor out FontPage class from configdialog (step 1) (#2905)csabella2017-07-302-239/+267
| | | | | The slightly modified tests continue to pass. The General test broken by the switch to Notebook is fixed. Patch mostly by Cheryl Sabella.
* bpo-30928: Update IDLE News.txt. (#2948)Terry Jan Reedy2017-07-301-2/+40
|
* bpo-30781: IDLE - Use ttk Notebook in ConfigDialog (#2938)Terry Jan Reedy2017-07-292-35/+42
| | | | | The notebook looks a bit better. It will work better with separate page classes. Traversal of widgets by Tab works better. Switching tabs with keys becomes possible. The font sample box works better at large font sizes. One of the two simulated click tests no longer works. This will be investigated while fixing a bug with the widget itself.
* bpo-30853: IDLE - touch-up configdialog.VarTrace and tests. (#2936)Terry Jan Reedy2017-07-282-16/+23
| | | | Add clear method for tests. Adjust tests to use global instance. Remove unneeded ConfigDialog method.
* bpo-30853: IDLE: Convert font and general vars to use VarTrace (#2914)csabella2017-07-281-62/+42
| | | | | Instance tracers manages pairs consisting of a tk variable and a callback function. When tracing is turned on, setting the variable calls the function. Test coverage for the new class is 100%.
* bpo-31060: IDLE: Finish regrouping ConfigDialog methods (#2908)Terry Jan Reedy2017-07-271-768/+772
| | | Finish resorting the 72 ConfigDialog methods into 7 groups that represent the dialog, action buttons, and font, highlight, keys, general, and extension pages. This will help with continuing to add tests and improve the pages. It will enable splitting ConfigDialog into 6 or 7 more comprehensible classes.
* bpo-31003: IDLE - Add more tests for General tab (#2859)Terry Jan Reedy2017-07-273-198/+379
| | | | | | | * In configdialog: Document causal pathways in create_page_general. Move related functions to follow this. Simplify some attribute names. * In test_configdialog: Add tests for load and helplist functions. Coverage for the general tab is now complete, and 63% overall.
* bpo-30853: IDLE: Factor a VarTrace class from configdialog.ConfigDialog. ↵csabella2017-07-262-2/+147
| | | | | | (#2872) The new class manages pairs of tk Variables and trace callbacks. It is completely covered by new tests.
* bpo-30993: IDLE - Improve configdialog font page and tests. (#2831)Terry Jan Reedy2017-07-242-197/+213
| | | | | | In configdialog: Document causal pathways in create_font_tab docstring. Simplify some attribute names. Move set_samples calls to var_changed_font (idea from Cheryl Sabella). Move related functions to positions after the create widgets function. In test_configdialog: Fix test_font_set so not order dependent. Fix renamed test_indent_scale so it tests the widget. Adjust tests for movement of set_samples call. Add tests for load functions. Put all font tests in one class and tab indent tests in another. Except for two lines, these tests completely cover the related functions.
* bpo-30993: IDLE - Improve configdialog font page and tests. (#2818)Terry Jan Reedy2017-07-232-56/+63
| | | | | | | | * Document causal event pathways in docstring. * Simplify some attribute names. * Rename test_bold_toggle_set_samples to make test_font_set fail. * Fix test_font_set so not order dependent. * Fix renamed test_indent_scale so it tests the widget.
* bpo-30981: IDLE: Augment one configdialog font page test (#2810)Terry Jan Reedy2017-07-222-14/+32
| | | | Remove broken test of bold_toggle and test it along with its command, set_samples. This has been incorporated into 3.6 backport PR-2796.
* bpo-30981: temporarity skip failing IDLE test class (#2798)Terry Jan Reedy2017-07-212-3/+5
|
* bpo-30981: IDLE -- Add more configdialog font page tests. (#2794)Terry Jan Reedy2017-07-212-63/+53
|
* bpo-28523: IDLE: Use 'color' instead of 'colour'. (#2787)Terry Jan Reedy2017-07-211-54/+54
|
* bpo-30968: Fix test_get_font in IDLE's test_config. (#2769)terryjreedy2017-07-201-1/+1
|
* bpo-30917: IDLE: Fix mock_config deepcopy to read_string (#2754)Louie Lu2017-07-191-5/+11
| | | Patch by LouieLu.
* bpo-30917: IDLE: Add config.IdleConf unittests (#2691)Louie Lu2017-07-182-18/+451
| | | | Patch by Louie Lu.
* bpo-30934: Document coverage details for idlelib tests (#2711)terryjreedy2017-07-161-0/+56
| | | | | * Add section to idlelib/idle-test/README.txt. * Include check that branches are taken both ways. * Exclude IDLE-specific code that does not run during unit tests.