Commit Graph

125 Commits

Author SHA1 Message Date
Senthil Kumaran 13502b19c6 Fix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an incorrect arg. 2011-07-03 17:38:53 -07:00
Ned Deily 2a6f4b3327 Merged revisions 88003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88003 | ned.deily | 2011-01-14 20:37:12 -0800 (Fri, 14 Jan 2011) | 5 lines

  #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,
          rather than the currently problematic Apple-supplied one,
          when running with the 64-/32-bit installer variant.
........
2011-01-30 00:18:47 +00:00
Ezio Melotti c569cfebce Merged revisions 83103 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83103 | ezio.melotti | 2010-07-23 19:48:22 +0300 (Fri, 23 Jul 2010) | 1 line

  #9359: fix typo. Thanks to Piotr Kasprzyk for the patch.
........
2010-07-23 16:55:21 +00:00
Florent Xicluna d630c04ab1 #7092: Fix additional "-3" warnings in the idlelib package, and convert to absolute imports. 2010-04-02 07:24:52 +00:00
Florent Xicluna c8a730bf72 Syntax cleanup `== None` -> `is None` 2010-03-25 20:32:07 +00:00
Guilherme Polo f198ac2db2 Issue #3926: Fix the usage of the new showwarnings and formatwarning. 2009-08-14 14:03:07 +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
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
Benjamin Peterson b76444b2fa use new showwarnings signature for idle #3391 2008-10-16 19:40:14 +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
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
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
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 dddeb0eec4 Clean up ModifiedInterpreter.runcode() structure 2007-02-06 03:21:40 +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 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
Kurt B. Kaiser d112bc7958 Patch #1540892: site.py Quitter() class attempts to close sys.stdin
before raising SystemExit, allowing IDLE to honor quit() and exit().

M    Lib/site.py
M    Lib/idlelib/PyShell.py
M    Lib/idlelib/CREDITS.txt
M    Lib/idlelib/NEWS.txt
M    Misc/NEWS
2006-08-16 05:01:42 +00:00
Kurt B. Kaiser cd3d8bee02 Retrieval of previous shell command was not always preserving indentation
since 1.2a1) Patch 1528468 Tal Einat.
2006-08-10 17:11:09 +00:00
Kurt B. Kaiser be332e4ba7 As a slight enhancement to the previous checkin, improve the
internal error reporting by moving message to IDLE console.
2006-08-09 17:47:15 +00:00
Kurt B. Kaiser 312e5afb51 1. When used w/o subprocess, all exceptions were preceeded by an error
message claiming they were IDLE internal errors (since 1.2a1).
2.  Add Ronald Oussoren to CREDITS

M    NEWS.txt
M    PyShell.py
M    CREDITS.txt
2006-08-09 16:46:15 +00:00
Kurt B. Kaiser b3c4d16e68 EditorWindow failed when used stand-alone if sys.ps1 not set.
Bug 1010370 Dave Florek

M    EditorWindow.py
M    PyShell.py
M    NEWS.txt
2006-07-24 17:13:23 +00:00
Tim Peters 4f96f1f2b5 Whitespace normalization. 2006-06-11 19:42:51 +00:00
Ronald Oussoren 19302d927e This patch improves the L&F of IDLE on OSX. The changes are conditionalized on
being in an IDLE.app bundle on darwin. This does a slight reorganisation of the
menus and adds support for file-open events.
2006-06-11 14:33:36 +00:00
Kurt B. Kaiser b17544551f Merge IDLE-syntax-branch r39668:41449 into trunk
A    idlelib/AutoCompleteWindow.py
A    idlelib/AutoComplete.py
A    idlelib/HyperParser.py
M    idlelib/PyShell.py
M    idlelib/ParenMatch.py
M    idlelib/configDialog.py
M    idlelib/EditorWindow.py
M    idlelib/PyParse.py
M    idlelib/CallTips.py
M    idlelib/CallTipWindow.py
M    idlelib/run.py
M    idlelib/config-extensions.def
A    idlelib/MultiCall.py
2005-11-18 22:05:48 +00:00
Neal Norwitz 6203196c7c Remove unused import 2005-09-01 00:39:02 +00:00
Kurt B. Kaiser 8fa7eb563b Remove dead code
M IdleHistory.py
M PyShell.py
2005-06-21 02:42:17 +00:00
Kurt B. Kaiser a7daba6866 <Enter> when cursor is on a previous command retrieves that command. Instead
of replacing the input line, the previous command is now appended to the
input line. Indentation is preserved, and undo is enabled.
Patch 1196917  Jeff Shute

Modified Files:
	NEWS.txt PyShell.py
2005-06-19 18:56:15 +00:00
Kurt B. Kaiser 935ea9a0b2 Improve subprocess link error notification
M NEWS.txt
M PyShell.py
M rpc.py
2005-05-10 03:44:24 +00:00
Kurt B. Kaiser 6af4498602 1. Polish tabbing code.
2. Restore use of set_indentation_params(), was dead code since
   Autoindent.py was merged into EditorWindow.py.
3. Make usetabs, indentwidth, tabwidth, context_use_ps1 instance vars
   and set in EditorWindow.__init__()
4. In PyShell.__init__() set usetabs, indentwidth and context_use_ps1
   explicitly (config() is eliminated).
5. Add Tabnanny check when Module is Run/F5, not just when Checked.
6. Discourage using an indent width other than 8 when using tabs to
   indent Python code.

