Kristján Valur Jónsson
7a0da19087
Complete revamp of PCBuild8 directory. Use subdirectories for each project under the main pcbuild solution. Now make extensive use of property sheets to simplify project configuration. x64 build fully supported, and the process for building PGO version (Profiler Guided Optimization) simplified. All projects are now present, except _ssl, which needs to be reimplemented. Also, some of the projects that require external libraries need extra work to fully compile on x64.
2007-04-30 15:17:46 +00:00
Kristján Valur Jónsson
17b8e97e2e
Merge change 54909 from release25-maint: Fix several minor issues discovered using code analysis in VisualStudio 2005 Team Edition
2007-04-25 00:10:50 +00:00
Trent Mick
e6bdb9be0e
Add the necessary dependency for the Windows VC6 build to ensure 'pythoncore'
...
is built before '_ctypes' is attempted.
Will backport to 2.5 once it is unfrozen for 2.5.1.
2007-04-13 23:22:05 +00:00
Kristján Valur Jónsson
019fcbc2e8
Fix potential crash in path manipulation on windows
2007-04-13 22:20:13 +00:00
Raymond Hettinger
eb9798892d
Prepare collections module for pure python code entries.
2007-02-28 18:37:52 +00:00
Anthony Baxter
83955ef639
update to (c) years to include 2007
2007-01-06 04:45:54 +00:00
Martin v. Löwis
2607e6c021
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
...
and _CRT_NONSTDC_NO_DEPRECATE.
Will backport.
2006-11-21 18:20:25 +00:00
Tim Peters
b03c35bac3
Add missing svn:eol-style to text files.
2006-10-18 05:10:28 +00:00
Martin v. Löwis
79282a2b13
Remove obsolete file. Will backport.
2006-10-17 18:09:55 +00:00
Martin v. Löwis
7addebfde0
Patch #1457736 : Update VC6 to use current PCbuild settings.
...
Will backport to 2.5.
2006-10-17 15:18:06 +00:00
Martin v. Löwis
f56591cb52
Set the eol-style for project files to "CRLF".
2006-10-15 11:57:40 +00:00
Martin v. Löwis
6eb36b0cfa
Patch #1577551 : Add ctypes and ET build support for VC6.
...
Will backport to 2.5.
2006-10-15 08:51:22 +00:00
Martin v. Löwis
c9e82f6234
Patch #1576954 : Update VC6 build directory; remove redundant
...
files in VC7. Will backport to 2.5.
2006-10-15 07:54:40 +00:00
Georg Brandl
412a9ea10e
Patch #1572724 : fix typo ('=' instead of '==') in _msi.c.
2006-10-09 19:03:06 +00:00
Martin v. Löwis
8b274265f0
Add MSVC8 project files to create wininst-8.exe.
2006-10-04 15:25:28 +00:00
Kristján Valur Jónsson
b15a0ccf6d
Update the PCBuild8 solution.
...
Facilitate cross-compilation by having binaries in separate Win32 and x64 directories.
Rationalized configs by making proper use of platforms/configurations.
Remove pythoncore_pgo project.
Add new PGIRelease and PGORelease configurations to perform Profile Guided Optimisation.
Removed I64 support, but this can be easily added by copying the x64 platform settings.
2006-09-05 17:58:12 +00:00
Neal Norwitz
094353c484
Try to get Windows bots working again
2006-08-18 04:58:33 +00:00
Barry Warsaw
d17301f95c
Enable the building of the _types module on Windows.
...
Note that this has only been tested for VS 2003 since that's all I have.
2006-07-27 23:50:40 +00:00
Georg Brandl
844f7ddcdc
Patch #1527744 : right order of includes in order to have HAVE_CONIO_H defined properly.
2006-07-24 13:46:47 +00:00
Martin v. Löwis
d22968af17
Patch #1232023 : Don't include empty path component from registry,
...
so that the current directory does not get added to sys.path.
Also fixes #1526785 .
2006-07-24 11:54:53 +00:00
Martin v. Löwis
bda0dde1c4
Patch #1448199 : Release GIL around ConnectRegistry.
2006-07-24 10:26:33 +00:00
Andrew MacIntyre
bb4503716f
Build updates for OS/2 EMX port
2006-07-23 12:57:02 +00:00
Martin v. Löwis
0e8bd7e1cc
Patch #1495999 : Part two of Windows CE changes.
...
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
2006-06-10 12:23:46 +00:00
Kristján Valur Jónsson
dbeaa699cd
Turn off warning about deprecated CRT functions on for VisualStudio .NET 2005.
...
Make the definition #ARRAYSIZE conditional. VisualStudio .NET 2005 already has it defined using a better gimmick.
2006-06-09 16:28:01 +00:00
Georg Brandl
ad62489e47
Bug #1500293 : fix memory leaks in _subprocess module.
2006-06-04 22:15:37 +00:00
Martin v. Löwis
5844b12c44
Updated version (win32-icons2.zip) from #1490384 .
2006-06-03 07:42:26 +00:00
Georg Brandl
bf92f46572
Convert more modules to METH_VARARGS.
2006-05-29 21:58:42 +00:00
Nick Coghlan
c649ec5b69
Apply modified version of Collin Winter's patch #1478788
...
Renames functional extension module to _functools and adds a Python
functools module so that utility functions like update_wrapper can be
added easily.
2006-05-29 12:43:05 +00:00
Martin v. Löwis
8301c7923d
Rest of patch #1490384 : Commit icon source, remove
...
claim that Erik von Blokland is the author of the
installer picture.
2006-05-28 16:57:38 +00:00
Kristján Valur Jónsson
f94323fbb4
Added a new macro, Py_IS_FINITE(X). On windows there is an intrinsic for this and it is more efficient than to use !Py_IS_INFINITE(X) && !Py_IS_NAN(X). No change on other platforms
2006-05-25 15:53:30 +00:00
Tim Peters
f178e5c1b7
Get the Windows build working again (recover from
...
`struct` module changes).
2006-05-23 19:34:37 +00:00
Tim Peters
31a4262d3d
Define SIZEOF_{DOUBLE,FLOAT} on Windows. Else
...
Michael Hudson's nice gimmicks for IEEE special
values (infinities, NaNs) don't work.
2006-05-22 11:29:41 +00:00
Martin v. Löwis
a43190bc78
Patch #1492356 : Port to Windows CE (patch set 1).
2006-05-22 09:15:18 +00:00
Martin v. Löwis
f90347fdbb
Patch 1490384: New Icons for the PC build.
2006-05-22 08:48:14 +00:00
Martin v. Löwis
879768dd97
Change WindowsError to carry the Win32 error code in winerror,
...
and the DOS error code in errno. Revert changes where
WindowsError catch blocks unnecessarily special-case OSError.
2006-05-11 13:28:43 +00:00
Martin v. Löwis
449be38305
Port to Python 2.5. Drop .DEF file. Change output file names to .pyd.
2006-04-22 15:19:54 +00:00
Thomas Heller
2f3f136b81
Allocate the 0x1D1A0000 base adress for the _ctypes extension module.
...
Export the COM entry point functions.
Note that there are several conflicting base addresses defined for
other extensions, also not all are listed in dllbase_nt.txt.
2006-04-13 08:33:58 +00:00
Tim Peters
c9d78aa470
Years in the making.
...
objimpl.h, pymem.h: Stop mapping PyMem_{Del, DEL} and PyMem_{Free, FREE}
to PyObject_{Free, FREE} in a release build. They're aliases for the
system free() now.
_subprocess.c/sp_handle_dealloc(): Since the memory was originally
obtained via PyObject_NEW, it must be released via PyObject_FREE (or
_DEL).
pythonrun.c, tokenizer.c, parsermodule.c: I lost count of the number of
PyObject vs PyMem mismatches in these -- it's like the specific
function called at each site was picked at random, sometimes even with
memory obtained via PyMem getting released via PyObject. Changed most
to use PyObject uniformly, since the blobs allocated are predictably
small in most cases, and obmalloc is generally faster than system
mallocs then.
If extension modules in real life prove as sloppy as Python's front
end, we'll have to revert the objimpl.h + pymem.h part of this patch.
Note that no problems will show up in a debug build (all calls still go
thru obmalloc then). Problems will show up only in a release build, most
likely segfaults.
2006-03-26 23:27:58 +00:00
Martin v. Löwis
9ca8789ee3
Update to Tk 8.4.12 and Tix 8.4.0
2006-03-21 13:20:29 +00:00
Neal Norwitz
c4bd28c303
Remove some more references to regex that I missed.
2006-03-16 07:05:59 +00:00
Neal Norwitz
10be10cbe7
Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.
2006-03-16 06:50:13 +00:00
Martin v. Löwis
f8d767198f
lower-case time_t.
2006-03-06 16:32:05 +00:00
Martin v. Löwis
a2d4d6c285
Patch #1437769 : notice that time_t is a 64-bit type in VS2005
2006-03-06 16:30:25 +00:00
Martin v. Löwis
dd860caa8f
Update copyright notice.
2006-03-05 13:39:10 +00:00
Martin v. Löwis
fbab90e95b
Import bdist_msi
2006-03-05 13:36:04 +00:00
Tim Peters
fe8a56680a
Remove svn:mime-type (inexplicably set to a binary type),
...
and set svn:eol-style to native, on some text files.
2006-03-01 06:28:58 +00:00
Martin v. Löwis
577b5b960d
Create _ast module.
...
Cleanup Python-ast.c generation.
2006-02-27 15:23:19 +00:00
Tim Peters
313fcd41ab
PyEnumKey(): Stop including the trailing NUL byte
...
in the returned string (logic error introduced by
recent patch).
2006-02-19 04:05:39 +00:00
Tim Peters
d9ab979f36
PyEnumKey(): Remove unused local.
2006-02-19 03:34:15 +00:00
Georg Brandl
b2699b242d
Add sizeof() instead of hardcoding variable length
2006-02-18 23:44:24 +00:00
Georg Brandl
9a928e787c
Patch #977553 : speed up RegEnumKey call
2006-02-18 23:35:11 +00:00
Tim Peters
c7f6cf6247
getpythonregpath(): Squash compiler warning about
...
mixing signed and unsigned types in comparison.
Relatedly, `dataSize` is declared as DWORD, not as
int, so change relevant cast from (int) to (DWORD).
2006-02-16 00:35:06 +00:00
Martin v. Löwis
18e165558b
Merge ssize_t branch.
2006-02-15 17:27:45 +00:00
Martin v. Löwis
9fb181bab3
Add _lsprof.
2006-02-14 21:25:29 +00:00
Georg Brandl
b69406dc09
Update general copyright years to 2006.
2006-02-11 15:30:36 +00:00
Martin v. Löwis
f84d1b9375
Introduce Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE.
...
Proposed by Tim Peters.
2006-02-11 09:27:05 +00:00
Tim Peters
773feaf529
initwinsound(): this no longer compiled on Windows,
...
because code snuck in between auto declarations.
2006-01-19 15:25:07 +00:00
Tim Peters
2188bf03bc
initmsvcrt(): This no longer compiled on Windows, because
...
a recent change inserted code before an auto declaration.
2006-01-19 15:21:30 +00:00
Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
...
Probably should be backported.
2006-01-19 06:09:39 +00:00
Martin v. Löwis
4e6aff5e9b
Make zlib builtin.
2006-01-03 07:10:14 +00:00
Tim Peters
c3d12ac88c
const poisoning, spreading to fix new const warnings
...
in _winreg.c.
2005-12-24 06:03:06 +00:00
Fredrik Lundh
e515293567
added TerminateProcess support to _subprocess driver
2005-12-18 21:06:46 +00:00
Fredrik Lundh
63168a52f4
added PSF licensing blurbs to relevant files
2005-12-14 22:29:34 +00:00
Walter Dörwald
51490ace7e
Fix typo.
2005-11-30 20:16:17 +00:00
Martin v. Löwis
e2a060257f
Silence VS2005 warnings about deprecated functions.
2005-11-29 17:09:13 +00:00
Martin v. Löwis
30b4975d29
Limit x86 machine instructions and Win95 support to _M_IX86.
2005-11-29 17:08:24 +00:00
Fredrik Lundh
3a49e92d7d
r858@spiff: Fredrik | 2005-11-10 23:40:04 +0100
...
#1346547
added basic error checking to the STARTUPINFO code
in CreateProcess.
2005-11-12 10:15:14 +00:00
Fredrik Lundh
bb4692b6f2
r849@spiff: Fredrik | 2005-11-09 10:00:04 +0100
...
fixed resource leak in _subprocess.CreateProcess when using
explicit environments
2005-11-12 10:15:03 +00:00
Martin v. Löwis
ab0f947a21
Remove .cvsignore files, as they live in svn:ignore
...
properties now.
2005-10-30 22:01:41 +00:00
Fred Drake
db390c1ad8
fix typos, mostly in comments
2005-10-28 14:39:47 +00:00
Raymond Hettinger
d56827c38f
Add AST files to VC6 build.
2005-10-23 04:47:13 +00:00
Raymond Hettinger
94ac197531
Update the PC configuration and project files for sha256 and sha512.
2005-08-24 00:28:21 +00:00
Georg Brandl
7eb4b7d177
Fix all wrong instances of "it's".
2005-07-22 21:49:32 +00:00
Raymond Hettinger
9c323f8de4
SF patch #941881 : PEP 309 Implementation (Partial Function Application).
...
Combined efforts of many including Peter Harris, Hye-Shik Chang,
Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.
2005-02-28 19:39:44 +00:00
Andrew MacIntyre
6ed710a15b
update version numbers
2005-02-17 12:50:27 +00:00
Andrew MacIntyre
578371f080
add notes about subprocess module & thread stacks, SSL support
2005-02-17 12:46:34 +00:00
Andrew MacIntyre
744b313d85
add build machinery for the SSL socket module
2005-02-17 12:44:51 +00:00
Trent Mick
4d81ac9ca8
Update PSF copyright year to 2005.
2005-02-09 21:03:47 +00:00
Thomas Heller
9f2e3be4e8
Running a bdist_wininst installer, built with Python 2.3, installing
...
for Python 2.4 caused a segfault when post_install_script was used.
The reason was that the file handle passed to PyRun_SimpleFile() was
created with MSVCRT.DLL, but Python 2.4 uses MSVCR71.DLL.
So, I replaced PyRun_SimpleFile() with PyRun_SimpleString(). The
segfault is gone, but the output of the postinstall script doesn't
show up, because still freopen() from MSVCRT is used.
Already backported.
2005-02-03 20:35:10 +00:00
Thomas Heller
8abe7bfb2f
Set PYTHONHOME before loading Python, so that sys.path will be set correctly.
...
Already backported.
2005-02-03 20:11:28 +00:00
Andrew MacIntyre
ff59f3c416
make thread stack size compile-time tunable on OS/2, increase main stack
2005-01-17 12:18:12 +00:00
Thomas Heller
54266fce8d
cvsignore files generated by make_versioninfo.
2004-12-31 16:37:32 +00:00
Martin v. Löwis
a2cc2695bb
Update example to VC 7.1. Will backport to 2.4.
2004-12-29 14:15:58 +00:00
Thomas Heller
0f25b72228
Close stdout and stderr, which are redirected into a temp file, before
...
trying to remove this file - the file was never removed before.
Fixes [ 1067732 ] wininst --install-script leaves residual files
Already backported.
2004-12-22 17:24:14 +00:00
Andrew MacIntyre
d0278ec97f
OS/2 specific fixes related to SF bug # 1003471
2004-12-12 08:28:11 +00:00
Raymond Hettinger
de7b99045d
Update the MSC6 pythoncore projects to compile for Py2.5
2004-12-02 08:53:14 +00:00
Thomas Heller
8992b9bdf5
printf format code for integers is %d not %s.
...
Will backport.
2004-12-01 19:43:02 +00:00
Thomas Heller
6ad6ee6411
Update import library name on windows.
2004-12-01 19:39:52 +00:00
Thomas Heller
9cc5cb7c4b
Running the pre-install or post-install script did not work when
...
Python was installed with the 'only for me' option. The registry key
had a hardcoded '2.3' in it where the python version chosen for
installation should be used instead.
Will backport myself.
2004-12-01 18:18:08 +00:00
Peter Astrand
c1d6536d60
When using shell=True on Windows, don't display a shell window by default. Fixes #1057061 .
2004-11-07 14:30:34 +00:00
Martin v. Löwis
919637afb0
Add _subprocess.c
2004-10-15 04:27:51 +00:00
Martin v. Löwis
15b23a083d
Patch #1020042 : Only define HAVE_UINTPTR_T for VC 7.x.
2004-10-15 04:26:18 +00:00
Tim Peters
4eb59782a8
Supply the _subprocess module under 7.1. I'm not sure what the status
...
of this should be on non-WIN32 Windows variants.
2004-10-12 21:48:57 +00:00
Tim Peters
f3250b0b0b
Before this turns into an unreadable mess, follow PEP 7 by using
...
hard tab indents in C code.
2004-10-12 21:38:22 +00:00
Fredrik Lundh
5b3687df2e
Added Peter Astrand's subprocess module.
2004-10-12 15:26:28 +00:00
Tim Peters
7f468f29f4
SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick
...
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
2004-10-11 02:40:51 +00:00
Andrew MacIntyre
fec1ce0b72
remove rotor module
2004-10-03 08:29:55 +00:00
Andrew MacIntyre
3dac89edaf
note module removals, update on BitTorrent issue
2004-10-03 08:26:36 +00:00
Andrew MacIntyre
96b3725ca0
bring modules up to date, correct .DEF file version
2004-10-03 08:11:30 +00:00
Tim Peters
862f0593d8
Introduced a Py_IS_NAN macro, which probably works on the major platforms
...
today. pyconfig.h can override it if not, and can also override
Py_IS_INFINITY now. Py_IS_NAN and Py_IS_INFINITY are overridden now
for Microsoft compilers, using efficient MS-specific spellings.
2004-09-23 19:11:32 +00:00
Martin v. Löwis
5a6653cee1
Revert creation of launcher.exe
2004-09-08 15:57:36 +00:00
Martin v. Löwis
97329754f8
Add support for launcher.exe
2004-09-07 15:40:12 +00:00
Martin v. Löwis
ab9351bf36
Add main program for icon file.
2004-09-03 13:32:57 +00:00
Raymond Hettinger
53e50cb6b3
Remove rotor from the build.
2004-08-31 19:33:47 +00:00
Raymond Hettinger
6ce6ef3e78
Remove rotor and xreadlines from VC 6 build.
2004-08-31 18:54:35 +00:00
Martin v. Löwis
7bbed946ea
Fix installdir for Tix
2004-08-31 16:19:01 +00:00
Tim Peters
adadc0f56f
Remove rotor and xreadlines from VC 7.1 build.
2004-08-31 14:29:12 +00:00
Martin v. Löwis
89a0b7d93a
Add patch for Tix 8.1.4.
2004-08-31 06:43:28 +00:00
Martin v. Löwis
08d786a608
Help compiling icons into an exe, for use with MSI advertisement.
2004-08-13 15:26:40 +00:00
Tim Peters
8484fbf0f6
SF bug 1003471: Python 1.5.2 security vulnerability
...
This was probably fixed in rev 1.32 of getpath.c, but there are so
many paths thru the code that invoke joinpath() it's not at all
obvious that it *is* fixed. It doesn't help confidence that a crucial
precondition for calling joinpath() was neither documented nor verified.
It is now, and joinpath() will barf with a fatal error now rather than
overrun the buffer, if the precondition isn't met.
Note that this patch only changes the Windows flavor. I attached another
patch to the bug report for the POSIX flavor (which I can't test
conveniently).
2004-08-07 19:12:27 +00:00
Raymond Hettinger
cbcff93d49
Restore compilation on MSVC++ 6.0
2004-08-03 08:52:46 +00:00
Thomas Heller
a18331de4e
Use PyMODINIT_FUNC.
2004-07-28 20:02:52 +00:00
Hye-Shik Chang
efdc16ffbb
Remove unused source file from Windows project files.
2004-07-28 09:45:20 +00:00
Hye-Shik Chang
978d26256b
Add missing _codecs_iso2022 module of cjkcodecs. I'll add unittest
...
for it soon.
2004-07-28 09:39:54 +00:00
Martin v. Löwis
fe393f47c6
Use intptr_t/uintptr_t on Windows
2004-07-27 15:57:24 +00:00
Martin v. Löwis
512efb464b
Properly check for Win64 compilers.
2004-07-27 14:16:14 +00:00
Thomas Heller
876d990ae0
The binary layout of cfgdata has changed, so the magic number has to
...
change as well.
Display an additional message box when a mismatch is detected.
2004-07-19 09:57:58 +00:00
Hye-Shik Chang
07e5dc8813
Teach VC6 project file about the new cjkcodecs structure.
2004-07-18 15:36:31 +00:00
Tim Peters
3d7d372ce3
Whitespace normalization, via reindent.py.
2004-07-18 06:25:50 +00:00
Tim Peters
6920e49e7e
Woo hoo! All the encoding tests pass on Windows (& I downloaded the
...
14 input files needed to run all of them).
2004-07-18 05:06:31 +00:00
Tim Peters
cc8f997543
More cjkcodecs recovery: Python at least compiles on Window again.
2004-07-18 04:30:37 +00:00
Thomas Heller
0062be26d8
Ignore some more build products.
2004-07-14 15:19:45 +00:00
Thomas Heller
d1d92ea59a
Add a warning so that it isn't forgotten to recreate the binaries AND
...
CHECK INTO CVS if these files are changed.
2004-07-14 15:17:04 +00:00
Thomas Heller
55a9864cb4
Don't complain that non-existant registry entries cannot be deleted.
2004-07-14 14:53:50 +00:00
Andrew MacIntyre
378d3c0e51
bring OS/2 EMX port build environment up to date
2004-07-07 13:55:25 +00:00
Thomas Heller
ad6ce46f49
Remove the annoing and useless messagebox asking about overwriting files.
...
Fixes SF #984290 .
2004-07-07 07:34:40 +00:00
Mark Hammond
f9bfdd850c
Patch [ 983775 ] Allow bdist_wininst to install for non-admin users
...
to address bugs:
[ 555812 ] installing extension w/o admin rights
[ 555810 ] removing extensions without admin rights
* When enumerating the Python versions found, also remember the HKEY
they were found under.
* When installing, if Python was installed under HKCU, we will too.
If Python was installed under HKLM, we check the permissions of
the current user, and install where we can.
* The "root" key we use is a global variable - all registry setting and
delete functions use this global rather than a hardcoded HKLM.
* A new entry is written to the install log, indicating the key we used.
Uninstallation is based on this key.
* 'tempnam()' is used rather than 'tmpnam()' - 'tmpnam' creates a temp
file on the root of the current drive, and if this is readonly would
explain the 'freopen' errors occasionally reported. 'tempnam'
creates the temp file in the %TEMP% directory.
2004-07-02 23:53:16 +00:00
Thomas Heller
32b8f8052a
Fix for SF 982215: bdist_wininst - Next button not greyed out during file copy.
...
Patch from Mark Hammond.
Recompiled binary.
Already packported to the 2.3 branch.
2004-07-02 08:02:40 +00:00
Thomas Heller
74db40419e
The wininst.exe is no longer compressed with UPX.
2004-06-18 18:29:46 +00:00
Thomas Heller
48340390ac
When loading the Python dll to run the postinstall script, try to load
...
it from the install directory (as reported by the registry) in case it
is not found on the default Loadlibrary search path.
Fixes SF 935091: bdist_winist post-install script fails on non-admin Python
Already backported.
2004-06-18 17:03:38 +00:00
Tim Peters
2242fe84f9
Teach MSVC 6 about pystrtod.c.
2004-06-08 20:32:58 +00:00
Thomas Heller
9f5f056d75
Remove the pcre module.
2004-06-02 18:58:55 +00:00
Raymond Hettinger
19a02ece02
Add genobject.c to the MSVC++ 6.0 build.
2004-06-01 16:29:57 +00:00
Raymond Hettinger
97b6484dc4
Update the DLL example to work with Py2.4.
2004-05-15 07:39:00 +00:00
Tim Peters
07ce3b704b
Changed company name to PSF. Added 2004 to copyright years.
2004-05-11 18:14:05 +00:00
Raymond Hettinger
e898d1987e
Complete perky's name change patch.
2004-04-27 04:52:47 +00:00
Thomas Heller
602472215b
Remove the Modules/heaqmodule.c, and add Modules/_heapmodule.c, so
...
that the project compiles again with VC6.
2004-04-22 18:30:17 +00:00
Raymond Hettinger
c46cb2a1a9
* Restore the pure python version of heapq.py.
...
* Mark the C version as private and only use when available.
2004-04-19 19:06:21 +00:00
Thomas Heller
b4fb86243e
The wininst-6.exe template binary for bdist_wininst is now linked
...
with zlib-1.2.1.
2004-04-16 18:49:35 +00:00
Thomas Heller
89adf0a601
The wininst-7.1.exe template binary for bdist_wininst is now linked
...
with zlib-1.2.1.
UPX needs the --force flag to be able to compress it.
2004-04-16 18:47:50 +00:00
Thomas Heller
9614219140
Minor reformatting.
2004-04-15 18:19:02 +00:00
Andrew MacIntyre
b88820058f
add AF_UNIX notes
2004-04-11 12:05:28 +00:00
Andrew MacIntyre
da4d6cb573
OS/2 VACPP build updates/fixes
2004-03-29 11:53:38 +00:00
Tim Peters
bd6850f6cb
Ignore oodles of MSVC-generated files.
2004-03-20 05:00:56 +00:00
Tim Peters
4ae4f2658b
A helper for rt.bat, copied (but with path adjustment) from PCbuild.
2004-03-20 04:57:32 +00:00
Thomas Heller
6837f6591b
Solution and project file to build wininstXX.exe with MSVC7.1 (Visual
...
Studio .NET 2003).
The output files are named wininst-7.1.exe and wininst-7.1_d.exe.
2004-02-20 18:23:47 +00:00
Thomas Heller
cad71d0a4a
To avoid problems with conflicting dlls, the windows installers built
...
by bdist_wininst *must* use the same runtime libary as the Python
version.
Actually this means the Python version where the installer is run, not
the one which is used to build it. Must think about that - for now I
assume MSVC6 is used up to Python 2.3, and MSVC7.1 is used starting at
Python 2.4.
So the filename for wininst.exe is now wininst-6.exe for the Release
version and wininst-6_d.exe for the Debug version, when built with
MSVC6.
2004-02-20 18:05:13 +00:00
Thomas Heller
a19cdad6dc
Patch #892660 from Mark Hammond, for distutils bdist_wininst command.
...
install.c: support for a 'pre-install-script', run before anything has
been installed. Provides a 'message_box' module function for use by
either the pre-install or post-install scripts.
bdist_wininst.py: support for pre-install script. Typo (build->built),
fixes so that --target-version can still work, even when the
distribution has extension modules - in this case, we insist on
--skip-build, as we still can't actually build other versions.
2004-02-20 14:43:21 +00:00
Skip Montanaro
7befb9966e
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
2004-02-10 16:50:21 +00:00
Skip Montanaro
db6080507d
Remove support for --without-universal-newlines (see PEP 11).
2004-02-07 13:53:46 +00:00
Skip Montanaro
7e11a016e6
Remove HAVE_STRPTIME - no longer necessary with the pure Python version of
...
time.strptime().
2004-02-07 12:55:46 +00:00
Raymond Hettinger
756b3f3c15
* Move collections.deque() in from the sandbox
...
* Add unittests, newsitem, and whatsnew
* Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py
* Docs are forthcoming
2004-01-29 06:37:52 +00:00
Tim Peters
a70e6d8e2a
Added the cjkcodecs files to the MSVC 6 build.
2004-01-25 03:25:40 +00:00
Martin v. Löwis
daea3e5032
Add cjkcodecs to build process
2004-01-21 07:54:02 +00:00
Skip Montanaro
ce59c04127
Remove support for SunOS 4.
...
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
2004-01-17 14:19:44 +00:00
Skip Montanaro
b9949dbe6c
Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld
2004-01-17 04:04:13 +00:00
Skip Montanaro
b9820a3b77
Remove support for minix.
...
Remove unused and unnecessary checks for sizeof(char).
2004-01-17 00:16:12 +00:00
Raymond Hettinger
0c4102760c
SF Patch #864863 : Bisect C implementation
...
(Contributed by Dmitry Vasiliev.)
2004-01-05 10:13:35 +00:00
Tim Peters
71745802ec
Update to record .pyd files removed for Python 2.4.
2004-01-04 03:00:51 +00:00
Tim Peters
12cfa6d662
That's it -- works as well under VC6 as it ever did now.
2004-01-04 02:51:36 +00:00
Tim Peters
055844ea80
The _tkinter subproject works with VC6 again.
2004-01-04 02:32:53 +00:00
Tim Peters
590de2c20c
The bz2 subproject works with VC6 again.
2004-01-04 02:30:49 +00:00
Tim Peters
f32b0271a9
The _ssl subproject may <heh> be working w/ VC6 again.
2004-01-04 02:27:33 +00:00
Tim Peters
c844a03edf
The _bsddb subproject works again under VC6.
2004-01-04 02:12:55 +00:00
Tim Peters
caba60a752
Removed dead text about MS subprojects that no longer exist.
2004-01-04 02:04:35 +00:00
Tim Peters
28df74fc62
Getting closer (but not yet there) to being able to compile under VC6
...
again. Removed the following subprojects and folded them into pythoncore,
to match what's being done under VC7. We *can* build the core DLL
under VC6 again after this:
datetime.dsp
winreg.dsp
parser.dsp
_sre.dsp
_csv.dsp
mmap.dsp
_symtable.dsp
2004-01-04 02:00:47 +00:00
Tim Peters
ff8505dc89
Tons of changes to get this closer to being buildable from this directory;
...
still far away, but a lot closer than it was.
2004-01-03 05:45:59 +00:00
Martin v. Löwis
203eec46c1
Move VC6 project files here.
2004-01-02 21:15:07 +00:00
Martin v. Löwis
48918f7109
Update build procedure to VC 7.1; make more modules builtin.
2004-01-02 21:14:37 +00:00
Andrew MacIntyre
4d04639380
add definitions required for expat 1.95.7
2003-12-25 13:25:20 +00:00
Andrew MacIntyre
c2138af413
- add notes about os.link() emulation;
...
- various minor cleanups and updates.
2003-12-02 12:23:07 +00:00
Andrew MacIntyre
51578ae43d
- add build support for curses extension to be a normal DLL as well as
...
a Python extension, so that the curses_panel extension works.
- minor compiler switch tweak.
2003-12-02 12:21:20 +00:00
Guido van Rossum
a6a38ad55c
Remove all uses of alloca() from this module. The alloca() return value
...
isn't checked, and it *is* possible that a very large alloca() call is
made, e.g. when a large registry value is being read. I don't know if
alloca() in that case returns NULL or returns a pointer pointing outside
the stack, and I don't want to know -- I've simply replaced all calls to
alloca() with either PyMem_Malloc() or PyString_FromStringAndSize(NULL,)
as appropriate, followed by a size check. This addresses SF buf 851056.
Will backport to 2.3 next.
2003-11-30 22:01:43 +00:00
Raymond Hettinger
b3af1813eb
Convert heapq.py to a C implementation.
2003-11-08 10:24:38 +00:00
Walter Dörwald
f0dfc7ac5c
Fix a bunch of typos in documentation, docstrings and comments.
...
(From SF patch #810751 )
2003-10-20 14:01:56 +00:00
Thomas Heller
13dbabe46e
To build on windows, the manual editing of the python_nt.rc file to
...
change the version number is no longer required.
Instead, a make_versioninfo.exe is compiled, which spits out an
include file for python_nt.rc.
Will backport to 2.3
2003-10-10 16:57:45 +00:00
Thomas Heller
6019f9a65d
Remove a stray single quote.
...
Will backport to release23-maint.
2003-08-18 17:53:33 +00:00
Mark Hammond
67e5582dfc
Complete move of windows builds to 2.4alpha
2003-07-31 02:06:22 +00:00
Tim Peters
342aab1c48
Repaired botched release serial number.
2003-07-29 00:25:20 +00:00
Tim Peters
6cb2e0d554
Bump Windows resource version macro for 2.3 final.
2003-07-29 00:08:01 +00:00
Tim Peters
6560a254ea
Update version numbers and dates for 2.3c2 -- we won't be able to do this
...
during the day tomorrow, so doing it earlier than I'd like.
2003-07-24 00:15:46 +00:00
Tim Peters
29dfcd108d
Bump the release number to 2.3c1.
2003-07-17 14:48:26 +00:00
Andrew MacIntyre
bac1ea937e
More pre-2.3 build tweaks for the OS/2 EMX port:
...
- more clean up of the generated import library definiton (.DEF file)
following checking of patch 770521, and tightening of the sed regexps.
- use -O3 even with gcc 2.8.1 - worth nearly 10% with 2.3; worth
nothing with 2.2.x.
- clean up a couple of whitespace issues introduced by a cut'n'paste.
2003-07-16 13:31:11 +00:00
Andrew MacIntyre
4ee893fe39
More pre-2.3 build tweaks for the OS/2 EMX port:
...
- separate the building of the core from the wrapper executables and the
external modules (.PYDs), based on the Py_BUILD_CORE define;
- clean up the generated import library definiton (.DEF file) to remove
references to a number of non-static symbols that aren't part of the
Python API and which shouldn't be exported by the core DLL;
- compile the release build with -fomit-frame-pointer, for a small
performance gain;
- make "make clean" remove byte compiled Python library files.
2003-07-13 13:41:59 +00:00
Andrew MacIntyre
b0f5e5a70c
update OS/2 EMX port notes
2003-07-10 12:55:30 +00:00
Tim Peters
63fd15c3d3
Bump release level to 2.3b2.
2003-06-29 00:57:17 +00:00
Andrew MacIntyre
0dda40035f
add support for os.tmpfile()
2003-06-09 08:16:59 +00:00
Andrew MacIntyre
58f22ccc01
reorganise modules, so that most standard extensions are built into
...
the Python DLL. this slightly improves performance; reduces
fragmentation of address spaces and slightly reduces memory footprint.
2003-06-09 08:16:02 +00:00
Andrew MacIntyre
fae8953a59
various updates
2003-06-09 08:15:14 +00:00
Andrew MacIntyre
23ec1dcf78
bump stack size to cater for _sre recursion.
...
reorganise modules, so that most standard extensions are built into
the Python DLL. this slightly improves performance; reduces
fragmentation of address spaces and slightly reduces memory footprint.
2003-06-09 08:14:03 +00:00
Walter Dörwald
fee10040b4
sound_playsound() doesn't have to be visible externally,
...
so make it static.
2003-05-22 17:22:54 +00:00
Tim Peters
3209410cb5
Bump version number to 2.3b1.
2003-04-24 16:45:34 +00:00
Andrew MacIntyre
0c83348d5c
minor cleanups and whitespace normalisation
2003-04-22 03:21:42 +00:00
Andrew MacIntyre
631e87fb3d
Makefile & config.c:
...
- restructure build for modules now in Python DLL
README.os2emx
- clean out old cruft no longer appropriate now that EMX port builds
from CVS
- reflect move of modules into core DLL
- add section on building from source
2003-04-21 14:33:04 +00:00
Andrew MacIntyre
d4c9b16b34
Makefile:
...
- add _csv module to the build list
- various cleanups
config.c:
- various cleanups
pyconfig.h:
- various cleanups
2003-04-21 14:28:01 +00:00
Martin v. Löwis
6920652823
Patch #714957 : Explain ADDMODULE MARKER.
2003-04-18 10:51:14 +00:00
Guido van Rossum
e1252684be
Add MessageBeep() API.
2003-04-09 19:38:08 +00:00
Martin v. Löwis
b9a0f91218
Rename LONG_LONG to PY_LONG_LONG. Fixes #710285 .
2003-03-29 10:06:18 +00:00
Tim Peters
82d61956fa
Changed the DLL base-address assignment for _csv so it no longer
...
obviously overlaps w/ datetime (but may -- no time for more here now).
2003-03-21 02:02:02 +00:00
Tim Peters
0d7ce4e221
Teach the Windows build & installer about the new csv module + DLL.
2003-03-21 01:55:41 +00:00