]>
granicus.if.org Git - python/log
Guido van Rossum [Wed, 21 Oct 1998 16:10:40 +0000 (16:10 +0000)]
Check in the changed version after running the stubber again -- this
solves the conflict with curses over the 'clear' entry point much
nicer. (Jack had checked in the changes to cstubs eons ago, but I
never regenrated glmodule.c :-( )
Guido van Rossum [Wed, 21 Oct 1998 15:23:52 +0000 (15:23 +0000)]
Use (f1, f2) as cache key instead of f1 + ' ' + f2.
Noted by Fredrik Lundh.
(Note -- this module is pretty silly.)
Guido van Rossum [Wed, 21 Oct 1998 15:08:40 +0000 (15:08 +0000)]
On a recommendation from Sjoerd Mullender, add -Dclear=__GLclear to
the compilation flags for the gl, fl and fm modules. This avoids a
name conflict with the curses module (both gl and curses have an entry
point called 'clear').
Fred Drake [Wed, 21 Oct 1998 14:50:52 +0000 (14:50 +0000)]
Update the date.
Fred Drake [Wed, 21 Oct 1998 14:49:48 +0000 (14:49 +0000)]
Bump the release to 1.5.2a2.
Fred Drake [Wed, 21 Oct 1998 14:26:26 +0000 (14:26 +0000)]
Added --tools option, to package only the framework (no documents).
Jack Jansen [Wed, 21 Oct 1998 13:41:03 +0000 (13:41 +0000)]
Removed debug print
Fred Drake [Wed, 21 Oct 1998 00:44:49 +0000 (00:44 +0000)]
Remove a couple of unnecessary "%" characters that cause problems with
the latest latex2html beta.
Fred Drake [Wed, 21 Oct 1998 00:26:56 +0000 (00:26 +0000)]
Remove a bunch of unnecessary "%" characters that cause problems with
the latest latex2html beta.
Fred Drake [Wed, 21 Oct 1998 00:25:32 +0000 (00:25 +0000)]
Remove an unnecessary "%" character that seems to cause a minor glitch
with the latest latex2html.
Barry Warsaw [Tue, 20 Oct 1998 20:45:46 +0000 (20:45 +0000)]
Saving/Restoring state into ~/.pynche file
Fred Drake [Tue, 20 Oct 1998 18:14:20 +0000 (18:14 +0000)]
add_link(): Fix to use $section_info instead of $toc_section_info,
based on email from Ross Moore <ross@mpce.mq.edu.au>.
Set $HTML_VERSION to 4.0, since that's what we really generate (well,
4.0 "transitional").
Guido van Rossum [Tue, 20 Oct 1998 15:33:33 +0000 (15:33 +0000)]
Detlef Lannert lannert@lannert.rz.uni-duesseldorf.de notices:
"""
the NEWS file of Python 1.5.2a2 inspired me to look at
Tools/scripts/untabify.py. I wonder why it accepts a -t argument
but ignores it. The following patch tries to make it somewhat useful
(i.e., to override the tabsize=8 setting). Is that agreeable?
"""
Guido van Rossum [Tue, 20 Oct 1998 15:32:39 +0000 (15:32 +0000)]
Adding Fredrik Lundh's demo of the option menu.
Guido van Rossum [Tue, 20 Oct 1998 14:43:02 +0000 (14:43 +0000)]
Patch by Jim Fulton, who writes:
"""
The FieldStorage constructor calls the read_multi method. The read_multi
method creates new FieldStorage objects, re-invoking the constructor
(on the new objects). The problem is that the 'environ', 'keep_blank_values',
and 'strict_parsing' arguments originally passed to the constructor are not
propigated to the new object constructors. This causes os.environ to be used,
leading to a miss-handling of the parts.
I fixed this by passing these arguments to read_multi and then on to the
constructor. See the context diff below.
"""
Fred Drake [Mon, 19 Oct 1998 21:48:05 +0000 (21:48 +0000)]
Reflect new name of index style file.
Fred Drake [Mon, 19 Oct 1998 21:45:52 +0000 (21:45 +0000)]
Renamed myindex.ist to something more reasonable.
Fred Drake [Mon, 19 Oct 1998 21:40:45 +0000 (21:40 +0000)]
No longer needed since we have nice, contributed navigation buttons.
Fred Drake [Mon, 19 Oct 1998 19:14:42 +0000 (19:14 +0000)]
If building HTML and the icons should be served from the same
directory as the HTML (--iconserver .), copy the icons into place.
Clarify that lynx is needed for --text in the usage message.
Fix a typo in a comment.
Guido van Rossum [Mon, 19 Oct 1998 18:42:53 +0000 (18:42 +0000)]
Rename 'locals' argument to top-level interact() function to 'local'
for b/w compatibility with 1.5.1.
Fred Drake [Mon, 19 Oct 1998 16:33:06 +0000 (16:33 +0000)]
ArabictoRoman(): Removed, since it wasn't used anywhere.
Guido van Rossum [Mon, 19 Oct 1998 14:20:20 +0000 (14:20 +0000)]
A Py_DECREF(f) is missing in PyFrame_New for the error case when
the `builtins' initialization fails. Vladimir Marangozov.
Guido van Rossum [Mon, 19 Oct 1998 13:38:36 +0000 (13:38 +0000)]
Add a missing DECREF in an error exit. Submitted by Jonathan Giddy.
Guido van Rossum [Mon, 19 Oct 1998 13:30:01 +0000 (13:30 +0000)]
Typo: JIFF -> JFIF.
Guido van Rossum [Mon, 19 Oct 1998 13:28:26 +0000 (13:28 +0000)]
Fixed a problem where xmllib didn't handle the tag
<sometag attrib=">">
correctly.
Also changed comparisons of re matches and searches into explicit
comparisons with None.
(Sjoerd Mullender)
Guido van Rossum [Mon, 19 Oct 1998 03:33:40 +0000 (03:33 +0000)]
Speed up the search a bit -- don't drag a mark around...
Guido van Rossum [Mon, 19 Oct 1998 02:26:16 +0000 (02:26 +0000)]
Change our special entries from <console#N> to <pyshell#N>.
Patch linecache.checkcache() to keep our special entries alive.
Add popup menu to all editor windows to set a breakpoint.
Guido van Rossum [Mon, 19 Oct 1998 02:24:40 +0000 (02:24 +0000)]
Use and pass through the 'force' flag to set_dict() where appropriate.
Default source and globals checkboxes to false.
Don't interact in user_return().
Add primitive set_breakpoint() method.
Guido van Rossum [Mon, 19 Oct 1998 02:22:41 +0000 (02:22 +0000)]
Raise priority of 'sel' tag so its foreground (on Windows) will take
priority over text colorization (which on Windows is almost the
same color as the selection background).
Define a tag and color for breakpoints ("BREAK").
Guido van Rossum [Mon, 19 Oct 1998 02:20:30 +0000 (02:20 +0000)]
Disable "Open stack viewer" and "help" commands.
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