Commit Graph

666 Commits

Author SHA1 Message Date
Georg Brandl 8cdc9bc901 More yearly updates. 2010-01-01 13:07:05 +00:00
Ronald Oussoren 92919a66d2 Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX.
The previous implementation used execv(2) to run the real interpreter, which means that
you cannot use the arch(1) tool to select the architecture you want to use for a
universal build because that only affects the python/pythonw wrapper and not the actual
interpreter.

The new version uses posix_spawnv with a number of OSX-specific options that ensure that
the real interpreter is started using the same CPU architecture as the wrapper, and that
means that 'arch -ppc python' now actually works.

I've also changed the way that the wrapper looks for the framework: it is now linked to
the framework rather than hardcoding the framework path. This should make it easier to
provide pythonw support in tools like virtualenv.
2009-12-24 13:30:58 +00:00
Benjamin Peterson d78cec5f39 bump version to 2.7a1 2009-12-05 17:47:56 +00:00
Benjamin Peterson 6e3dbbdf39 replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
Benjamin Peterson de0559998f replace callable() 2009-10-09 22:05:45 +00:00
Guilherme Polo f198ac2db2 Issue #3926: Fix the usage of the new showwarnings and formatwarning. 2009-08-14 14:03:07 +00:00
Guilherme Polo 86b882f3a6 Issue #3344: Replace itertools.count by enumerate. 2009-08-14 13:53:41 +00:00
Guilherme Polo 175e0bf8ca Typo. 2009-08-05 23:48:26 +00:00
Guilherme Polo 3d75555b2b Easier reference to find (at least while svn continues being used). 2009-08-05 16:51:41 +00:00
Amaury Forgeot d'Arc b9ee881f8b #6076 Add a title to the IDLE Preferences window. 2009-07-15 21:29:27 +00:00
Benjamin Peterson fb23463139 special case release candidates 2009-06-13 15:42:23 +00:00
Raymond Hettinger b4d2d31874 Issue 5150: Add rstrip() option to IDLE's format menu. 2009-05-29 01:36:26 +00:00
Ronald Oussoren 55d8828f98 Fixes issue 6110 2009-05-26 18:44:48 +00:00
Kurt B. Kaiser 62e9a653b5 Further development of issue5559, handle Windows files
which not only have embedded spaces, but leading spaces.
2009-05-03 02:05:22 +00:00
Kurt B. Kaiser 106ac46b3f idle.py modified and simplified to better support
developing experimental versions of IDLE which are
not installed in the standard location.
2009-05-03 01:03:44 +00:00
Kurt B. Kaiser 94290d390e Right click 'go to file/line' not working if spaces
in path.  Bug 5559.
2009-04-26 23:22:11 +00:00
Kurt B. Kaiser f13447f3f7 Produce correct version string to access the .chm
docs on Windows.  Patch 5783 gpolo.  Will port.
2009-04-23 02:36:01 +00:00
Kurt B. Kaiser 013d6cc0df Allow multiple IDLE GUI/subprocess pairs to exist
simultaneously. Thanks to David Scherer for suggesting
the use of an ephemeral port for the GUI.
Patch 1529142 Weeble.
2009-04-04 07:03:48 +00:00
Kurt B. Kaiser 4724f40bcb Remove port spec from run.py and fix bug where
subprocess fails to extract port from command line
when warnings are present.
2009-04-02 02:44:54 +00:00
Kurt B. Kaiser ce46511957 Tk 8.5 Text widget requires 'wordprocessor' tabstyle attr to handle mixed space/tab properly. Issue 5120, patch by Guilherme Polo. 2009-03-30 16:22:00 +00:00
Guilherme Polo 310916212e Typo fix. 2009-03-29 10:19:05 +00:00
Ronald Oussoren a97063a108 Fixes issues 3883 and 5194 2009-03-04 21:35:05 +00:00
Mark Dickinson 3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Raymond Hettinger bf3f69ee85 Remove startup firewall message. That is handled by an error dialog
whenever a connection cannot be formed.  Also, the Idle version number
is already in the About Idle dialog.  Now, the startup is clean looking
once again.
2009-01-26 23:29:09 +00:00
Martin v. Löwis 7d7e1b7c2e Add heading for 2.7a0. 2009-01-24 15:45:18 +00:00
Raymond Hettinger 7b4c2beda6 Use Georg's new permalinks to documentation by version number.
That assures that IDLE's help always points to the correct
version and the latest update with all bug fixes.
2009-01-20 10:46:23 +00:00
Ronald Oussoren 8c95484cff Fix for issue3559: No preferences menu in IDLE on OSX
1) Add a comment to the help file to that points to the
   preferences menu.

