Commit Graph

577 Commits

Author SHA1 Message Date
Hirokazu Yamamoto f0a41637ca Issue #2065: VC6 related fix.
- PC/VC6/_bsddb.dsp:
    removed '/nodefaultlib:"msvcrt"' to fix linker error.

- PC/VC6/_msi.dsp:
    added new module support.

- PC/VC6/_sqlite3.dsp:
    /D "MODULE_NAME=\"sqlite3\""
    caused extra leading space like
    #define MODULE_NAME " sqlite3"
    so uses
    /D MODULE_NAME=\"sqlite3\"
    instead.

- PC/VC6/python.dsp:
    changed stack size to 2MB to avoid stack overflow on
    some tests.
2008-08-14 01:24:55 +00:00
Gregory P. Smith 76f5d1419f (backport trunk r65151)
Issue #3120: On 64-bit Windows the subprocess module was truncating handles.
2008-08-04 00:19:27 +00:00
Martin v. Löwis 10eac2c613 Update copyright years to 2008. Update README to 2.5.2. 2008-02-21 11:53:40 +00:00
Martin v. Löwis cab74c8398 Backport of r60743:
Patch #1736: Fix file name handling of _msi.FCICreate.
2008-02-12 13:48:06 +00:00
Martin v. Löwis d79fa9e504 Bug #1216: Restore support for Visual Studio 2002. 2007-10-12 08:58:48 +00:00
Martin v. Löwis d3d80f3cd1 Patch #1734014: Use _I64_MAX instead of LLONG_MAX. 2007-06-14 20:47:15 +00:00
Martin v. Löwis 2276885acd Patch #1733960: Allow T_LONGLONG to accept ints. 2007-06-09 08:01:33 +00:00
Kristján Valur Jónsson 55d53f0367 Merging of change 55024 from the truk to release25-maint branch.
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-05-02 15:55:14 +00:00
Kristján Valur Jónsson 5e4e31f76a Fix various minor issues discovered with static analysis using Visual Studio 2005 Team System.
Removed obsolete comment, since .dll modules are no longer supported on windows, only .pyd.
2007-04-21 12:46:49 +00:00
Neal Norwitz a4ff44aa26 Revert 54815 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen. 2007-04-16 06:19:32 +00:00
Kristján Valur Jónsson a30d8bd653 Fix potential crash in path manipulation on windows 2007-04-13 22:21:07 +00:00
Anthony Baxter a7118d3a4a update to (c) years to include 2007 2007-01-06 04:50:44 +00:00
Martin v. Löwis 2396f4c3b1 Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
and _CRT_NONSTDC_NO_DEPRECATE.
2006-11-21 18:21:34 +00:00
Martin v. Löwis 0805f95622 Remove obsolete file. 2006-10-17 18:10:09 +00:00
Martin v. Löwis bf2f701c1e Patch #1457736: Update VC6 to use current PCbuild settings. 2006-10-17 15:22:20 +00:00
Martin v. Löwis 4ed148aa22 Remove binary property on project files, set eol-style
to CRLF instead.
2006-10-15 12:04:07 +00:00
Martin v. Löwis 3dee4852d7 Patch #1577551: Add ctypes and ET build support for VC6. 2006-10-15 08:51:47 +00:00
Martin v. Löwis 6abebb2836 Patch #1576954: Update VC6 build directory; remove redundant
files in VC7.1 pythoncore.vcproj.
2006-10-15 07:55:42 +00:00
Georg Brandl 7444eda3d6 Patch #1572724: fix typo ('=' instead of '==') in _msi.c.
(backport from rev. 52251)
2006-10-09 19:03:12 +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