Commit Graph

631 Commits

Author SHA1 Message Date
Georg Brandl 8ed1ca8fe1 Even more copyright year locations! 2006-02-11 18:22:59 +00:00
Martin v. Löwis 62ffc078c2 Pass unquoted string to stat. 2006-01-19 16:17:31 +00:00
Tim Peters 8207cc7fd6 Quote the path to the executable before invoking system(). 2006-01-18 20:04:02 +00:00
Martin v. Löwis 3150a270d2 Add missing make_buildinfo.c. 2006-01-18 19:18:51 +00:00
Martin v. Löwis d078e40d41 Generate getbuildinfo.o each time the linker is invoked;
try to generate SVNVERSION information if subwcrev.exe
can be found.
2006-01-18 09:13:51 +00:00
Martin v. Löwis 634863cdde Remove buildno. 2006-01-15 09:34:11 +00:00
Martin v. Löwis 21d418bab9 Patch #1396093: Further .vcproj cleanups 2006-01-15 09:26:43 +00:00
Martin v. Löwis 532bc0375f Patch #1307806: Use project defaults where possible 2006-01-03 07:38:51 +00:00
Martin v. Löwis 4e6aff5e9b Make zlib builtin. 2006-01-03 07:10:14 +00:00
Tim Peters 07cf5d4bb7 As reported on c.l.py, the _elementtree project
should depend on the pythoncore project.
2005-12-26 16:53:15 +00:00
Tim Peters 903a9444a8 Repair longstanding damage introduced by the AST merge:
- Get rid of pgen.c and tokenizer_pgen.c.

- Include tokenizer.c.

All the -uall tests pass on my WinXP VC7.1 box now.
2005-12-25 16:28:48 +00:00
Thomas Heller 7a9d1327db Add Python\pyarena.c to the VC project file.
Fix the definition of BUILD in the VC project settings.
2005-12-21 15:46:29 +00:00
Trent Mick ea2625be0f Set props on _elementtree project file as per pyexpat.vcproj. 2005-12-15 22:16:49 +00:00
Trent Mick e97e5a7227 Add build support for _elementtree on Windows. 2005-12-15 22:08:46 +00:00
Martin v. Löwis ab0f947a21 Remove .cvsignore files, as they live in svn:ignore
properties now.
2005-10-30 22:01:41 +00:00
Mark Hammond 5da5b5bd47 Remove conflict markers and add parsermodule.c to get things building 2005-10-23 10:50:04 +00:00
Jeremy Hylton 3e0055f8c6 Merge ast-branch to head
This change implements a new bytecode compiler, based on a
transformation of the parse tree to an abstract syntax defined in
Parser/Python.asdl.

