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

26 years agoSome new blood and some updated versions.
Guido van Rossum [Fri, 2 Oct 1998 01:23:47 +0000 (01:23 +0000)]
Some new blood and some updated versions.

26 years agoA few new ones...
Guido van Rossum [Fri, 2 Oct 1998 01:21:40 +0000 (01:21 +0000)]
A few new ones...

26 years agoNew test_long.py from Tim Peters.
Guido van Rossum [Fri, 2 Oct 1998 01:19:48 +0000 (01:19 +0000)]
New test_long.py from Tim Peters.

26 years agoLots of good UI working, but not yet update-while-dragging
Barry Warsaw [Thu, 1 Oct 1998 22:03:25 +0000 (22:03 +0000)]
Lots of good UI working, but not yet update-while-dragging

26 years ago*** empty log message ***
Barry Warsaw [Thu, 1 Oct 1998 21:40:48 +0000 (21:40 +0000)]
*** empty log message ***

26 years agoRenamed thread.h to pythread.h.
Guido van Rossum [Thu, 1 Oct 1998 20:59:37 +0000 (20:59 +0000)]
Renamed thread.h to pythread.h.

26 years agoRenamed thread.h to pythread.h.
Guido van Rossum [Thu, 1 Oct 1998 20:43:23 +0000 (20:43 +0000)]
Renamed thread.h to pythread.h.
(Also removed whitespace after # in some BEOS related cpp directives.)

26 years agoRemove extra } at end of method description parameters.
Fred Drake [Thu, 1 Oct 1998 20:43:13 +0000 (20:43 +0000)]
Remove extra } at end of method description parameters.

26 years agoRenamed thread.h to pythread.h.
Guido van Rossum [Thu, 1 Oct 1998 20:42:43 +0000 (20:42 +0000)]
Renamed thread.h to pythread.h.

26 years agoFix encoding of \ in some string literals in the discussion of "raw"
Fred Drake [Thu, 1 Oct 1998 20:41:57 +0000 (20:41 +0000)]
Fix encoding of \ in some string literals in the discussion of "raw"
strings.  Reported by Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it>.

26 years agoFix some confusion in the __repr__() and __str__() descriptions.
Fred Drake [Thu, 1 Oct 1998 20:40:43 +0000 (20:40 +0000)]
Fix some confusion in the __repr__() and __str__() descriptions.
Reported by Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it>.

