Commit Graph

644 Commits

Author SHA1 Message Date
Guido van Rossum c34c9a5001 provide access to $(exec_)prefix 1996-06-12 04:20:27 +00:00
Guido van Rossum 006bf91530 ntohs, ntohl, htons, htonl -- thanks to Lance 1996-06-12 04:04:55 +00:00
Guido van Rossum d639d4d6d6 more changes for Windows, sigh 1996-06-12 04:04:22 +00:00
Guido van Rossum 8bac546e11 Avoid core dump in resizestring() on read() with 0 bytes. 1996-06-11 18:38:48 +00:00
Guido van Rossum 65af28a0f4 Calculate length of AF_UNIX addr struct portably in getsockaddrarg(). 1996-06-11 18:36:33 +00:00
Guido van Rossum 53a9bf8164 Get rid of obsolete allowbroadcast().
Avoid core dumps in resizestring().
1996-06-11 18:35:24 +00:00
Guido van Rossum ab28c56fd3 Avoid core dump on symcomp(""). 1996-06-11 18:33:14 +00:00
Guido van Rossum 3c0b79ca0f A fcntl implementation for systems (like Solaris) without flock() call.
By Sjoerd.
1996-06-11 15:11:34 +00:00
Guido van Rossum 1835c4f1b4 Use correct field of sigaction struct 1996-05-29 14:15:19 +00:00
Guido van Rossum a0e71303d9 Changed NT -> MSC or WATCOM 1996-05-28 22:30:38 +00:00
Guido van Rossum 582646aecc grand renaming; added copyright to some files 1996-05-28 22:30:17 +00:00
Guido van Rossum ddcb36b5da Use ../install-sh to install files. 1996-05-24 21:14:44 +00:00
Guido van Rossum 9c8a0c4b1c Made all c_* symbols static. 1996-05-24 21:12:28 +00:00
Guido van Rossum 53d0de4b05 rename exported symbols with _Py_ prefix 1996-05-24 20:51:38 +00:00
Guido van Rossum 3d86cc0dbc make soundex_hash static 1996-05-24 20:50:57 +00:00
Guido van Rossum a4916fa54f Added mkfifo, ftruncate. Windows/PC changes. 1996-05-23 22:58:55 +00:00
Guido van Rossum dd96ca77da Be more careful about default args. 1996-05-23 22:57:54 +00:00
Guido van Rossum 2c26cfe776 Use struct _inittab def from import.h 1996-05-23 22:57:18 +00:00
Guido van Rossum 3539b1e919 Added flock(). 1996-05-23 22:56:38 +00:00
Guido van Rossum 7081cf54bf Microsoft C changes 1996-05-23 22:56:19 +00:00
Guido van Rossum 88661e8f41 Subtle Windows changes 1996-05-23 22:55:58 +00:00
Guido van Rossum fb0df944ca Use sigaction if possible 1996-05-23 22:55:35 +00:00
Guido van Rossum 5555854e85 Windows/PC changes 1996-05-23 22:54:50 +00:00
Guido van Rossum 5038412d0f Added __doc__ strings. Added get_soundex(). 1996-05-23 22:54:17 +00:00
Guido van Rossum bceeac8dc1 Watcom changes.
Add mktime() overflow test and make it NeXT robust by initializing
the structure from localtime().
1996-05-23 22:53:47 +00:00
Guido van Rossum 6878436366 Patch from the net for 4.1 file handler changes. 1996-05-16 17:17:31 +00:00
Guido van Rossum 54ac1891fb Add __sinit() call according to Jack. 1996-05-16 17:14:03 +00:00
Guido van Rossum dc1c64a148 remove unused variables 1996-02-27 15:21:19 +00:00
Guido van Rossum 1b66a4f01d default CLOCKS_PER_SEC to CLK_TCK if it exists 1996-02-25 04:50:33 +00:00
Guido van Rossum b0824db52c Made 2nd arg to mkdir optional 1996-02-25 04:50:32 +00:00
Guido van Rossum 1266a01e47 Include ncurses.h where needed 1996-02-25 04:50:31 +00:00
Guido van Rossum 468fc6af68 Include stdlib.h or declare getenv 1996-02-25 04:50:31 +00:00
Guido van Rossum 485f2da5a1 Add unsigned char cast 1996-02-25 04:50:30 +00:00
Guido van Rossum ec22c92e36 Changes needed to build with Tcl/Tk beta 2! 1996-02-25 04:50:29 +00:00
Guido van Rossum dfd428dd7e Changes to make it work with Tcl/Tk beta 1. 1996-02-25 04:46:40 +00:00
Jack Jansen 508537b9c9 Include GUSI.h if using gusi-sockets 1996-02-14 15:57:45 +00:00
Guido van Rossum 5416e20037 mark strftime as varargs 1996-02-13 00:14:09 +00:00
Guido van Rossum f4a5912d51 add remove==unlink; mark strftime as varargs 1996-02-13 00:12:56 +00:00
Guido van Rossum ad1f7eeb32 get rid of bogus name for init_tkinter() 1996-02-13 00:11:37 +00:00
Guido van Rossum 05a6d8f4c7 remove rcs history 1996-01-26 21:10:22 +00:00
Guido van Rossum e36e1fe516 support fast mode for gdmb 1996-01-26 21:08:01 +00:00
Jack Jansen 76c79e9ba8 Added 16-bit pixel support for some operations. 1996-01-22 14:55:15 +00:00
Jack Jansen ba1de3bafb Fixed off-by-one error in rle-decode, and allow whitespace in base64
ascii input (thanks to Donald Beaudry for pointing these out)
1996-01-22 10:47:15 +00:00
Guido van Rossum 00bd2e5853 adde cmath; added version numbers to tk/tcl libs 1996-01-12 01:40:19 +00:00
Guido van Rossum 3206268692 added default hypot() implementation 1996-01-12 01:39:11 +00:00
Guido van Rossum b123691384 64-bit patch 1996-01-12 01:38:49 +00:00
Guido van Rossum b28911cdef added new.classobj() 1996-01-12 01:38:22 +00:00
Guido van Rossum c0fd1c0b83 fix argcount bug for build_node_children 1996-01-12 01:37:02 +00:00
Guido van Rossum ca42b1673b clear addr buffer before calling getsockname 1996-01-12 01:36:05 +00:00
Guido van Rossum 71aa32f4af complex math 1996-01-12 01:34:57 +00:00
Jack Jansen 5d9579707f Allow '@' for ' ' in uuencoded files. 1995-11-14 10:35:19 +00:00
Jack Jansen 40b546d40e Initialize GUSI on the mac. 1995-11-14 10:34:45 +00:00
Jack Jansen 34cc5c31e8 Fix to load needed resources on a mac 1995-10-31 16:15:12 +00:00
Jack Jansen ba0311ecff Renamed module tkinter to _tkinter, moved source to _tkinter.c 1995-10-23 14:34:14 +00:00
Guido van Rossum b50667d229 rename binasciimodule.c -> binascii.c; disable parsermodule.c 1995-10-12 00:41:40 +00:00
Guido van Rossum d9e9f9c05d Fred Drake's new parser module 1995-10-11 17:35:38 +00:00
Guido van Rossum c1822a4dd1 changes by Steve Clift 1995-10-11 16:15:28 +00:00
Sjoerd Mullender 7d0590b544 Removed declaration of sginap because it conflicted with a header file. 1995-10-11 08:47:28 +00:00
Sjoerd Mullender 4237efc7f0 Propagate variable calls both to the linker and the compiler. 1995-10-11 08:45:15 +00:00
Guido van Rossum 903f487684 add BGN/END_SAVE macros around fcntl/ioctl calls 1995-10-07 19:18:22 +00:00
Jack Jansen 84bbc2e3e3 Added base64 support 1995-10-04 16:38:44 +00:00
Jack Jansen 8ccfc93c2f Removed unused variable 1995-10-03 14:39:44 +00:00
Guido van Rossum 275fbe21c9 Move some stuff around so customizations in Setup take precedence 1995-09-30 17:01:49 +00:00
Guido van Rossum 896fc7ed4a re-enable new.code(...) with new args 1995-09-30 17:01:02 +00:00
Guido van Rossum 64b24fb062 clear quitMainLoop when we fall through the main loop 1995-09-30 17:00:24 +00:00
Guido van Rossum 9722ad8883 Mac changes 1995-09-22 23:49:28 +00:00
Guido van Rossum 7c53b77733 plug some leaks 1995-09-13 18:39:47 +00:00
Guido van Rossum 1c20648ba2 added SITEPATH and DESTPATH variables 1995-09-13 18:39:04 +00:00
Guido van Rossum bbc3410fa8 added 5th return item, clock time, to posix.times() 1995-09-13 17:39:51 +00:00
Guido van Rossum a3127e8e11 added strop.translate(s, table) 1995-09-13 17:39:06 +00:00
Guido van Rossum 8d8c1eeed7 added time.strftime() 1995-09-13 17:38:35 +00:00
Jack Jansen 0223aa11d8 Obscure bugfix 1995-08-31 13:44:23 +00:00
Guido van Rossum f45e586ed0 fix typo in bsddb entry 1995-08-30 23:44:41 +00:00
Guido van Rossum 1100dca602 Initial revision 1995-08-30 23:43:03 +00:00
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