Commit Graph

494 Commits

Author SHA1 Message Date
Thomas Heller 54266fce8d cvsignore files generated by make_versioninfo. 2004-12-31 16:37:32 +00:00
Martin v. Löwis a2cc2695bb Update example to VC 7.1. Will backport to 2.4. 2004-12-29 14:15:58 +00:00
Thomas Heller 0f25b72228 Close stdout and stderr, which are redirected into a temp file, before
trying to remove this file - the file was never removed before.

Fixes [ 1067732 ] wininst --install-script leaves residual files

Already backported.
2004-12-22 17:24:14 +00:00
Andrew MacIntyre d0278ec97f OS/2 specific fixes related to SF bug # 1003471 2004-12-12 08:28:11 +00:00
Raymond Hettinger de7b99045d Update the MSC6 pythoncore projects to compile for Py2.5 2004-12-02 08:53:14 +00:00
Thomas Heller 8992b9bdf5 printf format code for integers is %d not %s.
Will backport.
2004-12-01 19:43:02 +00:00
Thomas Heller 6ad6ee6411 Update import library name on windows. 2004-12-01 19:39:52 +00:00
Thomas Heller 9cc5cb7c4b Running the pre-install or post-install script did not work when
Python was installed with the 'only for me' option. The registry key
had a hardcoded '2.3' in it where the python version chosen for
installation should be used instead.

Will backport myself.
2004-12-01 18:18:08 +00:00
Peter Astrand c1d6536d60 When using shell=True on Windows, don't display a shell window by default. Fixes #1057061. 2004-11-07 14:30:34 +00:00
Martin v. Löwis 919637afb0 Add _subprocess.c 2004-10-15 04:27:51 +00:00
Martin v. Löwis 15b23a083d Patch #1020042: Only define HAVE_UINTPTR_T for VC 7.x. 2004-10-15 04:26:18 +00:00
Tim Peters 4eb59782a8 Supply the _subprocess module under 7.1. I'm not sure what the status
of this should be on non-WIN32 Windows variants.
2004-10-12 21:48:57 +00:00
Tim Peters f3250b0b0b Before this turns into an unreadable mess, follow PEP 7 by using
hard tab indents in C code.
2004-10-12 21:38:22 +00:00
Fredrik Lundh 5b3687df2e Added Peter Astrand's subprocess module. 2004-10-12 15:26:28 +00:00
Tim Peters 7f468f29f4 SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
2004-10-11 02:40:51 +00:00
Andrew MacIntyre fec1ce0b72 remove rotor module 2004-10-03 08:29:55 +00:00
Andrew MacIntyre 3dac89edaf note module removals, update on BitTorrent issue 2004-10-03 08:26:36 +00:00
Andrew MacIntyre 96b3725ca0 bring modules up to date, correct .DEF file version 2004-10-03 08:11:30 +00:00
Tim Peters 862f0593d8 Introduced a Py_IS_NAN macro, which probably works on the major platforms
today.  pyconfig.h can override it if not, and can also override
Py_IS_INFINITY now.  Py_IS_NAN and Py_IS_INFINITY are overridden now
for Microsoft compilers, using efficient MS-specific spellings.
2004-09-23 19:11:32 +00:00
Martin v. Löwis 5a6653cee1 Revert creation of launcher.exe 2004-09-08 15:57:36 +00:00
Martin v. Löwis 97329754f8 Add support for launcher.exe 2004-09-07 15:40:12 +00:00
Martin v. Löwis ab9351bf36 Add main program for icon file. 2004-09-03 13:32:57 +00:00
Raymond Hettinger 53e50cb6b3 Remove rotor from the build. 2004-08-31 19:33:47 +00:00
Raymond Hettinger 6ce6ef3e78 Remove rotor and xreadlines from VC 6 build. 2004-08-31 18:54:35 +00:00
Martin v. Löwis 7bbed946ea Fix installdir for Tix 2004-08-31 16:19:01 +00:00
Tim Peters adadc0f56f Remove rotor and xreadlines from VC 7.1 build. 2004-08-31 14:29:12 +00:00
Martin v. Löwis 89a0b7d93a Add patch for Tix 8.1.4. 2004-08-31 06:43:28 +00:00
Martin v. Löwis 08d786a608 Help compiling icons into an exe, for use with MSI advertisement. 2004-08-13 15:26:40 +00:00
Tim Peters 8484fbf0f6 SF bug 1003471: Python 1.5.2 security vulnerability
This was probably fixed in rev 1.32 of getpath.c, but there are so
many paths thru the code that invoke joinpath() it's not at all
obvious that it *is* fixed.  It doesn't help confidence that a crucial
precondition for calling joinpath() was neither documented nor verified.
It is now, and joinpath() will barf with a fatal error now rather than
overrun the buffer, if the precondition isn't met.

