]> granicus.if.org Git - python/log
python
26 years agoClarify 'Open Module' dialog text
Guido van Rossum [Fri, 16 Oct 1998 16:09:57 +0000 (16:09 +0000)]
Clarify 'Open Module' dialog text

26 years agoRestructured into a browser and a widget.
Guido van Rossum [Fri, 16 Oct 1998 04:02:28 +0000 (04:02 +0000)]
Restructured into a browser and a widget.

26 years agoGeneralized the scrolled list which is the base for the class and
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.

26 years agoFor submenus remember the parent and parent index, so we can grey out our
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.

26 years agoCosmetic change
Guido van Rossum [Thu, 15 Oct 1998 14:08:20 +0000 (14:08 +0000)]
Cosmetic change

26 years agoSet kAECanInteract and kAECanSwitchLayer flags for the finder interactions.
Jack Jansen [Thu, 15 Oct 1998 14:02:54 +0000 (14:02 +0000)]
Set kAECanInteract and kAECanSwitchLayer flags for the finder interactions.

26 years agoClarify that close() of a stream opened by popen() returns None if the
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.

26 years agoDon't show function name if there is none
Guido van Rossum [Thu, 15 Oct 1998 12:18:49 +0000 (12:18 +0000)]
Don't show function name if there is none

26 years agoThe help dialog id numbers never got changed when the dialog numbers changed,
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:-)

26 years agoUpdated __main__ unit test
Barry Warsaw [Thu, 15 Oct 1998 02:18:08 +0000 (02:18 +0000)]
Updated __main__ unit test

26 years agoWhen run as a script, don't pass a fake __main__ dictionary; use the
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.

26 years agoWhen errno is zero, avoid calling strerror() and use "Error" for the
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.

26 years agoFix so that after a fork() -- on Unix only -- the template gets
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.

26 years agoDoc strings by Chris Petrilli.
Guido van Rossum [Wed, 14 Oct 1998 13:46:57 +0000 (13:46 +0000)]
Doc strings by Chris Petrilli.
Also added MD5Type object.

26 years agoNo need to issue a fatal error if the PyDict_SetItemString fails; the
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.

26 years agoPolish the Debugger GUI a bit.
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.

26 years agoACK! There was still an unescaped newline in a docstring.
Guido van Rossum [Wed, 14 Oct 1998 02:52:31 +0000 (02:52 +0000)]
ACK!  There was still an unescaped newline in a docstring.

26 years agoAd primitive debugger interface (so far it will step and show you the
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).

26 years agoMisc
Guido van Rossum [Tue, 13 Oct 1998 23:49:55 +0000 (23:49 +0000)]
Misc

26 years agoPerhaps a controversial change: when reporting a callback exception,
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.)

26 years agoWhoops -- referenced self.top before it was set.
Guido van Rossum [Tue, 13 Oct 1998 20:00:02 +0000 (20:00 +0000)]
Whoops -- referenced self.top before it was set.

26 years agoAdded {xview,yview}_{moveto,scroll} to the Canvas class.
Barry Warsaw [Tue, 13 Oct 1998 19:01:10 +0000 (19:01 +0000)]
Added {xview,yview}_{moveto,scroll} to the Canvas class.

26 years agoAdded history and completion commands.
Guido van Rossum [Tue, 13 Oct 1998 17:38:03 +0000 (17:38 +0000)]
Added history and completion commands.

26 years agoUpdated
Guido van Rossum [Tue, 13 Oct 1998 17:32:27 +0000 (17:32 +0000)]
Updated

26 years agoAdd class browser functionality.
Guido van Rossum [Tue, 13 Oct 1998 16:32:44 +0000 (16:32 +0000)]
Add class browser functionality.

26 years agoAdd a close() method and bind to WM_DELETE_WINDOW protocol
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

26 years agoClear the linecache before printing a traceback
Guido van Rossum [Tue, 13 Oct 1998 16:32:05 +0000 (16:32 +0000)]
Clear the linecache before printing a traceback

26 years agoAdded class browser binding.
Guido van Rossum [Tue, 13 Oct 1998 16:31:46 +0000 (16:31 +0000)]
Added class browser binding.

