Commit Graph

687 Commits

Author SHA1 Message Date
Mark Dickinson 9cae178f21 Issue #3366: Add expm1 function to math module. Thanks Eric Smith for
testing on Windows.
2009-12-16 20:13:40 +00:00
Mark Dickinson 117a899e4d Add dtoa.c and dtoa.h to the relevant project files. 2009-11-30 21:51:30 +00:00
Raymond Hettinger 2ef9e8ce00 Update project file for new file: dtoa.c 2009-11-30 21:14:25 +00:00
Eric Smith 8c3fb39440 Removed unused function PyFloat_AsStringEx. It is unused in floatobject.c, and it's not declared in any .h file. 2009-10-24 19:50:44 +00:00
Mark Dickinson 1d6e2e1833 Issue #7117 (backport py3k float repr) continued:
- add double endianness detection to configure script
 - add configure-time check to see whether we can use inline
   assembly to get and set x87 control word in configure script
 - add functions to get and set x87 control word in Python/pymath.c
 - add pyport.h logic to determine whether it's safe to use the
   short float repr or not
2009-10-24 13:28:38 +00:00
Amaury Forgeot d'Arc f31fd0179e Set svn:eol-style=CRLF on all Visual Studio solution files.
This should allow direct compilation from a downloaded source tar ball.
2009-07-13 19:14:17 +00:00
Hirokazu Yamamoto a3c5609079 Issue #4856: Remove checks for win NT. 2009-06-28 10:23:00 +00:00
Hirokazu Yamamoto e69041db56 Updated MSVC files to follow r73394. 2009-06-14 03:05:54 +00:00
Amaury Forgeot d'Arc 901f200c81 #6201: Fix test_winreg on Windows:
since the introduction of the SETUP_WITH opcode,
__enter__ and __exit__ methods must belong to the type,
and are not retrieved at the instance level (__dict__ or __getattr__).

Add a note in whatsnew about this incompatibility;
old style classes are not affected.
2009-06-09 23:08:13 +00:00
Hirokazu Yamamoto b24bb27d22 Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more. 2009-05-17 02:52:09 +00:00
Eric Smith cac7af6863 Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. 2009-04-27 19:04:37 +00:00
Hirokazu Yamamoto 957320a08a Fixed compile error on windows. 2009-04-03 03:54:08 +00:00
Mark Dickinson efc82f7e8e Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
2009-03-20 15:51:55 +00:00
Hirokazu Yamamoto eb15863a97 Updated openssl support on VC6. (openssl-0.9.6g is old, cannot compile with _ssl.c)
If you use http://svn.python.org/projects/external/openssl-0.9.8g, Perl is not needed.
This scheme was ported from PCBuild.
2009-03-18 10:17:26 +00:00
Hirokazu Yamamoto eacbbdfb73 Issue #5179: Fixed subprocess handle leak on failure on windows. 2009-03-03 22:18:14 +00:00
Mark Dickinson 3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Hirokazu Yamamoto e71fc87112 Fixed svn:eol-style. 2009-02-10 13:31:28 +00:00
Martin v. Löwis fee1c7f4c9 Issue #4494: Fix build with Py_NO_ENABLE_SHARED on Windows. 2009-02-02 14:23:16 +00:00
Mark Hammond 6ed1cb0014 Fix issue5075: bdist_wininst should not depend on the vc runtime? 2009-01-29 12:13:31 +00:00
Mark Hammond 9f4f56d4e8 On Windows, use the Python 'Activation Context' when loading extensions
to avoid problems loading the CRT from a private assembly.  Via bug 4566.
2009-01-27 23:12:23 +00:00
Amaury Forgeot d'Arc a18392a324 #4807: Remove a wrong usage of wsprintf in the winreg module
("windows sprintf", different than swprintf)