2) An earlier checkin tried to detect Tk >= 8.10.14,
   but did this in the wrong way. The end result of this
   was that the IDLE->Preferences... menu got surpressed
   when using the system version of Tcl/Tk
2009-01-02 12:59:32 +00:00
Benjamin Peterson b76444b2fa use new showwarnings signature for idle #3391 2008-10-16 19:40:14 +00:00
Benjamin Peterson 9dc0a639bd support the optional line argument for idle 2008-10-15 21:05:55 +00:00
Barry Warsaw afa1436958 Bumping to 2.6 final. 2008-10-01 21:46:40 +00:00
Barry Warsaw 6af16190f6 Bumping to 2.6rc2 2008-09-18 04:33:43 +00:00
Barry Warsaw 1e62aec3ed Bumping to 2.6rc1 2008-09-12 23:25:57 +00:00
Barry Warsaw 07a4a3851d Bump to 2.6b3. 2008-08-21 01:15:08 +00:00
Barry Warsaw daddf03f77 Bumping to 2.6b2 2008-07-18 03:20:07 +00:00
Barry Warsaw b5d174037f Bumping to 2.6b1 2008-06-19 01:48:07 +00:00
Georg Brandl 392c6fc02d ConfigParser renaming reversal part 3: move module into place and adapt imports. 2008-05-25 07:25:25 +00:00
Georg Brandl a6168f9e0a Queue renaming reversal part 3: move module into place and
change imports and other references. Closes #2925.
2008-05-25 07:20:14 +00:00
Georg Brandl e152a77d96 socketserver renaming reversal part 3: move the module into the right
place and fix all references to it.  Closes #2926.
2008-05-24 18:31:28 +00:00
Brett Cannon 2ee0e8eaec Revert the renaming of repr to reprlib. 2008-05-23 05:03:59 +00:00
Georg Brandl dffbf5f542 Revert copy_reg -> copyreg rename. 2008-05-20 07:49:57 +00:00
Georg Brandl 6634bf2919 Tkinter rename reversal: remove tkinter package, adapt imports and docs. 2008-05-20 07:13:37 +00:00
Georg Brandl ad9afeb8f0 Tkinter rename, step 2: fix imports and add stub modules. 2008-05-16 15:48:15 +00:00
Alexandre Vassalotti 50a1acb2ab Changed references to the reprlib module to use its new name. 2008-05-16 06:58:49 +00:00
Alexandre Vassalotti e2514c6f10 Updated import statements to use the new `configparser` module name.
Updated the documentation to use the new name.
Revert addition of the stub entry for the old name.

Georg, I am reverting your changes since this commit should propagate
to py3k.
2008-05-14 22:44:22 +00:00
Alexandre Vassalotti d192c925ac Updated all import statements to use the new socketserver module name.
Renamed socketserver module in its own documentation.
Renamed documentation references.
2008-05-12 02:11:22 +00:00
Alexandre Vassalotti 30ece44f2e Added stub for the Queue module to be renamed in 3.0.
Use the 3.0 module name to avoid spurious warnings.
2008-05-11 19:39:48 +00:00
Alexandre Vassalotti 9510e4a9f8 Added module stub for copy_reg renaming in 3.0.
Renamed copy_reg to copyreg in the standard library, to avoid
spurious warnings and ease later merging to py3k branch. Public
documentation remains intact.
2008-05-11 08:25:28 +00:00
Barry Warsaw 6cc7940e10 Bump to 2.6a3 2008-05-08 13:16:19 +00:00
Kurt B. Kaiser 83101909cb Autocompletion of filenames now support alternate separators, e.g. the
'/' char on Windows.  Patch 2061 Tal Einat.
2008-04-27 21:52:19 +00:00
Kurt B. Kaiser 9c5c0af804 Improved AutoCompleteWindow logic. Patch 2062 Tal Einat. 2008-04-27 21:38:05 +00:00
Kurt B. Kaiser 93cdae5f81 Home / Control-A toggles between left margin and end of leading white
space.  Patch 1196903 Jeff Shute.

M    idlelib/PyShell.py
M    idlelib/EditorWindow.py
M    idlelib/NEWS.txt
2008-04-27 21:07:41 +00:00
Amaury Forgeot d'Arc dd8d824a56 Issue 2665: On Windows, sys.stderr does not contain a valid file when running without a console.
It seems to work, but will fail at the first flush.

