Commit Graph

559 Commits

Author SHA1 Message Date
Christian Heimes 1beea3be3e Issue #1726: Remove Python/atof.c from PCBuild/pythoncore.vcproj 2008-01-03 15:41:30 +00:00
Christian Heimes fed3ebc000 Made vs9to8 Unix compatible 2008-01-02 18:28:32 +00:00
Christian Heimes d9fbab2621 Removed PCbuild8/ directory and added a new build directory for VS 2005
based on the VS 2008 build directory to PC/VS8.0. The script
PCbuild/vs8to9.py was added to sync changes from PCbuild to PC/VS8.0.

Kristjan, the initial creator of the PCbuild8 directory is fine with the replacement. I've moved the new version of the VS 2005 build directory next to the other legacy build directories. The new sync script is based on the work of wreck and syncs changes in the project, property and solution files.
2008-01-02 17:43:40 +00:00
Martin v. Löwis b31131c5bc Don't link with Tix; Tix is loaded dynamically by Tcl. 2008-01-01 23:00:00 +00:00
Christian Heimes 3adfe9aaae Renamed PCBuild9 directory to PCBuild 2007-12-31 15:18:55 +00:00
Christian Heimes 915d5d96d8 Moved PCbuild directory to PC/VS7.1 2007-12-31 14:51:18 +00:00
Christian Heimes 0a8143f646 Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).
The patch unifies float("inf") and repr(float("inf")) on all platforms.
2007-12-18 23:22:54 +00:00
Christian Heimes f15c66e143 The new float repr causes too much trouble and pain. I'm disabling the feature until we have sorted out the issues on all machines. 64bit machines seem to have issues and Guido has reported even worse.
Guido: It's pretty bad actually -- repr(1e5) comes out as '1.0'... Ditto for
repr(1eN) for most N... Both in 2.6 and in 3.0...
2007-12-11 00:54:34 +00:00
Christian Heimes 284d927625 Backport of r59456:59458 from py3k to trunk
Issue #1580: New free format floating point representation based on "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'.

Thanks to noam for the patch! I had to modify doubledigits.c slightly to support X64 and IA64 machines on Windows. I also added the new file to the three project files.
2007-12-10 22:28:56 +00:00
Martin v. Löwis fb57e7e23e Rename import library for debug build to _msi_d.lib. 2007-09-14 06:50:21 +00:00
Thomas Heller 285216ca30 Add bufferoverflowU.lib to PCBuild\_bsddb.vcproj.
Build sqlite3.dll and bsddb.
2007-06-12 19:02:59 +00:00
Thomas Heller 46950bae3e Specify the bufferoverflowU.lib to the makefile on the command line
(for ReleaseAMD64 builds).
2007-06-12 17:28:31 +00:00
Thomas Heller d34f9e9a54 Revert this change, since it breaks the win32 build:
Add bufferoverflowU.lib to the libraries needed by _ssl (is this the
right thing to do?).
2007-06-12 16:23:19 +00:00
Thomas Heller c8720b9847 Add bufferoverflowU.lib to the libraries needed by _ssl (is this the
right thing to do?).

