Commit Graph

570 Commits

Author SHA1 Message Date
Guido van Rossum d639b45ed6 dbhash -> bsddb 1995-08-28 02:59:06 +00:00
Guido van Rossum e03f277a22 fix bug in close() 1995-08-28 02:58:31 +00:00
Guido van Rossum 66017aa1b8 fix leaks in keys(); fix bug in close() 1995-08-28 02:58:00 +00:00
Jack Jansen eaeb1c825d Added missing 'leftchar' initializer. 1995-08-14 12:17:57 +00:00
Jack Jansen dc977a99e0 Shuffled include's around (name conflict on Mac wrt teclick()) 1995-08-14 12:17:18 +00:00
Guido van Rossum 45a910475c added MACHDEP back in 1995-08-08 14:18:12 +00:00
Jack Jansen 727811907c Helper module for uuencode and binhex coders 1995-08-07 14:34:15 +00:00
Guido van Rossum 667d704997 Initial revision 1995-08-04 04:20:48 +00:00
Guido van Rossum 37ba0bc50b split config.c in 1000 parts; new main; new unfinished objective-C module 1995-08-04 04:20:45 +00:00
Guido van Rossum b158909b45 \temporary 'fix' for brokenness 1995-07-28 16:44:53 +00:00
Guido van Rossum 07b14dd8bc add locking where it exists 1995-07-26 17:33:44 +00:00
Guido van Rossum ef38b78f94 use newgetargs 1995-07-26 17:33:10 +00:00
Guido van Rossum f8afdcfef0 improved comments for curses, dbhash 1995-07-26 17:31:41 +00:00
Guido van Rossum e42fc2fd37 use getnewargs where it makes sense 1995-07-26 17:29:45 +00:00
Guido van Rossum cf1025ba0d fixed arg checking for keys() and close() 1995-07-18 18:33:09 +00:00
Guido van Rossum 79ae53e8f0 Initial revision 1995-07-18 18:23:44 +00:00
Guido van Rossum ae75f4955e added dbhash; Tk is now officially at 4.0 1995-07-18 18:18:11 +00:00
Guido van Rossum 24f42ac74c suppress . and .. in listdir return value 1995-07-18 18:16:52 +00:00
Guido van Rossum 064a62bc8a err() should be varargs -- and fix one call 1995-07-07 22:39:14 +00:00
Guido van Rossum ef4ee62a0f added getpalatform() 1995-07-07 22:38:14 +00:00
Guido van Rossum 807b7bec06 normalized flag arg and made flag, mode default args; minor cosmetics 1995-07-07 22:37:11 +00:00
Guido van Rossum 55ea8a7b5b pass $PLATFORM into config.c 1995-07-07 22:35:21 +00:00
Guido van Rossum 36bc68024f sys/wait.h; NeXT changes (no unistd, utime; getcwd?) 1995-06-14 22:54:23 +00:00
Guido van Rossum 4a2698648e fix NL for Linux bash bug; special processing for -u options 1995-06-14 22:52:06 +00:00
Guido van Rossum ac56297421 edited RCS cruft 1995-06-14 22:49:20 +00:00
Guido van Rossum 31affb2e42 new modules soundex.c and environment.c 1995-06-14 22:31:38 +00:00
Guido van Rossum 30b6b2b032 add setblocking(); NT changes; null-terminate Unix path 1995-06-14 22:28:08 +00:00
Guido van Rossum 6e69fc7a72 removed rcs cruft 1995-06-14 22:23:17 +00:00
Guido van Rossum 9caac91641 NeXT doesn't like me to declare hypot(double, double) 1995-06-14 22:17:37 +00:00
Sjoerd Mullender 3db845b6f7 Make constants from cl.h include file available as module variables.
Also added Irix 5.3 constants.
1995-05-17 11:16:52 +00:00
Guido van Rossum 009e79bf02 unified join(fields), split(fields) 1995-05-03 17:40:23 +00:00
Guido van Rossum f4449def3b small clarifications / lay out 1995-04-10 11:37:18 +00:00
Guido van Rossum 74ee2878b6 move decl of realmain() out of #ifdef 1995-03-30 11:00:56 +00:00
Guido van Rossum de4e124c9b add WNOHANG 1995-03-30 10:56:54 +00:00
Guido van Rossum 07432c0ef6 fix subtle refcnt bug 1995-03-29 16:47:45 +00:00
Sjoerd Mullender 542659bbd0 Use newgetargs instead of getargs.
Check if objects are closed in getattr function instead of in each
method.
Removed functions sbtoa and timetoa.
Added functions msftoframe.
Added variables that used to be in standard module CD.
1995-03-28 12:06:23 +00:00
Sjoerd Mullender 14ece169ab Added some (method) casts. 1995-03-17 12:18:38 +00:00
Guido van Rossum 385e7c6919 implement exit_thread through SystemExit exception 1995-03-17 10:42:27 +00:00
Guido van Rossum fbd30e9159 added firstkey(), nextkey(), reorganize() methods 1995-03-16 16:07:34 +00:00
Guido van Rossum 27e177d005 fixed up comments describing interface 1995-03-16 15:43:47 +00:00
Guido van Rossum f4b012a9e0 use PyCallable_Check; split some lines 1995-03-16 15:43:29 +00:00
Guido van Rossum cc08112ff4 tiny additions for Windows 3.1 1995-03-14 15:05:41 +00:00
Guido van Rossum 6b14491bb4 mode and optional bufsize for makefile() 1995-03-14 15:05:13 +00:00
Guido van Rossum b045afc711 plugged some memory leaks (Steve Clift) 1995-03-14 15:04:40 +00:00
Guido van Rossum e333d167fe 1995 copyright 1995-03-14 15:04:19 +00:00
Guido van Rossum 6f4f5f7892 some more changes for NT and Borland 1995-03-10 15:14:41 +00:00
Guido van Rossum caffcdfc8c moved some stuff around for fewer confusion 1995-03-10 15:14:13 +00:00
Guido van Rossum 06d511ddf5 added PyErr_SetInterrupt(); NT ifdefs 1995-03-10 15:13:48 +00:00
Guido van Rossum a320fd308c changes for MPW 1995-03-09 12:14:15 +00:00
Guido van Rossum b6fe7048e7 add casts to malloc() calls 1995-03-09 12:13:43 +00:00
Guido van Rossum ad0ee8369c changes for NT/Borland C 1995-03-01 10:34:45 +00:00
Guido van Rossum 6964f73b85 include mymath.h 1995-03-01 10:34:29 +00:00
Guido van Rossum 585c6dcf88 more fixes by Steve Clift 1995-02-24 13:45:43 +00:00
Guido van Rossum 295d171650 explicitly init flags in methodlists 1995-02-19 15:55:19 +00:00
Guido van Rossum 8bdd33386d changes for CFM-68K mac 1995-02-18 14:53:14 +00:00
Guido van Rossum 6b13ba22d9 continue after failing for loop 1995-02-17 15:12:13 +00:00
Guido van Rossum 9e575ff7d8 remove bogus ## in front of gcc __VERSION__ 1995-02-17 15:11:57 +00:00
Guido van Rossum a38a503576 fix comment opener after #endif 1995-02-17 15:11:36 +00:00
Guido van Rossum 5f05eb421a add INADDR_* symbols 1995-02-17 15:11:07 +00:00
Guido van Rossum 8fbf82b26e bump version, add __version__ back in 1995-02-17 13:54:04 +00:00
Guido van Rossum 8573847a4d Steve Clifts version 1995-02-17 13:50:17 +00:00
Guido van Rossum d4837daa8d added some clarifying comments about -lcrypt and Tk 4.0 1995-02-14 09:43:25 +00:00
Guido van Rossum ee1813de2a fix stupid bug in strip and split 1995-02-14 00:58:59 +00:00
Guido van Rossum 57c33af90e tack compiler name/version to version string if known 1995-02-13 17:10:11 +00:00
Guido van Rossum 7f7f274839 use Py_CHARMASK 1995-02-10 17:01:56 +00:00
Guido van Rossum 760dd1031a add some casts 1995-02-10 17:01:08 +00:00
Guido van Rossum a3c3f2c5b0 use PyCallable_Check; export TK_VERSION and TCL_VERSION strings;
some Tk 4.0 specific changes
1995-02-07 15:41:02 +00:00
Guido van Rossum 3fdf58b5cc add socket related constants 1995-02-07 15:39:52 +00:00
Guido van Rossum d1b3481d69 correct typo in utime stub 1995-02-07 15:39:29 +00:00
Guido van Rossum 03e8ffa345 patches for NeXT weirdness 1995-02-07 15:38:56 +00:00
Guido van Rossum f5c6d47e96 clear errors between failing calls to PyArg_Parse 1995-02-07 15:38:32 +00:00
Jack Jansen 971e1df3df Quick hack so PowerPC macs can access system structures 1995-02-02 14:29:10 +00:00
Guido van Rossum d503913594 plug leak and improve error handling in dbm_keys() 1995-01-30 12:45:38 +00:00
Jack Jansen d56c109272 Changed the way mac mainloop event checking is turned off 1995-01-27 14:44:16 +00:00
Jack Jansen 3d7f6bd3b7 Added a global 'stdwin is active' flag. 1995-01-26 16:40:10 +00:00
Guido van Rossum f8803dd6c3 uname 64-bit fix 1995-01-26 00:37:45 +00:00
Guido van Rossum 39cb5ce85d unused vars 1995-01-26 00:37:10 +00:00
Guido van Rossum 1253960407 mem leak 1995-01-26 00:37:01 +00:00
Guido van Rossum 8239f0ffa0 fix leaks 1995-01-22 00:49:01 +00:00
Guido van Rossum 62de97f29c make routines static 1995-01-22 00:48:41 +00:00
Guido van Rossum 27fda28973 cleanup 1995-01-22 00:48:16 +00:00
Guido van Rossum 811fbbc4ce create $(DESTSHARED) library if needed 1995-01-22 00:47:59 +00:00
Guido van Rossum ec25b91ba3 rename sigcheck so signal handling works again 1995-01-22 00:46:57 +00:00
Guido van Rossum cd938fc5a1 Made some more things static, and other cleanup for new naming scheme 1995-01-17 16:13:48 +00:00
Guido van Rossum 087579ea51 added $& to $(LIB) target for Sequent 1995-01-17 16:11:29 +00:00
Guido van Rossum caa6380886 The great renaming, phase two: all header files have been updated to
use the new names exclusively, and the linker will see the new names.
Files that import "Python.h" also only see the new names.  Files that
import "allobjects.h" will continue to be able to use the old names,
due to the inclusion (in allobjects.h) of "rename2.h".
1995-01-12 11:45:45 +00:00
Guido van Rossum a3c04b003f cosmetics 1995-01-12 11:29:01 +00:00
Guido van Rossum b9418686ba rearrange declarations somewhat 1995-01-12 11:28:16 +00:00
Guido van Rossum a597dde3f1 cosmetic changes so these modules will work with the strict new naming scheme 1995-01-10 20:56:29 +00:00
Guido van Rossum 6c1874fc2b changes for C++ (Tim MacKenzie) 1995-01-10 17:43:33 +00:00
Guido van Rossum 062cfb0c4e added interface to Tk_DoOneEvent (R Lindsay Todd) 1995-01-10 17:42:51 +00:00
Guido van Rossum ca9b323c52 better test for existence of hstrerror() 1995-01-10 16:30:54 +00:00
Guido van Rossum a6a1e536ac added bufsize parameter to fdopen and popen 1995-01-10 15:36:38 +00:00
Guido van Rossum 37431fbbd0 initmodule3 -> initmodule3 1995-01-09 17:49:26 +00:00
Guido van Rossum f9888eb2fb totally revamped 1995-01-07 11:50:36 +00:00
Guido van Rossum 9558825dad do not call newmethodobject directly 1995-01-07 11:50:04 +00:00
Guido van Rossum 6d023c98b0 Added 1995 to copyright message.
bltinmodule.c: fixed coerce() nightmare in ternary pow().
modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject().
pythonrun.c: move flushline() into and around print_error().
1995-01-04 19:12:13 +00:00
Guido van Rossum 524b588553 Added 1995 to copyright message.
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.
1995-01-04 19:10:35 +00:00
Guido van Rossum 5799b52008 Added 1995 copyright.
object.h: made sizes and refcnts signed ints.
stringobject.h: make getstrsize() signed int.
methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
1995-01-04 19:06:22 +00:00
Guido van Rossum 3bbc62e9c2 Another bulky set of minor changes.
Note addition of gethostbyaddr() and improved repr() for sockets,
renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
1995-01-02 19:30:30 +00:00
Jack Jansen 44fff3cfb5 Added missing initialization 1994-12-14 12:55:17 +00:00
Guido van Rossum f34cadda28 added timer and file callbacks and global mainloop and quit fns 1994-11-10 22:50:21 +00:00
Guido van Rossum 5e8e8327f8 don't use backslashes for continuation lines 1994-11-10 22:49:52 +00:00
Guido van Rossum 132f5c2d77 don't fail moving empty list of shared modules 1994-11-10 22:44:15 +00:00
Guido van Rossum 05bf280d47 clarifications 1994-10-20 22:01:38 +00:00
Guido van Rossum 411a8bd799 add hypot() 1994-10-20 22:00:28 +00:00
Guido van Rossum 2ce15a59f7 always make sharedmods 1994-10-20 21:59:38 +00:00
Guido van Rossum 89910656d1 makesetup should use $cc not cc 1994-10-20 21:58:30 +00:00
Guido van Rossum 6493389a8c distinguish between getpgrp and setpgrp arg requirements 1994-10-20 21:56:42 +00:00
Sjoerd Mullender 2abc49458b Free was called with a struct as argument instead of a field from the
struct.
1994-10-13 09:11:13 +00:00
Sjoerd Mullender 4eba0c9b91 Escaped $(LDSHARED) in a string. 1994-10-13 09:09:05 +00:00
Guido van Rossum 73624e9c3b new style 1994-10-10 17:59:00 +00:00
Guido van Rossum c3706076ee Add pointer to GPL-free MP library 1994-10-06 16:12:06 +00:00
Guido van Rossum 0c57abb7ce Removed this module (will be distributed with Jack's package) 1994-10-06 15:39:55 +00:00
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