Commit Graph

64 Commits

Author SHA1 Message Date
Kurt B. Kaiser b61602c968 Better indentation after first line of string continuation.
IDLEfork Patch 681992, Noam Raphael
2005-11-15 07:20:06 +00:00
Kurt B. Kaiser 389482ccbe Incorporate Tal Einat's comment on Patch 936169: Fixes alignment problem. 2005-10-03 20:08:25 +00:00
Kurt B. Kaiser 74910225df Increased performance in CodeContext extension Patch 936169 Noam Raphael 2005-10-02 23:36:46 +00:00
Kurt B. Kaiser 2618c7fadc 1. Mac line endings were incorrect when pasting code from some browsers
when using X11 and the Fink distribution.  Python Bug 1263656.
2. Eliminate duplicated code in ScriptBinding.run_module_event()
Modified Files:
 	NEWS.txt ScriptBinding.py
2005-08-23 02:27:23 +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 ca7329c9c1 1. Clarify "tab/space" Error Dialog and "Tab Width" Dialog associated with
the Untabify command.
2. Corrected "tab/space" Error Dialog to show correct menu for Untabify.
   Patch 1196980 Jeff Shute

M EditorWindow.py
M NEWS.txt
M ScriptBinding.py
2005-06-12 05:19:23 +00:00
Kurt B. Kaiser df506ea98b 1. Patch 1196895 Jeff Shute:
New files are colorized by default, and colorizing is removed when
   saving as non-Python files. Patch 1196895 Jeff Shute
   Closes Python Bugs 775012 and 800432, partial fix IDLEfork 763524

2. Update help.txt for left/right word delete

M CREDITS.txt
M ColorDelegator.py
M EditorWindow.py
M NEWS.txt
M help.txt
2005-06-12 04:33:30 +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 20345fb8aa Use Queue's blocking feature instead of sleeping in the main
loop.  Patch # 1190163 Michiel de Hoon
2005-05-05 23:29:54 +00:00
Kurt B. Kaiser 0676dfdce0 Add config-main.def option to make the 'history' feature non-cyclic.
Default remains cyclic.  Python Patch 914546 Noam Raphael.

M IdleHistory.py
M NEWS.txt
M config-main.def
2005-02-03 01:37:14 +00:00
Kurt B. Kaiser acdef858a5 Removed ability to configure tabs indent from Options dialog. This 'feature'
has never worked and no one has complained.  It is still possible to set a
default tabs (v. spaces) indent 'manually' via config-main.def (or to turn on
tabs for the current EditorWindow via the Format menu) but IDLE will encourage
indentation via spaces.

Enable setting the indentation width using the Options dialog.
Bug # 783877

Remove some commented out old code from configDialog.py (related to old
methods for invoking the HelpBrowser).

M EditorWindow.py
M NEWS.txt
M configHandler.py
2005-01-31 03:34:26 +00:00
Kurt B. Kaiser 3069dbb8ec Add keybindings for del-word-left and del-word-right.
M EditorWindow.py
M NEWS.txt
M config-keys.def
M configHandler.py
2005-01-28 00:16:16 +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 b00e89faab If an extension can't be loaded, print warning and skip it instead of
erroring out.
2005-01-18 00:54:58 +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
Anthony Baxter e2648eeb14 doodedoodedoo on the way to 2.4 final 2004-11-30 01:28:55 +00:00
Kurt B. Kaiser e953511858 On OpenBSD, terminating IDLE with ctrl-c from the command line caused a
stuck subprocess MainThread because only the SocketThread was exiting.

M NEWS.txt
M idlever.py
M run.py
2004-11-19 15:46:49 +00:00
Anthony Baxter 5cc727ad7b 2.4rc1 2004-11-18 12:32:27 +00:00
Kurt B. Kaiser 03562a5e62 Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
button) caused IDLE to fail on restart (no new keyset was created in
config-keys.cfg).  Also true for Theme/highlights.  Python Bug 1064535.
2004-11-16 21:31:08 +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
Anthony Baxter b0c6630794 post-release 2004-11-04 05:23:17 +00:00
Anthony Baxter 9f41f3a192 release shenanigans 2004-11-03 06:21:37 +00:00
Tim Peters 16e3cf535b format_paragraph_event(): Patch 961387 introduced a bug here, causing
the indentation of a comment block to be ignored when reformatting the
block, leading to overly long reformatted lines (too wide by an amount
equal to the indentation width).  Looks like a typo in the original
patch, a 1-character repair.
2004-10-24 23:45:42 +00:00
Anthony Baxter 6a587c160b release shenanigans 2004-10-15 08:07:21 +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
Anthony Baxter ff347cadc4 release date 2004-08-05 07:21:01 +00:00
Kurt B. Kaiser 8aa23927e3 Checking sys.platform for substring 'win' was breaking IDLE docs on Mac
(darwin). Also, Mac Safari browser requires full file:// URIs.  SF 900580

