Commit Graph

43 Commits

Author SHA1 Message Date
Larry Hastings 5ac006dfd3 Capsule-related changes:
* PyCObject_AsVoidPtr() can now open capsules.  This addresses
  most of the remaining backwards-compatibility concerns about
  the conversion of Python 2.7 from CObjects to capsules.
* CObjects were marked Pending Deprecation.
* Documentation about this pending deprecation was added to
  cobject.h.
* The capsule source files were added to the legacy PC build
  processes.
2010-04-02 11:01:35 +00:00
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
Hirokazu Yamamoto e69041db56 Updated MSVC files to follow r73394. 2009-06-14 03:05:54 +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
Martin v. Löwis 0fa10b3cd5 Issue #4817: Remove unused function PyOS_GetLastModificationTime. 2009-01-03 17:19:26 +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
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
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
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
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
Brett Cannon 4b964f9c90 Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
Ippolito.

Closes issue #2750.
2008-05-05 20:21:38 +00:00
Christian Heimes 81ad6a185a Added new files to Windows project files
More Windows related fixes are coming soon
2008-04-18 23:40:40 +00:00
Amaury Forgeot d'Arc 14d6b0f8f0 Update project files for all Windows supported compilers 2008-04-14 19:55:40 +00:00
Amaury Forgeot d'Arc 7adc776ea6 Issue 2408: remove the _types module
It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType),
when they can easily be obtained with python code.
These expressions even work with Jython.

I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 )
at least this change makes it simpler.
2008-04-08 22:07:05 +00:00
Amaury Forgeot d'Arc 94eba715ad Repair compilation for Visual Studio 2005.
I applied the same changes manually to VS7.1 and VC6 files; completely untested.

(Christian, don't try too hard merging this change into py3k.
It will be easier to do the same work again on the branch)
2008-03-28 21:55:29 +00:00
Amaury Forgeot d'Arc e7fa408741 Compilation was broken on Windows since the introduction of Advanced String Formatting.
Only PCBuild (vs9) was really tested.
Changes for older compilers were done manually.
2008-02-17 20:56:31 +00:00
Christian Heimes aee643b01f Reverted last transaction. It's the wrong branch. 2008-01-04 15:34:06 +00:00
Christian Heimes 306179b173 And here is the rest of Hirokazu Yamamoto's patch for VS6.0 support. Thanks Hiro! 2008-01-04 15:29:00 +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
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
Neal Norwitz 10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
Raymond Hettinger d56827c38f Add AST files to VC6 build. 2005-10-23 04:47:13 +00:00
Raymond Hettinger 94ac197531 Update the PC configuration and project files for sha256 and sha512. 2005-08-24 00:28:21 +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
Raymond Hettinger de7b99045d Update the MSC6 pythoncore projects to compile for Py2.5 2004-12-02 08:53:14 +00:00
Martin v. Löwis 919637afb0 Add _subprocess.c 2004-10-15 04:27:51 +00:00
Raymond Hettinger 6ce6ef3e78 Remove rotor and xreadlines from VC 6 build. 2004-08-31 18:54:35 +00:00
Hye-Shik Chang efdc16ffbb Remove unused source file from Windows project files. 2004-07-28 09:45:20 +00:00
Hye-Shik Chang 07e5dc8813 Teach VC6 project file about the new cjkcodecs structure. 2004-07-18 15:36:31 +00:00
Tim Peters 2242fe84f9 Teach MSVC 6 about pystrtod.c. 2004-06-08 20:32:58 +00:00
Thomas Heller 9f5f056d75 Remove the pcre module. 2004-06-02 18:58:55 +00:00
Raymond Hettinger 19a02ece02 Add genobject.c to the MSVC++ 6.0 build. 2004-06-01 16:29:57 +00:00
Raymond Hettinger e898d1987e Complete perky's name change patch. 2004-04-27 04:52:47 +00:00
Thomas Heller 602472215b Remove the Modules/heaqmodule.c, and add Modules/_heapmodule.c, so
that the project compiles again with VC6.
2004-04-22 18:30:17 +00:00
Raymond Hettinger 756b3f3c15 * Move collections.deque() in from the sandbox
* Add unittests, newsitem, and whatsnew
* Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py
* Docs are forthcoming
2004-01-29 06:37:52 +00:00
Tim Peters a70e6d8e2a Added the cjkcodecs files to the MSVC 6 build. 2004-01-25 03:25:40 +00:00
Raymond Hettinger 0c4102760c SF Patch #864863: Bisect C implementation
(Contributed by Dmitry Vasiliev.)
2004-01-05 10:13:35 +00:00
Tim Peters 28df74fc62 Getting closer (but not yet there) to being able to compile under VC6
again.  Removed the following subprojects and folded them into pythoncore,
to match what's being done under VC7.  We *can* build the core DLL
under VC6 again after this:

datetime.dsp
winreg.dsp
parser.dsp
_sre.dsp
_csv.dsp
mmap.dsp
_symtable.dsp
2004-01-04 02:00:47 +00:00
Tim Peters ff8505dc89 Tons of changes to get this closer to being buildable from this directory;
still far away, but a lot closer than it was.
2004-01-03 05:45:59 +00:00
Martin v. Löwis 203eec46c1 Move VC6 project files here. 2004-01-02 21:15:07 +00:00