summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Update idlelib/NEWS.txt. (#2703)terryjreedy2017-07-141-0/+31
|
* 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-143-29/+108
| | | Initial patch by Louie Lu.
* bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser ↵Louie Lu2017-07-122-30/+196
| | | | | | subclasses. (#2662) Patch by Louie Lu.
* bpo-30779: IDLE: fix changes.delete_section calls in configdialog (#2667)csabella2017-07-113-5/+9
| | | | Also improve test of config.ConfigChanges.delete_section. Original patch by Cheryl Sabella.
* bpo-30881: IDLE: add docstrings to browser.py (#2638)csabella2017-07-111-4/+93
| | | 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-8231: Call idlelib.IdleConf.GetUserCfgDir only once. (#2629)terryjreedy2017-07-083-7/+7
|
* bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in ↵terryjreedy2017-07-074-171/+277
| | | | | | | | | | | | 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-30780: Fix error in idlelib.test_idle.test_configdialog (#2606)terryjreedy2017-07-071-1/+1
|
* Update idlelib/NEWS.txt with merges upto 2017 Jul 5. (#2595)terryjreedy2017-07-051-1/+41
|
* bpo-21624: IDLE -- minor htest fixes (#2575)terryjreedy2017-07-052-1/+2
|
* bpo-30777: IDLE: configdialog - add docstrings and improve comments (#2440)csabella2017-07-051-128/+297
| | | Patch by Cheryl Sabella.
* bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more tests. ↵csabella2017-06-295-100/+139
| | | | | | | (#2283) Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances of the latter two can be placed with other widgets within a multiframe window. Patch by Cheryl Sabella.
* bpo-24813: IDLE tagline is Integrated Development and Learning Environment ↵Mark Roseman2017-06-281-1/+1
| | | | | (#2451) Patch by Mark Roseman
* bpo-30723: IDLE -- Enhance parenmatch; add style, flash, and help (#2306)wohlganger2017-06-283-72/+91
| | | | | | | | | * 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-30674: IDLE: add docstrings to grep.py (#2213)csabella2017-06-271-12/+54
| | | Patch by Cheryl Sabella
* bpo-21519: IDLE basic custom key entry better detects duplicates. (#2428)terryjreedy2017-06-272-7/+13
|
* bpo-29910: IDLE no longer deletes a character after commenting out a region ↵Serhiy Storchaka2017-06-2710-16/+45
| | | | | | | | | | | (#825) This happened because shortcut has a class binding and 'break' was not returned. Fix other potential conflicts between IDLE and default key bindings. * Add news item * Update NEWS
* bpo-24813: IDLE: Add build bitness to About Idle title (#2380)csabella2017-06-272-6/+24
| | | Patch by Cheryl Sabella.
* bpo-30728: IDLE: Refactor configdialog to PEP8 names (#2307)csabella2017-06-262-828/+837
| | | | Also, change '*' in the tkinter import to an explicit list of names. Patch by Cheryl Sabella.
* bpo-6739: IDLE: Check for valid keybinding in config_keys (#2377)csabella2017-06-262-26/+115
| | | | | | Verify user-entered key sequences by trying to bind them with tk. Add tests for all 3 validation functions. Original patch by G Polo. Tests added by Cheryl Sabella.
* bpo-24813: IDLE: Add default title to help_about (#2366)csabella2017-06-244-9/+33
| | | Patch by Cheryl Sabella.
* bpo-24813: IDLE: Add icon to help_about (#2335)csabella2017-06-232-4/+19
| | | Patch by Cheryl Sabella
* Fix typo in idlelib.config_key.py (#2322)terryjreedy2017-06-221-1/+1
|
* Fix trivial typo in idlelib/config.py (GH-2309)KunYuChen2017-06-211-1/+1
| | | Comceptually -> Conceptually
* Add IDLE items to NEWS and idlelib/NEWS.txt (#2239)terryjreedy2017-06-161-0/+14
|
* bpo-15786: Fix IDLE autocomplete return problem. (#2198)terryjreedy2017-06-141-1/+2
| | | Before, <return> would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted. Now it does. Before, <return> was inserted into text, which in Shell meant compile() and possibly execute. Now cursor is left after completion.
* bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811)mlouielu2017-06-141-8/+50
| | | | | | | | | | | | | | | | | | | The root problem was non-check for hide_event. When user clicks on autocomplete window (acw), root widget gets focusOut event, then triggers hide_window to close the acw. It should only be hide when acw is active, and acw didn't get focus at FocusOut event (this event bind on acw and widget), or when widget get a ButtonPress event (this event only bind on widget). MacOS froze after double click on acw because when doubleclick_event try to hide window at the end, hide_window function destory whole acw, but tkinter didn't get focus back to widget. So set focus on widget first, then destory acw. Windows could not respond on double click event, because of the misbehavior of Configure event. When acw was shown, tkinter called winconfig event multiple times. That caused tkinter to not response to double click event. When on Windows, unbind Configure event first time get into winconfig_event to prevent multiple call of this event.
* bpo-25514: Improve IDLE's connection refused message (#2177)terryjreedy2017-06-143-35/+75
| | | When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
* bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171)terryjreedy2017-06-131-0/+1
| | | For unknown reasons, this does not work when running leak tests.
* Fix ref leak in idle_test.test_macosx (#2163)terryjreedy2017-06-131-0/+4
|
* bpo-30642: IDLE: Fix test_query refleak (#2147)mlouielu2017-06-131-0/+1
| | | Patch by Louie Lu.
* Show what's changed when Travis fails regen check (GH-2095)Zachary Ware2017-06-111-4/+4
| | | Also fixed a few more line endings that were missed in GH-840, which were causing failure.
* Update idlelib NEWS for 3.7 (#2089)terryjreedy2017-06-111-3/+21
|