This causes IDLE to crash when too many warnings are printed.

Will backport.
2008-04-21 22:35:30 +00:00
Barry Warsaw 9649cdd5d4 Updating for 2.6a2 2008-04-03 04:10:02 +00:00
Benjamin Peterson 5b63acd31e #2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch
2008-03-29 15:24:25 +00:00
Barry Warsaw 9d225e63be Give IDLE a release date 2008-03-01 03:00:52 +00:00
Barry Warsaw c853f5d4dc bump idle version number 2008-03-01 02:26:42 +00:00
Christian Heimes c5f05e45cf Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
Kurt B. Kaiser f05fa33a6c Configured selection highlighting colors were ignored; updating highlighting
in the config dialog would cause non-Python files to be colored as if they
were Python source; improve use of ColorDelagator.  Patch 1334. Tal Einat.
2008-02-15 22:25:09 +00:00
Kurt B. Kaiser e312cfddd3 ScriptBinding event handlers weren't returning 'break'. Patch 2050, Tal Einat. 2008-02-15 21:56:36 +00:00
Kurt B. Kaiser ac45aff2f1 Bring NEWS.txt up to date from check-in msgs. 2008-02-14 00:08:55 +00:00
Kurt B. Kaiser 8d365c323f what??! Correct r60225. 2008-02-12 15:45:50 +00:00
Kurt B. Kaiser f30ba3dd66 There was an error on exit if no sys.exitfunc was defined. Issue 1647. 2008-01-23 22:55:26 +00:00
Kurt B. Kaiser b4aaa76053 Could not open files in .idlerc directory if latter was hidden on Windows.
Issue 1743, Issue 1862.
2008-01-23 22:19:23 +00:00
Kurt B. Kaiser 28c7bcf38e Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat. 2007-12-28 04:18:01 +00:00
Christian Heimes 0423698bc3 Fixed #1649: IDLE error: dictionary changed size during iteration 2007-12-18 21:56:09 +00:00
Kurt B. Kaiser 7a634e6027 IDLE_tabbedpages.071101.patch Tal Einat
Cosmetic changes, one bug.  Remove tabpage.py, replaced by tabbedpages.py
2007-12-11 19:35:12 +00:00
Kurt B. Kaiser 0c64fb435a format_paragraph_event wasn't returning 'break' 2007-12-11 00:04:57 +00:00
Kurt B. Kaiser 20172f9b5d check in Tal Einat's update to tabpage.py
Patch 1612746