Set the /XP64 /RETAIL build enviroment in the makefile when building
ReleaseAMD64.
2007-06-12 16:08:27 +00:00
Thomas Heller 20a6e1c966 Revert commit 55855. 2007-06-10 21:01:17 +00:00
Thomas Heller a7c583af6f For now, disable the _bsddb, _sqlite3, _ssl, _testcapi, _tkinter
modules in the ReleaseAMD64 configuration because they do not compile.
2007-06-10 17:55:51 +00:00
Thomas Heller ab8e279ba6 Build _ctypes and _ctypes_test in the ReleaseAMD64 configuration. 2007-06-06 20:19:19 +00:00
Brett Cannon 7e93587746 Try to remove rgbimg from Windows builds. 2007-05-20 19:05:06 +00:00
Raymond Hettinger eb9798892d Prepare collections module for pure python code entries. 2007-02-28 18:37:52 +00:00
Martin v. Löwis cc0eba9d98 Merge 53501 and 53502 from 25 branch:
Add /GS- for AMD64 and Itanium builds where missing.
2007-01-20 14:05:39 +00:00
Anthony Baxter 83955ef639 update to (c) years to include 2007 2007-01-06 04:45:54 +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
Thomas Heller 7dc77ce969 Build _ctypes.pyd for win AMD64 into the MSVC project file.
Since MSVC doesn't know about .asm files, a helper batch file is needed
to find ml64.exe in predefined locations.  The helper script hardcodes
the path to the MS Platform SDK.
2006-08-25 09:26:33 +00:00
Neal Norwitz 3c9333970f Try to get the windows bots working again with the new peephole.c 2006-08-21 23:44:48 +00:00
Neal Norwitz 132bbb3d06 Try to get Windows bots working again. Take 2 2006-08-18 05:10:00 +00:00
Martin v. Löwis 59e9ac8ebe Merge 51340 and 51341 from 2.5 branch:
Leave tk build directory to restore original path.
Invoke debug mk1mf.pl after running Configure.
2006-08-17 19:19:32 +00:00
Martin v. Löwis 596fc9c384 Make cl build step compile-only (/c). Remove libs from source list. 2006-08-16 13:58:51 +00:00
Martin v. Löwis a09fd6efdd Build _hashlib on Windows. Build OpenSSL with masm assembler code.
Fixes #1535502.
2006-08-16 12:55:10 +00:00
Thomas Heller db7b443d8a Fix #1534738: win32 debug version of _msi must be _msi_d.pyd, not _msi.pyd.
Fix the name of the pdb file as well.
2006-08-04 19:49:31 +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
Martin v. Löwis c7990b5b98 Fix Debug build of _ssl. 2006-07-14 12:31:05 +00:00
Martin v. Löwis 1def4fafe2 Add debug output to analyse buildbot failure. 2006-07-14 12:10:09 +00:00
Martin v. Löwis d73168d954 Extend build_ssl to Win64, using VSExtComp. 2006-07-14 09:58:55 +00:00
Martin v. Löwis 1bf59597dd Patch #1509163: MS Toolkit Compiler no longer available 2006-06-29 18:58:44 +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
Richard Jones 7b9558d37d Conversion of exceptions over from faked-up classes to new-style C types. 2006-05-27 12:29:24 +00:00
Tim Peters f178e5c1b7 Get the Windows build working again (recover from
`struct` module changes).
2006-05-23 19:34:37 +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 79b0f85867 Use GS- and bufferoverlowU.lib where appropriate, for AMD64. 2006-04-26 17:19:44 +00:00
Gerhard Häring 3e99c0ad64 Updated the sqlite3 module to the external pysqlite 2.2.2 version. 2006-04-23 15:24:26 +00:00
Martin v. Löwis 07b3508e24 Upgrade to vsextcomp 0.8 (and thus the SDK for W2k3SP1) 2006-04-21 13:48:26 +00:00
Thomas Heller 112d4ec7d5 Fix typo. 2006-04-15 20:43:22 +00:00
Martin v. Löwis 48bbaf2375 Patch #1470875: Building Python with MS Free Compiler. 2006-04-15 18:06: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
Martin v. Löwis 2f36caf8ff Define WIN32, to get proper struct alignment in WinSock2.h.
Fixes #1462352. Will backport.
2006-04-08 09:13:43 +00:00
Anthony Baxter 8e7b490890 upgrade to final version of pysqlite 2.2.0 2006-04-05 18:25:33 +00:00
Martin v. Löwis e510bd16ea Adjust sqlite3 build process to Win64. 2006-04-04 16:28:14 +00:00
Anthony Baxter cbb9f97299 update to correct version of pysqlite 2006-04-04 14:40:45 +00:00
Martin v. Löwis cecb885d62 Fix Debug, Itanium, AMD64 configurations 2006-04-04 12:34:06 +00:00
Martin v. Löwis 1a494bdf69 Add sqlite3 to the Windows build process. 2006-04-04 07:10:59 +00:00
Tim Peters 9161a0d8da Looks like someone renamed (or something) md5c.c to md5.c. 2006-04-03 19:54:07 +00:00
Martin v. Löwis f5af2aac38 Patch #1462700: Make _ctypes_test depend on _ctypes.
Use same GUID for pythoncore in project and solution.
2006-04-03 05:29:03 +00:00
Martin v. Löwis 0a4e98bf13 Allow supression of subwcrev.exe invocation on a per-working-copy basis. 2006-03-27 16:30:41 +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
Martin v. Löwis a0f4549b79 Update to OpenSSL 0.9.8a 2006-03-21 12:08:39 +00:00
Neal Norwitz 10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
Thomas Heller 6ea6e204a9 For x86 Release and Debug builds, remove the /Wp64 compiler flag, it
is responsible for most (all?)  of the warnings we get.
2006-03-14 20:22:47 +00:00
Tim Peters 6da8cebe3c It's necessary to do a Debug build of the bsddb project too. 2006-03-13 20:09:32 +00:00
Tim Peters 7ccbb0770c Minor changes. 2006-03-13 19:43:34 +00:00
Tim Peters 32d996f8b8 Trimmed trailing whitespace. 2006-03-13 19:35:53 +00:00
Martin v. Löwis b091241d9b Fix build process of bsddb for IA64 and AMD64.
Remove remarks on size_t problems.
2006-03-13 15:37:40 +00:00
Martin v. Löwis f6f7925971 Update to bsddb 4.4.20. 2006-03-13 13:48:05 +00:00
Martin v. Löwis 14c1cf88ad Update to bzip2 1.0.3
Make buildbot slaves automatically fetch bzip2 1.0.3.
2006-03-13 10:52:04 +00:00
Martin v. Löwis d39ab5bf97 Move buildbot scripts to Tools/buildbot. 2006-03-12 09:50:39 +00:00
Tim Peters 539056aca0 Added brief comment. 2006-03-12 07:00:54 +00:00
Tim Peters 1777ada247 Added brief comments. 2006-03-12 06:47:36 +00:00
Martin v. Löwis 9fe582ceec Add buildbot test script. 2006-03-11 23:56:39 +00:00
Tim Peters 3f2723d44f Give the _ssl project a harmless command to perform
for its "clean" action.  Else the clean step run by
the buildbot reports failure, due to the _ssl project
whining about not being able to spawn an empty string.
2006-03-11 23:05:39 +00:00
Martin v. Löwis 1a4a6406fd Add AMD64 and Itanium configurationgs to ctypes;
disable them in the solution since ctypes doesn't
support these processors on Windows.
2006-03-10 16:02:59 +00:00
Thomas Heller 3b9e9ae8a5 Deleted the svn_mime-type application/octet-stream from PCBuild/pcbuild.sln.
Tools/scripts/svneol.py: added the .sln and .vcproj extensions because these are text files.
Ran svneol.py over the source tree.
2006-03-09 18:49:35 +00:00
Thomas Heller a16bb0c156 Added VC project files to build _ctypes.pyd and _ctypes_test.pyd on Windows.
Settings for 64-bit Windows are missing.

