Commit Graph

665 Commits

Author SHA1 Message Date
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