]> granicus.if.org Git - python/log
python
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.

26 years agoFix two bugs in the fstat() line, reported by Fredruk Lundh.
Guido van Rossum [Wed, 7 Oct 1998 14:06:03 +0000 (14:06 +0000)]
Fix two bugs in the fstat() line, reported by Fredruk Lundh.

26 years agoRemove a redundant check from list_slice() and list_ass_slice().
Guido van Rossum [Wed, 7 Oct 1998 13:24:13 +0000 (13:24 +0000)]
Remove a redundant check from list_slice() and list_ass_slice().
Noted by Greg Stein.

26 years agoFix append() calls with more than 1 argument.
Guido van Rossum [Wed, 7 Oct 1998 13:18:17 +0000 (13:18 +0000)]
Fix append() calls with more than 1 argument.

26 years agoUpdated about text
Barry Warsaw [Wed, 7 Oct 1998 03:40:29 +0000 (03:40 +0000)]
Updated about text

26 years agoMoved the main pynche.py file to Main.py. Added minimal driver
Barry Warsaw [Wed, 7 Oct 1998 03:36:58 +0000 (03:36 +0000)]
Moved the main pynche.py file to Main.py.  Added minimal driver
scripts pynche.py and pynche.pyw for Unix and Windows startup
respectively.  Document the .pyw file in the README.

26 years agoBetter layout of options menu and inc/dec buttons
Barry Warsaw [Wed, 7 Oct 1998 03:19:33 +0000 (03:19 +0000)]
Better layout of options menu and inc/dec buttons

26 years agoFixes for some type-in strangeness
Barry Warsaw [Wed, 7 Oct 1998 02:44:17 +0000 (02:44 +0000)]
Fixes for some type-in strangeness

26 years agoAdd a note about the console window
Barry Warsaw [Tue, 6 Oct 1998 23:09:49 +0000 (23:09 +0000)]
Add a note about the console window

26 years agoNever mind
Barry Warsaw [Tue, 6 Oct 1998 23:08:02 +0000 (23:08 +0000)]
Never mind

26 years agoAdd link for Windows
Barry Warsaw [Tue, 6 Oct 1998 23:06:24 +0000 (23:06 +0000)]
Add link for Windows

26 years agoRightARrow._create(): justify=RIGHT on the text object
Barry Warsaw [Tue, 6 Oct 1998 23:04:55 +0000 (23:04 +0000)]
RightARrow._create(): justify=RIGHT on the text object

26 years agoA readme
Barry Warsaw [Tue, 6 Oct 1998 23:03:22 +0000 (23:03 +0000)]
A readme

26 years agoAdd a SELECTION to the pre-inserted text
Barry Warsaw [Tue, 6 Oct 1998 21:40:22 +0000 (21:40 +0000)]
Add a SELECTION to the pre-inserted text

26 years agoCopyright CNRI
Barry Warsaw [Tue, 6 Oct 1998 20:49:20 +0000 (20:49 +0000)]
Copyright CNRI

26 years agoAdded the rgb.txt file from X11R6.4, including the license
Barry Warsaw [Tue, 6 Oct 1998 20:44:14 +0000 (20:44 +0000)]
Added the rgb.txt file from X11R6.4, including the license

26 years agoInitial revision
Barry Warsaw [Tue, 6 Oct 1998 20:42:05 +0000 (20:42 +0000)]
Initial revision

26 years agoBetter initial color choosing
Barry Warsaw [Tue, 6 Oct 1998 19:50:33 +0000 (19:50 +0000)]
Better initial color choosing

26 years agoBetter quitting
Barry Warsaw [Tue, 6 Oct 1998 19:48:35 +0000 (19:48 +0000)]
Better quitting

26 years agoAndrew Dalke's implementation of string.count().
Guido van Rossum [Tue, 6 Oct 1998 19:43:14 +0000 (19:43 +0000)]
Andrew Dalke's implementation of string.count().

26 years agoConverted to newstyle menubars
Barry Warsaw [Tue, 6 Oct 1998 19:39:34 +0000 (19:39 +0000)]
Converted to newstyle menubars

26 years agoAdded a 'Help' special menu to show how this is done.
Barry Warsaw [Tue, 6 Oct 1998 19:37:20 +0000 (19:37 +0000)]
Added a 'Help' special menu to show how this is done.

26 years agoThe message "Exception in Tkinter callback" should go to stderr.
Guido van Rossum [Tue, 6 Oct 1998 19:06:27 +0000 (19:06 +0000)]
The message "Exception in Tkinter callback" should go to stderr.

Fix bug in NoDefaultRoot() -- _default_root wasn't declared global;
and made it reentrant.

Don't set _default_root to whatever master gets passed in to
BaseWidget._setup() (only set it when we need to create a new Tk()
widget).

