Commit Graph

225 Commits

Author SHA1 Message Date
csabella bac7d3363b bpo-30728: IDLE: Refactor configdialog to PEP8 names (#2307)
Also, change '*' in the tkinter import to an explicit list of names.
Patch by Cheryl Sabella.
2017-06-26 17:46:26 -04:00
csabella 8c78aa70c8 bpo-6739: IDLE: Check for valid keybinding in config_keys (#2377)
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.
2017-06-26 00:55:48 -04:00
csabella 18ede06258 bpo-24813: IDLE: Add default title to help_about (#2366)
Patch by Cheryl Sabella.
2017-06-23 20:00:58 -04:00
csabella d352d68977 bpo-24813: IDLE: Add icon to help_about (#2335)
Patch by Cheryl Sabella
2017-06-23 12:00:29 -04:00
terryjreedy 049cf2bb44 bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171)
For unknown reasons, this does not work when running leak tests.
2017-06-13 14:40:10 -04:00
terryjreedy 8323189ff1 Fix ref leak in idle_test.test_macosx (#2163) 2017-06-13 10:52:29 -04:00
mlouielu b070fd275b bpo-30642: IDLE: Fix test_query refleak (#2147)
Patch by Louie Lu.
2017-06-13 08:29:44 -04:00
csabella 0aa0a06e8b bpo-30495: IDLE: Modernize textview.py with docstrings and PEP8 names (#1839)
Patch by Cheryl Sabella.
2017-05-28 06:50:55 -04:00
terryjreedy eca7da0f13 IDLE test_help_about: edit and add test. (#1838)
Coverage is now 100%
2017-05-28 01:10:51 -04:00
csabella 5a346d5dbc bpo-30290: IDLE: Refactor help_about to PEP8 names (#1714)
Patch by Cheryl Sabella.
2017-05-27 15:49:26 -04:00
mlouielu 054e09147a bpo-30290: IDLE: Add more tests for help_about dialog (#1697)
Increases coverage to 99%
2017-05-21 18:19:35 -04:00
terryjreedy 295304d412 IDLE test_textview: add comments and test, increase coverage to 100% (#1641) 2017-05-17 22:59:46 -04:00
Louie Lu ba365da9ce bpo-30303: IDLE: Add _utest argument to textview (#1499) 2017-05-17 17:51:31 -04:00
Serhiy Storchaka 5908300e4b bpo-29995: re.escape() now escapes only special characters. (#1007) 2017-04-13 21:06:43 +03:00
Victor Stinner d6debb24e0 bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
2017-03-27 16:05:26 +02:00
Serhiy Storchaka fdd42c481e bpo-20185: Convert list object implementation to Argument Clinic. (#542) 2017-03-11 09:19:20 +02:00
Serhiy Storchaka 70d28a184c Remove unused imports. 2016-12-16 20:00:15 +02: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
Terry Jan Reedy 06a1fcbb00 Issue #27365: Allow non-ascii in idlelib/NEWS.txt, for contributor names.
Rest of patch that should not be cherry picked into 3.5.2 final.
2016-06-22 04:17:28 -04:00
Terry Jan Reedy b60adc54d4 Issue #24137: Run IDLE, test_idle, and htest with tkinter default root disabled.
Fix code and tests that fail with this restriction.
Fix htests to not create a second and redundant root and mainloop.
2016-06-21 18:41:38 -04:00
Berker Peksag 75a25867ab Issue #27312: Fix TypeError in test_setupapp 2016-06-18 04:18:24 +03:00
Terry Jan Reedy fdb6ef774a Issue #27312: mock out function that fails when called from setupApp during
IDLE test_macosx and see if addOpenEventSupport() fails.
2016-06-17 19:55:46 -04:00
Terry Jan Reedy 2518fa8326 Issue #27239: Continue refactoring idlelib.macosx and adding macosx tests. 2016-06-12 15:49:20 -04:00
Terry Jan Reedy 50288f964a Issue #5124: rename PyShell back to pyshell and patch test for 3.6 2016-06-11 02:10:59 -04:00
Terry Jan Reedy b5c43f4c01 Merge with 3.5 2016-06-11 02:06:40 -04:00
Terry Jan Reedy 5ad8599caa Issue #5124: Paste with selection should always replace.
This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets.
The exception was X11 tk widgets.  Original patch by Serhiy Storchake.
2016-06-11 02:06:26 -04:00
Terry Jan Reedy 01e35754fb Issue *24750: Switch all scrollbars in IDLE to ttk versions.
Where needed, add minimal tests to cover changes.
2016-06-10 18:19:21 -04:00
Terry Jan Reedy 1080d13a7d Issue #24759: IDLE requires tk 8.5 and availability ttk widgets.
Delete now unneeded tk version tests and code for older versions.
2016-06-09 21:09:15 -04:00
Terry Jan Reedy 82ae15597f Issue #24759: Add test for IDLE syntax colorizoer. 2016-06-09 21:04:09 -04:00
Terry Jan Reedy fb51e65289 Issue #27239: idlelib.macosx.isXyzTk functions initialize as needed. 2016-06-08 18:09:22 -04:00
Terry Jan Reedy 64b8f6bcc8 Merge with 3.5 2016-06-04 16:16:10 -04:00
Terry Jan Reedy f13cc2f991 Issue #24759: Add 'private' notice for idlelib.idle_test. 2016-06-04 16:15:58 -04:00
Terry Jan Reedy 55de5c3de3 Merge: Revise and synchronize idle_test.test_configdialog. 2016-06-04 15:55:53 -04:00
Terry Jan Reedy 05dab096c1 Revise and synchronize idle_test.test_configdialog. 2016-06-04 15:54:44 -04:00
Terry Jan Reedy 2cf6ca787a Merge with 3.5 2016-06-04 02:32:32 -04:00
Terry Jan Reedy 1aa06e1525 IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'. 2016-06-04 02:32:18 -04:00
Terry Jan Reedy 5a493e9dc4 Merge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings. 2016-06-03 23:58:37 -04:00
Terry Jan Reedy 6047b55372 Issue #27196: Stop 'application destroyed' warnings when running IDLE tests.
The update_idletasks solution was provided by Serhiy Storchaka.
2016-06-03 23:53:56 -04:00
Terry Jan Reedy 3d7281d2bd Issue 20567: Revise idle_test/README.txt and some tests to match new advice. 2016-06-03 22:28:05 -04:00
Terry Jan Reedy 75cbeb5dac Issue 20567: Revise idle_test/README.txt and some tests to match new advice. 2016-06-03 22:19:17 -04:00
Martin Panter e514093a2f Issue #27125: Merge typo fixes from 3.5 2016-05-30 05:24:49 +00:00
Martin Panter a90a4a9651 Issue #27125: Remove duplicated words from documentation and comments 2016-05-30 04:04:50 +00:00
Terry Jan Reedy 6fa5bdc6e8 Issue #24225: Within idlelib files, update idlelib module names.
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.
2016-05-28 13:22:31 -04:00
Terry Jan Reedy 0d9220e162 Issue #24225: Rename many idlelib/*.py and idlelib/idle_test/test_*.py files. 2016-05-22 19:10:31 -04:00
Terry Jan Reedy 092473eef9 Issue #21939: Test IDLE percolator. Original patch by Saimadhav Heblikar. 2016-05-17 22:48:22 -04:00
Terry Jan Reedy fdec2a3424 Issue #21676: test IDLE replace dialog. Original patch by Saimadhav Heblikar. 2016-05-17 19:58:02 -04:00
Terry Jan Reedy c359af1530 Issue #18410: add missing parent argument. 2016-05-17 18:35:07 -04:00
Terry Jan Reedy b236fe4515 Issue #18410: Test IDLE's search dialog; original patch by Westley Martínez. 2016-05-17 18:18:37 -04:00
Terry Jan Reedy 0495fa81e6 Issue #21703: Add test for undo delegator. Patch most by Saimadhav Heblikar . 2016-05-16 23:32:28 -04:00
Terry Jan Reedy 6b98ce23f6 Issue #27044: stop test_idle from leaking by deleting callbacks. 2016-05-16 22:27:28 -04:00
Terry Jan Reedy af7cf6d2b9 Issue 18910: Edit idle_test/README.txt to add 'requires' usage at module scope.
Uppercase 'GUI', remove 2.7 references and reflow text.
2016-05-15 23:52:56 -04:00
Terry Jan Reedy 33a8fb9920 Issue #23977: Tweak IDLE Delegator and its test. 2016-05-15 22:06:49 -04:00
Terry Jan Reedy 5f4ac9fcf3 Issue #25747: remove undependable and possibly useless test. 2016-05-15 14:19:59 -04:00
Terry Jan Reedy c64d942e8d Issue #20640: Add tests for idlelib.configHelpSourceEdit.
Patch by Saimadhav Heblikar.
2016-05-15 01:30:47 -04:00
Terry Jan Reedy b31a2849da Issue #25507: revert incorrect movement of idleConf import in c548ad75160c.
Augment htest to include all major IOBinding functions.
2016-01-27 11:51:50 -05:00
Terry Jan Reedy dc22031a61 Merge with 3.4 2015-10-30 02:47:33 -04:00
Terry Jan Reedy bbdc065506 Issue #25507: move test-specific imports to test function (idlelib.IOBinding). 2015-10-30 02:47:06 -04:00
Terry Jan Reedy 447169f6da Merge with 3.4 2015-10-13 22:04:07 -04:00
Terry Jan Reedy 93f3542ae4 Issue #24782: Finish converting the Configure Extension dialog into a new
tab in the IDLE Preferences dialog.  Code patch by Mark Roseman.
2015-10-13 22:03:51 -04:00
Terry Jan Reedy 47f9741e5c Merge with 3.4 2015-09-20 19:57:37 -04:00
Terry Jan Reedy 5d46ab1274 Issue #16893: Replace help.txt with idle.html for Idle doc display.
The new idlelib/idle.html is copied from Doc/build/html/idle.html.
It looks better than help.txt and will better document Idle as released.
The tkinter html viewer that works for this file was written by Rose Roseman.
The new code is in idlelib/help.py, a new file for help menu classes.
The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
2015-09-20 19:57:13 -04:00
Terry Jan Reedy 52ee2471b3 Merge with 3.4 2015-09-09 02:10:35 -04:00
Terry Jan Reedy 78d915aa3e Issue 24199: Deprecate idlelib.idlever with a warning on import. 2015-09-09 02:10:17 -04:00
Terry Jan Reedy 5c28e9f887 Issue #23672: Allow Idle to edit and run files with astral chars in name.
Patch by Mohd Sanad Zaki Rizvi.
2015-08-06 00:54:07 -04:00
Terry Jan Reedy 19c1a8725c Issue #20792: Expand idle_test.test_pathbowser. Tweak file to not copy twice.
Original patch by Saimadhav Heblikar.
2015-07-20 17:44:59 -04:00
Terry Jan Reedy 0901d84e35 Issue #23672:Merge with 3.4 2015-08-06 00:54:45 -04:00
Terry Jan Reedy fd580cbd17 Merge with 3.4 2015-07-20 17:45:22 -04:00
Terry Jan Reedy b9731f26c3 Merge with 3.4 2015-05-16 14:24:06 -04:00
Terry Jan Reedy 031d0640cd Issue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart. 2015-05-16 14:23:39 -04:00
Terry Jan Reedy 75fb816c78 Issue #23184: idle tests, remove unused names and imports. 2015-05-15 23:55:21 -04:00
Terry Jan Reedy 188c18d48f Merge 3.4 #23184: idle tests, remove unused names and imports. 2015-05-15 23:55:49 -04:00