Commit Graph

1247 Commits

Author SHA1 Message Date
Zachary Ware 28c3184d8d Issue #27647: Update Windows build to Tcl/Tk 8.6.6 2016-07-28 18:39:11 -05:00
Steve Dower 81fb0e33d6 Merge from 3.5 2016-07-24 18:06:51 -07:00
Steve Dower 6ed63f31e9 Fixes default intermediate directory when building on Windows. 2016-07-24 18:03:22 -07:00
Steve Dower edddc2704c Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly. 2016-07-23 08:02:02 -07:00
Steve Dower 1db9222b0c Closes #27545: Remove pyshellext.vcxproj from pcbuild.proj 2016-07-17 20:46:01 -07:00
Steve Dower bc3e9cac7c Closes #27545: Remove pyshellext.vcxproj from pcbuild.proj 2016-07-17 20:45:29 -07:00
Steve Dower df450d1a18 Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly. 2016-07-16 16:17:33 -07:00
Steve Dower fb2125daf3 Merge from 3.5 2016-07-16 16:13:51 -07:00
Steve Dower 6fd76bceda Fixes use of Py_IntDir and Py_OutDir to control build directories. 2016-07-16 16:13:19 -07:00
Steve Dower 3823aabb72 Merge from 3.5 2016-07-15 12:01:07 -07:00
Steve Dower b7567c587d Fix building tcl/tk with only the VC build tools installed. 2016-07-15 11:55:52 -07:00
Steve Dower da27c1da85 Merge from 3.5 2016-07-13 19:58:47 -07:00
Steve Dower 945863a691 Fixes build order and lingering intermediate files. 2016-07-13 19:58:21 -07:00
Zachary Ware 0475ffa64d Issue #26930: Merge with 3.5 2016-06-15 17:16:16 -05:00
Zachary Ware 42d4b9c22c Issue #26930: Update Windows build to OpenSSL 1.0.2h 2016-06-15 17:13:28 -05:00
Zachary Ware f88d83b922 Issue #26930: Update Windows build to OpenSSL 1.0.2h 2016-06-15 17:13:28 -05:00
Brett Cannon 82029ac14c Issue #27186: add Include/osmodule.h to the proper build rules 2016-06-12 13:21:22 -07:00
Serhiy Storchaka b0f80b0312 Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.
Patch by Demur Rumed.
2016-05-24 09:15:14 +03:00
Zachary Ware 15d2d49ce6 Closes #26706: Merge with 3.5 2016-04-14 10:22:58 -05:00
Zachary Ware 7d82d0366b Issue #26706: Update OpenSSL version in PCbuild/readme.txt
Thanks to Shaun Walbridge for noticing.
2016-04-14 10:22:12 -05:00
Steve Dower a4d41b3a3e Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions. 2016-04-12 20:11:45 -07:00
Steve Dower a7a222fde7 Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions. 2016-04-12 20:11:25 -07:00
Steve Dower 765c635dc8 Adds version info to all signed binaries on Windows 2016-04-06 12:36:23 -07:00
Steve Dower b0660582cc Adds version info to all signed binaries on Windows. 2016-04-06 12:35:24 -07:00
Victor Stinner 8c08e0db8f rt.bat: use -m test instead of Lib\test\regrtest.py 2016-03-24 17:46:24 +01:00
Steve Dower 8d9bcb5d62 Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel. 2016-03-12 08:39:07 -08:00
Steve Dower d3722e7b6f Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel. 2016-03-12 08:38:55 -08:00
Steve Dower 332018d17c Adds warning to prepare_ssl when nasm is not available.
Force clean externals on buildbots.
2016-03-08 12:51:19 -08:00
Steve Dower 79993a90e2 Adds warning to prepare_ssl when nasm is not available.
Force clean of externals on buildbots.
2016-03-08 12:50:57 -08:00
Steve Dower 43cbd05b6c Issue #26465: Update Windows builds to use OpenSSL 1.0.2g. 2016-03-08 10:29:24 -08:00
Steve Dower 947f411b0d Issue #26465: Update Windows builds to use OpenSSL 1.0.2g. 2016-03-08 10:26:52 -08:00
Zachary Ware 72f2ef4137 Issue #26268: Merge with 3.5 2016-02-22 04:16:33 -06:00
Zachary Ware 6fe57ad229 Issue #26268: Update Windows builds to use OpenSSL 1.0.2f 2016-02-22 04:08:51 -06:00
Zachary Ware 16f164e9b8 Issue #26268: Update the prepare_ssl.py script
It can now handle OpenSSL versions 1.0.2e and greater, which don't
include include files in include/.

