Commit Graph

868 Commits

Author SHA1 Message Date
Guido van Rossum fe28fa05e9 Remove the last three uses of PyArg_GetInt() from the source. 1997-05-15 19:09:26 +00:00
Guido van Rossum 1cbdfb9187 Add sections for PIL (Fred Lundh). 1997-05-14 19:22:11 +00:00
Guido van Rossum fc4f503762 Fix showstopping bug (^ wouldn't match after \n). Jeffrey Ollie. 1997-05-14 18:27:51 +00:00
Guido van Rossum 34570d7669 A new set of symbols. Hopefully this will be sufficient, I have no
idea how this is used, really.
1997-05-14 17:59:37 +00:00
Guido van Rossum 445efa9602 Add a cast to a malloc to shut up the DEC Unix compiler. 1997-05-14 15:30:32 +00:00
Guido van Rossum 7d3246d0e4 Keep gcc -Wall happy. 1997-05-13 19:19:41 +00:00
Guido van Rossum de8d6d73fb Use compile-time test for 64-bit hardware instead of run-time test.
This silences some compilers.
1997-05-13 18:00:44 +00:00
Guido van Rossum 2ef21efad3 Removed symbols that are no longer defined.
Still have to find a way to add symbols that *are* defined...
1997-05-13 17:56:38 +00:00
Guido van Rossum 4917d93ca9 Keep picky compilers happy. 1997-05-13 17:53:34 +00:00
Guido van Rossum d77636216c Another change suggested by Donn Cave -- forget "step 5", which
searches /usr/local, /usr and /.
1997-05-12 20:53:23 +00:00
Guido van Rossum 573a24a4f7 Fix problem reported by Donn Cave: if VPATH is an absolute path, it
would always be a hit.   Prevent this by only using VPATH if we know
we are in the build directory.
1997-05-12 20:49:39 +00:00
Guido van Rossum 4a807f5939 Fix big ineficciency in regobj.search/match (introduced by Barry in an
otherwise laudible attempt to rationalize the argument parsing): it
would save a copy of the original string instead of a reference to it.
Go back to saving a reference, but keep the "s#" format (using a hack
that involves two argument parsing steps, first using "O", then using
"s#").
1997-05-12 16:04:09 +00:00
Guido van Rossum 004c1e1d07 Latest from Jeffrey Ollie.
Infinite failure stack, some bugs fixed (fastmap, star_jump, register bug).
1997-05-09 02:35:58 +00:00
Guido van Rossum db4a629ba0 Avoid warning from gcc on Linux about dropping const. 1997-05-09 02:17:12 +00:00
Guido van Rossum ee2373b930 Oops, missed some renamings. 1997-05-07 23:51:07 +00:00
Guido van Rossum b05a5c7698 Instead of importing graminit.h whenever one of the three grammar 'root'
symbols is needed, define these in Python.h with a Py_ prefix.
1997-05-07 17:46:13 +00:00
Guido van Rossum 8813b58ffa On popular demand, re-enable the readline event hook. 1997-05-07 17:42:41 +00:00
Guido van Rossum aa948df877 In makesockaddr(), if we don't know the address family, don't raise an
exception -- return it as a tuple.  Seems useful in promiscuous mode.
1997-05-07 17:41:48 +00:00
Guido van Rossum fdf95dd525 Checkin of Jack's buffer mods.
Not really checked, but didn't fail any tests either...
1997-05-05 22:15:02 +00:00
Guido van Rossum a027efa5bf Massive changes for separate thread state management.
All per-thread globals are moved into a struct which is manipulated
separately.
1997-05-05 20:56:21 +00:00
Guido van Rossum d3d6f8ffad Add -lgl and -lm for imgfile. Better way to configure zlib. 1997-05-05 20:48:00 +00:00
Guido van Rossum 03ef647847 Add PYTHONHOME to the usage message. 1997-04-30 19:48:59 +00:00
Guido van Rossum ebde385fc0 One copy is enough; we already had resource.c. 1997-04-30 19:43:15 +00:00
Guido van Rossum 1ed5e57684 Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
Guido van Rossum 87490eb3b0 Renamed inittab. 1997-04-29 20:31:59 +00:00
Guido van Rossum e2b4f0906d Track updates in rename2.h. 1997-04-29 16:27:09 +00:00
Guido van Rossum 8105821bf5 Added -I$(srcdir) to line for glmodule so we can move cgensupport.h here. 1997-04-29 16:07:45 +00:00
Guido van Rossum ba9d7c5612 Change the exception objects to have the string value "os.error"
instead "posix.error" or "nt.error".
1997-04-29 15:49:54 +00:00
Guido van Rossum 8ec9e639ab Adapt Mac specific code to new universal headers (I think -- this is
Jack's code).
1997-04-29 15:49:04 +00:00
Guido van Rossum dfed920e51 Hm. What was previously checked in was the edited *output* of the old
cgen.py.  Now that cgen.py and cstubs have been quickly renamed, check
in the actual output.  This has some "old-style" names left in
(getilongarg etc.) but these are now take care of by macros in
cgensupport.h (which is now specific to glmodule.c).
1997-04-29 15:46:43 +00:00
Guido van Rossum 3837de00a9 Moved here from ../Python and quickly renamed. 1997-04-29 15:43:55 +00:00
Guido van Rossum 4f1099fcf4 Added cgensupport.o. 1997-04-29 15:41:53 +00:00
Guido van Rossum 7fa3b75f28 Added cgensupport.c to Setup line for gl module.
Addeed Andrew Kuchling's zlib module.
1997-04-29 15:41:26 +00:00
Guido van Rossum 9e3a812306 Added Jeremy's resource module. 1997-04-29 15:39:45 +00:00
Guido van Rossum 0a3eaf0838 Quickly renamed. 1997-04-29 15:39:28 +00:00
Guido van Rossum fb221562a3 Added Andrew Kuchling's zlib module. 1997-04-29 15:38:09 +00:00
Guido van Rossum 1818b7702b Moved rename2's macros relevant to this module here and added comment
about the file's obsolescence.
1997-04-29 15:35:28 +00:00
Guido van Rossum b31c7dcb43 OK, I lied. On Windows, _IOLBF seems to be the same as full
buffering, so to get the normal behavior back, I set it to
unbuffered.
1997-04-11 22:19:12 +00:00
Guido van Rossum 2a212191f8 Change in when and how stdin and stdout are set to line-buffering.
This used to be done whenever stdin was interactive.  Now we only do
it when the -i flag is given.  Also (and this is the real reason for
this fix) we explicitly allocate a buffer -- this seems to be
necessary on Windows.
1997-04-11 21:57:53 +00:00
Guido van Rossum 7844e38a98 Keep Microsoft VC happy. 1997-04-11 20:44:04 +00:00
Guido van Rossum 6bf62dad9e Keep gcc -Wall and Microsoft VC happy. 1997-04-11 20:37:35 +00:00
Barry Warsaw 90126035ca Removed two unused static function: string_addsep() and
string_append().  These must be artifacts of GvR's rewrite.

Fixed some typos in the leading comment (and re-filled the
paragraphs).

Hope you don't mind, Guido.
1997-04-11 20:27:03 +00:00
Guido van Rossum 3dc35b0c66 My own patch: support writable 'softspace' attribute. 1997-04-11 19:56:06 +00:00
Guido van Rossum fd16d9438d (Jack:) fopen arg typo (?) "rw" changed to "rb". 1997-04-11 19:12:20 +00:00
Guido van Rossum fb421c82a9 (Jack:) Mac only: get GUSI errno.h values too. 1997-04-11 19:11:25 +00:00
Guido van Rossum 3d82972b85 Remove the Emacs shell-script line. It's not a shell script. 1997-04-11 18:42:45 +00:00
Guido van Rossum 97227814a9 The default path components are now all relative instead of absolute paths.
This completes the getpath.c checkin.  Note that to enable this in an
existing build tree, you'll have to edit your Setup and Setup.in file
to remove the $(DESTLIB) from all the PATH variable definitions.
1997-04-11 17:19:54 +00:00
Guido van Rossum 305e5d0d4f Completely revamped the way the default path is constructed.
Idea and first three implementation rounds due to Barry -- after that
I spent another day on it, hopefully it's enough for now :-)

(Wait for the checkin to Setup.in.)
1997-04-11 17:18:45 +00:00
Guido van Rossum ec61b77216 Pass VERSION and VPATH into getpath.c. 1997-04-11 17:04:49 +00:00
Guido van Rossum 1e0b19e9e4 Bugfix by Sjoerd:
/* x_ocount is in bytes, wheras play.samples is in frames */
	/* we want frames */
1997-04-11 15:23:52 +00:00