I've left in the 64-bit warnings to remind me to port ctypes to Py_ssize_t.
2006-03-09 17:35:20 +00:00
Tim Peters 84457af29e Taught svneol to look at .c and .h files too, and
it found a bunch more in need of svn:eol-style.
2006-03-09 01:59:27 +00:00
Martin v. Löwis 82f6cc4728 Use devenv.com to better obtain output. 2006-03-05 16:47:11 +00:00
Martin v. Löwis 350a872e59 Add buildbot support scripts. 2006-03-05 16:18:44 +00:00
Martin v. Löwis fbab90e95b Import bdist_msi 2006-03-05 13:36:04 +00:00
Martin v. Löwis 345d6c6e8c Drop vsextcomp_verbose 2006-02-16 14:57:52 +00:00
Martin v. Löwis 9fb181bab3 Add _lsprof. 2006-02-14 21:25:29 +00:00
Martin v. Löwis 856bf9a4e9 Add build support for AMD64. 2006-02-14 20:42:55 +00:00
Georg Brandl 8ed1ca8fe1 Even more copyright year locations! 2006-02-11 18:22:59 +00:00
Martin v. Löwis 62ffc078c2 Pass unquoted string to stat. 2006-01-19 16:17:31 +00:00
Tim Peters 8207cc7fd6 Quote the path to the executable before invoking system(). 2006-01-18 20:04:02 +00:00
Martin v. Löwis 3150a270d2 Add missing make_buildinfo.c. 2006-01-18 19:18:51 +00:00
Martin v. Löwis d078e40d41 Generate getbuildinfo.o each time the linker is invoked;
try to generate SVNVERSION information if subwcrev.exe
can be found.
2006-01-18 09:13:51 +00:00
Martin v. Löwis 634863cdde Remove buildno. 2006-01-15 09:34:11 +00:00
Martin v. Löwis 21d418bab9 Patch #1396093: Further .vcproj cleanups 2006-01-15 09:26:43 +00:00
Martin v. Löwis 532bc0375f Patch #1307806: Use project defaults where possible 2006-01-03 07:38:51 +00:00
Martin v. Löwis 4e6aff5e9b Make zlib builtin. 2006-01-03 07:10:14 +00:00
Tim Peters 07cf5d4bb7 As reported on c.l.py, the _elementtree project
should depend on the pythoncore project.
2005-12-26 16:53:15 +00:00
Tim Peters 903a9444a8 Repair longstanding damage introduced by the AST merge:
- Get rid of pgen.c and tokenizer_pgen.c.

