summaryrefslogtreecommitdiffstats
path: root/PC
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Registered modules could only exist in HKEY_LOCAL_MACHINE - now ↵Mark Hammond2000-08-221-3/+12
| | | | HKEY_CURRENT_USER can override.
* From Rene Liebscher:Mark Hammond2000-08-151-9/+146
| | | | | | | | | | | | | | This patch makes it possible to use gnu-win32 and lcc-win32 (http://www.cs.virginia.edu/~lcc-win32/) compilers to build extension modules. It adds compiler specific sections to PC/config.h . It also extends the Borland compiler section. This has then two parts, one for Win32 and the other one for the rest. The Win32 part should be almost complete. *** This patch is not intended to make it possible to compile Python with these compilers, it is intended to be able to use these compilers to build extension modules. ****
* Patch #101032, from David Bolen:Mark Hammond2000-08-141-2/+5
| | | | Ensure the "proxied" command's return code bubbles back up.
* -- from Trent Mick: [Patch #101010] replace use of INT_PTRFredrik Lundh2000-08-071-2/+2
| | | | with uintptr_t (fix MSVC 5.0 build)
* Pragmas that instruct the linker to link against python20.lib (orGreg Ward2000-08-051-2/+4
| | | | | python20_d.lib) only active on MSVC++; different library formats needed for different compilers, and it's handled by the Distutils anyways.
* Allow any object supporting the buffer protocol to be written as a binary ↵Mark Hammond2000-07-281-7/+11
| | | | object.
* ANSIfication: remove very-old-varargs code, fix function declarations soThomas Wouters2000-07-223-4/+4
| | | | they include prototypes.
* Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,Thomas Wouters2000-07-228-107/+92
| | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-1/+1
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)