26 years agoUpdate main window when Update on Click is turned on
Barry Warsaw [Tue, 6 Oct 1998 18:56:31 +0000 (18:56 +0000)]
Update main window when Update on Click is turned on

26 years agoAdded version number in the About window
Barry Warsaw [Tue, 6 Oct 1998 18:52:59 +0000 (18:52 +0000)]
Added version number in the About window

26 years agoTrack color changes: disable buttons and their labels when turned off
Barry Warsaw [Tue, 6 Oct 1998 18:46:57 +0000 (18:46 +0000)]
Track color changes: disable buttons and their labels when turned off

26 years agoColor Variation Ties => Move Sliders
Barry Warsaw [Tue, 6 Oct 1998 18:29:22 +0000 (18:29 +0000)]
Color Variation Ties => Move Sliders

Moved buttons to the top

26 years agomain(): Better recovery when bogus color given on command line
Barry Warsaw [Tue, 6 Oct 1998 18:13:20 +0000 (18:13 +0000)]
main(): Better recovery when bogus color given on command line

26 years agorrggbb_to_triplet(): When color doesn't start with `#' raise a
Barry Warsaw [Tue, 6 Oct 1998 18:10:59 +0000 (18:10 +0000)]
rrggbb_to_triplet(): When color doesn't start with `#' raise a
BadColor exception.

26 years agoAdded a hex button so arrow numbers can display in decimal or hex.
Barry Warsaw [Tue, 6 Oct 1998 16:13:35 +0000 (16:13 +0000)]
Added a hex button so arrow numbers can display in decimal or hex.

26 years ago__togglehex(): Simplify
Barry Warsaw [Tue, 6 Oct 1998 16:08:39 +0000 (16:08 +0000)]
__togglehex(): Simplify

26 years agoSlight rearrangement of code in lookdict() by Vladimir Marangozov, to
Guido van Rossum [Tue, 6 Oct 1998 16:01:14 +0000 (16:01 +0000)]
Slight rearrangement of code in lookdict() by Vladimir Marangozov, to
make a common case slightly faster.

26 years agohexp() => hexp_var()
Barry Warsaw [Tue, 6 Oct 1998 15:50:36 +0000 (15:50 +0000)]
hexp() => hexp_var()

26 years agohexp(): New function
Barry Warsaw [Tue, 6 Oct 1998 15:49:19 +0000 (15:49 +0000)]
hexp(): New function

26 years ago__normalize(): Preserve the location of the icursor and restore it so
Barry Warsaw [Tue, 6 Oct 1998 15:47:45 +0000 (15:47 +0000)]
__normalize(): Preserve the location of the icursor and restore it so
that Left/Right arrow keys and C-a C-e all work.

26 years agoChanged the grey/magenta/cyan/yellow label text slightly.
Barry Warsaw [Tue, 6 Oct 1998 15:41:31 +0000 (15:41 +0000)]
Changed the grey/magenta/cyan/yellow label text slightly.

Changed Color Ties label to Color Variation Ties

26 years agousage(): Print msg at end of docstring
Barry Warsaw [Tue, 6 Oct 1998 15:21:04 +0000 (15:21 +0000)]
usage(): Print msg at end of docstring

main(): Fixed logic error and reporting when no colordb was found.
Given by GvR.

26 years agoTitle
Barry Warsaw [Mon, 5 Oct 1998 21:31:37 +0000 (21:31 +0000)]
Title

26 years agoFinished implementation + docstring
Barry Warsaw [Mon, 5 Oct 1998 21:29:04 +0000 (21:29 +0000)]
Finished implementation + docstring

26 years agoAdded Alt-w bindings
Barry Warsaw [Mon, 5 Oct 1998 21:15:08 +0000 (21:15 +0000)]
Added Alt-w bindings

26 years agoAdded details window
Barry Warsaw [Mon, 5 Oct 1998 21:14:46 +0000 (21:14 +0000)]
Added details window

26 years agocurrent_rgb(): New method
Barry Warsaw [Mon, 5 Oct 1998 21:14:12 +0000 (21:14 +0000)]
current_rgb(): New method

26 years ago*** empty log message ***
Barry Warsaw [Mon, 5 Oct 1998 19:12:32 +0000 (19:12 +0000)]
*** empty log message ***

26 years agoThese were never under CVS, but now that I use cvs to communicate
Jack Jansen [Mon, 5 Oct 1998 11:53:26 +0000 (11:53 +0000)]
These were never under CVS, but now that I use cvs to communicate
between the various macs it's better if they are.

26 years agoNewer versions of projects.
Jack Jansen [Mon, 5 Oct 1998 11:46:16 +0000 (11:46 +0000)]
Newer versions of projects.