26 years agoMuch improved, much left to do.
Guido van Rossum [Tue, 13 Oct 1998 16:31:03 +0000 (16:31 +0000)]
Much improved, much left to do.

26 years agoEver-so-slight improvementL the patterns to recognize import
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 '#').

26 years agoMoved search and match around so that search is documented first.
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.

26 years agoMake the return key do what I mean more often.
Guido van Rossum [Tue, 13 Oct 1998 15:21:41 +0000 (15:21 +0000)]
Make the return key do what I mean more often.

26 years agoMake 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.

26 years agoDoc strings by Chris Petrilli.
Guido van Rossum [Tue, 13 Oct 1998 14:27:22 +0000 (14:27 +0000)]
Doc strings by Chris Petrilli.

26 years agoUpdated listbox methods to Tk 8.0. (Moved some around, added
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.)

26 years agoAdding the beginnings of a Class browser. Incomplete, yet.
Guido van Rossum [Tue, 13 Oct 1998 03:59:57 +0000 (03:59 +0000)]
Adding the beginnings of a Class browser.  Incomplete, yet.

26 years agoAdd new command, "Open module". You select or type a module name,
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.

26 years agoSubsume functionality from Popup menu in Debug menu.
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.

26 years agoGet rid of PopUp 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.

26 years agoGeneralize menu creation.
Guido van Rossum [Mon, 12 Oct 1998 23:56:08 +0000 (23:56 +0000)]
Generalize menu creation.

26 years agoAdd Debug and Help menu items.
Guido van Rossum [Mon, 12 Oct 1998 23:55:10 +0000 (23:55 +0000)]
Add Debug and Help menu items.

26 years agoAdded a menu bar to every window.
Guido van Rossum [Mon, 12 Oct 1998 21:01:37 +0000 (21:01 +0000)]
Added a menu bar to every window.

26 years agoAdd menu configuration to the event configuration.
Guido van Rossum [Mon, 12 Oct 1998 20:57:09 +0000 (20:57 +0000)]
Add menu configuration to the event configuration.

26 years agoPass a root to the help window.
Guido van Rossum [Mon, 12 Oct 1998 20:55:43 +0000 (20:55 +0000)]
Pass a root to the help window.

26 years agoReplaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.
Jack Jansen [Mon, 12 Oct 1998 20:53:15 +0000 (20:53 +0000)]
Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.

26 years agoWhen no master widget is specified, use options['parent'] if it exists.
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.

26 years agoOnly reference Tkinter._default_root when needed.
Guido van Rossum [Mon, 12 Oct 1998 20:40:09 +0000 (20:40 +0000)]
Only reference Tkinter._default_root when needed.

26 years agoReplace fprintf(stderr, ...) with PySys_WriteStderr(...).
Guido van Rossum [Mon, 12 Oct 1998 18:23:55 +0000 (18:23 +0000)]
Replace fprintf(stderr, ...) with PySys_WriteStderr(...).

26 years agoPatches for mywrite() by Marc Lemburg: save/restore the error state
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().

26 years agoLooks like I didn't test this interactively. The EventHook() code was
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.

26 years agoAdd parent argument to 'to to line number' dialog box.
Guido van Rossum [Mon, 12 Oct 1998 16:07:27 +0000 (16:07 +0000)]
Add parent argument to 'to to line number' dialog box.

26 years agoEnhancements by Sjoerd Mullender: support for
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

26 years agoAdd support for dotted module names to readmodule().
Guido van Rossum [Mon, 12 Oct 1998 15:21:38 +0000 (15:21 +0000)]
Add support for dotted module names to readmodule().

26 years agoMake mimetypes.guess_type understand data URLs. (Sjoerd Mullender)
Guido van Rossum [Mon, 12 Oct 1998 15:12:28 +0000 (15:12 +0000)]
Make mimetypes.guess_type understand data URLs.  (Sjoerd Mullender)

26 years agoAdd a label at the top showing (very basic) help for the stack viewer.
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.

26 years agoAdd Unix main script and test program.
Guido van Rossum [Sat, 10 Oct 1998 18:58:15 +0000 (18:58 +0000)]
Add Unix main script and test program.

