]>
granicus.if.org Git - python/log
Guido van Rossum [Mon, 19 Oct 1998 02:19:30 +0000 (02:19 +0000)]
Add optional 'force' argument (default 0) to load_dict().
If set, redo the display even if it's the same dict.
cvs2svn [Sat, 17 Oct 1998 19:44:20 +0000 (19:44 +0000)]
This commit was manufactured by cvs2svn to create tag 'r152a2'.
Guido van Rossum [Sat, 17 Oct 1998 19:44:20 +0000 (19:44 +0000)]
Time for 1.5.2a2.
Guido van Rossum [Sat, 17 Oct 1998 19:43:13 +0000 (19:43 +0000)]
All the news that's fit to print. In other words, it's 1.5.2a2 time.
Guido van Rossum [Sat, 17 Oct 1998 18:09:27 +0000 (18:09 +0000)]
The usual
Barry Warsaw [Fri, 16 Oct 1998 22:29:18 +0000 (22:29 +0000)]
The driver script on Unix is `pynche'; for Windows `pynche.pyw'
Guido van Rossum [Fri, 16 Oct 1998 21:10:12 +0000 (21:10 +0000)]
Do nothing when loading the same dict as before.
Guido van Rossum [Fri, 16 Oct 1998 21:09:35 +0000 (21:09 +0000)]
Details for debugger interface.
Guido van Rossum [Fri, 16 Oct 1998 21:09:05 +0000 (21:09 +0000)]
Restructured and more consistent. Save checkboxes across instantiations.
Guido van Rossum [Fri, 16 Oct 1998 20:08:34 +0000 (20:08 +0000)]
Get rid of conflicting ^X binding. Use ^W.
Guido van Rossum [Fri, 16 Oct 1998 18:59:39 +0000 (18:59 +0000)]
Debugger can now show local and global variables.
Guido van Rossum [Fri, 16 Oct 1998 17:43:53 +0000 (17:43 +0000)]
PyMapping_SetItemString() returns int, not an object.
Fred Drake [Fri, 16 Oct 1998 17:34:34 +0000 (17:34 +0000)]
In build_html(), strip off leading "./" from filename, added by
kpsewhich. This caused a problem with the latest latex2html beta.
Guido van Rossum [Fri, 16 Oct 1998 17:16:59 +0000 (17:16 +0000)]
Oops
Guido van Rossum [Fri, 16 Oct 1998 16:12:11 +0000 (16:12 +0000)]
Better debugger support (show stack etc).
Guido van Rossum [Fri, 16 Oct 1998 16:11:08 +0000 (16:11 +0000)]
Follow renames in StackViewer module
Guido van Rossum [Fri, 16 Oct 1998 16:10:45 +0000 (16:10 +0000)]
Rename classes to StackViewer (the widget) and StackBrowser (the toplevel).
Guido van Rossum [Fri, 16 Oct 1998 16:10:09 +0000 (16:10 +0000)]
Add close() method
Guido van Rossum [Fri, 16 Oct 1998 16:09:57 +0000 (16:09 +0000)]
Clarify 'Open Module' dialog text
Guido van Rossum [Fri, 16 Oct 1998 04:02:28 +0000 (04:02 +0000)]
Restructured into a browser and a widget.
Guido van Rossum [Thu, 15 Oct 1998 23:27:08 +0000 (23:27 +0000)]
Generalized the scrolled list which is the base for the class and
method browser into a separate class in its own module.
Jack Jansen [Thu, 15 Oct 1998 15:29:16 +0000 (15:29 +0000)]
For submenus remember the parent and parent index, so we can grey out our
entry if the menu is disabled. This does create a circular reference, so cleanup
becomes more important.
Guido van Rossum [Thu, 15 Oct 1998 14:08:20 +0000 (14:08 +0000)]
Cosmetic change
Jack Jansen [Thu, 15 Oct 1998 14:02:54 +0000 (14:02 +0000)]
Set kAECanInteract and kAECanSwitchLayer flags for the finder interactions.
Guido van Rossum [Thu, 15 Oct 1998 13:28:29 +0000 (13:28 +0000)]
Clarify that close() of a stream opened by popen() returns None if the
exit status is zero.
Guido van Rossum [Thu, 15 Oct 1998 12:18:49 +0000 (12:18 +0000)]
Don't show function name if there is none
Jack Jansen [Thu, 15 Oct 1998 10:29:37 +0000 (10:29 +0000)]
The help dialog id numbers never got changed when the dialog numbers changed,
so balloons haven't been working for ages. Apparently nobody noticed:-)
Barry Warsaw [Thu, 15 Oct 1998 02:18:08 +0000 (02:18 +0000)]
Updated __main__ unit test
Guido van Rossum [Thu, 15 Oct 1998 01:38:23 +0000 (01:38 +0000)]
When run as a script, don't pass a fake __main__ dictionary; use the
real one.
Guido van Rossum [Wed, 14 Oct 1998 20:38:13 +0000 (20:38 +0000)]
When errno is zero, avoid calling strerror() and use "Error" for the
message.
Guido van Rossum [Wed, 14 Oct 1998 20:27:05 +0000 (20:27 +0000)]
Fix so that after a fork() -- on Unix only -- the template gets
recalculated.
Guido van Rossum [Wed, 14 Oct 1998 13:46:57 +0000 (13:46 +0000)]
Doc strings by Chris Petrilli.
Also added MD5Type object.
Guido van Rossum [Wed, 14 Oct 1998 13:45:06 +0000 (13:45 +0000)]
No need to issue a fatal error if the PyDict_SetItemString fails; the
caller (in import.c) will test for errors and take appropriate action.
Guido van Rossum [Wed, 14 Oct 1998 03:43:05 +0000 (03:43 +0000)]
Polish the Debugger GUI a bit.
Closing it now also does the right thing.
Guido van Rossum [Wed, 14 Oct 1998 02:52:31 +0000 (02:52 +0000)]
ACK! There was still an unescaped newline in a docstring.
Guido van Rossum [Tue, 13 Oct 1998 23:51:13 +0000 (23:51 +0000)]
Ad primitive debugger interface (so far it will step and show you the
source, but it doesn't yet show the stack).
Guido van Rossum [Tue, 13 Oct 1998 23:49:55 +0000 (23:49 +0000)]
Misc
Guido van Rossum [Tue, 13 Oct 1998 20:02:39 +0000 (20:02 +0000)]
Perhaps a controversial change: when reporting a callback exception,
assign the exception info to sys.last_{type,value,traceback}. That
way, an introspective Tkinter app can inspect its own stack trace.
(The controversy is that it would keep some objects alive, but that's
probably no big deal.)
Guido van Rossum [Tue, 13 Oct 1998 20:00:02 +0000 (20:00 +0000)]
Whoops -- referenced self.top before it was set.
Barry Warsaw [Tue, 13 Oct 1998 19:01:10 +0000 (19:01 +0000)]
Added {xview,yview}_{moveto,scroll} to the Canvas class.
Guido van Rossum [Tue, 13 Oct 1998 17:38:03 +0000 (17:38 +0000)]
Added history and completion commands.
Guido van Rossum [Tue, 13 Oct 1998 17:32:27 +0000 (17:32 +0000)]
Updated
Guido van Rossum [Tue, 13 Oct 1998 16:32:44 +0000 (16:32 +0000)]
Add class browser functionality.
Guido van Rossum [Tue, 13 Oct 1998 16:32:29 +0000 (16:32 +0000)]
Add a close() method and bind to WM_DELETE_WINDOW protocol
Guido van Rossum [Tue, 13 Oct 1998 16:32:05 +0000 (16:32 +0000)]
Clear the linecache before printing a traceback
Guido van Rossum [Tue, 13 Oct 1998 16:31:46 +0000 (16:31 +0000)]
Added class browser binding.
Guido van Rossum [Tue, 13 Oct 1998 16:31:03 +0000 (16:31 +0000)]
Much improved, much left to do.
Guido van Rossum [Tue, 13 Oct 1998 16:12:36 +0000 (16:12 +0000)]
Ever-so-slight improvementL the patterns to recognize import
statements now also stop at ';' (formerly they only stopped at '#').
Guido van Rossum [Tue, 13 Oct 1998 16:03:52 +0000 (16:03 +0000)]
Moved search and match around so that search is documented first.
Guido van Rossum [Tue, 13 Oct 1998 15:21:41 +0000 (15:21 +0000)]
Make the return key do what I mean more often.
Guido van Rossum [Tue, 13 Oct 1998 14:41:27 +0000 (14:41 +0000)]
Make the return key do what I mean more often.
Guido van Rossum [Tue, 13 Oct 1998 14:27:22 +0000 (14:27 +0000)]
Doc strings by Chris Petrilli.
Guido van Rossum [Tue, 13 Oct 1998 13:37:30 +0000 (13:37 +0000)]
Updated listbox methods to Tk 8.0. (Moved some around, added
x/yview_scroll/moveto.)
Guido van Rossum [Tue, 13 Oct 1998 03:59:57 +0000 (03:59 +0000)]
Adding the beginnings of a Class browser. Incomplete, yet.
Guido van Rossum [Tue, 13 Oct 1998 03:45:15 +0000 (03:45 +0000)]
Add new command, "Open module". You select or type a module name,
and it opens the source.
Guido van Rossum [Mon, 12 Oct 1998 23:59:27 +0000 (23:59 +0000)]
Subsume functionality from Popup menu in Debug menu.
Other stuff so the PyShell window can be resurrected from the Windows menu.
Guido van Rossum [Mon, 12 Oct 1998 23:57:48 +0000 (23:57 +0000)]
Get rid of PopUp menu.
Create a simple Windows menu. (Imperfect when Untitled windows exist.)
Add wakeup() method: deiconify, raise, focus.
Guido van Rossum [Mon, 12 Oct 1998 23:56:08 +0000 (23:56 +0000)]
Generalize menu creation.
Guido van Rossum [Mon, 12 Oct 1998 23:55:10 +0000 (23:55 +0000)]
Add Debug and Help menu items.
Guido van Rossum [Mon, 12 Oct 1998 21:01:37 +0000 (21:01 +0000)]
Added a menu bar to every window.
Guido van Rossum [Mon, 12 Oct 1998 20:57:09 +0000 (20:57 +0000)]
Add menu configuration to the event configuration.
Guido van Rossum [Mon, 12 Oct 1998 20:55:43 +0000 (20:55 +0000)]
Pass a root to the help window.
Jack Jansen [Mon, 12 Oct 1998 20:53:15 +0000 (20:53 +0000)]
Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.
Guido van Rossum [Mon, 12 Oct 1998 20:40:47 +0000 (20:40 +0000)]
When no master widget is specified, use options['parent'] if it exists.
Guido van Rossum [Mon, 12 Oct 1998 20:40:09 +0000 (20:40 +0000)]
Only reference Tkinter._default_root when needed.
Guido van Rossum [Mon, 12 Oct 1998 18:23:55 +0000 (18:23 +0000)]
Replace fprintf(stderr, ...) with PySys_WriteStderr(...).
Guido van Rossum [Mon, 12 Oct 1998 18:22:10 +0000 (18:22 +0000)]
Patches for mywrite() by Marc Lemburg: save/restore the error state
reliably; check return value of vsprintf().
Guido van Rossum [Mon, 12 Oct 1998 16:26:22 +0000 (16:26 +0000)]
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.
Guido van Rossum [Mon, 12 Oct 1998 16:07:27 +0000 (16:07 +0000)]
Add parent argument to 'to to line number' dialog box.
Guido van Rossum [Mon, 12 Oct 1998 15:23:04 +0000 (15:23 +0000)]
Enhancements by Sjoerd Mullender: support for
from a.b import c
import a . b
Guido van Rossum [Mon, 12 Oct 1998 15:21:38 +0000 (15:21 +0000)]
Add support for dotted module names to readmodule().
Guido van Rossum [Mon, 12 Oct 1998 15:12:28 +0000 (15:12 +0000)]
Make mimetypes.guess_type understand data URLs. (Sjoerd Mullender)
Guido van Rossum [Sat, 10 Oct 1998 19:15:32 +0000 (19:15 +0000)]
Add a label at the top showing (very basic) help for the stack viewer.
Add a label at the bottom showing the exception info.
Guido van Rossum [Sat, 10 Oct 1998 18:58:15 +0000 (18:58 +0000)]
Add Unix main script and test program.
Guido van Rossum [Sat, 10 Oct 1998 18:48:31 +0000 (18:48 +0000)]
Initial checking of Tk-based Python IDE.
Features: text editor with syntax coloring and undo;
subclassed into interactive Python shell which adds history.
Guido van Rossum [Fri, 9 Oct 1998 20:51:18 +0000 (20:51 +0000)]
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.
Barry Warsaw [Fri, 9 Oct 1998 16:39:58 +0000 (16:39 +0000)]
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!
Barry Warsaw [Fri, 9 Oct 1998 16:37:25 +0000 (16:37 +0000)]
listextend(): New method which implements L.extend(L2).
Guido van Rossum [Fri, 9 Oct 1998 13:27:49 +0000 (13:27 +0000)]
New version that is much more compact and easier to maintain. (Sjoerd)
Guido van Rossum [Fri, 9 Oct 1998 13:27:19 +0000 (13:27 +0000)]
Remove unreachable code. (Sjoerd)
Guido van Rossum [Fri, 9 Oct 1998 13:26:29 +0000 (13:26 +0000)]
Use constants defined in cl module. (Sjoerd)
Guido van Rossum [Fri, 9 Oct 1998 13:26:01 +0000 (13:26 +0000)]
Removed unnecessary import of cl and CL. (Sjoerd)
Guido van Rossum [Fri, 9 Oct 1998 02:30:23 +0000 (02:30 +0000)]
Shit -- forgot to set the installer's title to the new version.
Guido van Rossum [Fri, 9 Oct 1998 02:03:49 +0000 (02:03 +0000)]
Change _tkinter.c compile options.
Guido van Rossum [Fri, 9 Oct 1998 02:03:00 +0000 (02:03 +0000)]
Add bufferobject.c.
Guido van Rossum [Thu, 8 Oct 1998 15:24:48 +0000 (15:24 +0000)]
Fix multi-arg list.append() calls.
Guido van Rossum [Thu, 8 Oct 1998 02:27:41 +0000 (02:27 +0000)]
There's no need to declare Tk_GetNumMainWindows() (and it breaks
something in the latest win342 build).
Guido van Rossum [Thu, 8 Oct 1998 02:25:24 +0000 (02:25 +0000)]
Use the t# format where appropriate. Greg Stein.
Guido van Rossum [Thu, 8 Oct 1998 02:21:21 +0000 (02:21 +0000)]
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.
Guido van Rossum [Thu, 8 Oct 1998 02:18:52 +0000 (02:18 +0000)]
Greg Stein: Implement the new bf_getcharbuffer function, indicating
that (as far as the data type is concerned!) this is character data.
Guido van Rossum [Thu, 8 Oct 1998 02:10:56 +0000 (02:10 +0000)]
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.
Guido van Rossum [Thu, 8 Oct 1998 01:50:47 +0000 (01:50 +0000)]
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).
Guido van Rossum [Thu, 8 Oct 1998 01:48:13 +0000 (01:48 +0000)]
Some kind of source control krept in.
Guido van Rossum [Thu, 8 Oct 1998 01:46:52 +0000 (01:46 +0000)]
Whatever
Guido van Rossum [Thu, 8 Oct 1998 01:45:47 +0000 (01:45 +0000)]
The previous checkin contained an experiment of Greg Stein's that wasn't
meant for checkin, and which broke marshal.loads().
Guido van Rossum [Thu, 8 Oct 1998 01:44:41 +0000 (01:44 +0000)]
On Win32, use
LoadLibraryEx(pathname, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)
to search dependent DLLs in the directory of the pathname.
Guido van Rossum [Wed, 7 Oct 1998 22:51:56 +0000 (22:51 +0000)]
Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Fred Drake [Wed, 7 Oct 1998 22:03:45 +0000 (22:03 +0000)]
Make the dependencies really work for the HTML version.
Guido van Rossum [Wed, 7 Oct 1998 19:58:26 +0000 (19:58 +0000)]
Add test for BSDI -- by Nigel Head and otto@mail.olympus.net.
Guido van Rossum [Wed, 7 Oct 1998 19:52:35 +0000 (19:52 +0000)]
Added a whole bunch of descriptions.