Commit Graph

588 Commits

Author SHA1 Message Date
Barry Warsaw 6bfd655c2a Added the rgb.txt file from X11R6.4, including the license 1998-10-06 20:44:14 +00:00
Barry Warsaw 4f632357d4 Initial revision 1998-10-06 20:42:05 +00:00
Barry Warsaw e7f4a47bbf Better initial color choosing 1998-10-06 19:50:33 +00:00
Barry Warsaw 45c8d34216 Better quitting 1998-10-06 19:48:35 +00:00
Barry Warsaw 3836503acd Converted to newstyle menubars 1998-10-06 19:39:34 +00:00
Barry Warsaw 56af4448e1 Update main window when Update on Click is turned on 1998-10-06 18:56:31 +00:00
Barry Warsaw ad3a67cc84 Added version number in the About window 1998-10-06 18:52:59 +00:00
Barry Warsaw 3a476e9b35 Track color changes: disable buttons and their labels when turned off 1998-10-06 18:46:57 +00:00
Barry Warsaw 332aa4cf0a Color Variation Ties => Move Sliders
Moved buttons to the top
1998-10-06 18:29:22 +00:00
Barry Warsaw c4a9b3d923 main(): Better recovery when bogus color given on command line 1998-10-06 18:13:20 +00:00
Barry Warsaw b7b1cf0088 rrggbb_to_triplet(): When color doesn't start with `#' raise a
BadColor exception.
1998-10-06 18:10:59 +00:00
Barry Warsaw 5b67839ca3 Added a hex button so arrow numbers can display in decimal or hex. 1998-10-06 16:13:35 +00:00
Barry Warsaw c2d8f573eb __togglehex(): Simplify 1998-10-06 16:08:39 +00:00
Barry Warsaw 73290dff30 hexp() => hexp_var() 1998-10-06 15:50:36 +00:00
Barry Warsaw 6831c30143 hexp(): New function 1998-10-06 15:49:19 +00:00
Barry Warsaw a398924c6a __normalize(): Preserve the location of the icursor and restore it so
that Left/Right arrow keys and C-a C-e all work.
1998-10-06 15:47:45 +00:00
Barry Warsaw ae4ad6e454 Changed the grey/magenta/cyan/yellow label text slightly.
Changed Color Ties label to Color Variation Ties
1998-10-06 15:41:31 +00:00
Barry Warsaw 14e2cafe21 usage(): Print msg at end of docstring
main(): Fixed logic error and reporting when no colordb was found.
Given by GvR.
1998-10-06 15:21:04 +00:00
Barry Warsaw 7c51a9a80b Title 1998-10-05 21:31:37 +00:00
Barry Warsaw c078b03d7f Finished implementation + docstring 1998-10-05 21:29:04 +00:00
Barry Warsaw 964fbbbc61 Added Alt-w bindings 1998-10-05 21:15:08 +00:00
Barry Warsaw 9044b8e5e3 Added details window 1998-10-05 21:14:46 +00:00
Barry Warsaw cd09867c57 current_rgb(): New method 1998-10-05 21:14:12 +00:00
Barry Warsaw 3d314390ab *** empty log message *** 1998-10-05 19:12:32 +00:00
Barry Warsaw 69a4ab5a04 Docstring 1998-10-02 16:27:40 +00:00
Barry Warsaw 4638c5b7f3 Docstring 1998-10-02 16:20:14 +00:00
Barry Warsaw eb61fbdba8 Docstring 1998-10-02 16:06:27 +00:00
Barry Warsaw bd36d6eccd Added the ListViewer 1998-10-02 16:05:48 +00:00
Barry Warsaw a9053f65de Updated docstring. 1998-10-02 16:01:42 +00:00
Barry Warsaw 9f3ea211dd all_names(): => unique_names()
aliases_of(): New method
1998-10-02 15:59:20 +00:00
Barry Warsaw ddb9fc1ebd Added docstring 1998-10-02 15:58:50 +00:00
Barry Warsaw b44056ec94 Functionality complete 1998-10-02 15:52:10 +00:00
Barry Warsaw 8be2594a24 all_names(): Return just the unique names of rgb colors 1998-10-02 14:43:30 +00:00
Barry Warsaw b55c4ad58d Got click on working. Dragging is disabled for now 1998-10-02 14:34:03 +00:00
Barry Warsaw ff45d54f31 resolve(): Improved use of a/an, suggested by Tino Wildenhain
<cdtv@amigager.de>.
1998-10-02 14:14:39 +00:00
Barry Warsaw 399f10cd66 Lots of good UI working, but not yet update-while-dragging 1998-10-01 22:03:25 +00:00
Barry Warsaw 46670a2d42 *** empty log message *** 1998-10-01 21:40:48 +00:00
Barry Warsaw 4ab5d85efa Change some init order 1998-10-01 16:47:06 +00:00
Barry Warsaw a7ba45b7b6 update_views_current(): New method 1998-10-01 16:46:43 +00:00
Barry Warsaw 86daeb7909 Added View button and popup of text widget 1998-10-01 16:46:16 +00:00
Barry Warsaw f9c6ddc40a *** empty log message *** 1998-10-01 16:45:32 +00:00
Barry Warsaw 231c8c0895 Gridify this widget 1998-10-01 14:26:57 +00:00
Barry Warsaw b26743ac48 Make sure the menubar is stretched 1998-10-01 14:26:26 +00:00
Barry Warsaw 65f0b6be47 Add a nice divider 1998-10-01 14:26:04 +00:00
Barry Warsaw 85e6965071 Fixed toggle b/w hex and decimal 1998-10-01 13:41:05 +00:00
Barry Warsaw d344165f48 Added options to visible window 1998-10-01 03:08:07 +00:00
Barry Warsaw aa40b556fd Groove for debugging 1998-10-01 03:07:20 +00:00
Barry Warsaw 03e8a31eb3 Get rid of Edit menu 1998-10-01 03:06:04 +00:00
Barry Warsaw 0fa6e4b421 Added options to visible window 1998-10-01 02:57:05 +00:00
Barry Warsaw fda3aceb71 Added interface to get/set colordb 1998-09-29 20:04:19 +00:00
Barry Warsaw a9b45580a3 Removed old cruft, added raw about dialog 1998-09-29 20:03:53 +00:00
Barry Warsaw 7a13418e12 Changed interface for nearest() method to take individual red, green,
blue values instead of tuple
1998-09-29 20:03:15 +00:00
Barry Warsaw 420201972e Got updating with Return/Tab working 1998-09-29 20:02:27 +00:00
Barry Warsaw 885b371e33 Un PMW-ified 1998-09-29 19:51:18 +00:00
Barry Warsaw d7d4725dba Added an extra frame in widget heirarchy in case I want to add
separators later
1998-09-29 17:36:43 +00:00
Barry Warsaw dc492e6738 Un PMW-ified 1998-09-29 15:44:20 +00:00
Barry Warsaw 63c9e9851e Rework startup 1998-09-28 23:41:53 +00:00
Barry Warsaw 1ac18cd326 simplify 1998-09-28 23:41:12 +00:00
Barry Warsaw 0e3e699178 triplet_to_brightness(): New function 1998-09-28 23:39:18 +00:00
Barry Warsaw a69c1ba0aa De PMW-ify 1998-09-28 23:38:44 +00:00
Barry Warsaw 26f4b5dfe4 Fixed the brightness calculation 1998-09-28 22:52:02 +00:00
Barry Warsaw 0dc9c92b10 Updated to new post-PMW framework. Moved generators to here and added
the StripViewer class.
1998-09-28 22:42:44 +00:00
Barry Warsaw 5177c48411 formatting 1998-09-28 21:01:55 +00:00
Barry Warsaw 6a3ea7468e Un PMW-ified 1998-09-28 20:58:06 +00:00
Barry Warsaw 04c7886764 Un PMW-ified 1998-09-28 16:28:04 +00:00
Barry Warsaw 987fb9225f Initial revision 1998-09-28 15:59:21 +00:00
Barry Warsaw a5a018fbd4 Fixed unit test 1998-09-25 22:51:36 +00:00
Guido van Rossum f9a6d7d494 Print serious errors to stderr instead of stdout. 1998-09-14 16:22:21 +00:00
Guido van Rossum caf9fca35a nannified 1998-09-14 16:03:02 +00:00
Guido van Rossum e7e632ab6b Nannified. 1998-09-14 16:02:28 +00:00
Guido van Rossum a53f30babc nannified 1998-09-14 15:57:09 +00:00
Guido van Rossum 4e96ec6a4e nannified. 1998-09-14 15:56:40 +00:00
Guido van Rossum 09eea82005 Utility to replace CRLF with LF in argument files. 1998-09-14 15:46:41 +00:00
Guido van Rossum 499a6e5fd4 Utility to replace LF with CRLF in argument files. 1998-09-14 15:46:15 +00:00
Guido van Rossum ce85827ac1 Utility to untabify stubber results. 1998-09-14 15:43:38 +00:00
Guido van Rossum 9819983994 Beh, new version must be edited in a separate file. 1998-09-04 21:20:29 +00:00
Guido van Rossum 2053aa6cc0 Use SCRIPT_NAME (if defined) instead of hardcoding /cgi-bin/ when
sending the cookie.  (Suggestion by AMK.)
1998-09-04 21:19:55 +00:00
Guido van Rossum 859b407cf1 Ignore cruft generating by the test run for hello.py. 1998-08-25 15:27:36 +00:00
Guido van Rossum baf0603493 New version, with contributions from Sjoerd Mullender and Mark Hammond.
Sjoerd writes:

This version of freeze creates one file per Python module, instead of
one humongous file for all Python modules.
bkfile: new module to used to write files with backups.  No new file
is produced if the new contents is identical to the old.
New option "-x excluded-module" for modulefinder test program.
New option "-i filename" for freeze main program to include a list of
options in place of the -i option.
1998-08-25 14:06:55 +00:00
Guido van Rossum ee60eb127b New tool: reverse grep (greps from the end). Uses a fairly efficient
strategy to read from the end of the file.
1998-08-12 17:47:52 +00:00
Guido van Rossum e7f3953142 A script by Mark-Andre Lemburg to produce the PC/python_nt.def file
automatically.
1998-08-10 13:12:22 +00:00
Guido van Rossum a42c1ee21d Added note() message to Page class -- this was used but didn't exist.
(The alternative would be to call self.checker.note() but since
self.checker might be None that's not quite right.
1998-08-06 21:31:13 +00:00
Guido van Rossum b77a68e6b1 Rewrite to support multiple suckers, each with their own thread. 1998-07-08 03:05:22 +00:00
Guido van Rossum 125700addb Instead of printint, use self.message() or self.note(). 1998-07-08 03:04:39 +00:00
Guido van Rossum 5e32a77fcd Minor change for windows; set extensions_c later and set
frozendllmain_c at the right place.
1998-07-07 22:47:38 +00:00
Guido van Rossum d94c2dc5e8 # Bump version because of checkin to faqwiz.py. :-( 1998-07-07 22:39:47 +00:00
Guido van Rossum 0922a56965 Don't add <...> around mail addresses; they may already be there. 1998-07-07 22:39:21 +00:00
Guido van Rossum b3bf2cd64b # The variable total is never used somehow. I think I had plans for
# it but can't remember what.  Get rid of a comparison that breaks.
1998-07-02 22:17:28 +00:00
Guido van Rossum a25969620a Fix by Sjoerd Mullender to support symbolic links and make a backup of
.mirrorinfo.  Fix by me to call string.lstrip(filename) to cope with a
bug in strop.strip() in Python 1.4.  Additionally, I changed all print
statements that print filenames etc. to put them in backquotes so that
it will be more obvious when there's a funny character on one of them
(such as a space...).
1998-06-29 23:17:16 +00:00
Guido van Rossum f57736e77a Translated to use re instead of regex. Also replaced one use of
L.append(a,b,c,d) with the correct L.append((a,b,c,d)).
1998-06-19 21:39:27 +00:00
Guido van Rossum 0a13f7f23a # This is a new module I wrote over the weekend. Again, you missed the
# checkin email because my PC doesn't have the "Mail" command.

Add threading (now that it works).  Also some small adaptations to
Unix again.
1998-06-15 14:49:16 +00:00
Guido van Rossum e3bd82117f Primitive GUI for websucker. 1998-06-15 12:35:19 +00:00
Guido van Rossum d328a9b5f4 Fix the way a trailing / is changed to /index.html so that it
doesn't depend on the value of os.sep.  (I.e. ported to Windows :-)
1998-06-15 12:34:41 +00:00
Guido van Rossum 6eb9d32c43 sort the urls in the todo list 1998-06-15 12:33:02 +00:00
Guido van Rossum c8f859a487 Jonathan Giddy:
This second problem only shows up if LDLAST is not an empty string (such
as with threads enabled on DEC Alphas).
1998-06-12 14:09:34 +00:00
Guido van Rossum 590fc2c4fa Jonathan Giddy:
The first one only shows up if $prefix != $exec_prefix, and the problem
is caused by the recent change in location for config.h.
1998-06-12 14:09:03 +00:00
Guido van Rossum aa2a7a4ae6 From: "Tim Peters" <tim_one@msn.com>
The 1.5.1 tabnanny.py suffers an assert error if fed a script whose last
line is both indented and lacks a newline:

if 1:
    print 'oh fudge' # no newline here:

The attached version repairs that.
1998-06-09 19:02:21 +00:00
Guido van Rossum 0f1e1fc3fa Don't die if win32api doesn't exist. 1998-05-26 02:51:40 +00:00
Guido van Rossum 55b40b06d2 Fix a dumb typo in the revparse() regular exception: {1-4} should be {1,4}.
Now you can click on revisions and diffs again!
1998-05-22 19:43:21 +00:00
Guido van Rossum 6c3a2cbc52 whrandom -> random 1998-05-20 17:13:01 +00:00
Guido van Rossum 110f3652d6 Additions for Mark Hammond's Win32 specific hacks. 1998-05-19 20:18:37 +00:00
Guido van Rossum e35c60156b Add a feature to support specifying an additional search directory for
packages.  (Mark Hammond)

Folded some long lines.
1998-05-18 20:25:54 +00:00
Guido van Rossum ce5988b3d9 Remove Emacs cruft. 1998-05-18 20:22:31 +00:00
Guido van Rossum f1b5a0e3aa Add a feature to support specifying an additional search directory for
packages.  (Mark Hammond)

Remove Emacs cruft.
1998-05-18 20:21:56 +00:00
Guido van Rossum 1f05cb007a OK, here's a different way to implement the same thing -- this version
also supports filenames with multiple spaces in their name :-)
1998-05-12 22:45:43 +00:00
Guido van Rossum aeeda5b276 Support filenames with spaces in their names (for non-Mac ftp servers).
This patch must hold the world record for living in my inbox:

  From: John Ehresman <jehresma@dsg.harvard.edu>
  Date: Wed, 23 Aug 1995 16:07:11 -0400