The compiler implementation is not complete, but it is in stable
enough shape to run the entire test suite excepting two disabled
tests.
2005-10-20 19:59:25 +00:00
Martin v. Löwis 3fa5575fa4 Patch #1160164: Use ReleaseItanium for zlib build.
Will backport to 2.4.
2005-08-25 07:11:31 +00:00
Raymond Hettinger 142e16d338 Correct names of sha modules. 2005-08-24 12:13:23 +00:00
Raymond Hettinger 94ac197531 Update the PC configuration and project files for sha256 and sha512. 2005-08-24 00:28:21 +00:00
Tim Peters 752a047fca Removed XXX block about a test_bsddb3 failure that went away a long time ago. 2005-08-07 02:47:59 +00:00
Tim Peters 63db628ad3 Update some Python version numbers. 2005-08-07 02:47:12 +00:00
Trent Mick 8321b42f38 Upgrade Windows build to zlib 1.2.3 (a security fix) 2005-07-26 02:29:21 +00:00
Martin v. Löwis 4c3259cbb9 Link to #1233049 for building against openssl 0.9.8. 2005-07-06 19:34:10 +00:00
Anthony Baxter 7f9915e34e merge from branch 2005-03-29 16:05:36 +00:00
Anthony Baxter 6a3f4f7bc3 ported buildnos to trunk 2005-03-09 11:51:40 +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
Thomas Heller fd77c6ce5a Update the filenames in the MSVC project file for Python 2.5. 2004-12-01 19:40:45 +00:00
Martin v. Löwis af1389a2fc Bump buildno for 2.4 release 2004-11-29 09:57:14 +00:00
Martin v. Löwis e174ae9a1d Bump version for 2.4c1 2004-11-07 10:08:29 +00:00
Martin v. Löwis 645019068d Bump buildno for 2.4b2. 2004-11-02 22:28:07 +00:00
Martin v. Löwis d37ddeba4c Bump buildno for 2.4b1 2004-10-15 05:44:39 +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
Martin v. Löwis c9f53b4905 Link with ws2_32 instead of wsock32. 2004-09-18 16:16:34 +00:00
Martin v. Löwis 5a6653cee1 Revert creation of launcher.exe 2004-09-08 15:57:36 +00:00
Martin v. Löwis 195578a76e Add launcher program 2004-09-07 15:36:46 +00:00
Martin v. Löwis 6d772132e9 Update buildno for 2.4a3 2004-09-01 18:29:25 +00:00
Martin v. Löwis 3cf2163b25 Add instructions for building Tix 2004-08-31 16:22:09 +00:00
Tim Peters adadc0f56f Remove rotor and xreadlines from VC 7.1 build. 2004-08-31 14:29:12 +00:00
Tim Peters 42cd14d04c More cmd.exe exploitation. 2004-08-30 22:13:22 +00:00
Tim Peters e2f6899fd6 Since it's impossible to build Python using VC7.1 on a command.com
system, exploit cmd.exe's setlocal function in this directory.
2004-08-30 21:27:55 +00:00
Tim Peters e82b00f14f Updated test-runner .bat for new location of Tcl/Tk.
Replaced outcomes from native Tcl/Tk tests.  Maybe the diffs are legit,
maybe not.  I noticed that the Tcl results I'm replacing here claimed
both that there were no failures, and that one file had tests with
failures, so I wasn't inclined to trust them <wink>.
2004-08-30 21:14:51 +00:00
Martin v. Löwis 6de2d4da7d Bump Tk version to 8.4.7. Build into tcltk directory. 2004-08-30 09:22:04 +00:00
Tim Peters 79b52b7261 Boosted the stack reservation for python.exe and python_w.exe from the
default 1MB to 2 million bytes.  The test suite passes with -uall again
(test_compiler no longer drives WinXP into an insane state).
2004-08-12 18:37:10 +00:00
Martin v. Löwis 9ecf326714 Patch #1006916: Remove ODBC library references. 2004-08-12 14:07:49 +00:00
Martin v. Löwis ed0d9c6fbd Bump buildno for 2.4a2 2004-08-04 13:42:43 +00:00
Hye-Shik Chang efdc16ffbb Remove unused source file from Windows project files. 2004-07-28 09:45:20 +00:00
Martin v. Löwis d945f4e17d Generate rc[_d].h after linking 2004-07-25 09:49:26 +00:00
Martin v. Löwis 13e50fe453 Add Itanium targets. 2004-07-20 14:37:48 +00:00
Hye-Shik Chang 3341e384d3 cjkcodecs/mapdata_*.c are removed by the recent import CJKCodecs 1.1. 2004-07-18 08:45:15 +00:00
Tim Peters 56b021a27b Ignore more encoding input files. 2004-07-18 06:27:59 +00:00
Tim Peters a44b56540f Ignore input files for encoding tests (these aren't checked in). 2004-07-18 06:27:12 +00:00
Tim Peters 3d7d372ce3 Whitespace normalization, via reindent.py. 2004-07-18 06:25:50 +00:00
Tim Peters d0bcf351ff Teach VC 7.1 about the new cjkcodecs structure. This still doesn't compile
on Windows, because of non-standard code in cjkcodes.h, but it's *almost*
there.
2004-07-18 03:48:47 +00:00
Tim Peters 1d64fb3461 Temporarily add the Tcl/Tk bin directory to PATH, so that test_tcl can
actually run.  When it fails, it pops up a dialog box, and the test run
hangs waiting for you to click OK -- that sucks too much to bear.
2004-07-17 23:44:32 +00:00
Anthony Baxter dfef882095 dont think it's still being used, but just in case 2004-07-08 07:18:34 +00:00
Martin v. Löwis 74a72b9c4c Bump build number to 54 for 2.4.0a1 2004-07-08 07:11:33 +00:00
Thomas Heller 813914049d Update info about the windows build. 2004-07-02 08:58:46 +00:00
Martin v. Löwis 93d1b2c93c Add readme.txt 2004-06-28 15:24:23 +00:00
Tim Peters 3d1f6bba6d Teach pythoncore project about new pystrtod.c for VC7.1. This was done
a long time ago for VC6.
2004-06-14 01:05:46 +00:00
Thomas Heller 9f5f056d75 Remove the pcre module. 2004-06-02 18:58:55 +00:00
Thomas Heller aa2e498251 Record Python 2.3.4 (final) build number. 2004-06-02 13:21:41 +00:00
Martin v. Löwis 7897ff0d9a Add genobject.c 2004-06-01 17:21:13 +00:00
Thomas Heller fd3f4fb7b1 Windows build number for 2.3.4c1 is 52. 2004-05-12 20:12:10 +00:00
Thomas Heller 1a74a128ce The filename of this module changed again... 2004-04-27 18:34:08 +00:00
Thomas Heller 1a9d32b8d4 cvs ignore the user options files *.suo 2004-04-22 17:11:49 +00:00
Thomas Heller 8598b10037 Modules/heapqmodule.c removed.
Modules/_heapmodule.c added.
2004-04-22 17:03:33 +00:00
Tim Peters 71b2411566 Record test_bsddb3 test results on WinXP. 2004-04-11 19:02:59 +00:00
Tim Peters a0d781a543 Update the OpenSSL version example from c to d (the current stable one), 2004-04-11 18:23:06 +00:00
Tim Peters 0e93309eb5 The native bz2 tests worked fine for me under WinXP Pro + VC7.1, so
removed the comment saying they don't work, and changed the build step
to run them.  If they're failing for someone else, please give details
about what failed.
2004-04-11 17:45:31 +00:00
Tim Peters 011de6cc96 Record Tcl and Tk test results for WinXP Pro. 2004-04-11 17:29:12 +00:00
Guido van Rossum d54357d4e2 Tweaked after following all these instructions.
Removed Win9x notes (since the .NET compiler requires Win2K or XP anyway).
2004-03-20 21:00:26 +00:00
Martin v. Löwis e2879c34a1 Add collectionsmodule.c.
Don't link with largeint.lib anymore.
2004-02-01 18:02:48 +00:00
Martin v. Löwis daea3e5032 Add cjkcodecs to build process 2004-01-21 07:54:02 +00:00
Martin v. Löwis 09de756726 More updates for zlib 1.2.1 2004-01-17 11:20:17 +00:00
Martin v. Löwis 21eca43083 Update to 1.2.1 for release build too. 2004-01-17 11:10:34 +00:00
Jeremy Hylton 73b3df9a35 Update Windows build to use zlib 1.2.1 2004-01-09 16:05:07 +00:00
Thomas Heller d2afa67755 Add the _bisectmodule.c source file to the pythoncore project - seems to have been forgotten. 2004-01-06 19:27:38 +00:00
Mark Hammond 2362da8712 Update information about building bsddb, particularly re with and without
strong crypto.
2004-01-06 04:04:01 +00:00
Martin v. Löwis 4618cc09ec Bump build number 2004-01-04 09:58:33 +00:00
Tim Peters caba60a752 Removed dead text about MS subprojects that no longer exist. 2004-01-04 02:04:35 +00:00
Martin v. Löwis 79ef96d68d Update build procedure to VC 7.1. 2004-01-02 21:13:59 +00:00
Martin v. Löwis b38b019807 Update build procedure to VC 7.1 and newer versions of several packages. 2004-01-02 21:13:28 +00:00
Thomas Heller 435f648584 Python 2.3.3 Window build number and release date. 2003-12-20 22:29:03 +00:00
Thomas Heller 6b70f8b91d Sigh. dsp files must be marked as binary files for cvs, otherwise
MSVC isn't able to read them.  Thanks to David Rushby.
2003-12-08 09:31:52 +00:00
Thomas Heller 7425c3876b The Windows build number for 2.3.3c1 is 50. 2003-12-04 20:36:53 +00:00
Raymond Hettinger a690a9967e * Migrate set() and frozenset() from the sandbox.
* Install the unittests, docs, newsitem, include file, and makefile update.
* Exercise the new functions whereever sets.py was being used.

Includes the docs for libfuncs.tex.  Separate docs for the types are
forthcoming.
2003-11-16 16:17:49 +00:00
Tim Peters 045f1de57e pyexpat stopped building on Windows -- whining about the lack of a
HAVE_MEMMOVE define.  Just defined it on the cmdline (it doesn't
include Python.h, and Fred doesn't want to change the code).
2003-11-12 19:30:36 +00:00
Raymond Hettinger b3af1813eb Convert heapq.py to a C implementation. 2003-11-08 10:24:38 +00:00
Martin v. Löwis 04570dbed1 Patch #628301: Update installer to
http://cesnet.dl.sourceforge.net/sourceforge/avpython/Python-2.3.2-Win32-159-Setup.iss
2003-10-31 14:02:41 +00:00
Thomas Heller 13dbabe46e To build on windows, the manual editing of the python_nt.rc file to
change the version number is no longer required.

Instead, a make_versioninfo.exe is compiled, which spits out an
include file for python_nt.rc.

Will backport to 2.3
2003-10-10 16:57:45 +00:00
Thomas Heller d12819cc3c Release 2.3.2 (final) has a windows build number of 49. 2003-10-01 17:36:45 +00:00
Thomas Heller 36bd2a1da4 The windows build number for 2.3.2c1 is 48 2003-09-27 20:03:59 +00:00
Thomas Heller ffe469e827 Build number for Python 2.3.1.
Forward ported from release23-maint.
2003-09-23 20:54:48 +00:00
Thomas Heller 46a007ee95 Build the bzip2.lib as a custom pre-link step in MSVC. 2003-08-20 18:27:36 +00:00
Thomas Heller 2258227abc Opening the WISE script changes a few items:
I have a different WISE version, and it's installed in a different directory.
My sytem directory is somewhere else.
2003-08-20 17:27:42 +00:00
Mark Hammond 67e5582dfc Complete move of windows builds to 2.4alpha 2003-07-31 02:06:22 +00:00
Tim Peters 36c1afc47a SF bug 778400: IDLE hangs when selecting "Edit with IDLE".
The fix is confined to the Windows installer.

Not a bugfix candidate:  the need for the new -n switch added here was
introduced by moving to the idlefork IDLE (so this change isn't needed
or helpful before 2.3).
2003-07-29 17:22:57 +00:00
Tim Peters 7388dffa20 Updated Windows installer for 2.3 final. 2003-07-29 00:29:44 +00:00
Tim Peters 32675b6860 Bump Windows build number for 2.3 final. 2003-07-29 00:18:44 +00:00
Tim Peters 6560a254ea Update version numbers and dates for 2.3c2 -- we won't be able to do this
during the day tomorrow, so doing it earlier than I'd like.
2003-07-24 00:15:46 +00:00
Tim Peters 6601b13933 Corrected release date for 2.3c1. 2003-07-18 21:12:21 +00:00
Tim Peters 0dc4b1064b For my convenience in building installers, added a makes-sense-on-my-box
choice to the list of places MS redistributables might be found.
2003-07-18 21:11:36 +00:00
Tim Peters 29dfcd108d Bump the release number to 2.3c1. 2003-07-17 14:48:26 +00:00
Kurt B. Kaiser d02d305b64 SF Patch 763681
"Support IDLE Edit of .py/.pyw from idlelib"
2003-07-10 16:20:58 +00:00
Tim Peters e6f7f9a824 I "cvs admin -kb"'ed these files to close a bug report. Now they need
to have genuwine Windows line ends.
2003-07-08 20:53:38 +00:00
Tim Peters 8f6c7c5d5f Some Windows changes preparing for 2.3b2. 2003-06-27 15:49:35 +00:00
Tim Peters faa697a5c9 2.3b2 on Windows will ship with Tcl/Tk 8.4.3. Note: this still didn't
fix the hangs on Win98SE when starting IDLE via "python" from a DOS box,
but did appear to make them harder to provoke.  I closed that bug report
as being hopeless (and if someone wants to open it again, don't dare
assign it to me again <0.1 wink>).
2003-06-22 01:42:20 +00:00
Guido van Rossum b1e63c0d05 Install IDLE's .def files; these are essential for the configuration!
Also install the start script from Tools/script/idle.  (This may
change again.)
2003-06-15 20:40:33 +00:00
Guido van Rossum 5041cf6e44 Changes to install the new idle: it's now in Lib/idlelib instead of
Tools/idle, in both source and destination.  (There are still problems
when running the IDLE icon, but they don't seem to have to do with the
installer.)
2003-06-15 19:42:39 +00:00
Tim Peters 98c20befa6 Updated Windows buildno for 2.2.3 final. 2003-05-30 15:23:21 +00:00
Tim Peters c8fb937fbf Record 2.2.3c1 Windows build number. 2003-05-22 15:30:36 +00:00
Tim Peters 0ff2ee0561 Effectively renamed tokenize_tests.py to have a txt extension instead.
This file isn't meant to be executed, it's data input for test_tokenize.py.
The problem with the .py extension is that it uses "non-standard"
indentation, and it's good to test that, but reindent.py keeps wanting
to fix it.  But fixing the indentation causes the expected-output file to
change, since exact line and column numbers are part of the
tokenize.tokenize() output getting tested.
2003-05-12 19:42:04 +00:00
Tim Peters c4607dadce Leading "C:" no longer hardcoded in the default installation directory.
After removing that, two testers on machines where C: is not the system
drive reported that the installer suggested their system drive instead
of C:, and that's what they wanted it to do.
2003-05-08 18:13:59 +00:00
Tim Peters 8b7beb631b Use os.walk() to find files to delete. 2003-04-26 00:53:24 +00:00
Tim Peters abea7ea9f9 Try to recover from changes in the structure of the CSV package/module. 2003-04-24 21:52:16 +00:00
Tim Peters 91007e2572 Bump Windows build number for 2.3b1. 2003-04-24 16:55:35 +00:00
Tim Peters 3209410cb5 Bump version number to 2.3b1. 2003-04-24 16:45:34 +00:00
Guido van Rossum e1252684be Add MessageBeep() API. 2003-04-09 19:38:08 +00:00
Tim Peters b84e6fa710 Stop creating empty CVS directories in the csv subtree. 2003-03-22 01:16:05 +00:00
Tim Peters 82d61956fa Changed the DLL base-address assignment for _csv so it no longer
obviously overlaps w/ datetime (but may -- no time for more here now).
2003-03-21 02:02:02 +00:00
Tim Peters 0d7ce4e221 Teach the Windows build & installer about the new csv module + DLL. 2003-03-21 01:55:41 +00:00
Tim Peters 8266af4f06 Removed debugging print in test_tarfile.
In the Windows installer, continued the endless battle to copy over files
with new one-shot extensions.
2003-02-19 02:41:44 +00:00
Tim Peters d6cfccf4cf I entered the wrong year for 2.3a2. 2003-02-18 22:17:40 +00:00
Tim Peters 2b0643a95d Bump Windows build number for 2.3a2. 2003-02-18 22:00:05 +00:00
Tim Peters 1441cf9dfc Bump version # to 2.3a2. 2003-02-18 21:58:53 +00:00
Mark Hammond 289587ea1d Use python_d.exe to build _ssl_d.pyd - we can not express that we depend
on a release 'python.exe' for a debug build of _ssl.  It may happen that
Python.exe is currently broken, and we are trying to rebuild from scratch.
2003-02-13 12:05:15 +00:00
Raymond Hettinger 96ef8115dd Move itertools module from the sandbox and into production. 2003-02-01 00:10:11 +00:00
Tim Peters ad8605dfae Updated info about test_bsddb3 failures. 2003-01-29 00:38:42 +00:00
Martin v. Löwis cc4c50c0ed Define XML_STATIC. 2003-01-26 12:17:52 +00:00
Martin v. Löwis c35d199404 Undo inclusion of Python.h. Remove HAVE_MEMCPY section.
Update Windows command line.
2003-01-26 08:40:50 +00:00
Tim Peters 0064026668 Bump the Windows build to use Sleepycat's 4.1.25.NC release (the
latest bsddb release without strong cryptography).
2003-01-24 15:31:31 +00:00
Tim Peters a8b2e32a7b CVS patch 669645: wininst.exe missing in Windows installer.
Not anymore it ain't.
2003-01-17 21:50:32 +00:00
Tim Peters 9c2fbb5619 There are two more copyright notices in the Windows world:
PC/python_nt.rc sets up the DLL version resource (displayed when you
right-click on the DLL and select Properties).

PCbuld/python20.wse sets up the installer version resource (displayed
when you right-click on the installer .exe and select Properties).  Turns
out this one hadn't been updated since 2001 <frown>!
2003-01-02 17:09:19 +00:00
Tim Peters bbc5d1674b SF bug 660795: logging missing from Python 2.3a1 for Windows.
Added the logging package.  In the meantime, Neal Norwitz added a
test_logging.py to the std test suite, which would have caught this
oversight in the Windows installer.
2003-01-02 16:02:27 +00:00
Tim Peters 88ad134e36 Merging in changes from r23a1-branch. Doc/makefile had conflicts, which
I leave to Fred to sort out.
2003-01-01 02:14:12 +00:00
Tim Peters 735950b3c0 Bump the Windows build # for 2.3a1. 2002-12-31 02:09:08 +00:00
Just van Rossum 52e14d640b PEP 302 + zipimport:
- new import hooks in import.c, exposed in the sys module
- new module called 'zipimport'
- various changes to allow bootstrapping from zip files

I hope I didn't break the Windows build (or anything else for that
matter), but then again, it's been sitting on sf long enough...