- Include tokenizer.c.

All the -uall tests pass on my WinXP VC7.1 box now.
2005-12-25 16:28:48 +00:00
Thomas Heller 7a9d1327db Add Python\pyarena.c to the VC project file.
Fix the definition of BUILD in the VC project settings.
2005-12-21 15:46:29 +00:00
Trent Mick ea2625be0f Set props on _elementtree project file as per pyexpat.vcproj. 2005-12-15 22:16:49 +00:00
Trent Mick e97e5a7227 Add build support for _elementtree on Windows. 2005-12-15 22:08:46 +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
Mark Hammond 5da5b5bd47 Remove conflict markers and add parsermodule.c to get things building 2005-10-23 10:50:04 +00:00
Jeremy Hylton 3e0055f8c6 Merge ast-branch to head
This change implements a new bytecode compiler, based on a
transformation of the parse tree to an abstract syntax defined in
Parser/Python.asdl.

The compiler implementation is not complete, but it is in stable
enough shape to run the entire test suite excepting two disabled
tests.
2005-10-20 19:59:25 +00:00
Martin v. Löwis 3fa5575fa4 Patch #1160164: Use ReleaseItanium for zlib build.
Will backport to 2.4.
2005-08-25 07:11:31 +00:00
Raymond Hettinger 142e16d338 Correct names of sha modules. 2005-08-24 12:13:23 +00:00
Raymond Hettinger 94ac197531 Update the PC configuration and project files for sha256 and sha512. 2005-08-24 00:28:21 +00:00
Tim Peters 752a047fca Removed XXX block about a test_bsddb3 failure that went away a long time ago. 2005-08-07 02:47:59 +00:00
Tim Peters 63db628ad3 Update some Python version numbers. 2005-08-07 02:47:12 +00:00