Guido van Rossum
ae08d3897a
Add a close() method and bind to WM_DELETE_WINDOW protocol
1998-10-13 16:32:29 +00:00
Guido van Rossum
1956352b08
Clear the linecache before printing a traceback
1998-10-13 16:32:05 +00:00
Guido van Rossum
49c1a7ebc2
Added class browser binding.
1998-10-13 16:31:46 +00:00
Guido van Rossum
7f5c9ef5fd
Much improved, much left to do.
1998-10-13 16:31:03 +00:00
Guido van Rossum
e73d702344
Ever-so-slight improvementL the patterns to recognize import
...
statements now also stop at ';' (formerly they only stopped at '#').
1998-10-13 16:12:36 +00:00
Guido van Rossum
7d447aabbf
Moved search and match around so that search is documented first.
1998-10-13 16:03:52 +00:00
Guido van Rossum
3f08d40bd8
Make the return key do what I mean more often.
1998-10-13 15:21:41 +00:00
Guido van Rossum
4650df96bf
Make the return key do what I mean more often.
1998-10-13 14:41:27 +00:00
Guido van Rossum
b39b90dda2
Doc strings by Chris Petrilli.
1998-10-13 14:27:22 +00:00
Guido van Rossum
243ac4f497
Updated listbox methods to Tk 8.0. (Moved some around, added
...
x/yview_scroll/moveto.)
1998-10-13 13:37:30 +00:00
Guido van Rossum
439c467a0c
Adding the beginnings of a Class browser. Incomplete, yet.
1998-10-13 03:59:57 +00:00
Guido van Rossum
b341888971
Add new command, "Open module". You select or type a module name,
...
and it opens the source.
1998-10-13 03:45:15 +00:00
Guido van Rossum
5af7a72d8b
Subsume functionality from Popup menu in Debug menu.
...
Other stuff so the PyShell window can be resurrected from the Windows menu.
1998-10-12 23:59:27 +00:00
Guido van Rossum
82e44b10b8
Get rid of PopUp menu.
...
Create a simple Windows menu. (Imperfect when Untitled windows exist.)
Add wakeup() method: deiconify, raise, focus.
1998-10-12 23:57:48 +00:00
Guido van Rossum
e7b2e651df
Generalize menu creation.
1998-10-12 23:56:08 +00:00
Guido van Rossum
219ffde846
Add Debug and Help menu items.
1998-10-12 23:55:10 +00:00
Guido van Rossum
2aeeb55949
Added a menu bar to every window.
1998-10-12 21:01:37 +00:00
Guido van Rossum
d8d676c289
Add menu configuration to the event configuration.
1998-10-12 20:57:09 +00:00
Guido van Rossum
d020cf3d7d
Pass a root to the help window.
1998-10-12 20:55:43 +00:00
Jack Jansen
deff89c8be
Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.
1998-10-12 20:53:15 +00:00
Guido van Rossum
3179b36014
When no master widget is specified, use options['parent'] if it exists.
1998-10-12 20:40:47 +00:00
Guido van Rossum
7f20263349
Only reference Tkinter._default_root when needed.
1998-10-12 20:40:09 +00:00
Guido van Rossum
2f3667a7b9
Replace fprintf(stderr, ...) with PySys_WriteStderr(...).
1998-10-12 18:23:55 +00:00
Guido van Rossum
8442af35fe
Patches for mywrite() by Marc Lemburg: save/restore the error state
...
reliably; check return value of vsprintf().
1998-10-12 18:22:10 +00:00
Guido van Rossum
41f0a98f8f
Looks like I didn't test this interactively. The EventHook() code was
...
broken; it asked for the current thread state when there was none.
Fixed by using the saved event_tstate.
1998-10-12 16:26:22 +00:00
Guido van Rossum
69ef7d6220
Add parent argument to 'to to line number' dialog box.
1998-10-12 16:07:27 +00:00
Guido van Rossum
0688436305
Enhancements by Sjoerd Mullender: support for
...
from a.b import c
import a . b
1998-10-12 15:23:04 +00:00
Guido van Rossum
7a840e8d50
Add support for dotted module names to readmodule().
1998-10-12 15:21:38 +00:00
Guido van Rossum
1c5fb1cd1b
Make mimetypes.guess_type understand data URLs. (Sjoerd Mullender)
1998-10-12 15:12:28 +00:00
Guido van Rossum
8571ed8647
Add a label at the top showing (very basic) help for the stack viewer.
...
Add a label at the bottom showing the exception info.
1998-10-10 19:15:32 +00:00
Guido van Rossum
3d0669d8a1
Add Unix main script and test program.
1998-10-10 18:58:15 +00:00
Guido van Rossum
3b4ca0ddad
Initial checking of Tk-based Python IDE.
...
Features: text editor with syntax coloring and undo;
subclassed into interactive Python shell which adds history.
1998-10-10 18:48:31 +00:00
Guido van Rossum
dc1adabcb8
Patch by Jonathan Giddy (with some cleanup by me) to always use the
...
thread state of the thread calling mainloop() (or another event
handling function) rather than the thread state of the function that
created the client data structure.
1998-10-09 20:51:18 +00:00
Barry Warsaw
afd974c2ab
Document the new list.extend() method. Interesting enough, the
...
canonical definition of extend() is very similar to append() except
that the former doesn't list-ify the argument!
1998-10-09 16:39:58 +00:00
Barry Warsaw
dedf6d6804
listextend(): New method which implements L.extend(L2).
1998-10-09 16:37:25 +00:00
Guido van Rossum
e33bba8d3d
New version that is much more compact and easier to maintain. (Sjoerd)
1998-10-09 13:27:49 +00:00
Guido van Rossum
3886026bed
Remove unreachable code. (Sjoerd)
1998-10-09 13:27:19 +00:00
Guido van Rossum
1554b7b061
Use constants defined in cl module. (Sjoerd)
1998-10-09 13:26:29 +00:00
Guido van Rossum
1e57a04301
Removed unnecessary import of cl and CL. (Sjoerd)
1998-10-09 13:26:01 +00:00
Guido van Rossum
1d5766fd1a
Shit -- forgot to set the installer's title to the new version.
1998-10-09 02:30:23 +00:00
Guido van Rossum
60009ccc05
Change _tkinter.c compile options.
1998-10-09 02:03:49 +00:00
Guido van Rossum
002156d130
Add bufferobject.c.
1998-10-09 02:03:00 +00:00
Guido van Rossum
9c2c1e88a3
Fix multi-arg list.append() calls.
1998-10-08 15:24:48 +00:00
Guido van Rossum
215193bd93
There's no need to declare Tk_GetNumMainWindows() (and it breaks
...
something in the latest win342 build).
1998-10-08 02:27:41 +00:00
Guido van Rossum
7e48898d86
Use the t# format where appropriate. Greg Stein.
1998-10-08 02:25:24 +00:00
Guido van Rossum
b317f8aa0d
Implement new format character 't#'. This is like s#, accepting an
...
object that implements the buffer interface, but requires a buffer
that contains 8-bit character data. Greg Stein.
1998-10-08 02:21:21 +00:00
Guido van Rossum
1db7070217
Greg Stein: Implement the new bf_getcharbuffer function, indicating
...
that (as far as the data type is concerned!) this is character data.
1998-10-08 02:18:52 +00:00
Guido van Rossum
36eef3c173
Changes by Greg Stein (code) and GvR (design).
...
Add a new member to the PyBufferProcs struct, bf_getcharbuffer. For
backward compatibility, this member should only be used (this includes
testing for NULL!) when the flag Py_TPFLAGS_HAVE_GETCHARBUFFER is set
in the type structure, below. Note that if its flag is not set, we
may be looking at an extension module compiled for 1.5.1, which will
have garbage at the bf_getcharbuffer member (because the struct wasn't
as long then). If the flag is one, the pointer may still be NULL.
The function found at this member is used in a similar manner as
bf_getreadbuffer, but it is known to point to 8-bit character data.
(See discussion in getargs.c checked in later.)
As a general feature for extending the type structure and the various
structures that (may) hang off it in a backwards compatible way, we
rename the tp_xxx4 "spare" slot to tp_flags. In 1.5.1 and before,
this slot was always zero. In 1.5.1, it may contain various flags
indicating extra fields that weren't present in 1.5.1. The only flag
defined so far is for the bf_getcharbuffer member of the PyBufferProcs
struct.
Note that the new spares (tp_xxx5 - tp_xxx8), once they become used,
should also be protected by a flag (or flags) in tp_flags.
1998-10-08 02:10:56 +00:00
Guido van Rossum
7e1e57494c
For 1.5.2a2.
...
Install zlib.dll in DLLs instead of windows32 system directory.
Install freeze, webchecker and versioncheck tools.
Add Content type: text/plain registry keys for .py, .pyw.
Add file type .pyo (same as .pyc).
1998-10-08 01:50:47 +00:00
Guido van Rossum
f6240cf372
Some kind of source control krept in.
1998-10-08 01:48:13 +00:00