Needed for the windows CE port.
2009-01-13 23:19:08 +00:00
Martin v. Löwis eefda27e97 Issue #4895: Use _strdup on Windows CE. 2009-01-11 09:43:55 +00:00
Hirokazu Yamamoto 14aa4599ed Fixed version number in build_ssl.bat. 2009-01-11 03:28:13 +00:00
Hirokazu Yamamoto dbf558888e Added helper script to build Tcl/Tk. 2009-01-10 09:18:16 +00:00
Hirokazu Yamamoto 420ab8a84f Link to debug version of Tcl/Tk when python is built as debug version. 2009-01-10 08:12:09 +00:00
Hirokazu Yamamoto e0f8b3d528 Bump up Tcl/Tk version on VC6. (tcl8.4.12 -> tcl8.5.2, tk8.4.12 -> tk8.5.2, tix8.4.0 -> tix8.4.3) 2009-01-10 08:09:43 +00:00
Hirokazu Yamamoto 343b970da9 Bump up bsddb version on VC6. (db-4.4.20 -> db-4.7.25) 2009-01-09 04:10:40 +00:00
Hirokazu Yamamoto eaec6b6d19 Bump up bzip2 version on VC6. (bzip2-1.0.3 -> bzip2-1.0.5) 2009-01-09 03:32:46 +00:00
Mark Dickinson d181e3a246 isinf and isnan are macros, not functions; fix configure script
to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these.
(See discussion in issue #4506)
2009-01-04 13:57:26 +00:00
Martin v. Löwis 0fa10b3cd5 Issue #4817: Remove unused function PyOS_GetLastModificationTime. 2009-01-03 17:19:26 +00:00
Christian Heimes ed2f423775 Bumped up 2.6 to 2.7 2008-12-04 14:34:40 +00:00
Martin v. Löwis bcb017f353 Issue #4365: Add crtassem.h constants to the msvcrt module. 2008-11-30 19:28:27 +00:00
Amaury Forgeot d'Arc 98adb5ca65 yuvconvert.c is a part of the "sv" module, an old IRIX thing
and certainly not useful for any Windows build.
2008-11-22 19:39:38 +00:00
Hirokazu Yamamoto ea00ed30df Follows to python's version change (VC6) 2008-10-03 16:07:28 +00:00
Martin v. Löwis c2dfd8c081 Update version number to 2.7. 2008-10-03 10:59:55 +00:00
Andrew MacIntyre 41c56b5ea1 build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config files
Part of source_os2emx.patch in issue 3868:
  Include/pystrcmp.h:  OS/2 has same C APIs as Windows
  Lib/test/test_io.py: OS/2 has same behaviour as Windows for this test

Reviewed by Amaury Forgeot d'Arc
2008-09-22 14:23:45 +00:00
Amaury Forgeot d'Arc 042025f6b8 Attempt to correct the build files for the Microsoft VS7.1 compiler.
I don't have a working VS7.1, but VS2005 can automatically convert
the project and build a working python interpreter.
2008-09-02 21:50:47 +00:00
Amaury Forgeot d'Arc 2e9b6cb6ec Use vs9to8.py to refresh the Visual Studio 2005 build files. 2008-09-02 21:17:05 +00:00
Hirokazu Yamamoto 9f4e7fee62 Added _multiprocessing module support. (VC6) 2008-08-14 11:26:34 +00:00
Hirokazu Yamamoto eea8eda317 Issue #2065: VC6 related fix.
- PC/VC6/_bsddb.dsp:
    removed '/nodefaultlib:"msvcrt"' to fix linker error.

- PC/VC6/_msi.dsp, PC/VC6/pcbuild.dsw:
    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:33:44 +00:00
Gregory P. Smith b90f4e8730 fix issue3120 - don't truncate handles on 64-bit Windows.
This is still messy, realistically PC/_subprocess.c should never cast pointers
to python numbers and back at all.

I don't have a 64-bit windows build environment because microsoft apparently
thinks that should cost money.  Time to watch the buildbots.  It builds and
passes tests on 32-bit windows.
2008-07-20 00:22:08 +00:00
Martin v. Löwis 06510b2213 Run svneol.py on all sources. 2008-06-13 22:38:33 +00:00
Amaury Forgeot d'Arc 6733ef5273 Add a missing file for VS2005 2008-06-13 21:54:30 +00:00
Amaury Forgeot d'Arc a4dd2e20e2 Restore support for Microsoft VC6 compiler.
Some functions in the msvcrt module are skipped,
and socket.ioctl is enabled only when using a more recent Platform SDK.

(and yes, there are still companies that use a 10-years old compiler)
2008-06-13 00:42:22 +00:00
Amaury Forgeot d'Arc 6fd3321d6c Update VS8.0 build files, using the script vs9to8.py.
Also remove references to odbc libraries, which are not shipped with vs2003 express.
(and certainly not useful)
2008-06-12 21:58:20 +00:00
Gregory P. Smith b7fea62cca Rename bytesobject.c back to stringobject.c to keep with the PyString theme.
Part of reverting most of r63675 per the mailing list discussion.
2008-06-10 21:23:22 +00:00
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread:
http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase.  The PyBytes_* names
in the spirit of 3.0 are available via a #define only.  See the email thread.
2008-06-09 04:58:54 +00:00
Martin v. Löwis ffe62ed46d Patch #2125: Add GetInteger and GetString methods for
msilib.Record objects.
2008-06-02 08:40:06 +00:00
Mark Hammond 5bd88333ee Fix bdist_wininst --user-access-control for win2k 2008-05-31 05:11:07 +00:00
Christian Heimes 36f0a80bce Used vs9to8.py to port all VS9.0 changes to 8.0
Updated VS7.1 and VC6 project files
2008-05-26 13:51:41 +00:00