summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/IOBinding.py
Commit message (Collapse)AuthorAgeFilesLines
* Catch locale.error as well. Fixes #788378. Will backport to 2.3.Martin v. Löwis2003-09-031-1/+1
|
* Make sure eol_convention is an ASCII string. Fixes #774680.Martin v. Löwis2003-08-051-0/+3
| | | | Will backport to 2.3.
* Forwardport Patch from IDLEfork SF 610329Kurt B. Kaiser2003-06-141-2/+6
| | | | Remove deprecated tempfile usage
* SF 748975 Printing unsaved shell failsKurt B. Kaiser2003-06-091-2/+6
| | | | M IOBinding.py
* SF 748973 Guido van Rossum patchKurt B. Kaiser2003-06-051-4/+12
| | | | | | | | | New Window should save in the directory of the Editor Window from which it was selected. M EditorWindow.py M FileList.py M IOBinding.py
* Whitespace NormalizationKurt B. Kaiser2003-05-181-29/+29
|
* [ SF 710733 - Martin v. Loewis] Improving source encoding dialogKurt B. Kaiser2003-05-101-13/+77
| | | | | | M IOBinding.py M config-main.def M configDialog.py
* New feature: when saving a file, keep the eol convention of theGuido van Rossum2003-04-251-3/+11
| | | | | | original. New files are written using the eol convention of the platform, given by os.linesep. All files are read and written in binary mode.
* Attempting to save the shell raised an error related to savingKurt B. Kaiser2003-03-041-2/+8
| | | | breakpoints, which are not implemented in the shell
* Whitespace NormalizationKurt B. Kaiser2002-12-311-4/+4
|
* M Debugger.pyKurt B. Kaiser2002-12-141-43/+11
| | | | | | | | | | | | | | | | | | | | | | | M IOBinding.py M PyShell.py * Could not remove last set of saved breakpoints from a file * Starting with empty edit window, could not load a file * Multiple adjacent breakpoints were saved as one breakpoint * Storing breakpoints whenever a file is closed can get them out of synch with the saved version of a file. Only store them when the file is saved. * Add comment on current limitations on file editing in the presence of breakpoints. * Replace get_current_breaks() with update_breakpoints(), add an update to PyShellEditorWindow.breakpoints, which is the master breakpoint data structure, and which is used to reload the subprocess debugger. * Revert Debugger.Debugger.load_breakpoints() to use editwin.breakpoints. It is easier to debug the debugger if the breakpoint list in IDLE is identical to the list in the subprocess debugger and is transferred when the subprocess debugger is restarted, because this list can be easily queried. * Cleanup some linespacing and comments in IOBinding.py
* 619127: Recent File Menu Not UpdatingChui Tey2002-11-041-0/+13
|
* Work around Mac OS X platform encoding issues.Tony Lownds2002-09-231-0/+6
|
* Merge Py Idle changes:Kurt B. Kaiser2002-09-161-12/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rev 1.5 tim_one Convert a pile of obvious "yes/no" functions to return bool. Rev 1.6 gvanrossum (partially merged previously, move line outside try: block) Provisional fix for writefile() [SF bug # 541730]. The problem was that an exception can occur in the text.get() call or in the write() call, when the text buffer contains non-ASCII characters. This causes the previous contents of the file to be lost. The provisional fix is to call str(self.text.get(...)) *before* opening the file, so that if the exception occurs, we never open the file. Two orthogonal better solutions have to wait for policy decisions: 1. We could try to encode the data as Latin-1 or as UTF-8; but that would require IDLE to grow a notion of file encoding which requires more thought. 2. We could make backups before overwriting a file. This requires more thought because it needs to be fast and cross-platform and configurable. Rev 1.7 gvanrossum (previously merged with modifications by Stephen M. Gava) Add primitive printing support for Unix and Windows. Rev 1.8 loewis Patch #590913: PEP 263 support. Rev 1.9 gvanrossum (tempfile.py interface -- deferred) Rev 1.10 tim_one whitespace normalization Rev 1.11 nnorwitz (deferred pending 1.9 integration)
* Bug: clearing the shell undo list after a prompt was allowing files to beKurt B. Kaiser2002-07-211-5/+11
| | | | opened on top of the shell instead of in a new window.
* add a version of GvR's q&d python idle printing patch,Steven M. Gava2002-06-111-2/+43
| | | | slightly tweaked and modified for the idlefork config system
* tracking python idle changes:Steven M. Gava2002-04-221-1/+1
| | | | Provisional fix for writefile() [SF bug # 541730]
* further work on new config system;Steven M. Gava2002-03-271-3/+9
| | | | recent files menu
* py-cvs-rel2_1 (Rev 1.4) merge - move "import *" to module levelKurt B. Kaiser2001-07-131-1/+1
|
* Initial revisionDavid Scherer2000-08-151-0/+254