0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00
Commit Graph

356 Commits

Author SHA1 Message Date
Guido van Rossum
e8a1e8cef3 Fix getpythonpath() fix; never #include frozen.c. 1994-10-05 14:48:22 +00:00
Guido van Rossum
6e890b86a8 Save static pointer to malloc'ed buffer 1994-10-05 12:25:12 +00:00
Guido van Rossum
14ed0b2cd3 * Modules/xxmodule.c: integrated with xxobject.c by Jack
* Modules/(posix,socket}module.c: more NT changes
1994-09-29 09:50:09 +00:00
Guido van Rossum
be9f149574 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default. 1994-09-21 12:31:05 +00:00
Sjoerd Mullender
cc1b8d5030 Specified libraries for flmodule. 1994-09-21 11:51:10 +00:00
Sjoerd Mullender
bf677edc45 Put a comment start symbol at the start of a comment that lacked one. 1994-09-15 14:50:05 +00:00
Guido van Rossum
602099a756 * various modules: #include "Python.h" and remove most remporary
renaming hacks
1994-09-14 13:32:22 +00:00
Guido van Rossum
f5e0ea89db * Modules/Setup.in: define PYTHONPATH using COREPYTHONPATH for
extensions; add -lm to math module definition

	* Modules/Makefile.pre.in: remove *.so and so_locations on clobber
