Guido van Rossum
4f3cc35cc1
Get rid of Win32s check.
2000-04-04 22:48:55 +00:00
Guido van Rossum
5cf648b654
Seems there was a version string here that still looked like 1.5.2.
2000-03-30 22:59:09 +00:00
Guido van Rossum
88716bba55
Revamped path access again, by Mark Hammond, to be more robust in the
...
light of three different situations: (1) running from build; (2)
running from installed; (3) running without being able to find an
installation (e.g. as a COM object). The system paths in the
repository are only used for (3); the path deduced from the
installation location are used otherwise. PYTHONHOME overrides in all
cases.
Read the comments for more details.
2000-03-30 19:45:39 +00:00
Guido van Rossum
9c94a8882c
Version -> 1.6.
2000-03-29 01:50:50 +00:00
Guido van Rossum
e02e48be6f
Changes to completely ignore the registry when it detects that you are
...
running out of the build directory. This means that it will no longer
try to use an older version of the library when an older version has
been installed.
2000-03-29 01:49:47 +00:00
Guido van Rossum
436364c8a0
Change the pragmas to use python16.lib instead of python15.lib. (Took
...
me half an hour to find why it was still linking with python15.dll!)
2000-03-29 01:48:29 +00:00
Guido van Rossum
9f3712c6f1
Mark Hammond: new winreg module; updated dllbase file.
2000-03-28 20:37:15 +00:00
Guido van Rossum
76bd689a8d
VC++ project changes to add new Unicode files and modules.
...
(I did this under VC++ 5.0 -- hope this doesn't break anything.)
2000-03-11 00:13:14 +00:00
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.
2000-01-20 22:32:56 +00:00
Guido van Rossum
9f9fa6d0c9
Add HAVE_DYNAMIC_LOADING.
...
Define Py_DEBUG when compiling in debug mode. (Is that a good idea?)
1999-12-20 22:57:41 +00:00
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!
1999-10-01 14:29:17 +00:00
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).
1999-06-09 15:36:37 +00:00
Guido van Rossum
be211a5019
Added sha module!
1999-04-13 15:41:10 +00:00
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?)
1999-04-13 14:23:45 +00:00
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.
1999-04-12 14:49:01 +00:00
Guido van Rossum
d7c18c43bf
No longer needed.
1999-04-10 18:42:02 +00:00
Guido van Rossum
dcb0a57874
Avoid totally empty files.
1999-04-10 14:00:28 +00:00
Guido van Rossum
6543e88d2a
Check for potential error returned by _ungetch().
1999-02-16 19:40:02 +00:00
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.)
1999-02-05 22:34:57 +00:00
Guido van Rossum
e600578ac7
Add winsound -- by Toby Dickenson with permission.
1999-02-04 22:40:42 +00:00
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.
1999-01-14 22:40:30 +00:00
Guido van Rossum
3d37f43293
Jim Ahlstrom added some SIZEOF defs for VC and WATCOM (only).
1999-01-14 18:51:53 +00:00
Guido van Rossum
9df827f3ba
Need to define DL_EXPORT, of course!
1998-12-10 16:50:49 +00:00
Guido van Rossum
e18f8878aa
No longer needed.
1998-12-10 16:50:14 +00:00
Guido van Rossum
2e782e86b1
Add buffer module entry points.
1998-10-07 14:47:46 +00:00
Guido van Rossum
e8afe516ab
New set of files for the OS/2 port by Jeff Rush.
1998-09-28 22:02:40 +00:00
Guido van Rossum
4da55f0560
Add define of HAVE_STDDEF_H (to 1). Suggested by Greg Stein.
1998-09-23 13:35:45 +00:00
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.
1998-09-18 14:14:13 +00:00
Guido van Rossum
e0bdf99c0b
At Greg Stein's request, add PyLong_*LongLong entry points.
1998-09-17 13:58:37 +00:00
Guido van Rossum
b00d252586
Define SIZEOF_LONG_LONG (as 8) at Greg Stein's request.
1998-09-17 13:19:36 +00:00
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.
1998-08-25 16:07:15 +00:00
Guido van Rossum
9b499d2a9c
Define HAVE_STRERROR.
1998-08-12 02:10:05 +00:00
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.
1998-08-11 20:35:56 +00:00
Guido van Rossum
d741f4c48c
Added a bunch of symbols detected by Marc Lemburg's script.
1998-08-09 04:00:05 +00:00
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.
1998-08-08 23:40:40 +00:00
Guido van Rossum
3804d7ee97
Add PyEval_CallFunction() and PyEval_CallMethod().
1998-08-08 20:55:59 +00:00
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).
1998-08-08 20:05:31 +00:00
Guido van Rossum
639ccae5f6
This file's previous log message is bogus.
...
The real change is that it now includes "Python.h".
1998-08-08 20:00:49 +00:00
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.)
1998-08-08 19:58:59 +00:00
Guido van Rossum
1a87be1422
Shouldn't include the lib pragma when building python15.dll itself!
1998-08-08 18:25:43 +00:00
Guido van Rossum
444383039d
Added _PyTuple_Resize to list of exported symbols. Don't know how it
...
could hide so long...
1998-08-08 17:40:28 +00:00
Guido van Rossum
446f033e23
For Win32, added pragmas specifying the python15[_d].lib library.
1998-08-07 15:32:00 +00:00
Guido van Rossum
1127487972
Bump MS_DLL_ID to 1.5.2
1998-08-06 04:56:06 +00:00
Guido van Rossum
c531270b72
New version of makefile for Windows 3.1 from Jim Ahlstrom.
1998-08-05 21:14:32 +00:00
Guido van Rossum
cc93d9568c
New version of VC 1.5 makefile from Jim Ahlstrom.
1998-08-05 21:13:54 +00:00
Guido van Rossum
eb891ae045
Get rid of obsolete setup_nt subdirectory.
1998-08-05 21:10:58 +00:00
Guido van Rossum
bc160b50c5
Getting rid of this ancient stuff.
1998-08-05 21:10:09 +00:00
Guido van Rossum
f6fc1ec462
Jim A's new versions of these
1998-08-03 20:23:42 +00:00
Guido van Rossum
28700c464a
Use Py_GetPythonHome() instead of getenv("PYTHONHOME").
1998-07-27 13:49:04 +00:00
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.
1998-07-27 13:48:07 +00:00
Guido van Rossum
251c9fc60a
Added Py_{Get,Set}PythonHome.
1998-06-19 19:24:08 +00:00
Guido van Rossum
40ae0e93cd
Added _locale
1998-06-19 04:29:55 +00:00
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.
1998-06-15 18:01:34 +00:00
Guido van Rossum
d3ab101fac
Quick fix -- define SIZEOF_LONG and SIZEOF_INT.
1998-05-29 02:53:29 +00:00
Guido van Rossum
cd3462f1f7
Moving to PCbuild
1998-05-29 02:32:34 +00:00
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.
1998-05-29 01:27:07 +00:00
Guido van Rossum
2028dd0423
Replaced the VC++ 5.x instructions with a pointer to ../PCbuild.
1998-05-26 14:20:15 +00:00
Guido van Rossum
9c1bc5b1f6
Moved VC++ 5.x files to ../PCbuild.
1998-05-26 14:17:18 +00:00
Guido van Rossum
1c096b7289
Mark Hammond writes:
...
Also, here is a new version of import_nt.c, which allows you to register a
Debug module in the registry. While I was there I removed some of the
ugliness - what was I thinking :-)
1998-05-26 13:53:23 +00:00
Guido van Rossum
c8498dc604
Add PyErr_PrintEx and PySequence_Contains.
1998-05-22 00:56:20 +00:00
Guido van Rossum
b9d9d72ae0
Install config.h.
...
Adapt to new build conventions (get rid of Release directory).
1998-05-16 01:51:49 +00:00
Guido van Rossum
837d8bf1d7
Change the output names. Do away with the Release and Debug
...
subdirectories.
All final products go into the current directory (i.e., PCbuild).
Object files go into temp-release and temp-debug.
Debug versions of DLLs have _d appended to their basename, e.g. the
debug version of python15.dll is python15_d.dll, the debug version of
python.exe is python_d.exe, and the debug version of parser.pyd is
parser_d.pyd. (See corresponding patch to importdl.c.) Uniformly
changed all extension modules to use .pyd, not .dll.
1998-05-15 20:26:31 +00:00
Guido van Rossum
3d9a0585e1
Add some symbols. Remove the LIBRARY statement at the top (and the
...
commented-out CODE/DATA statements).
1998-05-15 20:04:21 +00:00
Guido van Rossum
0332578a3a
Oops -- Lib/Test should be Lib/test, of course!
1998-04-14 02:16:23 +00:00
Guido van Rossum
4b601ae381
Missing symbols reported by Andrew Loewenstern.
1998-04-13 22:30:08 +00:00
Guido van Rossum
f61ee63a35
Update version.
1998-04-13 22:22:32 +00:00
Guido van Rossum
5fb2b61c64
Set version and title to Python 1.5.1.
1998-04-11 02:36:35 +00:00
Guido van Rossum
52f4915269
Oops, ".\DLLs" should be in the default path now.
1998-04-11 02:31:30 +00:00
Guido van Rossum
cfb798e708
Delete reopmodule.c
1998-04-10 21:30:05 +00:00
Guido van Rossum
4a7d701f00
Delete references to initreop().
1998-04-10 21:29:11 +00:00
Guido van Rossum
63096d48fa
Add HAVE_MKTIME.
1998-04-10 21:28:49 +00:00
Guido van Rossum
327aff7864
Added Frozen and Tabcheck flags.
1998-04-10 17:59:29 +00:00
Guido van Rossum
71543e13db
Give in to tabnanny
1998-04-06 14:46:29 +00:00
Guido van Rossum
11af5a4469
Mark Hammond's main program for a frozen application.
1998-03-20 17:34:26 +00:00
Guido van Rossum
467950065f
Added PyErr_NormalizeException
1998-03-17 00:00:18 +00:00
Guido van Rossum
42a9744d5f
Fix some outdated comments (mostly by removing a large comment block
...
that was only causing confusing). Add free(userpath) and
free(machinepath) statements to prevent some leaks.
1998-02-19 21:00:45 +00:00
Guido van Rossum
f4aeb84bc6
Enable CHECK_IMPORT_CASE on Win32.
1998-02-19 20:59:23 +00:00
Guido van Rossum
c213078e1e
Fixed bitmaps; added include files and libs;
...
moved DLLs into their own directory (and added it to default path);
install zlib.dll in SYS32; fixed location of help root.
1998-02-05 02:26:02 +00:00
Guido van Rossum
eea714aed4
As Jeff painfully found out, malloc(0) returns NULL on OS/2.
1998-01-11 18:02:19 +00:00
Guido van Rossum
d11ec25ce4
Add zlib and bsddb, and remove beta designation.
1997-12-31 04:51:23 +00:00
Guido van Rossum
12501953e0
Added bsddb project
1997-12-19 04:49:27 +00:00
Guido van Rossum
95cdb35ef0
Oops, the output file really should be called zlib.pyd here!
1997-12-18 05:27:55 +00:00
Guido van Rossum
bd104bfec9
Added project for zlib
1997-12-18 05:22:23 +00:00
Guido van Rossum
ffeb593816
Changes for older Win platforms by Jim Ahlstrom
1997-12-17 21:27:23 +00:00
Guido van Rossum
7988206c1c
Don't list which files to add, since the ones that *were* missing have
...
now been added.
1997-12-16 22:26:02 +00:00
Guido van Rossum
7651624df8
New VC++ 4.2 makefile, contributed by Gregor Schmid,
...
which adds the three missing files.
1997-12-16 22:25:15 +00:00
Guido van Rossum
85f8b0980d
Add note about having to add some files to the VC 4.2 files.
1997-12-15 18:31:32 +00:00
Guido van Rossum
d0ec7616ea
Copy the change from ../getpathp.c here.
1997-12-11 15:21:33 +00:00
Guido van Rossum
2dbabb2801
Installer for beta-2.
...
Use Program Files, register pythonw.exe to execute .pyw files.
1997-12-11 05:16:20 +00:00
Guido van Rossum
1058d2e891
update the example without the example.def file
1997-12-11 04:06:04 +00:00
Guido van Rossum
55b8b03dfb
New instructions, take VC++ 5.x into account.
1997-12-11 04:01:25 +00:00
Guido van Rossum
936c6de5d3
Adding VC 5.x workspace and project files
1997-12-11 03:43:29 +00:00
Guido van Rossum
0decf6c935
Added tkappinit.c source, and define WITH_APPINIT.
1997-12-11 03:42:40 +00:00
Guido van Rossum
691d2adeef
Allocate one byte extra in some cases.
1997-12-11 02:32:43 +00:00
Guido van Rossum
3b99430808
# Use proper temp subdir for intermediates.
1997-12-10 15:12:23 +00:00
Guido van Rossum
4fdd1fafb2
Comment out CODE and DATA statements that are apparently obsolete.
1997-12-10 05:50:55 +00:00
Guido van Rossum
d666eae55a
Adding a new project: pythonw, or WinMain.c, containing a main program
...
that doesn't have a console window attached. stdout/stderr are lost.
This is handy though for things like grail.
1997-12-10 05:50:18 +00:00
Guido van Rossum
a34c31352b
New batch of patches by Jeff Rush; moved his readme.txt portion here.
1997-12-05 22:07:14 +00:00
Guido van Rossum
cee1dca4e7
Moved Jeff Rush's ever expanding comments to os2vacpp/readme.txt.
1997-12-05 22:06:23 +00:00
Guido van Rossum
205eb72217
Use registry key ProgramFilesDir as default MAINDIR
1997-12-05 06:32:47 +00:00