26 years agoInitial checking of Tk-based Python IDE.
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.

26 years agoPatch by Jonathan Giddy (with some cleanup by me) to always use the
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.

26 years agoDocument the new list.extend() method. Interesting enough, the
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!

26 years agolistextend(): New method which implements L.extend(L2).
Barry Warsaw [Fri, 9 Oct 1998 16:37:25 +0000 (16:37 +0000)]
listextend(): New method which implements L.extend(L2).

26 years agoNew version that is much more compact and easier to maintain. (Sjoerd)
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)

26 years agoRemove unreachable code. (Sjoerd)
Guido van Rossum [Fri, 9 Oct 1998 13:27:19 +0000 (13:27 +0000)]
Remove unreachable code.  (Sjoerd)

26 years agoUse constants defined in cl module. (Sjoerd)
Guido van Rossum [Fri, 9 Oct 1998 13:26:29 +0000 (13:26 +0000)]
Use constants defined in cl module.  (Sjoerd)

26 years agoRemoved unnecessary import of cl and CL. (Sjoerd)
Guido van Rossum [Fri, 9 Oct 1998 13:26:01 +0000 (13:26 +0000)]
Removed unnecessary import of cl and CL.  (Sjoerd)

26 years agoShit -- forgot to set the installer's title to the new version.
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.

26 years agoChange _tkinter.c compile options.
Guido van Rossum [Fri, 9 Oct 1998 02:03:49 +0000 (02:03 +0000)]
Change _tkinter.c compile options.

26 years agoAdd bufferobject.c.
Guido van Rossum [Fri, 9 Oct 1998 02:03:00 +0000 (02:03 +0000)]
Add bufferobject.c.

26 years agoFix multi-arg list.append() calls.
Guido van Rossum [Thu, 8 Oct 1998 15:24:48 +0000 (15:24 +0000)]
Fix multi-arg list.append() calls.

26 years agoThere's no need to declare Tk_GetNumMainWindows() (and it breaks
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).

26 years agoUse the t# format where appropriate. Greg Stein.
Guido van Rossum [Thu, 8 Oct 1998 02:25:24 +0000 (02:25 +0000)]
Use the t# format where appropriate.  Greg Stein.

26 years agoImplement new format character 't#'. This is like s#, accepting an
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.

26 years agoGreg Stein: Implement the new bf_getcharbuffer function, indicating
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.

26 years agoChanges by Greg Stein (code) and GvR (design).
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.

26 years agoFor 1.5.2a2.
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).

26 years agoSome kind of source control krept in.
Guido van Rossum [Thu, 8 Oct 1998 01:48:13 +0000 (01:48 +0000)]
Some kind of source control krept in.

26 years agoWhatever
Guido van Rossum [Thu, 8 Oct 1998 01:46:52 +0000 (01:46 +0000)]
Whatever

26 years agoThe previous checkin contained an experiment of Greg Stein's that wasn't
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().

26 years agoOn Win32, use
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.

26 years agoChanges to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Guido van Rossum [Wed, 7 Oct 1998 22:51:56 +0000 (22:51 +0000)]
Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.

26 years agoMake the dependencies really work for the HTML version.
Fred Drake [Wed, 7 Oct 1998 22:03:45 +0000 (22:03 +0000)]
Make the dependencies really work for the HTML version.

26 years agoAdd test for BSDI -- by Nigel Head and otto@mail.olympus.net.
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.

26 years agoAdded a whole bunch of descriptions.
Guido van Rossum [Wed, 7 Oct 1998 19:52:35 +0000 (19:52 +0000)]
Added a whole bunch of descriptions.

26 years agoUse the imp module to get the magic word.
Guido van Rossum [Wed, 7 Oct 1998 19:45:33 +0000 (19:45 +0000)]
Use the imp module to get the magic word.

26 years agoChanges to support other object types besides strings
Guido van Rossum [Wed, 7 Oct 1998 19:42:25 +0000 (19:42 +0000)]
Changes to support other object types besides strings
as the code string of code objects, as long as they support
the (readonly) buffer interface.  By Greg Stein.

