Commit graph

10874 commits

Author SHA1 Message Date
Guido van Rossum
f8de0685c9 Lots of changes.
Renamed some things.
Added support for methods directly to bgenGenerator.py.
Completely reworked buffer, string and and structure types.
1995-01-22 18:35:09 +00:00
Jack Jansen
7cbf4803a9 Make malloc stats routine available under MetroWerks 1995-01-22 16:52:38 +00:00
Jack Jansen
673e142e00 Ported to CW5/new universal headers 1995-01-22 16:52:02 +00:00
Jack Jansen
a1c5602a7a Removed imgformat reference 1995-01-22 16:49:21 +00:00
Jack Jansen
860dc048ca Ported to CW5 (or to new Universal Headers, actually) 1995-01-22 16:48:43 +00:00
Jack Jansen
2fc94eecb2 - Ported to CW5 (which has more unixisms)
- Added (rather crummy) malloc debugger
1995-01-22 16:47:22 +00:00
Jack Jansen
6bb347fc1c The last missing file of the mwerks port (this is the 'prefix' file) 1995-01-22 16:46:11 +00:00
Jack Jansen
f2e5129820 reallocing large blocks now doesn't copy if not needed 1995-01-22 16:44:49 +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
64fc649095 don't overwrite error already set (e.g. from O&) 1995-01-21 14:09:37 +00:00
Guido van Rossum
9aa3d1370e renamed Get routines to PyMac_Get; added macfs to config.c 1995-01-21 13:46:04 +00:00
Guido van Rossum
796b259a1c intermediate version -- why not... 1995-01-20 23:05:52 +00:00
Guido van Rossum
ec4982761b fix strncpy call (uninitialized memory read) 1995-01-20 16:59:12 +00:00
Guido van Rossum
badadd2165 typo 1995-01-20 16:58:43 +00:00
Guido van Rossum
e9c6bcd813 fix leak in func_dealloc (forgot to decref name) 1995-01-20 16:58:19 +00:00
Guido van Rossum
40b261966a removed getopt.o from OBJS 1995-01-20 16:57:52 +00:00
Guido van Rossum
3952cb0725 fix mem leak (localmap in optimize) 1995-01-20 16:56:41 +00:00
Guido van Rossum
d1b9393ba5 support "O&" taking an object constructor a void* 1995-01-20 16:56:02 +00:00
Guido van Rossum
1919ca7b28 add missing INCREF in RAISE_EXCEPTION 1995-01-20 16:55:14 +00:00
Guido van Rossum
10bb1c46f1 don't use function prototypes 1995-01-20 16:54:36 +00:00
Guido van Rossum
46c76a6c66 added changes for NetBSD dynamic linking; removed shared linking for NeXT 1995-01-20 16:53:54 +00:00
Guido van Rossum
7f9fa97ca2 fix import related leaks 1995-01-20 16:53:12 +00:00
Guido van Rossum
855d0b3602 corrected two unconverted names 1995-01-20 16:52:42 +00:00
Guido van Rossum
6403d284b0 define INSTALL_PROGRAM and INSTALL_DATA 1995-01-20 16:51:32 +00:00
Guido van Rossum
5739e7ec1f modernize all tests to use cache and report outcome 1995-01-20 16:50:53 +00:00
Guido van Rossum
9bc247a915 change NeXT hint to add -posix to C compiler flags 1995-01-20 16:50:15 +00:00
Guido van Rossum
7d47329656 add INSTALL_PROGRAM and INSTALL_DATA; check for getopt 1995-01-20 14:12:16 +00:00
Jack Jansen
40b9835e98 Always use 'anonymous' if os.environ doesn't exist 1995-01-19 12:24:45 +00:00
Jack Jansen
c39f4f8968 Yet another Pstring() 1995-01-19 12:23:31 +00:00
Jack Jansen
5ef86d55b5 Undef strerror on the mac before redefining it 1995-01-19 12:16:44 +00:00
Jack Jansen
febf811a2d Added mac-only intrpeek routine that peeks for command-. 1995-01-19 12:12:36 +00:00
Jack Jansen
7874d1fe7e Fix NULL dereference in case of out-of-memory condition 1995-01-19 12:09:27 +00:00
Jack Jansen
f90a113176 Fixed listen()/getsockname() bug 1995-01-19 11:49:05 +00:00
Guido van Rossum
a42960cd09 ported to THINK C (not tested yet) 1995-01-19 00:03:47 +00:00
Guido van Rossum
6a5df90918 ported Jacks changes back to think C 1995-01-18 23:59:06 +00:00
Guido van Rossum
f74d4e2a0e added high level event interface (requires stdwin patch) 1995-01-18 23:58:07 +00:00
Guido van Rossum
8f69179f97 modernized/rationalized, added PyMac_BuildOSType 1995-01-18 23:57:26 +00:00
Guido van Rossum
8d6c180c8d fully adapted to new naming scheme and added some features for AppleEvent generation 1995-01-18 23:46:59 +00:00
Guido van Rossum
8cfc4bfb9d initial version 1995-01-18 23:45:01 +00:00
Jack Jansen
84fa5ecfff Initial version of FSSpec and Alias code. Non-functional as of now. 1995-01-18 14:04:40 +00:00
Jack Jansen
d50e4e1c54 More Pstring() stuff and some cosmetics 1995-01-18 13:58:04 +00:00
Jack Jansen
48d071d302 Comment fix 1995-01-18 13:56:20 +00:00
Jack Jansen
67132b3de7 Some of these were overwriting their argument with a pascal
string. Use own Pstring() routine (which uses a static buffer) everywhere.
1995-01-18 13:55:41 +00:00
Jack Jansen
5f653091d1 - Moved some useful routines from macosmodule.c here
- Added GetFSSpec (tuple-style), BuildFSSpec and Pstring
  (platform-independent correct conversion of C to Pascal strings)
1995-01-18 13:53:49 +00:00
Jack Jansen
9589e93491 Moved some generally useful routines to macglue.c 1995-01-18 13:52:07 +00:00
Jack Jansen
75b6f1c8e5 - Ported to powerpc
- Fixed bug with accept() call
- Better error checking
1995-01-18 13:50:42 +00:00