He provided a fix for the version that comes with Python 1.3:
ftpmirror.py revision 1.1...  And it was still relevant!
1998-05-12 22:36:11 +00:00
Guido van Rossum 27c225e826 Add the specific sed statement to recover the second output file to
the comments.
1998-05-08 21:04:06 +00:00
Guido van Rossum 83b851885d Adding Tim Peters' ndiff utility.
This is handy for comparing plain-text documentation files,
since it displays intra-line differences.
1998-05-06 17:43:30 +00:00
Guido van Rossum 4a114313a8 After variable expansion, what was formerly a single word can now
contain multiple words, all of which may have to be joined with the
path of the extension directory.
(Sjoerd)
1998-05-06 14:38:30 +00:00
Guido van Rossum e10053b881 Remove Emacs cruft at end. 1998-05-06 14:37:41 +00:00
Guido van Rossum 92f01c54d4 accept * in return value type and convert it to _ptr after the
typename, as in argument types.
(Jack)
1998-04-28 16:04:50 +00:00
Guido van Rossum db9a7b9ef6 Style and StyleParameter are two different types.
(Jack)
1998-04-28 16:04:26 +00:00
Guido van Rossum 8b3c30c0eb class ByAddressType, a simple Type but passed by address even on
input.
(Jack)
1998-04-28 16:04:12 +00:00
Guido van Rossum 53117ae82a typo in error message (fname vs. file).
(Jack)
1998-04-28 16:01:13 +00:00
Guido van Rossum bee64533d6 Use a try-except so that the pickle file is written even when we die
because of an unexpected exception.
1998-04-27 19:35:15 +00:00
Barry Warsaw 6a508aef7d Use the (new) standard script #! line
Convert to re module; remove all references to regexp and regsub