Regarding the latest discussions on python-dev: zipimport sets
pkg.__path__ as specified in PEP 273, and likewise, sys.path item such as
/path/to/Archive.zip/subdir/ are supported again.
2002-12-30 22:08:05 +00:00
Raymond Hettinger 4647f5090a Revert the last change. Tim was faster and chose a different route. 2002-12-30 00:40:40 +00:00
Raymond Hettinger a6af477820 Document the _randommodule project for the Windows build. 2002-12-30 00:03:27 +00:00
Tim Peters d1f5ccc75d Taught the Windows build about _randommodule.c. This is compiled
into the core DLL, since it's not much code and lots of stuff uses
it (e.g., try getting a tempfile name without it).
2002-12-29 23:46:40 +00:00
Tim Peters 2a799bf77a datetime escapes the sandbox. The Windows build is all set. I leave it
to others to argue about how to build it on other platforms (on Windows
it's in its own DLL).
2002-12-16 20:18:38 +00:00
Tim Peters b4f0a12974 Made the _ssl subproject depend on the w9xpopen subproject, because
build_ssl.py requires os.popen().
2002-12-11 17:50:24 +00:00
Tim Peters 598c210b5a Install the tools/i18n directory on Windows. A user requested it,
Barry agreed, and I see no reason not to.
2002-12-10 19:03:52 +00:00
Tim Peters 21d77f5e9c Added _ssl.lib to the installer too. Restored alphabetical order of
DLL and lib sections.
2002-12-04 04:00:12 +00:00
Tim Peters 6ee68d20b7 Explain what's probably a problem unique to Win9x in building _ssl. 2002-12-04 03:16:37 +00:00
Tim Peters e8bcb25fbd Clarify _ssl instructions. 2002-12-04 02:39:52 +00:00
Mark Hammond 03cb7ee9c5 Don't make all the OpenSSL executables, just the library we need.
Contributed by David Bolen.
2002-12-03 21:00:29 +00:00
Mark Hammond 040b00a9ea Add the SSL libraries as dependencies. 2002-12-03 20:59:46 +00:00
Mark Hammond 4b2030fe0d Ensure the ssl temp directory exists! 2002-12-03 06:29:48 +00:00
Mark Hammond fbac75fc42 Add _ssl.pyd to the list of files to be installed by Wise. 2002-12-03 06:02:59 +00:00
Mark Hammond f229f9f1e7 Add _ssl build process for Windows. 2002-12-03 05:47:26 +00:00
Mark Hammond 4c88773142 My MSVC seems to like writing the project names in quotes. Letting it do
this before I add the _ssl project, so that checkin is cleaner.
2002-12-03 05:39:49 +00:00
Tim Peters 84c7a3f328 Try linking the static Sleepycat lib into _bsddb.pyd. Hard to say
whether this is a correct thing to do:

+ There are linker warnings (see PCbuild\readme.txt).
+ test_bsddb passes, in both release and debug builds now.
+ test_bsddb3 has several failures, but it did before too.

Also made pythoncore a dependency of the _bsddb project, updated
build instructions, added database conversion XXX to NEWS, and fiddled
the Windows installer accordingly.
2002-11-23 18:48:06 +00:00
Tim Peters 19cf4ee69d More bsddb-on-Windows fiddling:
+ News blurb, but as much XXX as news.
+ Updated installer (install the new bsddb package, and the Berkeley DLL;
  still don't know how to fold that into _bsddb.pyd).
+ Fleshed out build instructions.
+ Debug Python still blows up.
2002-11-23 03:49:08 +00:00
Tim Peters 78e35f9311 Move Windows Python away from bsddb 1.85 and toward Sleepycat's latest.
The bsddb subproject is gone.
The _bsddb subproject is new.
There are problems here, but I'm out of time to work on this now.  If
anyone can address an XXX comment or two in readme.txt, please do!
2002-11-22 20:00:34 +00:00
Tim Peters a406b58619 Renamed Wise vrbl from _TCLMINOR_ to _TCLDIR_, to remove any script
dependence on the Tcl/Tk version number.  Now you point it at the
Tcl/Tk install you want to ship, and that's what it ships.
2002-11-19 17:38:27 +00:00
Tim Peters 6c629957fd Repaired typos in the Tcl/Tk compilation instructions. Turns out they
work on Win98SE too (yay!).
2002-11-15 18:36:11 +00:00
Tim Peters 077736b96b Windows changes to move from Tcl/Tk 8.3.2 to 8.4.1. I tested this by
running IDLE, and since I'm not a Tcl Guy I'm not sure what else to do.
Up to you!  See XXX comments in PCbuild\readme.txt for cautions.

Also repaired typos in the new bz2-for-Windows instructions.
2002-11-14 23:24:40 +00:00
Tim Peters 84fcd92461 Install the bz2 DLL on Windows. 2002-11-09 08:24:58 +00:00
Tim Peters b0ead4ea4a Start building the bz2 module on Windows.
CAUTION:  The Python test still has many failures, but I'm out of time
for this now (already took much longer than hoped to get this far).
The base bz2 library does pass its own tests (see next).

CAUTION:  People building on Windows have to download and build tne
bz2 compression libraries now.  See PCbuild\readme.txt for complete
instructions.
2002-11-09 04:48:58 +00:00
Tim Peters 19697bc355 Update list of Windows buildnos for 2.2.2 final. 2002-10-14 15:01:44 +00:00
Tim Peters c78462fb94 The MS resource compiler simply cannot be convinced to do arithmetic
correctly.  So field3.py is a Python program that can.  This injects
another manual step into the Python release process for Windows; so
it goes.
2002-10-11 18:25:52 +00:00
Tim Peters 638a1e2dc1 Update info for impending 2.2.2. 2002-10-06 04:04:46 +00:00
Guido van Rossum fb1db4cda1 Add -E and -tt options to the python invocations, as for the Unix tests.
The -tt means modules that mix tabs and spaces will be rejected.
The -E refuses to believe Python options in the environment.
2002-08-07 19:06:27 +00:00
Tim Peters 78e30fb32c Taught the Windows installer about changes in the structure of the email
package, and the loss of the test/data directory.
2002-07-23 19:56:30 +00:00
Mark Hammond 62b1ab1b31 Replace DL_IMPORT with PyMODINIT_FUNC and remove "/export:init..." link
command line for Windows builds.  This should allow MSVC to import and
build the Python MSVC6 project files without error.
2002-07-23 06:31:15 +00:00
Tim Peters 3e2d18be3f Removed no-longer-relevant explanation of "alpha" builds. 2002-07-10 17:05:14 +00:00
Mark Hammond 478fdb0bbc Remove the unused, and therefore distracting, "Alpha" build configurations. 2002-07-10 06:22:10 +00:00
Tim Peters 0add0e86c7 Removed newmodule.c from the project, and removed references to it from
the Windowish builds.
2002-06-16 01:34:49 +00:00
Tim Peters 11e104f519 Unsure exactly why I'm doing this, but I couldn't build a debug-mode
Python on Windows without it.
2002-06-15 04:58:17 +00:00
Guido van Rossum bea18ccde6 SF patch 568629 by Oren Tirosh: types made callable.
These built-in functions are replaced by their (now callable) type:

    slice()
    buffer()

and these types can also be called (but have no built-in named
function named after them)

    classobj (type name used to be "class")
    code
    function
    instance
    instancemethod (type name used to be "instance method")

The module "new" has been replaced with a small backward compatibility
placeholder in Python.

A large portion of the patch simply removes the new module from
various platform-specific build recipes.  The following binary Mac
project files still have references to it:

    Mac/Build/PythonCore.mcp
    Mac/Build/PythonStandSmall.mcp
    Mac/Build/PythonStandalone.mcp

[I've tweaked the code layout and the doc strings here and there, and
added a comment to types.py about StringTypes vs. basestring.  --Guido]
2002-06-14 20:41:17 +00:00
Tim Peters 73364e64e5 Teach the Windows build about the new enumobject.c file. 2002-04-26 21:20:02 +00:00
Tim Peters 08e7295ef8 Windows installer: disabled Wise's "delete in-use files" uninstall
option.  It was the cause of at least one way UNWISE.EXE could vanish
(install a python; uninstall it; install it again; reboot the machine;
abracadabra the uinstaller is gone).

Bugfix candidate, but I'll backport it myself.
2002-04-16 20:48:01 +00:00
Tim Peters 46cd7948ca Repair 2.2.1 release date. 2002-04-09 21:18:37 +00:00
Tim Peters 6cca2f48ed Change 2.1.3 release date. 2002-04-08 18:47:34 +00:00
Tim Peters 11c5d7259f Update 2.1.3 Windows buildno. 2002-04-08 18:00:26 +00:00
Tim Peters 2f486b7fa6 Record Windows build number for 2.2.1 final. 2002-04-04 21:49:08 +00:00
Tim Peters 3318792e5f SF bug 497854: Short-cuts missing for All Users
Fix Windows-specific install glitch.  Tested on Win2K, but I can't test
on XP.
Already checked in to the release22-maint branch.
2002-04-04 20:02:04 +00:00
Guido van Rossum 2e1c09c1fd Removed old Digital Creations copyright/license notices (with
permission from Paul Everitt).  Also removed a few other references to
Digital Creations and changed the remaining ones to Zope Corporation.
2002-04-04 17:52:50 +00:00
Tim Peters b5080abbbe Repair the Windows build (needs to compile in the new boolobject code). 2002-04-04 00:02:02 +00:00
Tim Peters 6a1e76b2bd Update master Windows build-number list for 2.2.1c2. 2002-03-25 19:35:58 +00:00
Tim Peters 1221c0a435 Build obmalloc.c directly instead of #include'ing from object.c.
Also move all _PyMalloc_XXX entry points into obmalloc.c.

The Windows build works fine.
The Unix build is changed here (Makefile.pre.in), but not tested.
No other platform's build process has been fiddled.
2002-03-23 00:20:15 +00:00
Tim Peters 517a721b7f Record 2.2.1c1 release date. 2002-03-19 02:12:10 +00:00
Tim Peters 06b711cb6d Update master Windows buildno list to reflect impending 2.2.1c1. 2002-03-14 22:48:50 +00:00
Tim Peters 6077f643da Move to zlib 1.1.4 on Windows (the new version that squashes the "double
free" glitch).
Bugfix candidate -- I'll backpatch this into 2.2.1 later this week.
2002-03-13 21:51:55 +00:00
Tim Peters e309504f3e Fix 2.2.1 string. 2002-02-28 07:27:48 +00:00
Tim Peters 83bbeec1d3 Reserve a Windows build num for 2.2.1c1. 2002-02-28 07:13:58 +00:00
Tim Peters b012a15c42 Finish the pyexpat rework for Windows: builders needn't suck down the
Expat installer from SF anymore, and the installer shouldn't install
expat.dll anymore.
2002-02-13 23:56:46 +00:00
Martin v. Löwis 8fef47be5f Define VERSION in expat.h. 2002-02-13 07:47:16 +00:00
Martin v. Löwis a8d73847c4 Build using included Expat. 2002-02-12 00:05:49 +00:00
Tim Peters ad134f0463 Update master Windows buildno list for 2.1.2final. 2002-01-15 22:24:37 +00:00
Tim Peters 57f61fb80b Update master Windows build-number list for 2.1.2c1. 2002-01-10 19:53:49 +00:00
Tim Peters 83a3f0c305 Windows build: close out 2.2, prep for 2.3. 2001-12-21 22:06:12 +00:00
Tim Peters 909c091646 Post-release fiddling -- prep for 2.2 final. 2001-12-14 23:16:18 +00:00
Tim Peters 6272dfd99f Update Windows buildno for 2.2c1.
Update 2.2c1 release data in NEWS.
2001-12-13 19:34:00 +00:00
Tim Peters 1ec040feb3 Update Windows installer for 2.2c1. 2001-11-17 00:24:45 +00:00
Tim Peters 330bdfe335 Bump Windows buildno for 2.2b2. 2001-11-15 19:50:51 +00:00
Tim Peters 6f0699bc09 SF bug #478949 Windows installer start menu registry.
I'm guessing at this, pending more info from the bug submitter.  Wise
changed how the %GROUP% vrbl got defined between versions 5.0a (used
before Python 2.2) and 8.14, to hold the full path to Start Menu group
instead of just the group name.  If I'm guessing correctly, the info
the bug report is complaining about is in one of the registry keys
we set up that neither Windows nor Python cares about.  We did store
a full path there in 2.2b1 instead of just the group name; the patch cuts
it back to just the name again.
2001-11-07 04:42:04 +00:00
Tim Peters 84362bc74a The usual post-release fiddling. 2001-10-19 17:55:30 +00:00
Guido van Rossum d6f8dba217 add structseq.c to project 2001-10-18 20:51:32 +00:00
Tim Peters 5a9d16b90f Bump Windows build # for 2.2b1. 2001-10-18 15:19:38 +00:00
Tim Peters 5ae95abbc0 Added new hotshot pkg to the Windows installer.
Rearranged the growing number of Lib packages into alphabetical order.
2001-10-13 00:26:25 +00:00
Tim Peters 1566a17af5 Get hotshot closer to compiling on Windows.
Still broken:  GETTIMEOFDAY.  This macro obviously isn't being defined
on Windows, so there's logic errors here I'd rather Fred untangled.
2001-10-12 22:08:39 +00:00
Tim Peters 0af6703a71 If all of Python, IDLE and Tcl/Tk are being installed, and the user has
not disabled file-extension registration, arrange for .py and .pyw files
to have an "Edit with IDLE" context (right-click) menu entry, selecting
which executes IDLE w/ the -e switch followed by the selected file's path.
2001-10-09 22:22:36 +00:00
Tim Peters 23d192e652 Teach Windows how to build the new weakref module. 2001-10-05 22:14:45 +00:00
Tim Peters abf925f6bf Post-release fiddling (prep for 2.2b1). 2001-09-28 21:53:42 +00:00
Tim Peters 30bff63958 Bump Windows build numbers for 2.2a4; installer changes were done earlier. 2001-09-27 16:28:15 +00:00
Tim Peters 8ca177bd21 Install the new Lib/email pkg.
Create & populate the new Lib/test/data directory.
2001-09-23 07:02:29 +00:00
Tim Peters 3069d50c18 Install the compiler package under Lib. 2001-09-20 04:09:39 +00:00
Tim Peters b07352e8b7 The usual post-release fiddling. 2001-09-08 01:25:47 +00:00
Tim Peters 745e366b4b Bump Windows buildno (installer changes were made earlier). 2001-09-06 16:33:17 +00:00
Mark Hammond 9bc0d6fcd0 First part of fix for bug #442142 - DLL base assignments need update 2001-09-06 06:39:39 +00:00
Tim Peters 7c198d3cde Add pynche's top-level txt files to Windows installer -- I don't believe
we've *ever* installed them!
2001-08-22 22:18:31 +00:00
Tim Peters edc9931f56 "The usual" post-release fiddling. 2001-08-22 21:36:50 +00:00
Tim Peters a6b9e3c814 Windows fiddling for 2.2a2: bump build number; update copyright and
company info in resource files; change installer strings to match.
This belongs in the release branch too, of course.
2001-08-19 00:56:28 +00:00
Tim Peters fc7265ab42 Wise uninstallers never delete the Python DLL from the system directory.
They should.  Added a line that's supposed to fix that -- it doesn't
actually work on my box, but checking it in anyway.
2001-08-16 01:53:51 +00:00
Tim Peters 591f71b1d4 New, larger installer bitmap from Erik van Blokland. Added more
vertical whitespace to the acknowledgements portion of the "Installation
Completed!" screen for easier reading.
2001-08-15 06:10:16 +00:00
Tim Peters 68db9dd07a Now that the dialogs have some breathing room, split the combo of Tcl/Tk,
IDLE and pydoc into a separate component.  That's almost as big as the
rest of Python (excl. docs and test suite) combined.

Pop up a confimation box if they choose to install at least one of
{Tcl/Tk/IDLE/pydoc, Tools, Test suite} but do not choose to install
Python -- doesn't make much sense, so ask whether that's really what they
want.
2001-08-11 04:01:31 +00:00
Tim Peters f5d3505e21 Grow the dialogs 25%, to make room for a nicer bitmap (in progress; don't
have it yet).
2001-08-11 03:13:58 +00:00
Tim Peters f30f1fc900 In the acks, CamelCase InstallMaster the same way Wise does it. 2001-08-09 05:16:00 +00:00
Tim Peters b6135df018 Add a comma. 2001-08-08 22:58:52 +00:00
Tim Peters 8eb16b1658 Give some special thanks on the final "Installation Completed!" screen. 2001-08-08 22:50:35 +00:00
Tim Peters 36a90f61e8 Thanks to
LettError, Erik van Blokland, http://www.letterror.com/
the Python Windows installer finally has an attractive Pythonic bitmap
to delight the senses and dampen the fears of the millions and millions of
eager new Windows users anticipating their first Python programming joy.

Always knew Mac users secretly wanted to switch to Windows <wink>.
2001-08-08 20:50:07 +00:00
Tim Peters ce42a8ec68 Add the new Tools/compiler/README to the WIndows install, as README.txt.
In the Wise installer's "Advanced Options" dialog, substitute in the
actual name of "the system directory" -- this is clearer, and especially
for people reading this dialog who aren't me <wink>.
2001-08-08 19:32:25 +00:00
Tim Peters ae5262ef32 + Turn off patch creation (this isn't a patch release! got turned on by
mistake).
+ Arrange for Win2K Add/Remove to show a Python icon.

I think this "does it" -- a full install/uninstall can now be done on a
Win2K box from an ordinary (not Admin, not Power User) user acct, incl.
file extension registration, Start Menu entries, and full Add/Remove.
2001-08-06 20:01:19 +00:00
Tim Peters 223ec936f1 + Made installer more reluctant to overwrite MS C runtime DLLs -- it's
been overwriting them even if they have the same version, not just if
  they're an older version (and our installers have always done this).
+ Added an "Advanced Options" subdialog to "Select Components".  Allows
  to do a non-admin install even if you have Administrator rights, and
  to skip registering file extensions and/or creating Start Menu
  shortcuts.  Since so far these installers have been tested only by me,
  and Win2K has been full of surprises, I want those options available
  out in the field.
Lots of web searching turned up what should have been obvious:  Because
Windows Installer is a native Win2K service, it can run at a higher
privilege level than the user invoking it.  So MSI installs don't bash
into these permission gotchas on Win2K, but Wise 8.1 does (it's just
another app to Win2K, and we're not alone in wrestling with this; but,
like changing int division in Python, Win2K is doing a right thing <wink>).
2001-08-05 13:58:48 +00:00
Tim Peters 45e5e72eb8 Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw
files to satisfy imports, pydoc.pyw was just importing itself!
2001-08-05 05:43:20 +00:00
Tim Peters b39fa0e0fa + Redid file associations on Win2K in what I believe is "the right way".
Can't test it until getting to a Win2K box, because the non-Admin way
  of setting file associations on Win2K doesn't work on any other flavor
  of Windows (and other flavors of Windows never need Admin privs to
  do it the old way).
+ Consequently got rid of the "Register file associations" Component and
  associated GUI.
+ Added a line to the summary saying whether or not this is an Admin-level
  install (I fear that will be an important clue someday).
+ Minor fiddling to the summary to reduce the # of lines.  Added a
  horizontal scrollbar in case the install path is very long.
+ Reworked the way the Main and Tools components share pydoc.pyw; cleaner
  and simpler.
2001-08-05 05:19:15 +00:00
Tim Peters 67b9adaa87 New runtime vrbl DOADMIN. When false, we never try to write under HKLM,
and install the Python and MS runtime DLLs into the Python dir instead of
a system dir.
Initial value is taken from new compiler vrbl _DOADMIN_ (default true),
and forced to false if the user doesn't have admin privs.
This makes it possible to *test* non-admin installs on machines where the
distinction doesn't exist (like my home box), via just changing _DOADMIN_.
It may also be useful for users who don't *want* an installer to
scribble into their system dir (for example, me(! most days)), but that
would require adding more GUI to let them get at it.
2001-08-05 04:12:30 +00:00
Tim Peters 4de219d511 + Add version info to Win2K add/remove.
+ Fiddle vrbls so Win2K add/remove can display version w/o future manual
  script fiddling.
+ Break apart the mysterious wizard-generated Win2K "Edit 3 Registry Keys"
  script items by hand into 3 separate items, so you can see what the heck
  they're doing in the script view.
+ pydoc.pyw was a problem:  it's installed by both the Main and Tools
  components.  So when both were selected, the second time it got
  installed Wise figured it was overwriting a pre-existing version, and
  made a backup copy in BACKUP.  A rollback-uninstall then restored that,
  leaving the Tools/Scripts/ directory non-empty, and so Wise couldn't
  remove that directory (or any above it).  Fixed by installing pydoc.pyw
  at most once.
+ Rearranged and commented the "register file extensions" section, because
  it was confusing and needs more work:  turns out it's not true that
  Win2K requires Admin privs to register file extensions, BUT, if you
  don't have Admin privs, Win2K requires a new way to register file
  extensions, and a way that doesn't blow up but doesn't do any good either
  on earlier Windows flavors.  I think I know how to get this done, but am
  too depressed to do it right now <0.7 wink>.
2001-08-04 23:23:27 +00:00
Tim Peters a0a7706916 + Moved IDLE from the "tools" component to the main component.
+ Ditto pydoc.
  (IMO, both should have been done long ago -- simply didn't occur to
   me before)
+ Build the summary text into a vrbl instead of a temp file.  Doh!  Less
  fiddling, and should avoid another class of Win2K permission problems.
Bug:  the "auto vertical scrollbar" control on the summary page doesn't
work (never creates a scrollbar, no matter how much text).  So forced a
vertical scrollbar there.
2001-08-03 19:04:13 +00:00
Tim Peters 2aadd36641 No more Inno Envy: the "Start Installation" dialog now displays a nice
summary of the preceding choices.  No idea if this is "the right way" to
do it, but it's exactly painful enough to make me suspect it's the only
way <wink>.
2001-08-03 11:11:35 +00:00
Tim Peters 6d6c1a35e0 Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
Tim Peters a7f6de7691 Just changes to comments. 2001-08-01 18:42:54 +00:00
Tim Peters 60515573ba Repair more ways in which the "backup files" dialog differed from all the
others (wrong title, inconsistent layout).  Also tried to make the dialog
text clearer, and spelled out what the "yes" and "no" buttons *mean*.
2001-08-01 18:33:33 +00:00
Tim Peters 5a99e0ca0c We always wrote a pair of lines to the Wise install.log telling it to
delete the Tools and Lib directories at uninstall time.  However,
under the old version of Wise, they didn't actually do anything.  Under
the new version, they work as advertised, and even delete files users
added.
Got rid of those, and replaced them with similar uninstall cmds that
get rid of all .pyc and .pyo files (whether or not the installer created
them).  This works nicely!  It still tears down the directory structure,
except for those directories needed to get to any non-.pyc/o file(s) the
user may have added.
2001-08-01 06:29:56 +00:00
Tim Peters b8b3291152 Hmm. The Backup/Replace dialog also had back/next buttons three pixels
narrower than all the other Wise dialogs, and offset by a few pixels in
the vertical direction too.  Made these things consistent across dialogs
too.
2001-08-01 03:42:27 +00:00
Tim Peters bbeb69e357 Aha! Finally figured out something else that's been driving me nuts:
turns out the canned new "backup directory" dialog put its "back" and
"next" buttons at a different relative horizontal position than all the
other canned dialogs.  This explains why you had to keep moving the
mouse around if you wanted to do a straight all-default install -- the
Next button kept moving around.  Now the back/next buttons are in exactly
the same place on all dialogs, and you can click straight thru to the end.
2001-08-01 03:36:20 +00:00
Tim Peters 4951a980ad The "Select Destination Directory" dialog didn't ask for confirmation
about installing into a pre-existing directory *unless* you hit the
Browse button first.  At least while testing, this screwed me repeatedly.
Plus I really liked the Inno Setup scheme of giving you a list box in
its "select directory" dialog without needing a distinct browse button
to ask for that.

So I redid this dialog from scratch:  now gives a list box at once, the
browse button is gone, it asks for confirmation if the directory already
exists, and, since this is the first dialog in the set now, also removed
its "Back" button.
2001-08-01 03:29:59 +00:00
Tim Peters 1f7862ec56 Remove useless Back button from Finished dialog. 2001-08-01 02:36:21 +00:00
Tim Peters aa6111fc93 Add mysnprintf.c to Windows build, + squash compiler wngs in mysnprintf.c. 2001-07-31 22:10:29 +00:00
Tim Peters ce5f13ae41 I hope this irons out the Add/Remove kinks on Win2K for users w/o Admin
privs, but haven't tested that yet.  Doesn't hurt on Win98SE, anyway.
2001-07-31 03:24:55 +00:00
Tim Peters 85a5bae452 Remove oodles of pointless file date and size stamps. I caught the Wise
GUI inserting those once before shortly after I started using it, but
don't know what triggers it -- presumably something in the "expert" view
(which is, suitably enough, unsuited to experts <wink>).
2001-07-30 23:26:41 +00:00
Tim Peters 96e1d2f206 Massive fiddling to get the install to work at all on a Win2K box under a
plain unprivileged User acct:
+ Had to duplicate Wise's Uninstal.wse script, in order to change the line
  at its end that unconditionally tries to write uninstall info under HKLM.
  This is our new file Uninstal.wse, which must be included by python20.wse
  instead of using Wise's version.
+ In every other case we write to HKLM, also write to HKCU instead (we
  were already doing that in *most* places, but not quite all).
+ If the user doesn't have admin privs, the DLLs we usually write to the
  system dir are written to the root of the Python installation instead.
  That's python22.dll, plus the two MSVC runtime DLLs.
+ Added a new component "Register file extensions".  Registering .py etc
  is done under HKEY_CLASSES_ROOT, and that also requires admin privs;
  i.e., AFAICT it's impossible for an unprivileged user to accomplish this.
  In the component selection dialog, if the user doesn't have admin privs
  I gray out this new component so the user knows they aren't getting file
  extensions.
After all that, Python installs, the Start Menu entries are OK, it runs
its test suite to completion, and the uninstaller works too.  Only known
problem so far is that the integration with Win2K's Add/Remove subsystem
isn't quite right yet in this irritating case.
2001-07-30 23:06:21 +00:00
Tim Peters a1fd0505af Add a dialog for the backup directory (default "yes I want one, and
make it MyPythonDirectory\BACKUP\").
2001-07-30 07:30:56 +00:00
Tim Peters 6ea8baa5ee Now stop distutils and xml from getting *too* much (like .pyc files). 2001-07-29 22:12:28 +00:00
Tim Peters 8e02fb15e6 Repair long-standing mistakes in the distutils and xml installations:
1. Only .py files were getting installed.
2. Empty CVS directories were getting created.
Both were due to trying to get away with "recursively copy *.py" one-
liner scripting.
2001-07-29 21:36:58 +00:00
Tim Peters 412e458495 Remove Lib\plat-win from PYTHONPATH; that directory went away a year ago. 2001-07-29 21:04:09 +00:00
Tim Peters d8c7da4bf0 Don't prompt for the doc (HTML) directory anymore (just assume ..\html). 2001-07-29 19:57:07 +00:00