26 years agoChange the default split level to not split on marked \paragraph and
Fred Drake [Wed, 7 Oct 1998 16:46:54 +0000 (16:46 +0000)]
Change the default split level to not split on marked \paragraph and
\subparagraph sections.  Indicate the default in the --help message.

26 years agoIf --debug was used, don't delete the temporary .perl file used to
Fred Drake [Wed, 7 Oct 1998 16:41:40 +0000 (16:41 +0000)]
If --debug was used, don't delete the temporary .perl file used to
pass options to latex2html.

26 years agoBSDI specific patches, inspired by Nigel Head and otto@mail.olympus.net.
Guido van Rossum [Wed, 7 Oct 1998 16:39:47 +0000 (16:39 +0000)]
BSDI specific patches, inspired by Nigel Head and otto@mail.olympus.net.

Also (non-BSDI specific):

- Change the CHECK_STATUS() macro so it tests for nonzero error codes
instead of negative error codes only (this was needed for BSDI, but
appears to be correct according to the PTHREADS spec).

- use memset() to zero out the allocated lock structure.  Again, this
was needed for BSDI, but can't hurt elsewhere either.

26 years agoMake gcc -Wall happy.
Guido van Rossum [Wed, 7 Oct 1998 16:36:14 +0000 (16:36 +0000)]
Make gcc -Wall happy.

26 years agoMake gcc -Wall happy:
Guido van Rossum [Wed, 7 Oct 1998 16:35:54 +0000 (16:35 +0000)]
Make gcc -Wall happy:
Remove unused decls of getloclock() and is_lockobject().

26 years agoMake gcc -Wall happy:
Guido van Rossum [Wed, 7 Oct 1998 16:35:25 +0000 (16:35 +0000)]
Make gcc -Wall happy:
(1) add dummy decl for strptime();
(2) move the code to set accept2dyear to the front of inittime().

26 years agoMake gcc -Wall happy.
Guido van Rossum [Wed, 7 Oct 1998 16:22:12 +0000 (16:22 +0000)]
Make gcc -Wall happy.

26 years agoSupport PYTHONOPTIMIZE variable; by Marc Lemburg.
Guido van Rossum [Wed, 7 Oct 1998 14:50:42 +0000 (14:50 +0000)]
Support PYTHONOPTIMIZE variable; by Marc Lemburg.

26 years agoDocumented PYTHONOPTIMIZE; by Marc Lemburg.
Guido van Rossum [Wed, 7 Oct 1998 14:50:06 +0000 (14:50 +0000)]
Documented PYTHONOPTIMIZE; by Marc Lemburg.

26 years agoMake the version variable static (it has no business being exported).
Guido van Rossum [Wed, 7 Oct 1998 14:48:53 +0000 (14:48 +0000)]
Make the version variable static (it has no business being exported).

26 years agoAdd buffer module entry points.
Guido van Rossum [Wed, 7 Oct 1998 14:47:46 +0000 (14:47 +0000)]
Add buffer module entry points.

26 years agoAdded #! line
Guido van Rossum [Wed, 7 Oct 1998 14:46:09 +0000 (14:46 +0000)]
Added #! line

26 years agoClarify sharedinstall comment
Guido van Rossum [Wed, 7 Oct 1998 14:41:54 +0000 (14:41 +0000)]
Clarify sharedinstall comment

26 years agoAdd Greg Stein's buffer object API.
Guido van Rossum [Wed, 7 Oct 1998 14:41:13 +0000 (14:41 +0000)]
Add Greg Stein's buffer object API.

26 years agoAdd Greg Stein's buffer object API.
Guido van Rossum [Wed, 7 Oct 1998 14:36:10 +0000 (14:36 +0000)]
Add Greg Stein's buffer object API.

26 years agoDon't attempt to add paragraph and subparagraph sections to the PDF
Fred Drake [Wed, 7 Oct 1998 14:12:20 +0000 (14:12 +0000)]
Don't attempt to add paragraph and subparagraph sections to the PDF
outline.

Work around font-long bogosity caused by ' in docstring.