summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/config.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-27099: IDLE - Convert built-in extensions to regular features ↵Terry Jan Reedy2017-09-111-4/+25
| | | | | | | | | | | | | | | | | | | | | | | (GH-2494) (#3487) 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. (cherry picked from commit 58fc71c)
* [3.6] bpo-30917: IDLE: Add config.IdleConf unittests (GH-2691) (#2753)terryjreedy2017-07-201-14/+8
| | | | | | | | | Patch by Louie Lu. (cherry picked from commit f776eb0) (includes diffs of ed014f7 and 9f9192a) * fix config reset from pr 2754 * Fix test_get_font (from pr 2769)
* [3.6] bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser ↵terryjreedy2017-07-121-26/+31
| | | | | | subclasses. (GH-2662) (#2685) Patch by Louie Lu. (cherry picked from commit 50c9435)
* [3.6] bpo-30779: IDLE: fix changes.delete_section calls in configdialog ↵terryjreedy2017-07-111-1/+2
| | | | | | | (GH-2667) (#2674) Also improve test of config.ConfigChanges.delete_section. Original patch by Cheryl Sabella. (cherry picked from commit 6d13b22)
* [3.6] bpo-8231: Call idlelib.IdleConf.GetUserCfgDir only once. (GH-2629) (#2631)terryjreedy2017-07-081-3/+3
| | | (cherry picked from commit 223c7e7)
* [3.6] bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put ↵terryjreedy2017-07-071-21/+119
| | | | | | | | | | | | in config; test. (GH-2612) (#2625) * 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. (cherry picked from commit 349abd9)
* [3.6] Fix trivial typo in idlelib/config.py (GH-2309) (#2321)terryjreedy2017-06-221-1/+1
| | | | Comceptually -> Conceptually (cherry picked from commit f3e8209)
* [3.6] bpo-29919 Remove unused imports from idlelib [GH-137] (#2105)terryjreedy2017-06-111-1/+1
| | | | Part of patch by Victor Stinner. (cherry-pick from d6debb24e06152a827769b0cac24c47deccdeac1)
* Issue #28572: Add 10% to coverage of IDLE's test_configdialog.Terry Jan Reedy2016-11-071-10/+17
| | | | Update and augment description of the configuration system.
* Issue #27891: Consistently group and sort imports within idlelib modules.Terry Jan Reedy2016-08-311-1/+1
|
* Issue #27821: Fix bug in idlelib.comfig function and add new tests.Terry Jan Reedy2016-08-251-1/+1
|
* Issue #27173: Add 'IDLE Modern Unix' to the built-in key sets.Terry Jan Reedy2016-07-101-47/+83
| | | | | Make the default key set depend on the platform. Add tests for changes to the config module.
* Issue #27452: add line counter and crc to IDLE config test dump.Terry Jan Reedy2016-07-061-9/+20
|
* Issue #24759: IDLE requires tk 8.5 and availability ttk widgets.Terry Jan Reedy2016-06-101-12/+8
| | | | Delete now unneeded tk version tests and code for older versions.
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-5/+5
| | | | | | | | | | | | | | | | 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/+760