summaryrefslogtreecommitdiffstats
path: root/PC
Commit message (Collapse)AuthorAgeFilesLines
* Removed #include of obsolete ver.h. VC6 doesn't need it, and David AscherTim Peters2002-01-241-1/+0
| | | | reports it doesn't exist anymore under .NET.
* Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis2002-01-121-4/+0
|
* Windows build: close out 2.2, prep for 2.3.Tim Peters2001-12-212-4/+4
|
* Update the example Windows extension to 2.2 (was hardcoded to 2.1).Tim Peters2001-12-152-11/+11
|
* The parser doesn't need its own implementation of assert, and having itsTim Peters2001-12-042-14/+14
| | | | own interfered with including Python.h. Remove Python's assert.h.
* PyWin_FindRegisteredModule(): Conversion of sprintf() toBarry Warsaw2001-11-281-3/+3
| | | | PyOS_snprintf() for buffer overrun avoidance.
* SF patch 473749 compile under OS/2 VA C++, from Michael Muller.Tim Peters2001-11-054-35/+59
| | | | Changes enabling Python to compile under OS/2 Visual Age C++.
* SF bug #474077 2.2b1: Error compiling extns with BCCTim Peters2001-10-301-1/+0
| | | | | | Removed "#undef HAVE_HYPOT" line from Borland config, as suggested. Whether this will break some other Borland usage is a good question I can't answer.
* Get hotshot closer to compiling on Windows.Tim Peters2001-10-121-0/+2
| | | | | Still broken: GETTIMEOFDAY. This macro obviously isn't being defined on Windows, so there's logic errors here I'd rather Fred untangled.
* Fix bug #410274 - sys.prefix isn't always set.Mark Hammond2001-09-071-1/+35
| | | | If after calculating sys.path we do not have sys.prefix set, we loop over all path entries checking if one can point to our home directory.
* Base address updates for bug #442142 - DLL base assignments need updateMark Hammond2001-09-061-7/+27
|
* Enable large file support on Win32 systems.Tim Peters2001-09-061-0/+1
| | | | | | | | | Curious: the MS docs say stati64 etc are supported even on Win95, but Win95 doesn't support a filesystem that allows partitions > 2 Gb. test_largefile: This was opening its test file in text mode. I have no idea how that worked under Win64, but it sure needs binary mode on Win98. BTW, on Win98 test_largefile runs quickly (under a second).
* SF bug [#456252] Python should never stomp on [u]intptr_t.Tim Peters2001-08-292-5/+1
| | | | | | | | | | | pyport.h: typedef a new Py_intptr_t type. DELICATE ASSUMPTION: That HAVE_UINTPTR_T implies intptr_t is available as well as uintptr_t. If that turns out not to be true, things must get uglier (C99 wants both, so I think it's an assumption we're *likely* to get away with). thread_nt.h, PyThread_start_new_thread: MS _beginthread is documented as returning unsigned long; no idea why uintptr_t was being used. Others: Always use Py_[u]intptr_t, never [u]intptr_t directly.
* Windows fiddling for 2.2a2: bump build number; update copyright andTim Peters2001-08-191-2/+2
| | | | | company info in resource files; change installer strings to match. This belongs in the release branch too, of course.
* Merge of descr-branch back into trunk.Tim Peters2001-08-021-0/+3
|
* Repair more now-obsolete references to config.h.Tim Peters2001-07-263-3/+3
|
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-265-274/+274
|
* Add -E command line switch (ignore environment variables like PYTHONHOMENeil Schemenauer2001-07-232-2/+2
| | | | and PYTHONPATH).
* Define the constants needed to allow the os.tempnam(), os.tmpfile(), andFred Drake2001-07-171-0/+3
| | | | | | os.tmpnam() functions to be made available. This is part of SF patch #435492.
* Python.h: Don't attempt to redefine NDEBUG if it's already defined.Tim Peters2001-07-151-1/+0
| | | | Others: Remove redundant includes of assert.h.
* make wchar_t usable again on Windows (this enables the MBCS codecs)Fredrik Lundh2001-06-271-0/+7
|
* Make Unicode work a bit better on Windows...Fredrik Lundh2001-06-261-0/+9
|
* Windows build broke from recent Unicode changes -- need to #defineTim Peters2001-06-261-0/+1
| | | | | | SIZEOF_SHORT by hand here. Also added dynamic check that SIZEOF_SHORT is correct for the platform (in _testcapimodule).
* SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen.Tim Peters2001-05-141-1/+6
|
* SF bug 418296: WinMain.c should use WIN32_LEAN_AND_MEAN.Tim Peters2001-04-241-1/+1
| | | | | I believe Kevin Rodgers here! The old WINDOWS_LEAN_AND_MEAN has, AFAICT, always been wrong.
* SF bug #417508: 'hypot' not found with Borland C++Build.Tim Peters2001-04-211-0/+2
|
* Move Windows stuff to 2.2, so CVS builds won't interfere with 2.1Tim Peters2001-04-182-4/+4
| | | | installations.
* Magic strings in both Python and the Wise installer define the registry keyTim Peters2001-03-111-0/+1
| | | | | to be used in Windows. They got out of synch. Repaired that, and added comments to each one pointing at the other.
* Removed now-unreferenced CHECK_IMPORT_CASE from Windows config.h.Tim Peters2001-02-281-7/+0
| | | | NOTE: someone who understands Unix config should remove it from acconfig.h too.
* Checkin updated version of patch #103933 . As Thomas says, fixes the bugs ↵Mark Hammond2001-02-231-2/+10
| | | | #131064, #129584, #127722. See the discussion in bug #131064
* Flesh out PlaySound() docs enough so that SND_ALIAS isn't hopelessly confusing.Tim Peters2001-02-201-1/+1
| | | | | If someone knows how to turn the new table of guaranteed-registered system sounds into a LaTeX table, be my guest.
* More typos. libwinsound.tex typo noted by Peter Funk (thanks!).Tim Peters2001-02-191-1/+1
|
* Repair tab/space screwup.Tim Peters2001-02-191-1/+1
|
* Take a tour of hell's seedier neighborhoods to try to make winsound.Beep()Tim Peters2001-02-191-35/+99
| | | | | do something non-useless on Win9X boxes. WinME unknown to me. Someone with NT/2000 make sure it still works there!
* SF bug #131225: sys.winver is still '2.0' in python 2.1a2.Tim Peters2001-02-091-11/+33
| | | | | | | | | | | | | | | SF patch #103683: Alternative dll version resources. Changes similar to the patch. MarkH should review. File version and Product version text strings now 2.1a2. 64-bit file and product version numbers are now PY_MAJOR_VERSION, PY_MINOR_VERSION, messy, PYTHON_API_VERSION where messy = PY_MICRO_VERSION*1000 + PY_RELEASE_LEVEL*10 + PY_RELEASE_SERIAL Updated company name to "Digital Creations 2". Copyright now lists Guido; "C in a circle" symbol used instead of (C). Comments added so this is less likely to get flubbed again, and #if/#error guys added to trigger if the version number manipulations above overflow.
* Teach Windows build about the _weakref module.Tim Peters2001-02-021-0/+2
|
* New info in beep() docstring.Tim Peters2001-01-251-1/+4
|
* Repair "selective cut-&-paste" screwup.Tim Peters2001-01-191-3/+2
|
* Update the example DLL instructions for 2.1. Add example.def to theTim Peters2001-01-192-11/+16
| | | | MSVC project file (as the instructions always recommended doing).
* Windows: 2.1a1 changes so Python runs again. Note that the python20Tim Peters2001-01-173-5/+5
| | | | subproject is gone, replaced by the new pythoncore subproject.
* Assorted xreadlines problems:Tim Peters2001-01-091-0/+4
| | | | | | | Wasn't built on Windows; not in config.c either. Module init function missing DL_EXPORT magic. test_xreadline output file obviously wrong (started w/ "test_xrl"). test program very unclear about what was expected.
* Partial fix for SF bug 122780 (msvcrt.locking constants aren't defined).Tim Peters2000-12-121-12/+47
| | | | Still needs docs; see bug report (which was reassigned to Fred) for MS's docs.
* Rip out DOS and Win16 support.Guido van Rossum2000-11-131-103/+1
|
* Rip out Win3.1 and DOS supportGuido van Rossum2000-11-1327-8352/+10
|
* Prevent possible buffer overflow exploits under Windows. As per (the very ↵Mark Hammond2000-10-071-9/+30
| | | | quick) patch Patch #101801.
* Remove some debugging messages - although this code is a complete hack, we ↵Mark Hammond2000-10-051-2/+2
| | | | dont need to announce it to the world every time they use freeze!
* Enable the binascii module for Win64. It builds and passes the test suite.Trent Mick2000-10-041-3/+1
| | | | | | (I had explicitly disabled it a while ago, possibly unecessarily, along with rgbimg, audioop, and imageop, which are advertised as "not for 64-bit platforms.)
* Patch for [ Bug #113828 ] getpythonregpath with null data in registry keyMark Hammond2000-09-101-8/+14
| | | | | | If there was a NULL registry key, Python could barf. Also wraps some surrounding lines to 80 chars.
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-013-28/+0
| | | | This should match the situation in the 1.6b1 tree.
* add user-modifiable recursion_limitJeremy Hylton2000-08-311-7/+0
| | | | | | | | | | | ceval.c: define recurion_limit (static), default value is 2500 define Py_GetRecursionLimit and Py_SetRecursionLimit raise RuntimeError if limit is exceeded PC/config.h: remove plat-specific definition sysmodule.c: add sys.(get|set)recursionlimit