Note that this patch only changes the Windows flavor.  I attached another
patch to the bug report for the POSIX flavor (which I can't test
conveniently).
2004-08-07 19:12:27 +00:00
Raymond Hettinger cbcff93d49 Restore compilation on MSVC++ 6.0 2004-08-03 08:52:46 +00:00
Thomas Heller a18331de4e Use PyMODINIT_FUNC. 2004-07-28 20:02:52 +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 978d26256b Add missing _codecs_iso2022 module of cjkcodecs. I'll add unittest
for it soon.
2004-07-28 09:39:54 +00:00
Martin v. Löwis fe393f47c6 Use intptr_t/uintptr_t on Windows 2004-07-27 15:57:24 +00:00
Martin v. Löwis 512efb464b Properly check for Win64 compilers. 2004-07-27 14:16:14 +00:00
Thomas Heller 876d990ae0 The binary layout of cfgdata has changed, so the magic number has to
change as well.
Display an additional message box when a mismatch is detected.
2004-07-19 09:57:58 +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 3d7d372ce3 Whitespace normalization, via reindent.py. 2004-07-18 06:25:50 +00:00
Tim Peters 6920e49e7e Woo hoo! All the encoding tests pass on Windows (& I downloaded the
14 input files needed to run all of them).
2004-07-18 05:06:31 +00:00
Tim Peters cc8f997543 More cjkcodecs recovery: Python at least compiles on Window again. 2004-07-18 04:30:37 +00:00
Thomas Heller 0062be26d8 Ignore some more build products. 2004-07-14 15:19:45 +00:00
Thomas Heller d1d92ea59a Add a warning so that it isn't forgotten to recreate the binaries AND
CHECK INTO CVS if these files are changed.
2004-07-14 15:17:04 +00:00
Thomas Heller 55a9864cb4 Don't complain that non-existant registry entries cannot be deleted. 2004-07-14 14:53:50 +00:00
Andrew MacIntyre 378d3c0e51 bring OS/2 EMX port build environment up to date 2004-07-07 13:55:25 +00:00
Thomas Heller ad6ce46f49 Remove the annoing and useless messagebox asking about overwriting files.
Fixes SF #984290.
2004-07-07 07:34:40 +00:00
Mark Hammond f9bfdd850c Patch [ 983775 ] Allow bdist_wininst to install for non-admin users
to address bugs:
[ 555812 ] installing extension w/o admin rights
[ 555810 ] removing extensions without admin rights

* When enumerating the Python versions found, also remember the HKEY
  they were found under.
* When installing, if Python was installed under HKCU, we will too.
  If Python was installed under HKLM, we check the permissions of
  the current user, and install where we can.
* The "root" key we use is a global variable - all registry setting and
  delete functions use this global rather than a hardcoded HKLM.
* A new entry is written to the install log, indicating the key we used.
  Uninstallation is based on this key.
* 'tempnam()' is used rather than 'tmpnam()' - 'tmpnam' creates a temp
  file on the root of the current drive, and if this is readonly would
  explain the 'freopen' errors occasionally reported. 'tempnam'
  creates the temp file in the %TEMP% directory.
2004-07-02 23:53:16 +00:00
Thomas Heller 32b8f8052a Fix for SF 982215: bdist_wininst - Next button not greyed out during file copy.
Patch from Mark Hammond.
Recompiled binary.

Already packported to the 2.3 branch.
2004-07-02 08:02:40 +00:00
Thomas Heller 74db40419e The wininst.exe is no longer compressed with UPX. 2004-06-18 18:29:46 +00:00
Thomas Heller 48340390ac When loading the Python dll to run the postinstall script, try to load
it from the install directory (as reported by the registry) in case it
is not found on the default Loadlibrary search path.

Fixes SF 935091: bdist_winist post-install script fails on non-admin Python

Already backported.
2004-06-18 17:03:38 +00:00
Tim Peters 2242fe84f9 Teach MSVC 6 about pystrtod.c. 2004-06-08 20:32:58 +00:00