summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.6] bpo-30934: Document coverage details for idlelib tests (GH-2711) (#2726)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. (cherry picked from commit 95bebb7)
* [3.6] Update idlelib/NEWS.txt. (GH-2703) (#2704)terryjreedy2017-07-141-0/+31
| | | (cherry picked from commit 0d0a32f)
* [3.6] bpo-30913: IDLE: Document tk vars, attributes, and methods for ↵terryjreedy2017-07-141-45/+437
| | | | | | | ConfigDialog (GH-2697) (#2702) The will help writing dialog improvements and splitting the class into multiple classes. Original patch by Cheryl Sabella. (cherry picked from commit 36329a4)
* [3.6] bpo-30870: IDLE: Add configdialog fontlist selection unittest ↵terryjreedy2017-07-143-29/+108
| | | | | | (GH-2666) (#2701) Initial patch by Louie Lu. (cherry picked from commit 9b622fb)
* [3.6] bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser ↵terryjreedy2017-07-122-30/+196
| | | | | | 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-113-5/+9
| | | | | | | (GH-2667) (#2674) Also improve test of config.ConfigChanges.delete_section. Original patch by Cheryl Sabella. (cherry picked from commit 6d13b22)
* [3.6] bpo-30881: IDLE: add docstrings to browser.py (GH-2638) (#2663)terryjreedy2017-07-111-4/+93
| | | | Patch by Cheryl Sabella. (cherry picked from commit ba35227)
* [3.6] bpo-30870: IDLE -- fix logic error in eae2537. (GH-2660) (#2661)terryjreedy2017-07-111-2/+5
| | | (cherry picked from commit 5b62b35)
* [3.6] bpo-30851: IDLE: Remove unused tk variables in configdialog. (GH-2626) ↵terryjreedy2017-07-101-22/+1
| | | | | | | (#2648) One is a duplicate, one is set but cannot be altered by users. Patch by Cheryl Sabella. (cherry picked from commit aa8d0a2)
* [3.6] bpo-30870: IDLE: Change sample font when select by key-up/down ↵terryjreedy2017-07-091-26/+26
| | | | | | (GH-2617) (#2640) Patch by Louie Lu. (cherry picked from commit bb2bae8)
* [3.6] bpo-8231: Call idlelib.IdleConf.GetUserCfgDir only once. (GH-2629) (#2631)terryjreedy2017-07-083-7/+7
| | | (cherry picked from commit 223c7e7)
* [3.6] bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put ↵terryjreedy2017-07-074-171/+277
| | | | | | | | | | | | 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] bpo-30780: Fix error in idlelib.test_idle.test_configdialog (GH-2606) ↵terryjreedy2017-07-071-1/+1
| | | | | (#2613) (cherry picked from commit 25a4206)
* [3.6] Update idlelib/NEWS.txt with merges upto 2017 Jul 5. (GH-2595) (#2596)terryjreedy2017-07-061-2/+47
| | | | (cherry picked from commit 1ccbad9c95cf5782a1329eeaecba6e3eb0c37cb8)
* [3.6] bpo-21624: IDLE -- minor htest fixes (GH-2575) (#2578)terryjreedy2017-07-052-1/+2
| | | (cherry picked from commit 2000150)
* [3.6] bpo-30777: IDLE: configdialog - add docstrings and improve comments ↵terryjreedy2017-07-051-128/+297
| | | | | | (GH-2440) (#2577) Patch by Cheryl Sabella. (cherry picked from commit 7eb5883)
* [3.6] bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more ↵terryjreedy2017-06-295-100/+139
| | | | | | | | tests. (GH-2283) (#2496) 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. (cherry picked from commit 42bc8be)
* [3.6] bpo-24813: IDLE tagline is Integrated Development and Learning ↵terryjreedy2017-06-281-1/+1
| | | | | | Environment (GH-2451) (#2461) Patch by Mark Roseman (cherry picked from commit 592eda1)
* [3.6] bpo-30723: IDLE -- Enhance parenmatch; add style, flash, and help ↵terryjreedy2017-06-283-72/+91
| | | | | | | | | | | (GH-2306) (#2460) * 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. (cherry picked from commit fae2c35)
* [3.6] bpo-30674: IDLE: add docstrings to grep.py (GH-2213) (#2434)terryjreedy2017-06-271-12/+54
| | | | Patch by Cheryl Sabella (cherry picked from commit 65474b9)
* [3.6] bpo-21519: IDLE basic custom key entry better detects duplicates. ↵terryjreedy2017-06-272-7/+13
| | | | | | (GH-2428) (#2433) Original patch by Saimadhav Heblikar. (cherry picked from commit 44913e5)
* [3.6] bpo-29910: IDLE no longer deletes a character after commenting out a ↵terryjreedy2017-06-2710-16/+45
| | | | | | | | | | | region (GH-825) (#2429) 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 (cherry picked from commit 213ce12)
* [3.6] bpo-24813: IDLE: Add build bitness to About Idle title (GH-2380) (#2426)terryjreedy2017-06-272-6/+24
| | | | Patch by Cheryl Sabella. (cherry picked from commit 9a02ae3)
* [3.6] bpo-30728: IDLE: Refactor configdialog to PEP8 names (GH-2307) (#2421)terryjreedy2017-06-272-828/+837
| | | | | Also, change '*' in the tkinter import to an explicit list of names. Patch by Cheryl Sabella. (cherry picked from commit bac7d33)
* [3.6] bpo-6739: IDLE: Check for valid keybinding in config_keys (GH-2377) ↵terryjreedy2017-06-262-26/+115
| | | | | | | | (#2397) 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. (cherry picked from commit 8c78aa7)
* [3.6] bpo-24813: IDLE: Add default title to help_about (GH-2366) (#2369)terryjreedy2017-06-244-9/+33
| | | | Patch by Cheryl Sabella. (cherry picked from commit 18ede06)
* [3.6] bpo-24813: IDLE: Add icon to help_about (GH-2335) (#2359)terryjreedy2017-06-232-4/+19
| | | | Patch by Cheryl Sabella (cherry picked from commit d352d68)
* [3.6] Fix typo in idlelib.config_key.py (GH-2322) (#2323)terryjreedy2017-06-221-1/+1
| | | (cherry picked from commit a0e911b)
* [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]Add IDLE items to NEWS and idlelib/NEWS.txt (#2239) (#2240)terryjreedy2017-06-161-1/+15
|
* [3.6]bpo-15786: Fix IDLE autocomplete return problem. (#2198) (#2199)terryjreedy2017-06-141-1/+2
| | | | Before, Enter would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted. Now it does. Before, '\n' was inserted into text, which in Shell meant compile() and possibly execute. Now cursor is left after completion. (cherry picked from commit 32fd874afe55e396e3c9a5af35e7bb3d8e0b8f02)
* bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811) (#2187)terryjreedy2017-06-141-8/+50
| | | | Patch by Louie Lu. (cherry picked from commit 778b484145edfd0d9b65129322d3295bed8eb71a)
* [3.6]bpo-25514: Improve IDLE's connection refused message (#2177) (#2178)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. (cherry picked from commit 188aedf8bb623d41302e10503268b0852ea91134)
* [3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) (#2172)terryjreedy2017-06-131-0/+1
| | | | For unknown reasons, this does not work when running leak tests. (cherry picked from commit 049cf2bb44038351e1b2eed4fc7b1b522329e550)
* [3.6]bpo-30642: Fix ref leak in idle_test.test_macosx (#2163) (#2165)terryjreedy2017-06-131-0/+4
| | | (cherry picked from commit 8323189ff1a19566f923c04b95e4d17fa57d1f56)
* bpo-30642: IDLE: Fix test_query refleak (#2147) (#2161)terryjreedy2017-06-131-0/+1
| | | | Patch by Louie Lu. (cherry picked from commit b070fd275b68df5c5ba9f6f43197b8d7066f0b18)
* [3.6]bpo-20185: Adjust IDLE test to 3.7 Clinic change [GH-542] (#2116)terryjreedy2017-06-111-4/+4
| | | | Synchronize 3.6/3.7 test_calltips to the extent possible. Part of patch by Serhiy Storchaka. (cherry-pick from fdd42c4)
* [3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114)terryjreedy2017-06-111-2/+2
|
* [3.6] Use Travis to make sure all generated files are up to date (GH-2080) ↵Zachary Ware2017-06-111-4/+4
| | | | | | | (GH-2092) (cherry picked from commit 0afbabe245) Also fixes some line endings missed in GH-840 backport.
* [3.6]bpo-30022: idlelib.run IOError -> OSError [GH-1051] (#2107)terryjreedy2017-06-111-1/+1
| | | | Part of patch by Serhiy Storchaka. (cherry-pick from 55fe1ae9708d81b902b6fe8f6590e2a24b1bd4b0)
* [3.6]bpo-30144: change idlelib abc import [GH-1263] (#2106)terryjreedy2017-06-111-1/+1
| | | | Part of patch by Serhiy Storchaka. (cherry-pick from 2e576f5)
* [3.6] bpo-29919 Remove unused imports from idlelib [GH-137] (#2105)terryjreedy2017-06-117-9/+4
| | | | Part of patch by Victor Stinner. (cherry-pick from d6debb24e06152a827769b0cac24c47deccdeac1)
* [3.6] Remove unused imports (#2104)terryjreedy2017-06-114-4/+0
| | | | Part of patch by Serhiy Strochaka, 2016-12-16 (no bpo issue) (cherry-pick of 70d28a184c42d107cc8c69a95aa52a4469e7929c)
* bpo-30495: IDLE: Modernize textview.py with docstrings and PEP8 names ↵terryjreedy2017-06-113-42/+62
| | | | | | (#1839) (#2102) Patch by Cheryl Sabella. (cherry picked from commit 0aa0a06e8b719533aefd175a5716f1698f474052)
* [3.6] bpo-30166: backport pyshell changes (GH 1293) (#2098)terryjreedy2017-06-111-5/+6
| | | (cherry-pick IDLE pyshell change from 7e4db2f)
* [3.6] Update idlelib NEWS for 3.6 (GH-2089) (#2097)terryjreedy2017-06-111-3/+26
| | | (cherry-picked from 503bc63)
* [3.6] bpo-30290: IDLE - pep8 names and tests for help-about (#2070)terryjreedy2017-06-102-99/+222
| | | | | | | | | | | | | | (cherry picked from commit 054e09147aaa6f61aca6cd40c7bf7ce6dc54a04b) * bpo-30290: IDLE: Refactor help_about to PEP8 names (#1714) Patch by Cheryl Sabella. (cherry picked from commit 5a346d5dbc1f0f70eca706a8ba19f7645bf17837) * IDLE test_help_about: edit and add test. (#1838) Coverage is now 100% (cherry picked from commit eca7da0f13c78013b924fe7306f3e2e59c0af40b)
* [3.6] IDLE test_textview: add comments and test, increase coverage to 100% ↵terryjreedy2017-06-092-9/+25
| | | | | (GH-1641) (#2018) (cherry picked from commit 295304d412700cc6621bb592109fa42249a9dcdb)
* [3.6] bpo-30303: IDLE: Add _utest argument to textview (GH-1499) (#1916)Mariatta2017-06-062-11/+57
| | | (cherry picked from commit ba365da9cee8901fad08ab0b61c7489c110e5c97)
* import sys before we use it on line 9 (GH-828) (GH-833)Mariatta2017-03-271-1/+2
| | | (cherry picked from commit 0579e81f30d00da562f021760d5b6a9c35186520)