Guido van Rossum
bffd683f73
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
27 years ago
Guido van Rossum
9f9fa6d0c9
Add HAVE_DYNAMIC_LOADING.
Define Py_DEBUG when compiling in debug mode. (Is that a good idea?)
27 years ago
Guido van Rossum
99eb7a1255
Mark Hammond writes:
Attached is a context diff to winsound.c that adds a Beep() function
to play a sound through the PC speaker. Seems to make sense to have
this added, so I just went and did it!
27 years ago
Guido van Rossum
c87f5f4f7a
Set the max recursion limit to 5000 -- rather conservative (this uses
0.5 MB of the 1 MB available by default for stack on Win32 platforms).
27 years ago
Guido van Rossum
be211a5019
Added sha module!
28 years ago
Guido van Rossum
a946210a9f
Bump the myusterious M$ version number from 1,5,2,1 to 1,5,2,3.
(I can't even display this on NT, maybe Win/98 can?)
28 years ago
Guido van Rossum
a0e6be721b
Remove all VC++ info (except VC 1.5) from readme.txt;
remove the VC++ 4.0 project file; remove the unused _tkinter extern defs.
28 years ago
Guido van Rossum
d7c18c43bf
No longer needed.
28 years ago
Guido van Rossum
dcb0a57874
Avoid totally empty files.
28 years ago
Guido van Rossum
6543e88d2a
Check for potential error returned by _ungetch().
28 years ago
Guido van Rossum
8f81a22d41
Some weird symbol (M_I386) was used to decide whether to include the
audioop module; this was no longer defined. Use MS_WINDOWS instead.
(I have a feeling that this was for the WATCOM port; too bad.)
28 years ago
Guido van Rossum
e600578ac7
Add winsound -- by Toby Dickenson with permission.
28 years ago
Guido van Rossum
945554709e
Bruce Wheeler quotes Mark Hammond with a different version of the
last patch to this file: use pathLen, not bufSize, as the initializer.
28 years ago
Guido van Rossum
3d37f43293
Jim Ahlstrom added some SIZEOF defs for VC and WATCOM (only).
28 years ago
Guido van Rossum
9df827f3ba
Need to define DL_EXPORT, of course!
28 years ago
Guido van Rossum
e18f8878aa
No longer needed.
28 years ago
Guido van Rossum
2e782e86b1
Add buffer module entry points.
28 years ago
Guido van Rossum
e8afe516ab
New set of files for the OS/2 port by Jeff Rush.
28 years ago
Guido van Rossum
4da55f0560
Add define of HAVE_STDDEF_H (to 1). Suggested by Greg Stein.
28 years ago
Guido van Rossum
78694d970f
Patches from Greg Stein to support 'P' format in struct module's
native format, as void* (translated to Python int or long).
Also adds PyLong_FromVoidPtr and PyLong_AsVoidPtr to longobject.c.
28 years ago
Guido van Rossum
e0bdf99c0b
At Greg Stein's request, add PyLong_*LongLong entry points.
28 years ago
Guido van Rossum
b00d252586
Define SIZEOF_LONG_LONG (as 8) at Greg Stein's request.
28 years ago
Guido van Rossum
3293b07df5
Patch by Mark Hammond to support 64-bit ints on MS platforms.
The MS compiler doesn't call it 'long long', it uses __int64,
so a new #define, LONG_LONG, has been added and all occurrences
of 'long long' are replaced with it.
28 years ago
Guido van Rossum
9b499d2a9c
Define HAVE_STRERROR.
28 years ago
Guido van Rossum
24edfbb61d
Back out of a recent policy change (Mark Hammond disagreed).
The registry always comes first and the default is always appended.
28 years ago
Guido van Rossum
d741f4c48c
Added a bunch of symbols detected by Marc Lemburg's script.
28 years ago
Guido van Rossum
43ff114d2b
Sigh. More restructuring was needed.
Make an explicit test for whether the prefix is in fact the
source directory, and then don't use the registry.
28 years ago
Guido van Rossum
3804d7ee97
Add PyEval_CallFunction() and PyEval_CallMethod().
28 years ago
Guido van Rossum
c499572a98
This file's previous log message is bogus. The real change is that
when it gets the path from the registry, it no longer appends the
default path to the end (which would mostly be a duplication).
28 years ago
Guido van Rossum
639ccae5f6
This file's previous log message is bogus.
The real change is that it now includes "Python.h".
28 years ago
Guido van Rossum
67ab67218b
Different version games:
- MS_DLL_ID is now set to "1.5" instead of "1.5.x" so Mark Hammond's
extensions won't have to be changed.
- FILEVERSION and PRODUCTVERSION are set to 1,5,2,1.
(The last number could be the build# or the alpha release# or so.)
28 years ago
Guido van Rossum
1a87be1422
Shouldn't include the lib pragma when building python15.dll itself!
28 years ago
Guido van Rossum
444383039d
Added _PyTuple_Resize to list of exported symbols. Don't know how it
could hide so long...
28 years ago
Guido van Rossum
446f033e23
For Win32, added pragmas specifying the python15[_d].lib library.
28 years ago
Guido van Rossum
1127487972
Bump MS_DLL_ID to 1.5.2
28 years ago
Guido van Rossum
c531270b72
New version of makefile for Windows 3.1 from Jim Ahlstrom.
28 years ago
Guido van Rossum
cc93d9568c
New version of VC 1.5 makefile from Jim Ahlstrom.
28 years ago
Guido van Rossum
eb891ae045
Get rid of obsolete setup_nt subdirectory.
28 years ago
Guido van Rossum
bc160b50c5
Getting rid of this ancient stuff.
28 years ago
Guido van Rossum
f6fc1ec462
Jim A's new versions of these
28 years ago
Guido van Rossum
28700c464a
Use Py_GetPythonHome() instead of getenv("PYTHONHOME").
28 years ago
Guido van Rossum
8b2b3ce4be
Two changes:
(1) Use Py_GetPythonHome() instead of getenv("PYTHONHOME");
(2) Mark Hammond's patch to search for .pyc/.pyo landmark as well.
28 years ago
Guido van Rossum
251c9fc60a
Added Py_{Get,Set}PythonHome.
28 years ago
Guido van Rossum
40ae0e93cd
Added _locale
28 years ago
Guido van Rossum
76ec53c64d
Subject: Bug in PC/import_nt.c
From: Dan Pierson <dan@remote.control.com>
To: "Mark Hammond (E-mail)" <MHammond@skippinet.com.au>,
"Guido van Rossum (E-mail)" <guido@cnri.reston.va.us>
Date: Mon, 8 Jun 1998 17:25:07 -0400
RegistryQueryValue requires that its fourth argument be initialized to
the length of the buffer being passed in, this wasn't being done. I
also split the call and status test into two lines with a local variable
so that I could look at the status in the debugger.
28 years ago
Guido van Rossum
d3ab101fac
Quick fix -- define SIZEOF_LONG and SIZEOF_INT.
28 years ago
Guido van Rossum
cd3462f1f7
Moving to PCbuild
28 years ago
Guido van Rossum
e4e021bf21
Release the interpreter lock for calls that may block: _locking(),
_getch(), _getche().
Fix bogus error return when open_osfhandle() doesn't have the right
argument list.
28 years ago
Guido van Rossum
2028dd0423
Replaced the VC++ 5.x instructions with a pointer to ../PCbuild.
28 years ago
Guido van Rossum
9c1bc5b1f6
Moved VC++ 5.x files to ../PCbuild.
28 years ago