M EditorWindow.py
M NEWS.txt
M PyShell.py
M ScriptBinding.py
2005-01-19 00:22:59 +00:00
Kurt B. Kaiser 5c3df35b6b The GUI was hanging if the shell window was closed while a raw_input()
was pending.  Restored the quit() of the readline() mainloop().
http://mail.python.org/pipermail/idle-dev/2004-December/002307.html

M NEWS.txt
M PyShell.py
2004-12-23 04:20:59 +00:00
Kurt B. Kaiser dcba6622f5 The remote procedure call module rpc.py can now access data attributes of
remote registered objects.  Changes to these attributes are local, however.

M EditorWindow.py
M NEWS.txt
M PyShell.py
M idlever.py
M rpc.py
M run.py
2004-12-21 22:10:32 +00:00
Kurt B. Kaiser f7a8899f33 The change in the linecache.checkcache() signature at rev 1.13 caused IDLE to exit
when an exception was raised while running w/o the subprocess.  Python Bug 1063840

M NEWS.txt
M PyShell.py
2004-11-13 21:05:58 +00:00
Kurt B. Kaiser 183403a271 1. If user passes a non-existant filename on the commandline, just open
a new file, don't raise a dialog.  IDLEfork 954928.
2. Refactor EditorWindow.wakeup() to WindowList.ListedToplevel.wakeup() and
   clarify that the Toplevel of an EditorWindow is a WindowList.ListedToplevel.
3. Make a number of improvements to keyboard focus binding.  Improve window
   raising, especially in the debugger.  IDLEfork Bug 763524 (GvR list).
4. Bump idlever to 1.1a3

M Debugger.py
M EditorWindow.py
M FileList.py
M NEWS.txt
M PyShell.py
M WindowList.py
M idlever.py
2004-08-22 05:14:32 +00:00
Skip Montanaro d916142343 whitespace normalization 2004-07-06 21:53:27 +00:00
Kurt B. Kaiser 49a5fe107f Redirect the warning stream to the shell during the ScriptBinding check of user code
and format the warning similarly to an exception for both that check and for
warnings raised in the subprocess.

M NEWS.txt
M Pyshell.py
M ScriptBinding.py
M run.py
2004-07-04 01:25:56 +00:00
Kurt B. Kaiser 4d5bc6031c Noam Raphel: Further developemt of CodeContext feature.
The visibility state of the code context pane is now persistent between
sessions and the pane does not appear in the shell window.

M CodeContext.py
M EditorWindow.py
M NEWS.txt
M PyShell.py
M config-extensions.def
M configHandler.py
2004-06-06 01:29:22 +00:00
Kurt B. Kaiser 73360a3e61 Add a highlight theme for builtin keywords. Python Patch 805830 Nigel Rowe
M ClassBrowser.py
M ColorDelegator.py
M EditorWindow.py
M NEWS.txt
M PyShell.py
M TreeWidget.py
M config-highlight.def
M configDialog.py
M configHandler.py
2004-03-08 18:15:31 +00:00
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Kurt B. Kaiser 7663729ec7 There was an error in the Tk error dialog fix at Rev 1.84 which caused starting
w/o the subprocess to fail.  Check in a fix to IDLE and IDLEfork.

M PyShell.py

Backport candidate, combine with previous.
2004-01-21 22:10:01 +00:00
Kurt B. Kaiser af3eb87802 Added a Tk error dialog to run.py inform the user if the subprocess can't
connect to the user GUI process.  Added a timeout to the GUI's listening
socket.  Added Tk error dialogs to PyShell.py to announce a failure to bind
the port or connect to the subprocess.  Clean up error handling during
connection initiation phase.  This is an update of Python Patch 778323.

M NEWS.txt
M PyShell.py
M ScriptBinding.py
M run.py

Backport candidate.
2004-01-21 18:54:30 +00:00
Kurt B. Kaiser 2303b1c19a Keybindings with the Shift modifier now work correctly. So do bindings
which use the Space key.  Limit unmodified user keybindings to the
function keys.
Python Bug 775353, IDLEfork Bugs 755647, 761557

Improve error handling during startup if there's no Tkinter.

M NEWS.txt
M PyShell.py
M config-keys.def
M configHandler.py
M keybindingDialog.py

Backport candidate.
2003-11-24 05:26:16 +00:00
Kurt B. Kaiser b785518d05 IDLE didn't start correctly when Python was installed in "Program Files"
on W2K and XP.  Python Bugs 780451, 784183

Backported to 2.2-maint
2003-08-14 14:54:28 +00:00
Kurt B. Kaiser 220fecf0f4 Added a banner to the shell startup message discussing possible
warnings from personal firewall software.  Added the same text
to README.txt, updated NEWS.txt for release.

M NEWS.txt
M PyShell.py
M README.txt
2003-07-27 03:24:19 +00:00
Raymond Hettinger 931237e2e6 SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds) 2003-07-09 18:48:24 +00:00
Kurt B. Kaiser bea57c6c35 SF Bug 767794
"Break or continue outside loop causes crash"
2003-07-09 04:27:24 +00:00
Martin v. Löwis bcc651a1f9 Idlefork patch #682347: convert Unicode strings from readline to
IOBinding.encoding. Also set sys.std{in,out,err}.encoding, for both
the local and the subprocess case.
2003-06-22 07:52:56 +00:00
Kurt B. Kaiser 9e8b828f07 Support testing in .../Lib/idlelib when calling <python PyShell.py>
by providing other modules access to globals set up in PyShell.main()
2003-06-15 17:38:45 +00:00