M    configDialog.py
M    NEWS.txt
AM   tabbedpages.py
2007-10-30 02:38:54 +00:00
Kurt B. Kaiser 60d58406d0 Add confirmation dialog before printing. Patch 1717170 Tal Einat. 2007-10-28 19:03:59 +00:00
Kurt B. Kaiser 1e45f80b22 1. Add comments to provide top-level documentation.
2. Refactor to use more descriptive names.
3. Enhance tests in main().
2007-10-26 00:10:09 +00:00
Kurt B. Kaiser aa8a96a159 Correct an ancient bug in an unused path by removing that path: register() is
now idempotent.
2007-10-25 22:43:45 +00:00
Kurt B. Kaiser 631fee6235 show paste if > 80 columns. Patch 1659326 Tal Einat. 2007-10-10 01:06:47 +00:00
Kurt B. Kaiser cca976b11c Allow cursor color change w/o restart. Patch 1725576 Tal Einat. 2007-10-10 00:55:40 +00:00
Kurt B. Kaiser c8f65e69da Allow interrupt only when executing user code in subprocess
Patch 1225 Tal Einat modified from IDLE-Spoon.
2007-10-09 19:31:30 +00:00
Kurt B. Kaiser e3fde8f8cd configDialog cleanup. Patch 1730217 Tal Einat. 2007-10-04 03:11:12 +00:00
Kurt B. Kaiser d5f4910afd textView cleanup. Patch 1718043 Tal Einat.
M    idlelib/EditorWindow.py
M    idlelib/aboutDialog.py
M    idlelib/textView.py
M    idlelib/NEWS.txt
2007-10-04 02:53:07 +00:00
Kurt B. Kaiser 0b634efcbc Clean up EditorWindow close. 2007-10-04 02:09:17 +00:00
Kurt B. Kaiser 85897c9b38 Remove unused theme that was causing a fault in p3k. 2007-10-04 02:07:50 +00:00
Kurt B. Kaiser 67bd62fd6c Assume that the user knows when he wants to end the line; don't insert
something he didn't select or complete.
2007-10-04 01:49:54 +00:00
Ronald Oussoren 9b0bcc1f4b Patch 1693258: Fix for duplicate "preferences" menu-OS X 2007-07-09 06:02:21 +00:00
Georg Brandl d53d951c24 Patch #1672481: fix bug in idlelib.MultiCall. 2007-03-06 11:52:24 +00:00
Kurt B. Kaiser 209de1f6ca Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;
mouse and cursor selection in ACWindow implemented; double Tab inserts current
selection and closes ACW (similar to double-click and Return); scroll wheel now
works in ACW.  Added AutoComplete instructions to IDLE Help.
2007-02-08 22:58:18 +00:00
Kurt B. Kaiser 814ef237a2 Handle AttributeError during calltip lookup 2007-02-07 08:07:13 +00:00
Kurt B. Kaiser ca30acfea8 [ 1621265 ] Auto-completion list placement
Move AC window below input line unless not enough space, then put it above.
Patch: Tal Einat
2007-02-07 03:39:41 +00:00
Kurt B. Kaiser f30ff3b8fd narrow exception per [ 1540849 ] except too broad 2007-02-06 19:21:19 +00:00
Kurt B. Kaiser 4864b2bcd7 Updated patch (CodeContext.061217.patch) to
[ 1362975 ] CodeContext - Improved text indentation
Tal Einat 16Dec06
2007-02-06 19:09:43 +00:00
Kurt B. Kaiser dddeb0eec4 Clean up ModifiedInterpreter.runcode() structure 2007-02-06 03:21:40 +00:00
Kurt B. Kaiser ecf796ed43 1. Calltips now 'handle' tuples in the argument list (display '<tuple>' :)
Suggested solution by Christos Georgiou, Bug 791968.
2. Clean up tests, were not failing when they should have been.
4. Remove some camelcase and an unneeded try/except block.
2007-02-05 23:02:16 +00:00
Kurt B. Kaiser 90f84922ee Add 'raw' support to configHandler. Patch 1650174 Tal Einat. 2007-02-05 06:03:18 +00:00
Tim Peters f733abb783 Whitespace normalization. 2007-01-30 03:03:46 +00:00
Matthias Klose a398e2d059 - idle: Honor the "Cancel" action in the save dialog (Debian bug #299092). 2007-01-11 11:44:04 +00:00
Kurt B. Kaiser c3200b97d6 1. Avoid hang when encountering a duplicate in a completion list. Bug 1571112.
2. Duplicate some old entries from Python's NEWS to IDLE's NEWS.txt

M    AutoCompleteWindow.py
M    NEWS.txt
2006-12-15 05:13:11 +00:00
Martin v. Löwis 8609da9b17 Move IDLE news into NEWS.txt. 2006-12-03 09:54:46 +00:00
Martin v. Löwis 4ebbefe677 Patch #1362975: Rework CodeContext indentation algorithm to
avoid hard-coding pixel widths. Also make the text's scrollbar
a child of the text frame, not the top widget.
2006-11-22 08:50:02 +00:00
Georg Brandl d076153ee8 Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
2006-10-12 07:57:21 +00:00
Kurt B. Kaiser e0b673573b Add comment explaining that error msgs may be due to user code when
running w/o subprocess.
2006-10-01 21:54:37 +00:00
Kurt B. Kaiser c426ffcdfc Some syntax errors were being caught by tokenize during the tabnanny
check, resulting in obscure error messages.  Do the syntax check
first.  Bug 1562716, 1562719
2006-10-01 21:16:45 +00:00
Anthony Baxter 78b1a08373 Updating IDLE's version number to match Python's (as per python-dev
discussion).
2006-08-18 07:29:02 +00:00
Kurt B. Kaiser 7ae354846f File menu hotkeys: there were three 'p' assignments. Reassign the
'Save Copy As' and 'Print' hotkeys to 'y' and 't'.  Change the
Shell menu hotkey from 's' to 'l'.

M    Bindings.py
M    PyShell.py
M    NEWS.txt
2006-08-16 21:45:59 +00:00
Kurt B. Kaiser f137e1df2c Get quit() and exit() to work cleanly when not using subprocess. 2006-08-16 07:04:17 +00:00