1994-09-12 15:35:36 +00:00
Sjoerd Mullender
73737abead If an argument on a Setup line starts with `$', treat it as a library,
but only if it does not end in a known suffix.
1994-09-12 15:31:01 +00:00
Guido van Rossum
7cc5abd454 Support shared library creation. 1994-09-12 10:42:20 +00:00
Guido van Rossum
9adae8e182 Steen Lumholt's termios interface. 1994-09-12 10:41:22 +00:00
Guido van Rossum
43021932bc Added _getpty interface. 1994-09-12 10:40:46 +00:00
Guido van Rossum
e4485b064d Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
that the module-specific components are in the section for that
module.

cursesmodule.c: patched it so it actually works.

tkintermodule.c: call Py_AtExit instead of atexit().

signalmodule.c: converted to new naming style; added
BGN/END SAVE around pause() call.

socketmodule.c: added setblocking() after Tommy Burnette.
1994-09-07 14:32:49 +00:00
Sjoerd Mullender
a142613678 Added minmax function. 1994-09-06 16:19:33 +00:00
Guido van Rossum
56bf235d4c Lance's release 1.1 -- fixes some problems with 1.0 1994-08-31 22:06:24 +00:00
Guido van Rossum
fbea2f3e7c Release 1.0 by Lance 1994-08-31 22:05:27 +00:00
Guido van Rossum
f6971e2958 Lance has converted his modules to the new naming conventions, and
contributed a curses interface.
Setup.in uses .c instead of .o now.
1994-08-30 12:25:20 +00:00
Guido van Rossum
224b289efa * Modules/makesetup: bugfix: add objects from sources to OBJS 1994-08-30 09:27:16 +00:00
Guido van Rossum
1d5735e846 Merge back to main trunk 1994-08-30 08:27:36 +00:00
Guido van Rossum
b078ce10d4 Move #endif for NT 1994-08-29 14:01:43 +00:00
Guido van Rossum
7b1e974b4b Makefile.pre.in: add $(OPT) to link command
audioop.c: fix for MPW
config.c.in: save original argc/argv for Lance
rotormodule.c: new coding conventions
timemodule.c: add casts for Lance
1994-08-29 10:46:42 +00:00
Guido van Rossum
794b93ea8a * Modules/Setup.*: removed all except Setup.in (huh? I thought
I'd done that already?!); disable gdbm by default
	* configure.in, */Makefile*.in: OPT can now be specified in the
	env at configure time and will then be put in all Makefiles as
	default
	* */Makefile*.in: remove lib*.a before adding to it
1994-08-23 13:51:25 +00:00
Guido van Rossum
aa0f4c73e5 * Modules/signalmodule.c: added pause(). 1994-08-23 13:49:37 +00:00
Guido van Rossum
0b498beea2 * Modules/makesetup: support C++ files now; these should be given
as file.C or file.cc or file.c++; C files can be given as file.c
	(instead of file.o, which is still supported)
1994-08-23 13:49:15 +00:00
Guido van Rossum
794d81313b * Modules/posixmodule.c: some more NT changes 1994-08-23 13:48:48 +00:00
Guido van Rossum
9731d4470f * Modules/config.c.in: change mac specific things 1994-08-23 13:48:30 +00:00
Guido van Rossum
72824bab44 Move all code from version.c into config.c 1994-08-19 12:03:04 +00:00
Guido van Rossum
0c7095484e Changes for Mac 1994-08-19 12:01:32 +00:00
Guido van Rossum
6a3eb5f14d Changes to make it work and compile on NT, by Mark Hammond.
(NT changes for posixmodule.c re-invented by Guido.)
1994-08-18 15:42:46 +00:00
Guido van Rossum
5806a4f5c3 * Modules/stropmodule.c: implement find/rfind instead of
index/rindex (raising and catching an exception is much more
	expensive than returning and testing -1)
1994-08-17 13:15:46 +00:00
Guido van Rossum
9bb4fd6061 * tkintermodule.c (*FileHandler): generalize to arbitrary file ids
and objects that hav a fileno() method; fix bug in FileHandler
	(should call XDECREF instead of DECREF)
1994-08-09 14:15:19 +00:00
Guido van Rossum
4b4c664d2e * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added
Anthony Baxter's gdbm module (derived from Jack's dbm module)
1994-08-08 08:06:37 +00:00
Guido van Rossum
c65a525cdc * Modules/{Setup.in,Makefile.pre.in}: renamed some modules to
shorter names (dropped the "module" from the name): sunaudiodev,
	imgformat, audioop, imageop, imgfile

	* Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do
	the right thing (i.e. return 3 instead of 0)

	* Modules/socketmodule.c: disabled allowbroadcast() socket method
1994-08-05 13:44:50 +00:00
Guido van Rossum
e2ca9bd156 * tkintermodule.c: OK, I've fixed the "tty" problem. You're right
no need for the stdin handler, a Tk_DoOneEvent(TK_DONT_WAIT) did
	the trick.  I've included a diff to tkintermodule.c.
1994-08-03 08:01:43 +00:00
Guido van Rossum
b6775db241 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
Guido van Rossum
e44e373cbc Added some names to Setup.in, and added syslogmodule.c.
posixmodule.c: use pclose, not fclose!
selectmodule.c: trap negative fileno's, change some error messages.
stropmodule.c: change semantics of rindex to match string.py.
1994-07-14 13:56:50 +00:00
Guido van Rossum
d308e2ba3e * tkintermodule.c
(PyInit_tkinter): Only create stdin file handler when stdin
	 is a tty.
	 (Tkinter_Cleanup): New function.  This is an exit handler that
	 cleanup Tk.
1994-07-07 09:25:12 +00:00
Guido van Rossum
f713247ed7 Initial revision 1994-06-27 08:00:16 +00:00
Guido van Rossum
7687522309 * tkintermodule.c (Tkapp_New): Remove #ifdef WITH_APPINIT.
* tkintermodule.c (FileHandler): Make arg a tuple; bug found
	by <tnb2d@cs.virginia.edu>.  Call the Python file handler
	function with (file, mask) argument.  Fix a few of my refcnt bugs.
1994-06-27 07:59:42 +00:00
Guido van Rossum
bb4ba12242 * Modules/signalmodule.c: added thread compatibility (only main
thread uses signals); much improved efficiency; intrcheck()
doesn't call sigcheck() but only tests and clears the SIGINT
tripped flag.
1994-06-23 11:25:45 +00:00
Guido van Rossum
20882d5067 Split pwd in pwd and grp; added imgformat (by Jack) 1994-06-23 11:15:44 +00:00
Guido van Rossum
1846882254 Initial revision 1994-06-20 07:49:28 +00:00
Guido van Rossum
6299d1ee03 Speed up checking for signals and define intrcheck differently 1994-05-31 12:51:13 +00:00
Guido van Rossum
34162a123a Added some new modules 1994-05-23 12:37:57 +00:00
Guido van Rossum
398d9fec3c New experimental modules -- signal and sybase 1994-05-11 08:59:13 +00:00
Guido van Rossum
e4c6131baa crypt module (Steve M's) 1994-05-06 14:25:39 +00:00
Guido van Rossum
094183ebeb At the release of 1.0.1. 1994-02-15 16:04:53 +00:00
Guido van Rossum
cbcd8d796f Make more robust against Minix and Mac 1994-01-14 16:55:50 +00:00
Guido van Rossum
4de6cbccf0 new file, setup for minix 1994-01-14 16:55:10 +00:00
Guido van Rossum
7590193909 Add colon to TESTPATH (oops!) 1994-01-13 16:03:27 +00:00