summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configdialog.py
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-31130: IDLE -- stop leaks in test_configdialog. (#3016)Terry Jan Reedy2017-08-071-0/+1
| | | | Initial patch by Victor Stinner.
* 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-301-258/+240
| | | | 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-301-211/+227
| | | | | The slightly modified tests continue to pass. The General test broken by the switch to Notebook is fixed. Patch mostly by Cheryl Sabella.
* bpo-30781: IDLE - Use ttk Notebook in ConfigDialog (#2938)Terry Jan Reedy2017-07-291-29/+32
| | | | | 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-281-5/+5
| | | | 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-271-188/+191
| | | | | | | * 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-261-0/+55
| | | | | | (#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-241-116/+105
| | | | | | 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-231-48/+51
| | | | | | | | * 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-221-1/+9
| | | | 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-211-3/+3
|
* bpo-30981: IDLE -- Add more configdialog font page tests. (#2794)Terry Jan Reedy2017-07-211-45/+28
|
* bpo-28523: IDLE: Use 'color' instead of 'colour'. (#2787)Terry Jan Reedy2017-07-211-54/+54
|
* bpo-30913: IDLE: Document tk vars, attributes, and methods for ConfigDialog ↵csabella2017-07-141-45/+437
| | | | | | (#2697) The will help writing dialog improvements and splitting the class into multiple classes. Original patch by Cheryl Sabella.
* bpo-30870: IDLE: Add configdialog fontlist selection unittest (#2666)Louie Lu2017-07-141-2/+3
| | | Initial patch by Louie Lu.
* bpo-30779: IDLE: fix changes.delete_section calls in configdialog (#2667)csabella2017-07-111-2/+2
| | | | Also improve test of config.ConfigChanges.delete_section. Original patch by Cheryl Sabella.
* bpo-30870: IDLE -- fix logic error in eae2537. (#2660)terryjreedy2017-07-111-2/+5
|
* bpo-30851: IDLE: Remove unused tk variables in configdialog. (#2626)csabella2017-07-101-22/+1
| | | | | One is a duplicate, one is set but cannot be altered by users. Patch by Cheryl Sabella.
* bpo-30870: IDLE: Change sample font when select by key-up/down (#2617)Louie Lu2017-07-091-26/+26
| | | Patch by Louie Lu.
* bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in ↵terryjreedy2017-07-071-118/+51
| | | | | | | | | | | | config; test. (#2612) * In config, put dump test code in a function; run it and unittest in 'if __name__ == '__main__'. * Add class config.ConfigChanges based on changes_class_v4.py on bpo issue. * Add class test_config.ChangesTest, partly based on configdialog_tests_v1.py on bpo issue. * Revise configdialog to use ConfigChanges, mostly as specified in tracker msg297804. * Revise test_configdialog to match configdialog changes. All tests pass in both files. * Remove configdialog functions unused or moved to ConfigChanges. Cheryl Sabella contributed parts of the patch.
* bpo-30777: IDLE: configdialog - add docstrings and improve comments (#2440)csabella2017-07-051-128/+297
| | | Patch by Cheryl Sabella.
* bpo-30723: IDLE -- Enhance parenmatch; add style, flash, and help (#2306)wohlganger2017-06-281-0/+15
| | | | | | | | | * Add 'parens' style to highlight both opener and closer. * Make 'default' style, which is not default, a synonym for 'opener'. * Make time-delay work the same with all styles. * Add help for config dialog extensions tab, including parenmatch. * Add new tests. Original patch by Charles Wohlganger.
* bpo-30728: IDLE: Refactor configdialog to PEP8 names (#2307)csabella2017-06-261-810/+815
| | | | Also, change '*' in the tkinter import to an explicit list of names. Patch by Cheryl Sabella.
* Issue #28572: Add 10% to coverage of IDLE's test_configdialog.Terry Jan Reedy2016-11-071-16/+16
| | | | Update and augment description of the configuration system.
* Issue #27891: Consistently group and sort imports within idlelib modules.Terry Jan Reedy2016-08-311-3/+3
|
* Issue #17642: add larger font sizes for classroom projection.Terry Jan Reedy2016-08-311-1/+2
|
* Issue #27173: Add 'IDLE Modern Unix' to the built-in key sets.Terry Jan Reedy2016-07-101-9/+35
| | | | | Make the default key set depend on the platform. Add tests for changes to the config module.
* Issue #27380: IDLE: add query.HelpSource class and tests.Terry Jan Reedy2016-07-081-13/+14
| | | | Remove modules that are combined in new module.
* Issue #27380: IDLE: add base Query dialog, with ttk widgets and subclassTerry Jan Reedy2016-06-271-3/+3
| | | | | | SectionName. These split class GetCfgSectionNameDialog from configSectionNameDialog.py, temporarily renamed config_sec.py in 3.7.9a2. More Query subclasses are planned.
* Issue #22115: Added methods trace_add, trace_remove and trace_info in theSerhiy Storchaka2016-06-261-19/+19
| | | | | | tkinter.Variable class. They replace old methods trace_variable, trace, trace_vdelete and trace_vinfo that use obsolete Tcl commands and might not work in future versions of Tcl.
* Issue #27245: revert temporary renameTerry Jan Reedy2016-06-141-0/+1439
|
* Issue #27245: temporary rename for merge.Terry Jan Reedy2016-06-141-1435/+0
|
* Issue *24750: Switch all scrollbars in IDLE to ttk versions.Terry Jan Reedy2016-06-101-0/+1
| | | | Where needed, add minimal tests to cover changes.
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-8/+8
| | | | | | | | | | | | | | | | This follows the previous patch that changed idlelib file names. Class names that matched old module names are not changed. Change idlelib imports in turtledemo.__main__. Exception: config-extensions.def. Previously, extension section names, file names, and class names had to match. Changing section names would create cross-version conflicts in config-extensions.cfg (user customizations). Instead map old names to new file names at point of import in editor.EditorWindow.load_extension. Patch extensively tested with test_idle, idle_test.htest.py, a custom import-all test, running IDLE in a console to catch messages, and testing each menu item. Based on a patch by Al Sweigart.
* Issue #24225: Rename many idlelib/*.py and idlelib/idle_test/test_*.py files.Terry Jan Reedy2016-05-221-0/+1434