Note that sources prepared by this script no longer support the old
project files for 2.7; you now have to have Perl available to use
the old build_ssl.py script with sources from svn.python.org.
2016-02-22 04:02:30 -06:00
Steve Dower a74826b086 Updates build to use SHA256 hash when signing files 2016-02-08 09:27:44 -08:00
Steve Dower 84d9fe3953 Updates build to use SHA256 hash when signing files. 2016-02-08 09:24:46 -08:00
Zachary Ware 03178a5f7e Issue #25934: Merge with 3.5 2016-01-29 19:09:41 -06:00
Zachary Ware 4c5ad9452b Issue #25934: Default to /fp:strict for ICC builds 2016-01-29 19:08:55 -06:00
Zachary Ware e2c9adb03b Closes #25348: Merge with 3.5 2016-01-12 01:31:21 -06:00
Zachary Ware bed30c37d8 Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat 2016-01-12 01:26:50 -06:00
Steve Dower bfb03a470c Merge from 3.5 2015-10-31 13:07:44 -07:00
Steve Dower 940f6a8f11 Improves handling of test markers for building Python without intefering with actual installs. 2015-10-31 12:17:11 -07:00
Steve Dower 80b31402d5 Issue #25361: Disables use of SSE2 instructions in Windows 32-bit build 2015-10-11 15:16:21 -07:00
Steve Dower 5700ae877f Issue #25361: Disables use of SSE2 instructions in Windows 32-bit build 2015-10-11 15:15:52 -07:00
Zachary Ware d038b78599 Closes #25022: Merge with 3.5 2015-09-10 15:03:02 -05:00
Zachary Ware 018e380d55 Issue #25022: Merge with 3.4 2015-09-10 15:02:14 -05:00
Zachary Ware b54a068204 Issue #25022: Remove PC/example_nt/
It was very much outdated, and the topic is better covered elsewhere.
2015-09-10 14:37:42 -05:00
Larry Hastings 334b4a3403 Merge from 3.5. 2015-09-09 07:00:54 -07:00
Larry Hastings ded28e3863 Merge Python 3.5.0rc4 back to hg.python.org. 2015-09-09 06:52:38 -07:00
Steve Dower fcbe1df4af Issue #25027: Reverts partial-static build options and adds vcruntime140.dll to Windows installation. 2015-09-08 21:39:01 -07:00
Zachary Ware 4da050a276 Update PCbuild/readme.txt (merge from 3.5) 2015-09-08 01:12:56 -05:00
Zachary Ware 875ef4c70a Update PCbuild/readme.txt 2015-09-08 01:12:00 -05:00
Zachary Ware fcec42c3a8 Closes #25010: Merge with 3.5 2015-09-07 23:32:10 -05:00
Zachary Ware 70b7539f9c Issue #25010: Merge with 3.4 2015-09-07 23:31:49 -05:00
Zachary Ware 1a690fb65a Issue #25010: Fix path for .pyd example project.
Patch by Shaun Walbridge
2015-09-07 23:30:46 -05:00
Zachary Ware 99cfed77c4 Issue #24986: Merge with 3.5 2015-09-04 01:12:44 -05:00
Zachary Ware a6deff2588 Issue #24986: Save some bandwidth from svn.python.org
Don't download sources that won't be used.
2015-09-04 01:10:23 -05:00
Serhiy Storchaka 8fc0d918eb Merge 3.5 2015-09-04 08:34:57 +03:00
Zachary Ware b27f3c3e20 Issue #24986: Allow building Python without external libraries on Windows
This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.

Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).
2015-09-03 23:43:54 -05:00
Zachary Ware e74fe18ebb Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
This makes it possible to pass more than 4 tests by name through
Tools\buildbot\test.bat
2015-09-03 23:43:37 -05:00
Zachary Ware 6732343ade Turn 'rem' comments into a real usage message in PCbuild/build.bat
Also fixes error in 'kill' target (already fixed in 2.7, somehow the fix
didn't make it to this branch).
2015-09-02 13:21:19 -05:00
Zachary Ware 8cbb013553 Merge with 3.5 2015-09-02 15:01:42 -05:00
Zachary Ware 677744b386 Closes #25456: Copy Tcl/Tk DLLs to build directory on Windows
This removes the need to add externals/tcltk[64]/bin to PATH to be able
to import tkinter.  Also documents the necessity for the DLLs to be
on PATH or in python.exe's directory.
2015-10-24 01:34:22 -05:00
Martin Panter 9955a373a8 Various minor typos in documentation and comments 2015-10-07 10:26:23 +00:00
Steve Dower b98046b206 Fixes file that did not graft correctly. 2015-08-19 08:44:05 -07:00
Steve Dower ab2a34abb7 Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk. 2015-08-19 08:39:12 -07:00
Steve Dower 77861e17f1 Issue #24847: Fixes Tix revision number and reverts fix for the wrong revision.
Triggers clean on buildbots.
2015-08-18 19:30:13 -07:00
Steve Dower e7e69391e3 Issue #24847: Fixes Tix revision number and reverts fix for the wrong revision.
Triggers clean on buildbots.
2015-08-18 19:29:51 -07:00
Steve Dower 572183cce3 Merge with 3.5 2015-08-18 16:01:25 -07:00
Steve Dower 9f0cbbc376 Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk. 2015-08-18 16:00:56 -07:00
Steve Dower 079e080765 Issue #19450: Update Windows builds to use SQLite 3.8.11.0 2015-07-28 11:11:58 -07:00
Steve Dower 4e167ca7c1 Issue #19450: Update Windows builds to use SQLite 3.8.11.0 2015-07-28 11:09:40 -07:00
Steve Dower 54d361fd86 Issue #19450: Update Windows builds to use SQLite 3.8.11.0 2015-07-28 11:05:18 -07:00
Steve Dower 9c11d91b50 Merge with 3.5 2015-07-27 14:59:00 -07:00
Steve Dower de9fb28bf1 Allow intermediate build directory to be overridden. 2015-07-27 14:56:58 -07:00
Zachary Ware bdaaf49cea Issue #24603: Merge with 3.5 2015-07-21 23:28:28 -05:00
Zachary Ware 80acc3ebbc Issue #24603: Update the Windows build to use OpenSSL 1.0.2d 2015-07-21 23:27:08 -05:00
Zachary Ware 689b55c1cb Issue #24603: Update the Windows build to use OpenSSL 1.0.2d 2015-07-21 23:20:47 -05:00
Steve Dower 8a40b6bbcc Fixes argument handling in build.bat and HHC search 2015-07-20 21:35:38 -07:00
Steve Dower e1f6805776 Fixes argument handling in build.bat and HHC search 2015-07-20 21:34:45 -07:00
Steve Dower 67b9ab53c9 Issue #24585: Enables build-to-build upgrades that preserve settings.
Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys.
There are also some changes to the bootstrap app to properly handle upgrades.
Finally, a few minor improvements to the Windows build to keep things tidier.
2015-07-08 20:19:07 -07:00
Steve Dower 494374922c Issue #24585: Enables build-to-build upgrades that preserve settings.
Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys.
There are also some changes to the bootstrap app to properly handle upgrades.
Finally, a few minor improvements to the Windows build to keep things tidier.
2015-07-08 20:18:44 -07:00
Steve Dower df418b67ab Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. 2015-07-03 15:17:17 -07:00
Steve Dower f92673c254 Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. 2015-07-03 15:16:37 -07:00
Steve Dower a09ef0389b Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. 2015-07-03 15:13:48 -07:00
Steve Dower 0a34c49603 Fixes warnings when building python3.dll due to the .def file accumulating multiple copies of each line.
Adds shebang line to prepare_ssl so it will run with py.exe.
2015-07-03 12:21:29 -07:00
Steve Dower ac2bd5b1e8 Fixes warnings when building python3.dll due to the .def file accumulating multiple copies of each line.
Adds shebang line to prepare_ssl so it will run with py.exe.
2015-07-03 09:08:47 -07:00
Steve Dower 81fdd0b868 Issue 24476: Statically links vcruntime140.dll and removes it from the installer 2015-06-19 13:08:58 -07:00
Steve Dower 6d58f8dc52 Issue 24476: Statically links vcruntime140.dll and removes it from the installer 2015-06-19 10:49:04 -07:00
Zachary Ware 4132b30636 Merge PCbuild/readme.txt update from 3.5 2015-06-17 09:48:19 -05:00
Zachary Ware 6c7f2acd99 Merge 3.4's PCbuild/readme.txt update.
All the new information in 3.4's readme.txt was already here, but the
wrong name was used to refer to the script.  Also reworded the sentence.
2015-06-17 09:45:22 -05:00
Zachary Ware d1f7c594fa Update PCbuild/readme.txt
It now recommends PCbuild/get_externals.bat instead of the scripts in
Tools/buildbot.
2015-06-16 23:27:56 -05:00
Zachary Ware 27da359519 Merge with 3.5 2015-06-10 00:44:40 -05:00
Zachary Ware 785273cd84 Merge forward extras beyond #21907 backport. 2015-06-10 00:43:20 -05:00
Zachary Ware 6250df81bf Clean up/refactor the batch scripts used for building on Windows.
This is mostly a backport of issue #21907, but also includes a few
extras necessary to make the bulidbot scripts as thin as possible.
2015-06-09 23:16:52 -05:00
Steve Dower b980c05ef8 Issue #24376: Bumps xxlimited.vcxproj to use 3.6 limited ABI. 2015-06-03 11:05:57 -07:00
Steve Dower 405c7f0712 Issue #24376: xxlimited.c errors when building 32 and 64 bit on Windows 2015-06-03 11:04:44 -07:00
Steve Dower b6c6a4dc04 Issue #24376: xxlimited.c errors when building 32 and 64 bit on Windows 2015-06-03 11:03:15 -07:00
Eric Snow 97abf97e45 Merge from 3.5. 2015-05-30 14:56:30 -06:00
Eric Snow dce09c34a0 Issue #16991: Add odictobject.h on Windows. 2015-05-30 14:56:04 -06:00
Yury Selivanov 7aa5341164 Reverting my previous commit.
Something went horribly wrong when I was doing `hg rebase`.
2015-05-30 10:57:56 -04:00
Zachary Ware 41a6a625d4 Update Windows build for 3.6 2015-05-28 17:30:03 -05:00
Steve Dower 42a059b632 Issue #24268: Adds PCBuild project to build _testmultiphase module. 2015-05-23 17:51:54 -07:00
Zachary Ware 7dc9dea778 Issue #20035: Reimplement tkinter._fix module as a C function.
The new private C function makes no permanent changes to the environment
and is #ifdef'd out on non-Windows platforms.
2015-05-22 11:36:53 -05:00
Steve Dower f54bcfb835 Updates PCBuild.sln to open with VS 2015 by default. 2015-05-20 09:30:42 -07:00
Steve Dower c8241cfb8c Issue #24186: Disable optimised OpenSSL functions on 64-bit Windows to avoid crashing. 2015-05-13 21:44:02 -07:00
Gregory P. Smith 8cb6569fe1 Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview.
Also updates a few internal implementations of the same thing to use the
new built-in code.

Contributed by Arnon Yaari.
2015-04-25 23:22:26 +00:00
Zachary Ware 9d04e6ab01 Update Tcl/Tk to 8.6.4.
The new version of Tcl/Tk plays nice(r) with VS2015 CTP 6+.
2015-04-14 11:53:03 -05:00
Zachary Ware bd4b247f17 Actually build Tix.
It's been absent from all alpha releases, which apparently nobody has noticed.
2015-04-14 10:58:06 -05:00
Zachary Ware 50ebf0316a Merge with 3.4 2015-04-13 12:30:53 -05:00
Zachary Ware 30cc6fae98 Force the Windows readme to CRLF 2015-04-13 12:28:11 -05:00
Zachary Ware 774ac377da Closes #17202: Merge with 3.4 2015-04-13 12:11:40 -05:00
Zachary Ware 4c9c848159 Issue #17202: Add .bat to .hgeol to force them to CRLF.
Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks.  Who knows why.
2015-04-13 11:59:54 -05:00
Zachary Ware 7dfa094e78 Closes #18402: Merge with 3.4 2015-04-13 10:53:11 -05:00
Zachary Ware a3655eaa39 Issue #18402: Also look for 64 bit Perl in build_ssl.py.
It's still not necessary to build, but may be useful to some.
2015-04-13 10:46:40 -05:00
Zachary Ware 057b530024 Put the NASM pulled from svn.python.org at the front of the PATH.
This will prevent failures from the version of NASM installed on buildbots,
if the ability to override the version used is desired again later, we can
figure out a way to opt in.
2015-04-09 20:16:05 -05:00
Zachary Ware 9f3109c459 Issue #23686: Update Windows build to use OpenSSL 1.0.2a. 2015-04-07 19:59:37 -05:00
Steve Dower c7d979f022 Closes #23686: Update Windows installer OpenSSL to 1.0.2a 2015-04-11 23:36:04 -04:00
Zachary Ware 6bd687e0f2 Merge with 3.4.
The fix has moved in this branch.  Also, the opt-in is already available
on this branch; just set nasmDir when building.
2015-04-09 20:20:55 -05:00
Zachary Ware a59f9639fa Fix prepare_ssl.py script
Builds using prepared sources that had Perl available anyway were broken
by the previous fix to this script (oops).
2015-04-09 15:48:32 -05:00
Zachary Ware f975b3d499 Fix prepare_ssl.py for OpenSSL 1.0.2a builds without Perl (using old system).
This change affects the makefiles checked into svn.python.org, which the 3.5
build no longer uses.  3.4 and 2.7 both still use those makefiles, but their
build_ssl.py scripts don't require an update; if the script is running the
'fix_makefiles' method it already has Perl available anyway.
2015-04-07 20:38:53 -05:00
Steve Dower d81431f587 Issue #23524: Replace _PyVerify_fd function with calling _set_thread_local_invalid_parameter_handler on every thread. 2015-03-06 14:47:02 -08:00
Steve Dower f63dab5a84 Back-out wcstok deprecation suppression and updates calls to use wcstok_s. 2015-02-25 20:48:01 -08:00
Steve Dower b3f51e3c44 Adds _CRT_NON_CONFORMING_WCSTOK to retain two-parameter wcstok. 2015-02-25 20:38:31 -08:00
Steve Dower a9076d6551 Issue #23461: Normalise line endings when comparing old and new contents of importlib.h 2015-02-14 09:38:19 -08:00
Steve Dower bb24087a2c Issue #23260: Update Windows installer 2015-02-05 22:08:48 -08:00
Steve Dower a5e1dbef14 Issue #23212: Update Windows copy of OpenSSL to 1.0.1l 2015-01-31 12:20:40 -08:00
Steve Dower 6b8997391b Issue #23212: Update Windows copy of OpenSSL to 1.0.1l 2015-01-31 12:19:10 -08:00
Steve Dower e5a6c4ecfc Fixes python3_d.dll build so that functions are forwarded to python35_d.dll 2015-01-31 11:17:07 -08:00
Steve Dower 2587952f2f Fixes sys.winver generation and removes dependency on user32.dll 2015-01-15 09:10:16 -08:00
Zachary Ware 7037cf7300 Closes #23154: Fix unnecessary recompilation of OpenSSL on Windows 2015-01-03 22:33:10 -06:00
Steve Dower 03a144bb6a #22980 Adds platform and version tags to .pyd files 2014-12-15 20:45:23 -08:00
Steve Dower 89fc3caedb Make bdist_wininst build only on demand 2014-12-15 17:19:27 -08:00
Zachary Ware fb8ca22ff1 Update Tcl/Tk to 8.6.3
- new file dialogs on Vista+
- tclWinTime.c was cleaned up a bit, and no
  longer uses 'timezone' (which is now _timezone
  in VS2015, so we get to avoid patching that
  file).
- rules.vc is patched in both Tcl and Tk sources
  to allow building with VS2015
2014-12-15 15:42:10 -06:00
Steve Dower c4c79a0e82 Allows nasm to be found on the system-wide path before using the version in externals. 2014-12-12 17:15:18 -08:00
Steve Dower f4f1080e2e Prevent warning MSB4057: The target "InitializeBuildStatus" does not exist in the project. 2014-12-12 13:45:25 -08:00
Steve Dower 10e65856a3 Removes use of ValueOrDefault function that is not always available on the buildbots. 2014-12-12 12:18:11 -08:00
Steve Dower 65e4cb10d9 Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release. 2014-11-22 12:54:57 -08:00
Steve Dower 8314690a26 Issue #22869: Add pylifecycle.c/.h files to pythoncore project. 2014-11-20 16:45:36 -08:00
Zachary Ware 740e1dcdc2 Issue #17896: Move Windows external lib sources from .. to externals. 2014-11-01 22:48:24 -05:00
Zachary Ware 4b2b1de0bd Issue #17896: Move Windows external lib sources from .. to externals. 2014-11-01 22:39:21 -05:00
Zachary Ware e470d092cb Issue #17717: Pull NASM from svn.python.org for OpenSSL build. 2014-11-01 18:42:46 -05:00
Zachary Ware aa3ea7ee78 Issue #17717: Pull NASM from svn.python.org for OpenSSL build. 2014-11-01 17:11:08 -05:00
Zachary Ware d838911bb9 Merge with 3.4 2014-10-25 23:05:21 -05:00
Zachary Ware 16e7f97bcb Update OpenSSL version in PCbuild\readme.txt 2014-10-25 23:05:06 -05:00
Zachary Ware b6f8fec80b Issue #22261: Add a note to PCbuild\readme.txt about MSBuild switches.
Specifically, that they can be passed at the end of a build.bat invocation.

Initial patch by Shorya Raj.
2014-10-25 22:57:05 -05:00
Zachary Ware 4dc7278546 Issue #22644: Update the Windows build to OpenSSL 1.0.1j 2014-10-17 16:31:57 -05:00
Zachary Ware baa6d3a01f Issue #22644: Update the Windows build to OpenSSL 1.0.1j 2014-10-17 16:26:30 -05:00
Zachary Ware 6f3bdc9484 Issue #21907: Partially revert changes to Windows buildbot scripts.
Trying to use run_tests.py for testing is more trouble than it's
worth; reverted to rt.bat.  Also cleaned up rt.bat a bit.

Trying to use hg purge to clean up after testing is also
error-prone, so we're back to using the build solution's Clean
targets.
2014-10-13 00:17:23 -05:00
Zachary Ware b40cf1f804 Issue #22160: Update OpenSSL to 1.0.1i for the Windows build. 2014-08-06 23:21:03 -05:00
Zachary Ware 22f2d2efb7 Issue #22160: Update OpenSSL to 1.0.1i for the Windows build. 2014-08-06 23:19:29 -05:00
Zachary Ware 2897d07623 Update prepare_ssl.py script to generate the .asm files. 2014-08-06 22:47:23 -05:00
Zachary Ware c6f8c0a1de Issue #21907: Avoid using double quotes to check argument values.
Double quotes in expanded variables can match literal double quotes,
which makes for a big mess when passing in a quoted argument (like
"/p:externalsDir=..\externals", for example).
2014-07-31 23:58:27 -05:00
Zachary Ware cb09dcacab Issue #21907: Further improvments to build_pgo.bat. Patch by Ingolf Becker. 2014-07-31 23:48:45 -05:00
Victor Stinner 115171086a Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets.
A side effect is that Python depends to the WinSock library.
2014-07-29 23:31:34 +02:00
Zachary Ware f7152db99f Issue #18093: Give the Windows build _testembed.c's new location. 2014-07-25 08:58:07 -05:00
Nick Coghlan 973fe0ba7a Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
Victor Stinner 1d8948e023 Backout 42ced0d023cd: oops, i didn't want to push this changeset :-/ 2014-07-24 22:51:05 +02:00
Victor Stinner d18ccd19f0 tets 2014-07-24 21:58:53 +02:00
Zachary Ware 269e83fd02 Issue #17846: Merge with 3.4 2014-07-07 14:35:02 -05:00
Zachary Ware ef03565567 Issue #17846: Clarify note about Solution Folders.
Initial patch by Kathleen Weaver.
2014-07-07 14:33:24 -05:00
Zachary Ware 345511a4a6 Merge with 3.4 2014-07-07 14:31:58 -05:00
Zachary Ware 2170b14374 Fix MSVC edition mismatch. 2014-07-07 14:31:34 -05:00
Zachary Ware e12fa65744 Issue #21907: Improved the batch scripts provided for building Python.
The user-facing scripts in PCbuild have been updated to be easier to use
and the buildbot scripts in Tools\buildbot have been updated to use the
user-facing scripts in PCbuild wherever possible.
2014-07-07 13:39:59 -05:00
Charles-François Natali 6315ffa339 Merge. 2014-06-20 22:41:21 +01:00
Zachary Ware a4d1e461a7 Merge with 3.4 2014-06-13 09:43:32 -05:00
Zachary Ware ee0e5104b8 Per Martin [1], PGO is no longer used for official releases.
[1] https://mail.python.org/pipermail/python-dev/2014-June/135018.html
2014-06-13 09:43:15 -05:00
Zachary Ware ff7cfb21d9 Issue #21745: Merge with 3.4 2014-06-13 09:39:24 -05:00
Zachary Ware 4856a6ae7d Issue #21745: Mention VS2010 SP1 as a solution for LNK1123 errors 2014-06-13 09:38:50 -05:00
Zachary Ware 3266a8fa59 Issue #21671: Merge with 3.4 2014-06-06 01:27:34 -05:00
Zachary Ware 7d55da42a4 Issue #21671, CVE-2014-0224: Update the Windows build to openssl-1.0.1h 2014-06-06 01:23:53 -05:00
Zachary Ware ba9d233d83 Issue #21665: Don't use 'OPTS=noxp' when compiling Tk.
That option had been for Win2k compatibility (which was dropped with
Python 3.3) and makes default ttk ugly on post-Win2k systems.
2014-06-05 11:53:44 -05:00
Zachary Ware 90441e857d Issue #21623: open pyproject.props with an explicit encoding 2014-06-02 12:09:13 -05:00
Tim Golden 4b8dd71d0a Issue21452 Add missing backslash to build path for make_buildinfo 2014-05-09 18:19:31 +01:00
Tim Golden 877013fe14 Merge 2014-05-09 18:19:13 +01:00
Tim Golden 55c2364561 Issue21452 Add missing backslash to build path for make_buildinfo 2014-05-09 18:18:11 +01:00
Tim Golden faf4d9ca8b Issue10752 Be more robust when finding a PERL interpreter to build OpenSSL. Initial patch by Gabi Davar 2014-05-09 18:01:44 +01:00
Tim Golden 9c18fcf161 Issue10752 Be more robust when finding a PERL interpreter to build OpenSSL. Initial patch by Gabi Davar 2014-05-09 18:01:19 +01:00
Zachary Ware 10c2dba8b2 Issue #21141: The Windows build process no longer attempts to find Perl,
instead relying on OpenSSL source being configured and ready to build.  The
``PCbuild\build_ssl.py`` script has been re-written and re-named to
``PCbuild\prepare_ssl.py``, and takes care of configuring OpenSSL source
for both 32 and 64 bit platforms.  OpenSSL sources obtained from
svn.python.org will always be pre-configured and ready to build.
2014-05-09 09:07:50 -05:00
Martin v. Löwis b9e71d4a55 Merge with 3.4 2014-05-01 15:18:43 +02:00
Martin v. Löwis 3d5c9e2c67 Update to 1.0.1g 2014-05-01 14:28:48 +02:00
Zachary Ware 45bc17b6b4 Issue #19962: The Windows build process now creates "python.bat"
in the root of the source tree, which passes all arguments through
to the most recently built interpreter.
2014-04-30 15:47:53 -05:00
Zachary Ware 404b5dac85 "Escape" a character in the middle of "warning"
This should stop Buildbot from falsely reporting a warning on Windows bots.
2014-04-23 12:09:54 -05:00
Zachary Ware 1626993f38 "Escape" a character in the middle of "warning"
This should stop Buildbot from falsely reporting a warning on Windows bots.
2014-04-23 12:09:54 -05:00
Zachary Ware 4b87dc6e83 Add tcltk.props to "Visual Studio properties" section of PCbuild/readme.txt. 2014-03-28 23:36:43 -05:00
Zachary Ware 808676b432 Merge with 3.4 2014-03-28 23:31:53 -05:00
Zachary Ware e08f376ed2 Fix another old mention of "Standard Edition" VS in PCbuild/readme.txt.
Also removes a mention of using "Express Edition with the Windows SDK
64-bit compilers" to build 64-bit Python.  If that can be made to work,
it will need some extra instructions somewhere.
2014-03-28 23:31:04 -05:00
Zachary Ware 92497a42b7 Issue #21017: Enable Tix debug build on Windows 2014-03-22 10:37:06 -05:00
Zachary Ware 4bcf5a52ae Issue #15968: Temporarily revert change to PCbuild/rt.bat
to prevent buildbot failures on test_idle.  This change
should go back in once #20035 is fixed.
2014-03-22 00:36:25 -05:00
Zachary Ware a191b91a43 Issue #15968: Incorporated Tcl, Tk, and Tix builds into the Windows build
solution.

Currently, Tix is not built in Debug configuration.

This change also:
- simplifies some Tcl/Tk-related msbuild properties for _tkinter
- copies the Tcl and Tk DLLs into the build output directory, meaning
  they will always be available after a build without having to copy
  them manually or change PATH
- removes PCbuild/build_tkinter.py: the solution does the build without
  needing to invoke Python (so Tcl/Tk/Tix can be built in parallel with
  the rest of the build using the `/m` msbuild command line switch)
- removes an outdated README concerning building Tcl/Tk on AMD64
2014-03-21 22:58:19 -05:00
Zachary Ware 26e417b182 Merge with 3.4 2014-03-19 14:47:49 -05:00
Zachary Ware 5f3e3c3429 Use the correct VS edition names in PCbuild/readme.txt 2014-03-19 14:46:25 -05:00
Zachary Ware 4278b2d782 Merge xxlimited compile warning fix from 3.4 2014-03-18 23:09:00 -05:00
Zachary Ware 232b017607 Avoid compile warning in xxlimited on 32-bit Windows non-Debug builds. 2014-03-18 23:05:01 -05:00
Zachary Ware 0e5e4a4085 Merge PCbuild/pcbuild.sln cleanup from 3.4 2014-03-18 22:40:23 -05:00
Zachary Ware 270e7377ce Clean up PCbuild/pcbuild.sln a bit:
- Remove configuration settings from removed _sha3.vcxproj
- Don't try to build configurations of _testembed that don't exist
  (namely, PGInstrument and PGUpdate)
2014-03-18 22:34:52 -05:00
Zachary Ware 6373ba5199 Bump Windows build to 3.5 2014-03-17 15:57:38 -05:00
Zachary Ware 5ccca9516a Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel.  In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.

Merge with 3.3.
2014-03-06 13:28:08 -06:00
Zachary Ware 54d04a46f3 Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel.  In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.
2014-03-06 13:21:45 -06:00
Martin v. Löwis 09257f7ced Issue #20465: Update Windows installer to SQLite 3.8.3.1. 2014-03-02 19:42:50 +01:00
Zachary Ware b59e4425d5 Issue #20609: Merge with 3.3. 2014-02-18 11:35:15 -06:00
Zachary Ware 9e5a9876ad Issue #20609: Fix building 64-bit binaries on 32-bit Windows. 2014-02-18 11:33:18 -06:00
Martin v. Löwis 5aaf8476fd Drop reference to pythoncore, to avoid linking python34.dll 2014-01-04 11:25:35 +01:00
Martin v. Löwis 7341b524af Revert accidental deletion of _overlapped. 2014-01-03 15:53:20 +01:00
Martin v. Löwis 24e43308b7 * Issue #16113: Remove sha3 module again.
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
Zachary Ware f06247d16a Properly filter some recent additions in the Windows build files. 2013-12-11 17:21:13 -06:00
Zachary Ware bdbffd0342 Filter namespaceobject's files properly in the pythoncore VS project. 2013-12-11 17:12:34 -06:00
Zachary Ware 14fff88773 Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project.  This should prevent build errors due a previous
build's python(_d).exe still running.
2013-11-26 16:34:45 -06:00
Zachary Ware bb65b5bf1d Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project.  This should prevent build errors due a previous
build's python(_d).exe still running.
2013-11-26 16:32:59 -06:00
Christian Heimes 71135ac72d Add _opcode to Windows build env 2013-11-24 01:11:57 +01:00
Martin v. Löwis 8d0d369067 Update Tcl/Tk to 8.6.1. 2013-11-23 23:05:27 +01:00
Victor Stinner ed3b0bca3e Issue #18874: Implement the PEP 454 (tracemalloc) 2013-11-23 12:27:24 +01:00
Martin v. Löwis baacf4d293 Update xz to 5.0.5. 2013-11-22 19:13:51 +01:00
Martin v. Löwis bc2f0ba6b8 Update SQLite to 3.8.1 on Windows. 2013-11-22 18:36:28 +01:00
Christian Heimes f3bf35eee4 Issue #16632: Enable DEP and ASLR on Windows. 2013-11-20 17:43:23 +01:00
Christian Heimes 985ecdcfc2 ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.
Python now uses SipHash24 on all major platforms.
2013-11-20 11:46:18 +01:00
Christian Heimes 888dcc32cd Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake.exe correctly. 2013-11-20 00:50:38 +01:00
Christian Heimes 2658dd7cab Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake.exe correctly. 2013-11-20 00:41:29 +01:00
Zachary Ware e0881f464c #19439: Update PCbuild/readme.txt with new sub-project 2013-11-05 21:55:46 -06:00
Nick Coghlan 4e641df09b Close #19439: execute embedding tests on Windows
Patch by Zachary Ware
2013-11-03 16:54:46 +10:00
Tim Golden 79f5e1f59a Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware. 2013-11-01 13:12:17 +00:00
Zachary Ware 200bcbc348 Issue #19391: Clean up PCbuild/readme.txt 2013-11-03 21:48:54 -06:00
Tim Golden 0bdcdecca7 Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware. 2013-11-03 11:58:02 +00:00
Tim Golden f2f48c5620 Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth. 2013-10-29 21:02:25 +00:00
Tim Golden bb4b0aa51b Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth. 2013-10-27 20:04:12 +00:00
Serhiy Storchaka 8444ebbd72 Issue #18685: Extract template part of _sre.c into separated sre_lib.h file. 2013-10-26 11:18:42 +03:00
Tim Golden 7d0523621c Closes issue #19273: clean up the pcbuild readme.txt (Patch by Zachary Ware) 2013-10-25 08:58:16 +01:00
Richard Oudkerk 48df60c847 Update more configurations in pcbuild.sln. 2013-10-18 17:04:31 +01:00
Richard Oudkerk 44455e8dba Update pcbuild.sln to build _overlapped. 2013-10-18 16:23:01 +01:00
Guido van Rossum 27b7c7ebf1 Initial checkin of asyncio package (== Tulip, == PEP 3156). 2013-10-17 13:40:50 -07:00
Christian Heimes cf892ace48 Issue #19130: mention historic VS 2008 build dir, too 2013-09-29 19:10:18 +02:00
Christian Heimes 5176337bf5 Issue #19130: mention historic VS 2008 build dir, too 2013-09-29 19:10:07 +02:00
Christian Heimes cb1915a17c Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010 2013-09-29 19:05:23 +02:00
Christian Heimes 9c99cc092e Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010 2013-09-29 19:02:35 +02:00
Ezio Melotti d640fe2af5 #18803: merge with 3.3. 2013-08-26 01:33:30 +03:00
Ezio Melotti 7c4a7e6f3c #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:32:56 +03:00
Ezio Melotti a7e7497d88 #18466: merge with 3.3. 2013-08-17 16:58:13 +03:00
Ezio Melotti 85a8629d21 #18466: fix more typos. Patch by Févry Thibault. 2013-08-17 16:57:41 +03:00
Serhiy Storchaka 8fa8ee3970 Issue #18701: Remove support of old CPython versions (<3.0) from C code. 2013-08-17 00:48:02 +03:00
Victor Stinner 24e33acf8c Issue #17206: On Windows, increase the stack size from 2 MB to 4.2 MB to fix
a stack overflow in the marshal module (fix a crash in test_marshal).
Patch written by Jeremy Kloth.
2013-07-07 02:49:07 +02:00
Christian Heimes 59b2401070 Add _stat module to VS project file -- this time with the GUI instead of manually. 2013-06-23 15:50:45 +02:00
Christian Heimes c77d9f38c2 Issue #11016: Add C implementation of the stat module as _stat 2013-06-22 21:05:02 +02:00
Christian Heimes 09ec23f120 Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 on Windows 2013-06-14 15:48:16 +02:00
Christian Heimes c81549f476 Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 on Windows 2013-06-14 15:40:28 +02:00
Christian Heimes 46bebee25f Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store. 2013-06-09 19:03:31 +02:00
Georg Brandl 3bfc5f5d83 merge with 3.3 2013-05-12 19:57:26 +02:00
Georg Brandl 84fc4ba67e Closes #17962: Build with OpenSSL 1.0.1e on Windows. 2013-05-12 19:50:34 +02:00
Antoine Pitrou a85017fbe3 Issue #16694: Add a pure Python implementation of the operator module.
Patch by Zachary Ware.
2013-04-20 19:21:44 +02:00
Serhiy Storchaka e2cef885a2 Issue #16061: Speed up str.replace() for replacing 1-character strings. 2013-04-13 22:45:04 +03:00
Martin v. Löwis 5fe5b4ead3 #17425: merge 3.3 2013-03-24 22:53:04 +01:00
Martin v. Löwis cc0b927b74 Issue #17425: Build with openssl 1.0.1d on Windows. 2013-03-24 22:45:50 +01:00
Martin v. Löwis 3f50bf652b Drop support for Windows 2000; allow any XP API (but not Vista+).
Drop SDK version configuration for Tk compilation, to not bind it to W2k
anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k.
2013-01-25 14:06:18 +01:00
Brian Curtin 445ad997ab Fix #14470. Remove w9xpopen per PEP 11.
As stated in PEP 11, 3.4 removes code on Windows platforms where
COMSPEC points to command.com. The w9xpopen project in Visual Studio
was added to support that case, and there was a special case in subprocess
to cover that situation. This change removes the w9xpopen project from
the Visual Studio solution and removes any references to the w9xpopen
executable.
2012-12-23 16:53:21 -06:00
Andrew Svetlov 6b2cbeba58 Issue #16421: allow to load multiple modules from the same shared object.
Patch by Václav Šmilauer.
2012-12-14 17:04:59 +02:00
Kristjan Valur Jonsson a2897e4bd7 Merge with 3.3: Issue #16295: Link "select" with ws2_32, the winsock2 lib. 2012-10-22 12:58:34 +00:00
Kristjan Valur Jonsson abb0febd0a Issue #16295: Link "select" with ws2_32.lib, the winsock2 stub library. 2012-10-22 12:56:47 +00:00
Christian Heimes 58f11831fe correct build configuration of sha3 project for debug builds 2012-10-07 18:20:07 +02:00
Christian Heimes a4018a2afe _sha3 was missing debug build targets. I used xxlimited.vcxproj as template. The project is now a copy of _multiprocessing.vcxproj with new GUID and without BaseAddress and ws2_32.lib 2012-10-07 18:09:39 +02:00
Christian Heimes 7f9dbaf1f8 fixed _sha3 VS project file 2012-10-06 03:40:10 +02:00
Christian Heimes 1b747d4f28 Issue #16133: add Windows project file for _sha3 module. I choose to build _sha3 as a sparat module as it's rather large (190k for AMD64). 2012-10-06 03:16:12 +02:00
Georg Brandl 08a9012352 Bump version to 3.4.0 alpha 0. 2012-09-29 09:34:13 +02:00
Martin v. Löwis 4784e0267e Output lib files for PGO build into PGO directory. 2012-08-24 16:12:28 +02:00
Martin v. Löwis bddf7244f0 Drop PC\python_nt.h as it's not used.
Add input dependency on custom build step.
2012-08-24 15:47:53 +02:00
Martin v. Löwis b4b92becf1 Issue #15511: Drop explicit dependency on pythonxy.lib from amd64 configuration. 2012-08-24 15:21:24 +02:00
Martin v. Löwis 3234cc808c Add missing PGI/PGO configurations for pywlauncher. 2012-08-24 15:06:50 +02:00
Martin v. Löwis d49b323270 Issue #8847: Disable COMDAT folding in Windows PGO builds.
Patch by Stefan Krah.
2012-08-01 11:06:53 +02:00
Martin v. Löwis dbf616d9c3 Issue #15431: Drop _freeze_importlib from all build configurations,
to prevent constant regeneration of importlib.h.
2012-07-28 21:59:05 +02:00
Martin v. Löwis 96d97ec9c0 Issue #15431: Add _freeze_importlib project to regenerate importlib.h on Windows.
Patch by Kristján Valur Jónsson.
2012-07-28 20:46:52 +02:00
Martin v. Löwis 8ca5a840b3 Create PGInstrument/PGUpdate configurations for py.exe and pyw.exe 2012-06-26 09:18:14 +02:00
Stefan Krah 318c56c001 Issue #15102: Fix paths of python executables. 2012-06-24 19:04:35 +02:00
Martin v. Löwis f52f527c76 Issue #15102: find python.exe in OutDir, not SolutionDir. 2012-06-24 00:22:28 +02:00
Martin v. Löwis d5ecd49af9 Issue #15102: Use HOST_PYTHON only if it is set. 2012-06-23 21:07:39 +02:00
Martin v. Löwis 7c771ca413 Issue #15143: Define _DEBUG when compiling resources. 2012-06-22 22:16:42 +02:00
Brian Curtin 6b2cf01744 Remove associator project - it's not needed 2012-06-21 16:35:12 -05:00
Martin v. Löwis 8559b3cecf Build and bundle the 32-bit launcher in all configurations. 2012-06-21 18:24:32 +02:00
Martin v. Löwis 56bf6f8202 Add version resource. 2012-06-21 16:27:58 +02:00
Brian Curtin 9698bde3c2 Add associator 2012-06-20 22:48:54 -05:00
Brian Curtin 4bca286160 Add pywlauncher project 2012-06-20 16:11:39 -05:00
Brian Curtin 22bf8cbb5f Add the pyw launcher 2012-06-20 16:11:08 -05:00
Brian Curtin d029e5dc8c Get 64-bit building 2012-06-20 15:55:04 -05:00
Brian Curtin a7de612a48 Support 32-bit release building: 2012-06-20 15:45:12 -05:00
Brian Curtin 765dd11596 Initial changes to get the py launcher building 2012-06-20 15:37:24 -05:00
Kristján Valur Jónsson e75ff35af2 Issue #15038: Optimize python Locks on Windows
Extract cross-platform condition variable support into a separate file and
provide user-mode non-recursive locks for Windows.
2012-06-18 20:30:44 +00:00
Richard Oudkerk 9650d36498 Add namespaceobject.h and namespaceobject.c to pythoncore.vcxproj 2012-06-04 18:24:44 +01:00
Martin v. Löwis c11eba87d1 Update to Tcl/Tk 8.5.11. 2012-05-31 21:53:36 +02:00
Kristjan Valur Jonsson d2456556b2 Issue #14952: Fix incorrect output dll names for win64/debug builds, causing
the dll importer on windows to fail.
2012-05-31 15:09:21 +00:00
Brian Curtin 5c2725d750 Update build.bat for VS2010 2012-05-22 11:04:32 -05:00
Kristján Valur Jónsson a1df1cc767 Issue 14821:
If a dependency is expressed both in the .sln file and the .vcxproj file
msbuild is confused.  Removing the .sln dependencies which are
deprecated anyway.  See:
http://blogs.msdn.com/b/visualstudio/archive/2010/12/21/incorrect-solution-build-ordering-when-using-msbuild-exe.aspx
2012-05-20 11:25:48 +00:00
Kristján Valur Jónsson 77a1cf1622 Remove missing files from the PCbuild pythoncore project. This avoids a
"missing dependency", causing pythocore to be rebuilt every time.
2012-05-19 21:25:41 +00:00
Kristján Valur Jónsson c45ea9ebc7 Clean up the PCBuild project files, removing redundant settings and
use "references" to link to dependent projects.
Update readme and batch files.
2012-05-19 21:10:14 +00:00
Martin v. Löwis e01eb4cc80 Upgrade OpenSSL to 1.0.1c 2012-05-18 16:29:33 +02:00
Martin v. Löwis dcd1c0c627 Assume nasm. 2012-05-18 16:25:04 +02:00
Martin v. Löwis 3f90311bfe merge 3.2 2012-05-18 15:34:22 +02:00
Martin v. Löwis b15d1a7981 Drop double quoting again. I'm at a loss when to quote and when not. 2012-05-18 15:28:43 +02:00
Martin v. Löwis 3407dfbaf9 Upgrade OpenSSL to 1.0.0j 2012-05-18 15:28:01 +02:00
Martin v. Löwis 0857e4e81b merge heads 2012-05-18 14:23:13 +02:00
Martin v. Löwis d18c397ed6 Port to VS 2010. 2012-05-18 14:20:04 +02:00
Martin v. Löwis 207c4b686c Merge 3.2 build_ssl changes. 2012-05-18 14:18:26 +02:00
Martin v. Löwis e9dfb0f822 Add another set of quotes to make cmd.exe happy. 2012-05-18 14:17:43 +02:00
Martin v. Löwis 71f3f92262 Fetch openssl directory from pyproject.vsprops. 2012-05-18 14:16:53 +02:00
Martin v. Löwis c0181eb449 Stop including gzio in the build; it's not used. 2012-05-15 20:04:25 +02:00
Martin v. Löwis 4043d3dee2 Don't build xxlimited in debug mode. 2012-05-14 18:23:44 +02:00
Martin v. Löwis 29e861d155 Upgrade sqlite to 3.7.12. 2012-05-14 16:51:35 +02:00
Martin v. Löwis 87960da3e3 Upgrade bzip2 to 1.0.6. 2012-05-14 14:13:48 +02:00
Martin v. Löwis b43233412d Relabel bzip2 filters. 2012-05-14 14:12:00 +02:00
Martin v. Löwis ecc5877f5a Upgrade bzip2 to 1.0.6. 2012-05-14 13:52:03 +02:00
Martin v. Löwis e8af53d018 Fix release build settings. 2012-05-14 12:22:08 +02:00
Brian Curtin 40e41bb77c changeset: 76969:0cbe1099226d
branch: vs2010
tag: tip
user: Brian Curtin <brian@python.org>
date: Sun May 13 16:15:11 2012 -0500
summary: Changes to allow Profile Guided Optimization builds to succeed on VS2010
2012-05-13 16:16:09 -05:00
Brian Curtin 61009468c5 Move out VS9 project files to PC\VS9.0 folder. Fixes #13210 2012-05-13 12:40:15 -05:00
Brian Curtin 401f9f3d32 Fix #13210. Port the Windows build from VS2008 to VS2010. 2012-05-13 11:19:23 -05:00
Antoine Pitrou 3ad58f261d Kill remaining mentions of import_nt.c 2012-05-04 22:15:57 +02:00
Vinay Sajip 5182c18b1a Closes #14093: Added Mercurial version information to Windows builds. 2012-05-04 20:51:59 +01:00
Antoine Pitrou 23bba4ca39 Issue #11750: The Windows API functions scattered in the _subprocess and
_multiprocessing.win32 modules now live in a single module "_winapi".
Patch by sbt.
2012-04-18 20:51:15 +02:00
Kristján Valur Jónsson c014df7edf Merge with 3.2: use ws2_32.lib rather than wsock32.lib on windows. 2012-04-15 11:14:46 +00:00
Kristján Valur Jónsson 473fde60dc Make all socket related modules link with ws2_32.lib on windows, like
_socket does.  Some were using the older wsock32.lib.
2012-04-15 11:12:57 +00:00
Martin v. Löwis ffc3e1ab40 Add MASM define to PGI and PGO builds 2012-04-01 19:54:33 +02:00
Stefan Krah 1919b7e72b Issue #7652: Integrate the decimal floating point libmpdec library to speed
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
2012-03-21 18:25:23 +01:00
krisvale 8bfccd852e Remove non-existing file from pythoncore project. 2012-03-21 11:37:09 +00:00
Victor Stinner 87adda502a Issue #14180: Fix pythoncore.vcproj, Modules/_time.[ch] have been removed 2012-03-13 17:42:18 +01:00
Martin v. Löwis ed7b51f20c Enable PGI/PGO builds for x64 python3.dll 2012-03-04 20:15:39 +01:00
Stefan Krah 9a2d99e28a - Issue #10181: New memoryview implementation fixes multiple ownership
and lifetime issues of dynamically allocated Py_buffer members (#9990)
  as well as crashes (#8305, #7433). Many new features have been added
  (See whatsnew/3.3), and the documentation has been updated extensively.
  The ndarray test object from _testbuffer.c implements all aspects of
  PEP-3118, so further development towards the complete implementation
  of the PEP can proceed in a test-driven manner.

  Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
  and many ideas.

- Issue #12834: Fix incorrect results of memoryview.tobytes() for
  non-contiguous arrays.

- Issue #5231: Introduce memoryview.cast() method that allows changing
  format and shape without making a copy of the underlying memory.
2012-02-25 12:24:21 +01:00
Georg Brandl 2fb477c0f0 Merge 3.2: Issue #13703 plus some related test suite fixes. 2012-02-21 00:33:36 +01:00
Georg Brandl 09a7c72cad Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
Georg Brandl 2daf6ae249 Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 19:54:16 +01:00
Nadeem Vawda 3ff069ebc6 Issue #6715: Add module for compression using the LZMA algorithm. 2011-11-30 00:25:06 +02:00
Antoine Pitrou c61c8d7a5e Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists.
This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
2011-10-06 19:04:12 +02:00
Antoine Pitrou eeb7eea1f9 Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists.
This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
2011-10-06 18:57:27 +02:00
Victor Stinner dfb866d127 Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
Move other various macros to pymcacro.h

Thanks Rusty Russell for having written these amazing C macros!
2011-09-29 01:12:24 +02:00
Antoine Pitrou 87cf220972 Issue #11743: Rewrite multiprocessing connection classes in pure Python. 2011-05-09 17:04:27 +02:00
Antoine Pitrou 37dc5f85b8 Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept
file-like objects using a new `fileobj` constructor argument.  Patch by
Nadeem Vawda.
2011-04-03 17:05:46 +02:00
Victor Stinner 024e37adcc Issue #11393: Add the new faulthandler module 2011-03-31 01:31:06 +02:00
Martin v. Löwis c142389218 Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 12:24:49 +01:00
Martin v. Löwis bb3e937a18 Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 12:23:39 +01:00
Martin v. Löwis 21967d0b4d Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 11:28:23 +01:00
Georg Brandl 49857f8a93 Add updated .hgeol file and fix newlines in the 3.2 branch. 2011-03-05 15:11:35 +01:00
Georg Brandl fa2c61a222 More automated version replacement. 2011-02-20 10:41:31 +00:00
Martin v. Löwis 0e74cacdff Upgrade to sqlite3 3.7.4. 2010-12-17 21:04:09 +00:00
Martin v. Löwis 910a4edbcd Upgrade Tcl/Tk to 8.5.9. 2010-12-17 20:43:27 +00:00
Kristján Valur Jónsson 8d28a92eda issue 10683
When the solution is converted to Visual Studio 2010, the command line to invoke make_buildinfo changes from:
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)\"
to
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)"
If the final backslash is omitted, the backslash in IntDir will escape the quote, thus passing the quote in as part of the path name.

This solution is a hack-fix to that problem by skipping any trailing quote from the path name.  It works as long as we don't need any additional arguments to make_buildinfo.exe.  This will help all those sould that are going to run this project through the visual studio autoconverter and get the same error.
2010-12-13 03:32:10 +00:00
Hirokazu Yamamoto ba466cd208 Merged revisions 85071-85072,85894,87132 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85071 | hirokazu.yamamoto | 2010-09-29 03:29:57 +0900 (水, 29 9 2010) | 1 line

  Now perl path with spaces can be used.
........
  r85072 | hirokazu.yamamoto | 2010-09-29 03:36:04 +0900 (水, 29 9 2010) | 1 line

  Updated PC/VC6 openssl build script. (for openssl-1.0.0a)
........
  r85894 | hirokazu.yamamoto | 2010-10-29 02:57:25 +0900 (金, 29 10 2010) | 1 line

  Updated readme.txt about OpenSSL.
........
  r87132 | hirokazu.yamamoto | 2010-12-08 23:47:07 +0900 (水, 08 12 2010) | 3 lines

  Mention NASM which is needed to build openssl-1.0.0a original source.
  (PC/VC6/readme.txt)
........
2010-12-09 09:25:38 +00:00
Martin v. Löwis d53ee5dd12 Automate build for python3.dll.
Package missing files.
2010-12-05 23:07:58 +00:00
Hirokazu Yamamoto 7f4bc00d9f I hope this will fix Win2008(x64) buildbot error. 2010-12-04 12:20:57 +00:00
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 2010-12-03 20:14:31 +00:00
Kristján Valur Jónsson 60fafa276c issue 10501
make_buildinfo regression with unquoted path
Make_buildinfo.exe should be called with a quoted path, and should quote the full paths to its temp files, to support spaces in filenames.
2010-11-22 11:37:06 +00:00
Hirokazu Yamamoto de5919dca7 Can build older OpenSSL in http://svn.python.org/projects/externals/
without Perl again.
2010-11-04 14:11:32 +00:00
Kristján Valur Jónsson 33d144aa36 issue 9981
let make_buildinfo use a temporary directory on windows
2010-11-03 13:57:00 +00:00
Hirokazu Yamamoto 7c3d709377 Updated readme.txt about OpenSSL. 2010-10-28 17:57:25 +00:00
Amaury Forgeot d'Arc c913989370 On Windows, remove compilation warnings with the zlib and gzip modules. 2010-10-17 08:26:13 +00:00
Hirokazu Yamamoto beae8efb1b Merged revisions 84763,85135 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84763 | hirokazu.yamamoto | 2010-09-13 15:21:54 +0900 | 1 line

  Cosmetic fix to project files.
........
  r85135 | hirokazu.yamamoto | 2010-10-01 19:40:49 +0900 | 1 line

  Cosmetic fix for PCBuild/readme.txt.
........
2010-10-08 09:32:13 +00:00
Victor Stinner 4e31443c4d Create fileutils.c/.h
* _Py_fopen() and _Py_stat() come from Python/import.c
 * (_Py)_wrealpath() comes from Python/sysmodule.c
 * _Py_char2wchar(), _Py_wchar2char() and _Py_wfopen() come from Modules/main.c
 * (_Py)_wstat(), (_Py)_wgetcwd(), _Py_wreadlink() come from Modules/getpath.c
2010-10-07 21:45:39 +00:00