26 years agoAdded SIZEOF_VOID_P and HAVE_LONG_LONG
Jack Jansen [Mon, 5 Oct 1998 11:43:32 +0000 (11:43 +0000)]
Added SIZEOF_VOID_P and HAVE_LONG_LONG

26 years agoNo need for (char *) cast from gdbm_strerror().
Guido van Rossum [Sat, 3 Oct 1998 05:15:07 +0000 (05:15 +0000)]
No need for (char *) cast from gdbm_strerror().

26 years agoWin32 port. Patches by Milton L. Hankins.
Guido van Rossum [Sat, 3 Oct 1998 05:13:27 +0000 (05:13 +0000)]
Win32 port.  Patches by Milton L. Hankins.

26 years agoDocstring
Barry Warsaw [Fri, 2 Oct 1998 16:27:40 +0000 (16:27 +0000)]
Docstring

26 years agoDocstring
Barry Warsaw [Fri, 2 Oct 1998 16:20:14 +0000 (16:20 +0000)]
Docstring

26 years agoDocstring
Barry Warsaw [Fri, 2 Oct 1998 16:06:27 +0000 (16:06 +0000)]
Docstring

26 years agoAdded the ListViewer
Barry Warsaw [Fri, 2 Oct 1998 16:05:48 +0000 (16:05 +0000)]
Added the ListViewer

26 years agoUpdated docstring.
Barry Warsaw [Fri, 2 Oct 1998 16:01:42 +0000 (16:01 +0000)]
Updated docstring.

26 years agoall_names(): => unique_names()
Barry Warsaw [Fri, 2 Oct 1998 15:59:20 +0000 (15:59 +0000)]
all_names(): => unique_names()

aliases_of(): New method

26 years agoAdded docstring
Barry Warsaw [Fri, 2 Oct 1998 15:58:50 +0000 (15:58 +0000)]
Added docstring

26 years agoFunctionality complete
Barry Warsaw [Fri, 2 Oct 1998 15:52:10 +0000 (15:52 +0000)]
Functionality complete

26 years agoall_names(): Return just the unique names of rgb colors
Barry Warsaw [Fri, 2 Oct 1998 14:43:30 +0000 (14:43 +0000)]
all_names(): Return just the unique names of rgb colors

26 years agoThe usual
Guido van Rossum [Fri, 2 Oct 1998 14:42:15 +0000 (14:42 +0000)]
The usual

26 years agoAdded BEOS_THREADS, HAVE_LONG_LONG, and SIZEOF_VOID_P templates.
Guido van Rossum [Fri, 2 Oct 1998 14:41:38 +0000 (14:41 +0000)]
Added BEOS_THREADS, HAVE_LONG_LONG, and SIZEOF_VOID_P templates.

26 years agoAdded tweak for SET_CCC (which I don't even know what it is!) for Linux.
Guido van Rossum [Fri, 2 Oct 1998 14:39:42 +0000 (14:39 +0000)]
Added tweak for SET_CCC (which I don't even know what it is!) for Linux.
Added AC_CHECK_SIZEOF(void *).
Added yet another test for pthreads (pthread_create may be in libc).
Added pthread_init to list of functions whose existence is checked.

26 years agoGot click on working. Dragging is disabled for now
Barry Warsaw [Fri, 2 Oct 1998 14:34:03 +0000 (14:34 +0000)]
Got click on working.  Dragging is disabled for now

26 years agoresolve(): Improved use of a/an, suggested by Tino Wildenhain
Barry Warsaw [Fri, 2 Oct 1998 14:14:39 +0000 (14:14 +0000)]
resolve(): Improved use of a/an, suggested by Tino Wildenhain
<cdtv@amigager.de>.

26 years agoEh, better error message for the previous change. It now says
Guido van Rossum [Fri, 2 Oct 1998 14:06:56 +0000 (14:06 +0000)]
Eh, better error message for the previous change.  It now says
"non-default argument follows default argument".

26 years agoTreat def f(a, b=1, c): ... as an error (missing default for c)
Guido van Rossum [Fri, 2 Oct 1998 13:41:54 +0000 (13:41 +0000)]
Treat def f(a, b=1, c): ... as an error (missing default for c)
instead of silently supplying a default of None fore c.

26 years agoUp version to 1.5a2 -- we're close enough (even though I'm still
Guido van Rossum [Fri, 2 Oct 1998 03:17:29 +0000 (03:17 +0000)]
Up version to 1.5a2 -- we're close enough (even though I'm still
expecting some contributions).

26 years agoST_MODE should be ST_MTIME in utime call in copystat. Thanks to Mike Orr.
Guido van Rossum [Fri, 2 Oct 1998 03:16:08 +0000 (03:16 +0000)]
ST_MODE should be ST_MTIME in utime call in copystat.  Thanks to Mike Orr.