terryjreedy
6f31717c47
[3.6] bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more 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
)
2017-06-29 19:15:18 -04:00
terryjreedy
af68382f68
[3.6] bpo-30723: IDLE -- Enhance parenmatch; add style, flash, and help (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
)
2017-06-27 23:02:19 -04:00
terryjreedy
93b88e9953
[3.6] bpo-21519: IDLE basic custom key entry better detects duplicates. (GH-2428) ( #2433 )
...
Original patch by Saimadhav Heblikar.
(cherry picked from commit 44913e5
)
2017-06-27 01:58:18 -04:00
terryjreedy
8bdc3bd3d6
[3.6] bpo-29910: IDLE no longer deletes a character after commenting out a 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
)
2017-06-27 01:53:40 -04:00
terryjreedy
8047f02a4b
[3.6] bpo-24813: IDLE: Add build bitness to About Idle title (GH-2380) ( #2426 )
...
Patch by Cheryl Sabella.
(cherry picked from commit 9a02ae3
)
2017-06-26 23:09:45 -04:00
terryjreedy
938e73809d
[3.6] bpo-30728: IDLE: Refactor configdialog to PEP8 names (GH-2307) ( #2421 )
...
Also, change '*' in the tkinter import to an explicit list of names.
Patch by Cheryl Sabella.
(cherry picked from commit bac7d33
)
2017-06-26 20:48:39 -04:00
terryjreedy
64a0c266e7
[3.6] bpo-6739: IDLE: Check for valid keybinding in config_keys (GH-2377) ( #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
)
2017-06-26 01:21:02 -04:00
terryjreedy
bd570f4211
[3.6] bpo-24813: IDLE: Add default title to help_about (GH-2366) ( #2369 )
...
Patch by Cheryl Sabella.
(cherry picked from commit 18ede06
)
2017-06-23 20:19:46 -04:00
terryjreedy
1b7474dedc
[3.6] bpo-24813: IDLE: Add icon to help_about (GH-2335) ( #2359 )
...
Patch by Cheryl Sabella
(cherry picked from commit d352d68
)
2017-06-23 12:59:59 -04:00
terryjreedy
d92ee3ea62
[3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch ( #2171 ) ( #2172 )
...
For unknown reasons, this does not work when running leak tests.
(cherry picked from commit 049cf2bb44
)
2017-06-13 15:40:59 -04:00
terryjreedy
b0efd493b6
[3.6]bpo-30642: Fix ref leak in idle_test.test_macosx ( #2163 ) ( #2165 )
...
(cherry picked from commit 8323189ff1
)
2017-06-13 11:52:08 -04:00
terryjreedy
2bfb45d447
bpo-30642: IDLE: Fix test_query refleak ( #2147 ) ( #2161 )
...
Patch by Louie Lu.
(cherry picked from commit b070fd275b
)
2017-06-13 10:11:02 -04:00
terryjreedy
57d8de8031
[3.6]bpo-20185: Adjust IDLE test to 3.7 Clinic change [GH-542] ( #2116 )
...
Synchronize 3.6/3.7 test_calltips to the extent possible. Part of patch by Serhiy Storchaka.
(cherry-pick from fdd42c4
)
2017-06-11 14:29:38 -04:00
terryjreedy
a895f91a46
[3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] ( #2114 )
2017-06-11 13:50:51 -04:00
terryjreedy
c6696feb09
[3.6] bpo-29919 Remove unused imports from idlelib [GH-137] ( #2105 )
...
Part of patch by Victor Stinner.
(cherry-pick from d6debb24e0
)
2017-06-11 05:53:46 -04:00
terryjreedy
d755d19ac4
[3.6] Remove unused imports ( #2104 )
...
Part of patch by Serhiy Strochaka, 2016-12-16 (no bpo issue)
(cherry-pick of 70d28a184c
)
2017-06-11 04:45:35 -04:00
terryjreedy
ccccf3156f
bpo-30495: IDLE: Modernize textview.py with docstrings and PEP8 names ( #1839 ) ( #2102 )
...
Patch by Cheryl Sabella.
(cherry picked from commit 0aa0a06e8b
)
2017-06-11 04:16:55 -04:00
terryjreedy
12cbd87ac0
[3.6] bpo-30290: IDLE - pep8 names and tests for help-about ( #2070 )
...
(cherry picked from commit 054e09147a
)
* bpo-30290: IDLE: Refactor help_about to PEP8 names (#1714 )
Patch by Cheryl Sabella.
(cherry picked from commit 5a346d5dbc
)
* IDLE test_help_about: edit and add test. (#1838 )
Coverage is now 100%
(cherry picked from commit eca7da0f13
)
2017-06-10 02:53:19 -04:00
terryjreedy
bbeaccc76b
[3.6] IDLE test_textview: add comments and test, increase coverage to 100% (GH-1641) ( #2018 )
...
(cherry picked from commit 295304d412
)
2017-06-09 15:59:31 -04:00
Mariatta
e1a60d9032
[3.6] bpo-30303: IDLE: Add _utest argument to textview (GH-1499) ( #1916 )
...
(cherry picked from commit ba365da9ce
)
2017-06-06 11:56:59 -04:00
Terry Jan Reedy
0180cf6684
Issue #28572 : Use system-specific values for configdialog font test
2016-11-07 23:14:53 -05:00
Terry Jan Reedy
f46b7823e6
Issue #28572 : Add 10% to coverage of IDLE's test_configdialog.
...
Update and augment description of the configuration system.
2016-11-07 17:15:01 -05:00
R David Murray
44b548dda8
#27364 : fix "incorrect" uses of escape character in the stdlib.
...
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Terry Jan Reedy
5f30f79357
Issue #27922 : IDLE tests no longer flash tk widgets (Merge 3.5).
2016-08-31 21:09:02 -04:00
Terry Jan Reedy
00b1e0f7ea
Issue #27922 : IDLE tests no longer flash tk widgets.
2016-08-31 21:03:16 -04:00
Terry Jan Reedy
bfbaa6b206
Issue #27891 : Consistently group and sort imports within idlelib modules.
2016-08-31 00:50:55 -04:00
Raymond Hettinger
15f44ab043
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-08-30 10:47:49 -07:00
Terry Jan Reedy
5acf4e563f
Issue #27821 : Fix bug in idlelib.comfig function and add new tests.
2016-08-24 22:08:01 -04:00
Terry Jan Reedy
e194e87f1f
Issue #27714 : Remove unneeded non-idempotent call that fails on retest.
2016-08-20 21:08:50 -04:00
Terry Jan Reedy
f7ac36837a
Issue #27714 : Remove unneeded non-idempotent call that fails on retest.
2016-08-20 21:07:38 -04:00
Terry Jan Reedy
3ff55a8155
Issue #27732 : Silence test_idle with dummy bell functions.
2016-08-10 23:44:54 -04:00
Terry Jan Reedy
2084350685
Issue #27714 : text_textview now passes when re-run in the same process
...
because test_idle failed while running with test -w (and no -jn).
2016-08-10 16:52:24 -04:00
Terry Jan Reedy
3f3dc89a15
Issue #27714 : text_textview now passes when re-run in the same process
...
because test_idle failed while running with test -w (and no -jn).
Prevent a non-fatal warning from test_config_key.
2016-08-10 15:15:25 -04:00
Terry Jan Reedy
40a46ad467
Issue #27380 : For test_query on Mac, adjust one expected result.
2016-08-10 13:16:26 -04:00
Terry Jan Reedy
65db8544bf
Issue #27621 : Put query response validation error messages in query box
...
instead of in separate massagebox. Redo tests to match.
Add Mac OSX refinements. Original patch by Mark Roseman.
2016-08-10 12:50:16 -04:00
Terry Jan Reedy
2553b1b057
Issue #27620 : Make htest box respond to <Return> and <Escape>.
2016-07-27 22:17:05 -04:00
Martin Panter
263893c261
Issue #27626 : Further spelling fixes for 3.6
2016-07-28 01:25:31 +00:00
Terry Jan Reedy
17937832ba
Issue #27620 : Escape key closes Query box as cancelled.
2016-07-25 20:58:43 -04:00
Terry Jan Reedy
c665dfd73e
Issue #19198 : IDLE: tab after initial whitespace should tab, not autocomplete.
...
Fixes problem with writing docstrings at lease twice indented.
2016-07-24 23:01:28 -04:00
Terry Jan Reedy
6f7b0f577e
Issue #27477 : Convert IDLE search dialogs to using ttk widgets.
2016-07-10 20:21:31 -04:00
Terry Jan Reedy
a748032653
Refine geometry of idlelib htests (and a few other fix-ups).
2016-07-10 17:28:10 -04:00
Terry Jan Reedy
cd5e388c39
Issue #27173 : Fix error in test_config that caused test_idle to fail.
2016-07-10 17:26:24 -04:00
Terry Jan Reedy
9bdb1edf35
Issue #27173 : Add 'IDLE Modern Unix' to the built-in key sets.
...
Make the default key set depend on the platform.
Add tests for changes to the config module.
2016-07-10 13:46:34 -04:00
Terry Jan Reedy
d3b96e1cd4
Whitespace
2016-07-08 00:26:20 -04:00
Terry Jan Reedy
8b22c0aada
Issue #27380 : IDLE: add query.HelpSource class and tests.
...
Remove modules that are combined in new module.
2016-07-08 00:22:50 -04:00
Terry Jan Reedy
9862b5194d
Issue #27452 : make command line idle-test> python test_help.py work.
...
__file__ is relative in this case.
2016-07-05 21:51:56 -04:00
Terry Jan Reedy
0cd6b97701
Issue 27437: Add query.ModuleName and use it for file => Load Module.
...
Users can now edit bad entries instead of starting over.
2016-07-03 19:11:13 -04:00
Terry Jan Reedy
68a53c5d39
Issue #27380 : IDLE: add base Query dialog, with ttk widgets and subclass
...
SectionName. These split class GetCfgSectionNameDialog from
configSectionNameDialog.py, temporarily renamed config_sec.py in 3.7.9a2.
More Query subclasses are planned.
2016-06-26 22:05:10 -04:00
Terry Jan Reedy
47e00e5c46
Issue #27365 : Finish merge so tests pass.
2016-06-22 05:49:15 -04:00
Terry Jan Reedy
096c6aae87
Issue #27365 : partial merge
2016-06-22 04:24:27 -04:00