M EditorWindow.py
M NEWS.txt
M configHelpSourceEdit.py
M idlever.py
2004-07-15 04:54:57 +00:00
Anthony Baxter 3210b36a28 release dates 2004-07-08 05:59:43 +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 54d1a3b920 - New Extension: CodeContext. Provides block structuring hints for code
which has scrolled above an edit window. Patch 936169 Noam Raphael.

A CodeContext.py
M NEWS.txt
M config-extensions.def
2004-04-21 20:06:26 +00:00
Kurt B. Kaiser cf6f1b69eb M EditorWindow.py
M IOBinding.py
M NEWS.txt
M configDialog.py

- If nulls somehow got into the strings in recent-files.lst
  EditorWindow.update_recent_files_list() was failing.  Python Bug 931336.
2004-04-11 03:16:07 +00:00
Kurt B. Kaiser 0bc3d9857f 1. Bug in Patch 805830 fixed by Nigel Rowe
2. Convert 1/0 to True/False
3. Fix a couple of long lines

M ColorDelegator.py
M NEWS.txt
2004-03-15 04:26:37 +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
Kurt B. Kaiser d6ab77d27d rpc.py:SocketIO - Large modules were generating large pickles when downloaded
to the execution server.  The return of the OK response from the subprocess
initialization was interfering and causing the sending socket to be not
ready.  Add an IO ready test to fix this.  Moved the polling IO ready test
into pollpacket().

M NEWS.txt
M rpc.py

Backport candidate.
2004-01-21 19:21:11 +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 e9802a301d - Print correct exception even if source file changed since shell was
restarted.  IDLEfork Patch 869012 Noam Raphael

Modified Files:
	NEWS.txt run.py
2004-01-02 04:04:04 +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 c714d45bf5 Update NEWS.txt to include some items missed earlier. Update the
IDLE version to 1.1a0.
Modified Files:
	NEWS.txt idlever.py
2003-11-24 03:23:16 +00:00
Kurt B. Kaiser 924f616421 - After an exception, run.py was not setting the exception vector. Noam
Raphael suggested correcting this so pdb's postmortem pm() would work.
  IDLEfork Patch 844675

Modified: NEWS.txt  run.py
2003-11-19 04:52:32 +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
Kurt B. Kaiser 6145a624b8 1. Python Bug 775541: Calltips error when docstring is None. Introduced
by patch 769142.  Fixed by patch 776062. KBK will backport net result
   to IDLE release22-maint and IDLEfork.
2. Update NEWS.txt and idlever for release.
2003-07-23 15:42:14 +00:00
Kurt B. Kaiser cca912279a Update to reflect the current status of the configuration system.
Extensions must still be configured manually and there is currently one
set of extension key bindings for all platforms.

Bring NEWS.txt up to date.

Update CREDITS.txt and idlever.py for release.

M NEWS.txt
M config-extensions.def
M extend.txt
M help.txt
M idlever.py
2003-07-16 03:10:43 +00:00
Kurt B. Kaiser 76bcb5cb6d Update NEWS.txt and move info on release 0.8.1 and earlier to HISTORY.txt
M HISTORY.txt
M NEWS.txt
2003-06-14 02:51:06 +00:00
Kurt B. Kaiser 5ddef75fcf Update for release
Modified Files:
 	NEWS.txt README.txt TODO.txt
2003-06-01 01:11:14 +00:00
Kurt B. Kaiser a80d57c41d Noam Raphael's patch.
SF Patch 686254 "Run IDLEfork from any directory without set-up"

Allows IDLE to run when not installed and cwd is not the IDLE directory.

I took the liberty of moving it to the startup scripts since once IDLEfork
is again a part of Python it will be superfluous and I don't want it to
be forgotten.  But it is very useful for those using IDLEfork standalone!

M CREDITS.txt
M NEWS.txt
M idle
M idle.py
M idle.pyw
2003-05-17 03:15:48 +00:00
Kurt B. Kaiser 7f38ec0849 1. Restore the capability to run and debug without a subprocess.
2. Add an indicator to the shell startup notice when running w/o
   subprocess.
3. Improve exception reporting when running a command or script from the
   command line.
4. Clarify the fact that breakpoints set or cleared after a file is
   saved will revert to the saved state if the file is closed without
   re-saving.
5. If user tries to exit or restart when user code is running, interrupt
   the user code.  This helps to eliminate occasional hanging
   subprocesses on Windows (except for Freddy :).

M NEWS.txt
M PyShell.py
M ScriptBinding.py
2003-05-15 03:19:42 +00:00
Kurt B. Kaiser 73414a2705 Update for SF 71033 and changes to subprocess threading 2003-05-12 03:04:59 +00:00