26 years agoFix encoding of \n in a couple of places (reported by Lorenzo
Fred Drake [Thu, 1 Oct 1998 20:39:47 +0000 (20:39 +0000)]
Fix encoding of \n in a couple of places (reported by Lorenzo
M. Catucci <lorenzo@argon.roma2.infn.it>).

26 years agoBelieve it or not, Solaris 2.6 strtod() can move the end pointer
Guido van Rossum [Thu, 1 Oct 1998 20:35:46 +0000 (20:35 +0000)]
Believe it or not, Solaris 2.6 strtod() can move the end pointer
*beyond* the null byte at the end of the input string, when the input
is inf(inity).  Discovered by Greg Ward.

26 years agoChange some init order
Barry Warsaw [Thu, 1 Oct 1998 16:47:06 +0000 (16:47 +0000)]
Change some init order

26 years agoupdate_views_current(): New method
Barry Warsaw [Thu, 1 Oct 1998 16:46:43 +0000 (16:46 +0000)]
update_views_current(): New method

26 years agoAdded View button and popup of text widget
Barry Warsaw [Thu, 1 Oct 1998 16:46:16 +0000 (16:46 +0000)]
Added View button and popup of text widget

26 years ago*** empty log message ***
Barry Warsaw [Thu, 1 Oct 1998 16:45:32 +0000 (16:45 +0000)]
*** empty log message ***

26 years agoCorrectly add dependencies and build rules for Modules/python.o.
Guido van Rossum [Thu, 1 Oct 1998 16:42:41 +0000 (16:42 +0000)]
Correctly add dependencies and build rules for Modules/python.o.

26 years agoOn second though, NEXITFUNCS should be defined in pythonrun.c and not
Guido van Rossum [Thu, 1 Oct 1998 16:02:31 +0000 (16:02 +0000)]
On second though, NEXITFUNCS should be defined in pythonrun.c and not
here; pystate.h doesn't use it (I thought I wanted to move the array
there but that won't work).

26 years agoOn second though, NEXITFUNCS should be defined here and not in
Guido van Rossum [Thu, 1 Oct 1998 16:01:57 +0000 (16:01 +0000)]
On second though, NEXITFUNCS should be defined here and not in
pystate.h; pystate.h doesn't use it (I thought I wanted to move the
array there but that won't work).

26 years agoTypo reported by Greg Stein: "modifiable" is the correct spelling.
Guido van Rossum [Thu, 1 Oct 1998 15:59:48 +0000 (15:59 +0000)]
Typo reported by Greg Stein: "modifiable" is the correct spelling.

26 years agoNSEW is also valid for -sticky
Barry Warsaw [Thu, 1 Oct 1998 15:54:48 +0000 (15:54 +0000)]
NSEW is also valid for -sticky

26 years agoDocument that apply() can now take any sequence in argument 2.
Barry Warsaw [Thu, 1 Oct 1998 15:35:43 +0000 (15:35 +0000)]
Document that apply() can now take any sequence in argument 2.

26 years agobuiltin_apply(): Second argument type check is relaxed to allow any sequence.
Barry Warsaw [Thu, 1 Oct 1998 15:33:12 +0000 (15:33 +0000)]
builtin_apply(): Second argument type check is relaxed to allow any sequence.

26 years agoWhile scalling sys.modules, skip entries that don't have string keys,
Guido van Rossum [Thu, 1 Oct 1998 15:24:50 +0000 (15:24 +0000)]
While scalling sys.modules, skip entries that don't have string keys,
to protect us from jokers who put items with non-string keys in
sys.modules.  Reported by Greg Stein.

26 years agoGridify this widget
Barry Warsaw [Thu, 1 Oct 1998 14:26:57 +0000 (14:26 +0000)]
Gridify this widget

26 years agoMake sure the menubar is stretched
Barry Warsaw [Thu, 1 Oct 1998 14:26:26 +0000 (14:26 +0000)]
Make sure the menubar is stretched

26 years agoAdd a nice divider
Barry Warsaw [Thu, 1 Oct 1998 14:26:04 +0000 (14:26 +0000)]
Add a nice divider

26 years agoAdded NS and EW constants, which are meaningful values for grid's
Barry Warsaw [Thu, 1 Oct 1998 13:49:37 +0000 (13:49 +0000)]
Added NS and EW constants, which are meaningful values for grid's
-sticky option.

26 years agoFixed toggle b/w hex and decimal
Barry Warsaw [Thu, 1 Oct 1998 13:41:05 +0000 (13:41 +0000)]
Fixed toggle b/w hex and decimal

26 years agoAdded options to visible window
Barry Warsaw [Thu, 1 Oct 1998 03:08:07 +0000 (03:08 +0000)]
Added options to visible window

26 years agoGroove for debugging
Barry Warsaw [Thu, 1 Oct 1998 03:07:20 +0000 (03:07 +0000)]
Groove for debugging

26 years agoGet rid of Edit menu
Barry Warsaw [Thu, 1 Oct 1998 03:06:04 +0000 (03:06 +0000)]
Get rid of Edit menu

26 years agoAdded options to visible window
Barry Warsaw [Thu, 1 Oct 1998 02:57:05 +0000 (02:57 +0000)]
Added options to visible window

26 years agoIn FreeBSD when using ELF, an underscore is needed in front of the
Guido van Rossum [Wed, 30 Sep 1998 14:34:52 +0000 (14:34 +0000)]
In FreeBSD when using ELF, an underscore is needed in front of the
function name.  (Vladimir Kushnir by way of Thomas Gellekum.)

26 years agoDisable python event handling in mainloop (discovered by Tasselli Marco)
Jack Jansen [Wed, 30 Sep 1998 09:11:51 +0000 (09:11 +0000)]
Disable python event handling in mainloop (discovered by Tasselli Marco)

26 years agoAdded interface to get/set colordb
Barry Warsaw [Tue, 29 Sep 1998 20:04:19 +0000 (20:04 +0000)]
Added interface to get/set colordb

26 years agoRemoved old cruft, added raw about dialog
Barry Warsaw [Tue, 29 Sep 1998 20:03:53 +0000 (20:03 +0000)]
Removed old cruft, added raw about dialog

26 years agoChanged interface for nearest() method to take individual red, green,
Barry Warsaw [Tue, 29 Sep 1998 20:03:15 +0000 (20:03 +0000)]
Changed interface for nearest() method to take individual red, green,
blue values instead of tuple

26 years agoGot updating with Return/Tab working
Barry Warsaw [Tue, 29 Sep 1998 20:02:27 +0000 (20:02 +0000)]
Got updating with Return/Tab working

26 years agoUn PMW-ified
Barry Warsaw [Tue, 29 Sep 1998 19:51:18 +0000 (19:51 +0000)]
Un PMW-ified

26 years agoAdded an extra frame in widget heirarchy in case I want to add
Barry Warsaw [Tue, 29 Sep 1998 17:36:43 +0000 (17:36 +0000)]
Added an extra frame in widget heirarchy in case I want to add
separators later

26 years agoFix suggested by Sjoerd (long ago!) to get a better error message when
Guido van Rossum [Tue, 29 Sep 1998 15:57:42 +0000 (15:57 +0000)]
Fix suggested by Sjoerd (long ago!) to get a better error message when
there's a syntax error.  (In particular, display the correct
filename).  This changes the API: if there's a syntax error, the
function now returns normally after dumping the error to sys.stderr.
I changed Sjoerd's use of string.join(string.split(...)) with
string.replace().

26 years agoUn PMW-ified
Barry Warsaw [Tue, 29 Sep 1998 15:44:20 +0000 (15:44 +0000)]
Un PMW-ified

26 years agoRework startup
Barry Warsaw [Mon, 28 Sep 1998 23:41:53 +0000 (23:41 +0000)]
Rework startup

26 years agosimplify
Barry Warsaw [Mon, 28 Sep 1998 23:41:12 +0000 (23:41 +0000)]
simplify

26 years agotriplet_to_brightness(): New function
Barry Warsaw [Mon, 28 Sep 1998 23:39:18 +0000 (23:39 +0000)]
triplet_to_brightness(): New function

26 years agoDe PMW-ify
Barry Warsaw [Mon, 28 Sep 1998 23:38:44 +0000 (23:38 +0000)]
De PMW-ify

26 years agoFixed the brightness calculation
Barry Warsaw [Mon, 28 Sep 1998 22:52:02 +0000 (22:52 +0000)]
Fixed the brightness calculation

26 years agoUpdated to new post-PMW framework. Moved generators to here and added
Barry Warsaw [Mon, 28 Sep 1998 22:42:44 +0000 (22:42 +0000)]
Updated to new post-PMW framework.  Moved generators to here and added
the StripViewer class.

26 years agoRemove redundant definition of NEXITFUNCS.
Guido van Rossum [Mon, 28 Sep 1998 22:15:37 +0000 (22:15 +0000)]
Remove redundant definition of NEXITFUNCS.
(Reported by Jeff Rush.)