Added support for the new texinfo @url{} and @email{} commands
1998-04-23 22:59:33 +00:00
Guido van Rossum a937afd363 Freeze assumes that all built-in modules are part of the Python core.
This is not necessarily the case.  It is possible to create a Python
binary which contains built-in extension modules.  Therefore
checkextensions should be used for all unknown and builtin modules.
(Sjoerd Mullender)
1998-04-23 14:39:24 +00:00
Guido van Rossum 1abfb9c0f5 If freezing with the -O option, the optimized bytecode files are
used.  It is useful to implicitly set the -O flag in the frozen
application.
(Sjoerd Mullender)
1998-04-23 14:39:05 +00:00
Guido van Rossum df1940717d When using extention modules, relative path names that occur in the
Setup file are fixed so that they will work from the freeze build
directory.  However, relative path names in liner -L and -R options
are not fixed in this way.
(Sjoerd Mullender)
1998-04-23 14:38:46 +00:00
Guido van Rossum 23cff3170e Shouldn't import addpack! 1998-04-20 17:53:19 +00:00
Guido van Rossum 9cd9fbb72a Change the example of what's in scripts/. 1998-04-10 20:58:53 +00:00
Guido van Rossum a16a509dfc tabnanny stuff 1998-04-10 19:15:27 +00:00
Guido van Rossum ce73acf5e6 Tim's version 4, with my mods 1998-04-10 19:14:59 +00:00
Guido van Rossum 685fe839a9 This really needs python 1.5 now... 1998-04-08 21:37:13 +00:00
Guido van Rossum 8053d89f7b Add usage message when no arguments. 1998-04-06 14:45:26 +00:00
Guido van Rossum f4b44fa6ef Tim's latest version (supports old and new tokenize modules) 1998-04-06 14:41:20 +00:00
Guido van Rossum 986abac1ba Give in to tabnanny 1998-04-06 14:29:28 +00:00
Guido van Rossum 36dfbcf323 Version 1.0 is official! 1998-04-06 14:25:36 +00:00
Guido van Rossum 72dc60ca92 Untabified, for tabnanny. 1998-04-06 14:24:36 +00:00
Guido van Rossum e4e41062f5 Reindented without tabs and with uniform 4 space indent. 1998-04-06 14:20:27 +00:00
Guido van Rossum 88c6bdf042 posix->os. 1998-04-03 22:27:04 +00:00
Guido van Rossum 9ab75cbaab Tim Peters' program for checking whether a program's indentation is
sensitive to tab size.  Uses a different strategy than tabpolice.py,
but has compatible usage.
1998-03-31 14:31:39 +00:00
Guido van Rossum 97df7f8679 Add -q option that *just* prints the filename. 1998-03-26 19:23:43 +00:00
Guido van Rossum ed5b3d8b3c give in to tab police 1998-03-24 05:30:29 +00:00
Guido van Rossum 3db0e3713c Report first line with inconsistent tab usage. 1998-03-24 04:58:04 +00:00
Guido van Rossum 6f73c1a2ac The Tab Police watches for possibly inconsistent indentation. 1998-03-20 19:23:04 +00:00
Guido van Rossum 78fc3634cb Big changes by Mark Hammond to support freezing with DLLs on Windows. 1998-03-20 17:37:24 +00:00
Barry Warsaw a341fc3bf7 update while dragging defaults to 0 1998-03-17 16:19:05 +00:00
Barry Warsaw ee6d8a5b45 No update while dragging still tracks the arrows 1998-03-17 15:59:26 +00:00
Barry Warsaw abae22fa5e Get rid of Entrywidget 1998-03-16 23:35:11 +00:00
Barry Warsaw 627857e957 Add option for no updates on typing 1998-03-16 23:09:04 +00:00
Barry Warsaw 70787ed8ae Add option for no updates on dragging 1998-03-16 23:08:53 +00:00
Barry Warsaw a114eb5bd3 Use the new PyncheOptions widget 1998-03-16 23:08:35 +00:00
Barry Warsaw 55f0aabe88 example output is different 1998-03-13 18:33:34 +00:00
Barry Warsaw 0eae830dec Typos in the docstring fixed by Detlef Lannert
<lannert@uni-duesseldorf.de>
1998-03-13 18:27:12 +00:00
Barry Warsaw fb34c92628 Added URL for UK 1998-03-12 14:05:37 +00:00
Barry Warsaw 844e664e9d Added a hack to deal with common practice 'uk' for United Kingdom 1998-03-12 13:15:28 +00:00
Barry Warsaw 521b8e1cd8 Use RCS revisions 1998-03-11 16:53:21 +00:00
Barry Warsaw c0b965b81b Updated the docstring 1998-03-11 16:50:31 +00:00
Barry Warsaw d2c210df62 Added reverse lookup 1998-03-11 16:46:04 +00:00