Commit Graph

9590 Commits

Author SHA1 Message Date
Barry Warsaw b2031f72d3 Document that apply() can now take any sequence in argument 2. 1998-10-01 15:35:43 +00:00
Barry Warsaw 968f8cbace builtin_apply(): Second argument type check is relaxed to allow any sequence. 1998-10-01 15:33:12 +00:00
Guido van Rossum 566373e974 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.
1998-10-01 15:24:50 +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 9190046289 Added NS and EW constants, which are meaningful values for grid's
-sticky option.
1998-10-01 13:49:37 +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
Guido van Rossum 65f15d435e In FreeBSD when using ELF, an underscore is needed in front of the
function name.  (Vladimir Kushnir by way of Thomas Gellekum.)
1998-09-30 14:34:52 +00:00
Jack Jansen e504fa289f Disable python event handling in mainloop (discovered by Tasselli Marco) 1998-09-30 09:11:51 +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
Guido van Rossum f984a65267 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().
1998-09-29 15:57:42 +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
Guido van Rossum 93d27547d0 Remove redundant definition of NEXITFUNCS.
(Reported by Jeff Rush.)
1998-09-28 22:15:37 +00:00
Guido van Rossum 2645241add Fixes for OS/2 by Jeff Rush. 1998-09-28 22:07:11 +00:00
Guido van Rossum 03dc5384d7 Move the #include of <sys/select> to *after* mytime.h (or <time.h>),
as this is the logical order of dependencies.  Suggested by Jeff Rush.
1998-09-28 22:05:22 +00:00
Guido van Rossum e8afe516ab New set of files for the OS/2 port by Jeff Rush. 1998-09-28 22:02:40 +00:00
Guido van Rossum be70450f03 Removed some OS/2 #defines (now in the OS/2 specific config.h).
Patch by Jeff Rush.
1998-09-28 21:55:25 +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
Guido van Rossum 26367a001d New version from Piers Lauder, who writes:
Added a debug function to replace 'print' statements.
Ensured that response attached to 'NO' replies is passed back.
added readonly exception.
Rearranged method order into types.
Ensure select returns a meaningful error on 'NO'.
'NO' returns from authenticate and login raise error with last message,
not list.
1998-09-28 15:34:46 +00:00
Guido van Rossum 75bb54c3d8 Don't set a local variable named __args__; this feature no longer
works and Greg Ward just reported a problem it caused...
1998-09-28 15:33:38 +00:00
Guido van Rossum 9814a943a5 Add warning that on Windows it only works on sockets. 1998-09-28 14:28:38 +00:00
Guido van Rossum 954b9adcd2 Document new urllib features by Eric Raymond. 1998-09-28 14:08:29 +00:00
Guido van Rossum 9ab96d40eb Changes by Eric Raymond:
1. Generate a correct Content-Length header visible through the info() method
   if a request to open an FTP URL gets a length in the response to RETR.

2. Take a third argument to urlretrieve() that makes it possible to progress-
   meter an urlretrieve call (this is what I needed the above change for).
   See the second patch band below for details.

3. To avoid spurious errors, I commented out the gopher test.  The target
   document no longer exists.
1998-09-28 14:07:00 +00:00
Jack Jansen d5af7bd489 Truncate messages if they are longer than 255 characters. Note that this is
not really a good solution for default input strings...
1998-09-28 10:37:08 +00:00
Barry Warsaw a5a018fbd4 Fixed unit test 1998-09-25 22:51:36 +00:00
Barry Warsaw 9195f55bbf Updated the docstring and class hierarchy diagram 1998-09-25 22:43:21 +00:00
Barry Warsaw 4f94c73879 (py-comint-output-filter-function): Horrible kludgearound for making
the de-queing of exec files work for NT XEmacs 21.0.
1998-09-25 19:40:10 +00:00
Guido van Rossum 67906af811 In PyFrame_New(), don't set extras to something derived from code
before code has been checked for validity.  Discovered by Vladimir
Marangozov.
1998-09-25 14:11:46 +00:00
Barry Warsaw d35c255e44 (py-guess-indent-offset): Only print message about py-indent-offset
when in an interactive session (suggested by B. Wiener).
1998-09-25 00:08:38 +00:00
Barry Warsaw 02e5f69c90 (py-execute-file, py-execute-import-or-reload): Use a Python `raw'
string in the argument to execfile() so a Windows temp directory
named, e.g. c:\\tmp doesn't get interpreted as a file name with an
embedded tab!  (given by C. Waldman).
1998-09-24 23:48:40 +00:00
Guido van Rossum f7d77009c1 Add two constants (with the same value) to specify the on-board CD input. 1998-09-24 18:09:47 +00:00