Commit Graph

603 Commits

Author SHA1 Message Date
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
Trent Mick 8321b42f38 Upgrade Windows build to zlib 1.2.3 (a security fix) 2005-07-26 02:29:21 +00:00
Martin v. Löwis 4c3259cbb9 Link to #1233049 for building against openssl 0.9.8. 2005-07-06 19:34:10 +00:00
Anthony Baxter 7f9915e34e merge from branch 2005-03-29 16:05:36 +00:00
Anthony Baxter 6a3f4f7bc3 ported buildnos to trunk 2005-03-09 11:51:40 +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
Thomas Heller fd77c6ce5a Update the filenames in the MSVC project file for Python 2.5. 2004-12-01 19:40:45 +00:00
Martin v. Löwis af1389a2fc Bump buildno for 2.4 release 2004-11-29 09:57:14 +00:00
Martin v. Löwis e174ae9a1d Bump version for 2.4c1 2004-11-07 10:08:29 +00:00
Martin v. Löwis 645019068d Bump buildno for 2.4b2. 2004-11-02 22:28:07 +00:00
Martin v. Löwis d37ddeba4c Bump buildno for 2.4b1 2004-10-15 05:44:39 +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
Martin v. Löwis c9f53b4905 Link with ws2_32 instead of wsock32. 2004-09-18 16:16:34 +00:00
Martin v. Löwis 5a6653cee1 Revert creation of launcher.exe 2004-09-08 15:57:36 +00:00
Martin v. Löwis 195578a76e Add launcher program 2004-09-07 15:36:46 +00:00
Martin v. Löwis 6d772132e9 Update buildno for 2.4a3 2004-09-01 18:29:25 +00:00
Martin v. Löwis 3cf2163b25 Add instructions for building Tix 2004-08-31 16:22:09 +00:00
Tim Peters adadc0f56f Remove rotor and xreadlines from VC 7.1 build. 2004-08-31 14:29:12 +00:00
Tim Peters 42cd14d04c More cmd.exe exploitation. 2004-08-30 22:13:22 +00:00
Tim Peters e2f6899fd6 Since it's impossible to build Python using VC7.1 on a command.com
system, exploit cmd.exe's setlocal function in this directory.
2004-08-30 21:27:55 +00:00
Tim Peters e82b00f14f Updated test-runner .bat for new location of Tcl/Tk.
Replaced outcomes from native Tcl/Tk tests.  Maybe the diffs are legit,
maybe not.  I noticed that the Tcl results I'm replacing here claimed
both that there were no failures, and that one file had tests with
failures, so I wasn't inclined to trust them <wink>.
2004-08-30 21:14:51 +00:00
Martin v. Löwis 6de2d4da7d Bump Tk version to 8.4.7. Build into tcltk directory. 2004-08-30 09:22:04 +00:00
Tim Peters 79b52b7261 Boosted the stack reservation for python.exe and python_w.exe from the
default 1MB to 2 million bytes.  The test suite passes with -uall again
(test_compiler no longer drives WinXP into an insane state).
2004-08-12 18:37:10 +00:00
Martin v. Löwis 9ecf326714 Patch #1006916: Remove ODBC library references. 2004-08-12 14:07:49 +00:00
Martin v. Löwis ed0d9c6fbd Bump buildno for 2.4a2 2004-08-04 13:42:43 +00:00
Hye-Shik Chang efdc16ffbb Remove unused source file from Windows project files. 2004-07-28 09:45:20 +00:00
Martin v. Löwis d945f4e17d Generate rc[_d].h after linking 2004-07-25 09:49:26 +00:00
Martin v. Löwis 13e50fe453 Add Itanium targets. 2004-07-20 14:37:48 +00:00
Hye-Shik Chang 3341e384d3 cjkcodecs/mapdata_*.c are removed by the recent import CJKCodecs 1.1. 2004-07-18 08:45:15 +00:00
Tim Peters 56b021a27b Ignore more encoding input files. 2004-07-18 06:27:59 +00:00
Tim Peters a44b56540f Ignore input files for encoding tests (these aren't checked in). 2004-07-18 06:27:12 +00:00
Tim Peters 3d7d372ce3 Whitespace normalization, via reindent.py. 2004-07-18 06:25:50 +00:00
Tim Peters d0bcf351ff Teach VC 7.1 about the new cjkcodecs structure. This still doesn't compile
on Windows, because of non-standard code in cjkcodes.h, but it's *almost*
there.
2004-07-18 03:48:47 +00:00
Tim Peters 1d64fb3461 Temporarily add the Tcl/Tk bin directory to PATH, so that test_tcl can
actually run.  When it fails, it pops up a dialog box, and the test run
hangs waiting for you to click OK -- that sucks too much to bear.
2004-07-17 23:44:32 +00:00
Anthony Baxter dfef882095 dont think it's still being used, but just in case 2004-07-08 07:18:34 +00:00
Martin v. Löwis 74a72b9c4c Bump build number to 54 for 2.4.0a1 2004-07-08 07:11:33 +00:00
Thomas Heller 813914049d Update info about the windows build. 2004-07-02 08:58:46 +00:00
Martin v. Löwis 93d1b2c93c Add readme.txt 2004-06-28 15:24:23 +00:00
Tim Peters 3d1f6bba6d Teach pythoncore project about new pystrtod.c for VC7.1. This was done
a long time ago for VC6.
2004-06-14 01:05:46 +00:00
Thomas Heller 9f5f056d75 Remove the pcre module. 2004-06-02 18:58:55 +00:00
Thomas Heller aa2e498251 Record Python 2.3.4 (final) build number. 2004-06-02 13:21:41 +00:00
Martin v. Löwis 7897ff0d9a Add genobject.c 2004-06-01 17:21:13 +00:00
Thomas Heller fd3f4fb7b1 Windows build number for 2.3.4c1 is 52. 2004-05-12 20:12:10 +00:00
Thomas Heller 1a74a128ce The filename of this module changed again... 2004-04-27 18:34:08 +00:00
Thomas Heller 1a9d32b8d4 cvs ignore the user options files *.suo 2004-04-22 17:11:49 +00:00
Thomas Heller 8598b10037 Modules/heapqmodule.c removed.
Modules/_heapmodule.c added.
2004-04-22 17:03:33 +00:00
Tim Peters 71b2411566 Record test_bsddb3 test results on WinXP. 2004-04-11 19:02:59 +00:00
Tim Peters a0d781a543 Update the OpenSSL version example from c to d (the current stable one), 2004-04-11 18:23:06 +00:00
Tim Peters 0e93309eb5 The native bz2 tests worked fine for me under WinXP Pro + VC7.1, so
removed the comment saying they don't work, and changed the build step
to run them.  If they're failing for someone else, please give details
about what failed.
2004-04-11 17:45:31 +00:00
Tim Peters 011de6cc96 Record Tcl and Tk test results for WinXP Pro. 2004-04-11 17:29:12 +00:00
Guido van Rossum d54357d4e2 Tweaked after following all these instructions.
Removed Win9x notes (since the .NET compiler requires Win2K or XP anyway).
2004-03-20 21:00:26 +00:00
Martin v. Löwis e2879c34a1 Add collectionsmodule.c.
Don't link with largeint.lib anymore.
2004-02-01 18:02:48 +00:00
Martin v. Löwis daea3e5032 Add cjkcodecs to build process 2004-01-21 07:54:02 +00:00
Martin v. Löwis 09de756726 More updates for zlib 1.2.1 2004-01-17 11:20:17 +00:00
Martin v. Löwis 21eca43083 Update to 1.2.1 for release build too. 2004-01-17 11:10:34 +00:00
Jeremy Hylton 73b3df9a35 Update Windows build to use zlib 1.2.1 2004-01-09 16:05:07 +00:00
Thomas Heller d2afa67755 Add the _bisectmodule.c source file to the pythoncore project - seems to have been forgotten. 2004-01-06 19:27:38 +00:00