| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
This one line of Serhiy Storchacka's bpo-31500 patch for is needed for other issues.
|
| |
|
|
|
| |
This reverses a never-released regression resulting from bpo-31287.
|
|
|
|
| |
Canceling timers prevents a warning message when test_idle completes.
(This is the minimum fix needed before upcoming releases.)
|
|
|
|
|
| |
When apply changes, call .reload on each class with non-key options.
Change ParenMatch so that updates affect current instances.
|
|
|
|
|
|
|
| |
'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.
|
|
|
| |
Enabled by default was a temporary expedient. The fix is to add a user override to enable.
|
| |
|
|
|
|
| |
IDLE calls tcl/tk update in the background in order to make live
interaction and experimentatin with tkinter applications much easier.
|
|
|
|
| |
As needed for the conversion of extensions to features.
|
| |
|
|
|
|
|
| |
Adding to an int entry is not the same as deleting and inserting
because int('') will fail.
|
|
|
|
|
| |
This fixes an omission in the ttk conversion patch for this issue, hence no new news.
Patch by Cheryl Sabella.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Help sections. (#3239)
|
|
|
| |
Move some data and functions from the class to module level. Patch by Cheryl Sabella.
|
| |
|
|
|
| |
Patch by Cheryl Sabella.
|
|
|
| |
Part 3 of 3. Remove old highlight functions and load_config as this functionality is now contained within classes. Patch by Cheryl Sabella.
|
|
|
| |
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.
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
| |
The slightly modified tests continue to pass. Patch by Cheryl Sabella.
|
|
|
| |
Patch by Cheryl Sabella.
|
|
|
|
|
| |
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.
|
|
|
|
| |
Initial patch by Victor Stinner.
|
| |
|
| |
|
|
|
|
|
| |
Add template as comment. Update existing classes to match outline.
Initial patch by Cheryl Sabella.
|
|
|
|
| |
The slightly modified tests for the General tab continue to pass.
Patch by Cheryl Sabella.
|
|
|
|
|
| |
The slightly modified tests continue to pass. The General test
broken by the switch to Notebook is fixed.
Patch mostly by Cheryl Sabella.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add clear method for tests. Adjust tests to use global instance.
Remove unneeded ConfigDialog method.
|
|
|
|
|
| |
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%.
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
(#2872)
The new class manages pairs of tk Variables and trace callbacks.
It is completely covered by new tests.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Patch by LouieLu.
|
|
|
|
| |
Patch by Louie Lu.
|
|
|
|
|
| |
* 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.
|