Commit Graph

1233 Commits

Author SHA1 Message Date
Tim Peters ca873eddd5 Windows build: update for 2.1a2, + get ucnhash out of the installer. 2001-02-01 05:10:02 +00:00
Tim Peters ee826f88c9 Docs for new Windows zlib build procedure. 2001-01-31 19:39:44 +00:00
Mark Hammond ae8c268a2b Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash
This involves changing the zlib build process to build zlib itself from sources, then use that library.  Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
2001-01-31 10:28:03 +00:00
Tim Peters 2786543b70 Teach Windows build about new cellobject.c. 2001-01-26 00:12:49 +00:00
Tim Peters 19f52c2e34 Windows: ucnhash subproject no longer exists (/F merged into unicodedata). 2001-01-24 10:07:22 +00:00
Tim Peters 755f4c1035 Added -O option (to run python or python_d w/ -O), 2001-01-23 02:42:09 +00:00
Tim Peters 54bac8e8c5 Remove unicodedatabase.c from the unicodedata subproject. 2001-01-21 23:49:56 +00:00
Tim Peters 2ad1a444e5 When running the tests twice, stuck a "Press any key to continue ..." pause
between passes:  Win9x DOS boxes are limited to 50 lines max, and the result
of the first pass scrolls off irretrievably otherwise.  Also simplified
the goto-laden logic a bit.
2001-01-20 01:53:43 +00:00
Tim Peters 2cfa9806c7 Run tests twice by default, first time deleting .pyc/.pyo files.
New option "-q" to leave .pyc/.pyo alone.
2001-01-19 21:43:49 +00:00
Guido van Rossum 4bf9c20e18 Delete the bytecode from the library and tests before running the
tests for the first time -- like the Unix Makefile does.  This
avoids not catching problems in the bytecode generator and/or bytecode
marshalling.
2001-01-19 21:00:04 +00:00
Tim Peters befc97ca34 Clarifications. 2001-01-18 19:01:39 +00:00
Tim Peters 97c9640cc9 Windows: 2.1a1 changes so Python runs again. Note that the python20
subproject is gone, replaced by the new pythoncore subproject.
2001-01-17 23:23:13 +00:00
Tim Peters 78542ef830 Windows installer: update dialogs, program groups, etc, to 2.1 alpha 1. 2001-01-17 08:54:19 +00:00
Tim Peters d8aaec04ba Export mmap's entry point under Windows (thanks, MarkH & Guido!). 2001-01-11 22:46:45 +00:00
Tim Peters 140d67081c Make Windows build compile new xreadlinesmodule. 2001-01-09 23:27:12 +00:00
Tim Peters 686924528c Prep the Windows installer for 2.0 final:
+ Bump the build number.
+ Changed app name in installer dialogs.
+ Fiddled dialogs to repair grammar and get rid of anachronisms (e.g.,
  "ProgMan" and "Program Manager" haven't made sense since Windows 3.1!).
2000-10-14 07:35:15 +00:00
Tim Peters 70d87d7329 Prep Windows installer for 2.0c1: title and build number. 2000-10-07 04:04:07 +00:00
Tim Peters 7b5af0460c Yet another new unique extension in the test directory. 2000-09-26 02:37:53 +00:00
Tim Peters f1fcc81a01 Bump Windows "build number" to 6.
Note that somebody still needs to change the interpreter to say "2.0b2";
I'm assuming that's a normal part of somebody's Unix release checklist.
2000-09-25 21:55:28 +00:00
Tim Peters f58a7aafea Implemented new os.startfile function, unique to Windows, exposing a
subset of Win32 ShellExecute's functionality.  Guido wants this because
IDLE's Help -> Docs function currently crashes his machine because of a
conflict between his version of Norton AntiVirus (6.10.20) and MS's
_popen.  Docs for startfile are being mailed to Fred (or just read the
docstring -- it tells the whole story).
Changed webbrowser.py to use os.startfile instead of os.popen on Windows.
Changed IDLE's EditorWindow.py to pass an absolute path for the docs
(hardcoding ShellExecute's "directory" arg to "." as used to be done let
IDLE work, but made the startfile command exceedingly obscure for other
uses -- the MS docs are terrible, of course, & still not sure I
understand it).
Note that Windows Python must link with shell32.lib now!  That's where
ShellExecute lives.
2000-09-22 10:05:54 +00:00
Tim Peters 39fb28f759 Windows installer:
Don't ship debug .dll, .pyd or .lib files.  Saves space.
    Bumped the title to beta 2.
2000-09-21 07:50:36 +00:00
Tim Peters a2ebb87bfe Added simple batch file to make running the test suite from the PCbuild
directory less tedious.
2000-09-15 07:36:28 +00:00
Tim Peters 0932cb4499 Windows installer: In the Start menu IDLE shortcut, explictly invoke the
pythonw.exe we just installed.  Making Windows key off the .pyw extension
instead screws people with multiple Python installations (reported more
than once on c.l.py).
2000-09-11 07:55:40 +00:00
Tim Peters 627273165d Boost Windows build # to 5 (see new BUILDno.txt). 2000-09-07 08:37:37 +00:00
Tim Peters 553d2a5dc4 Windows installer, reflecting changes that went into a replacement 2.0b1
.exe that will show up on PythonLabs.com later today:
    Include the Lib\xml\ package (directory + subdirectories).
    Include the Lib\lib-old\ directory.
    Include the Lib\test\*.xml test cases (well, just one now).
    Remove the redundant install of Lib\*.py (looks like a stray duplicate
        line that's been there a long time).  Because of this, the new
        installer is a little smaller despite having more stuff in it.
2000-09-07 08:34:01 +00:00
Tim Peters fc9eeae253 Document new Windows build # scheme. 2000-09-07 08:28:50 +00:00
Tim Peters 0d416d3360 Windows build: install NEWS.txt; bump BUILD# to 3 in preparation for next
installer.
2000-09-05 17:14:16 +00:00
Tim Peters 87106b58cf Now that I've got real docs, redirect _DOC_ out of the Python 1.6 tree and
to the new docs.
Added a description to the Tcl/Tk file copies.
2000-09-05 06:23:16 +00:00
Tim Peters 50699215f8 test_mmap wrote null bytes into its expected-output file; this caused me to
waste an hour tracking down an illusion; repaired it; writing/reading non-
printable characters (except \t\r\n) into/outof text-mode files ain't
defined x-platform, and at least some Windows text editors do surprising
things in their presence.
Also added a by-hand "build humber" to the Windows build, in an approximation
of Python's inexplicable BUILD-number Unix scheme.  I'll try to remember to
increment it each time I make a Windows installer available.  It's starting
at 2, cuz I've put 2 installers out so far (both with BUILD #0).
2000-09-04 07:34:06 +00:00
Tim Peters 7527e00058 Install LICENSE.txt and README.txt.
In the Welcome dialog:
    Reworded reference to non-existent "Exit Setup" button.
    Removed useless "Back" button.
    Changed "push" to "click".
2000-09-01 19:59:11 +00:00
Tim Peters 9a83b92c75 Guido pointed out that the "non-admin install" blurb got displayed
very late in the process when running on Windows 2000 without admim
privs.  Rearranged so that the admin check is done at the start
instead.  Added words to the end of the blurb to make it very clear
how to abort the install (wasn't obvious to me that "Cancel" was
the right thing to click).
2000-09-01 19:30:26 +00:00
Tim Peters f6f6fa237f Back off to HKCU (instead of HKLM) if user doesn't have "NT adminstrator
privileges".  Untested except on Win98SE (where Wise writes to HKLM).
2000-09-01 11:45:02 +00:00
Tim Peters b04e650a88 Added installation of w9xpopen.exe.
Removed installation of Lib/plat-win/*.py, because it no longer exists!
2000-09-01 07:54:04 +00:00
Tim Peters aff1284ed1 In readme.txt, make what's needed to build the "optional" subprojects
much more explicit.  Also document that we're moving to Tcl/Tk 8.3.2.
Simplify .dsp files by getting rid of useless include paths.
.wse file changed to reflect that my setup is different than Guido's:
if you *build* a Python distro using python20.wse, beware!
2000-08-25 06:52:44 +00:00
Guido van Rossum 93ff482c21 At Mark Hammond's request, removing registry key
Software\Python\PythonCore\2.0\Dll\Python20.dll -- it's no longer
needed according to him.

Note: not yet tested!
2000-08-22 14:04:24 +00:00
Guido van Rossum 6424524fbe Thomas Heller noticed that the wrong registry entry was written for
the DLL.  Replace
 %_SYSDEST_%\Python20.dll
with
 %_DLLDEST_%\Python20.dll.
2000-08-22 12:10:02 +00:00
Mark Hammond f08b5d02b2 Support for building the new w9xpopen.exe, which is used for reliable popen operation on Windows 9x. 2000-08-14 05:07:05 +00:00
Trent Mick b07cf5080f Revert this checkin:
http://www.python.org/pipermail/python-checkins/2000-August/007072.html
and make PCbuild/*.dsp PCbuild/*.dsw binary again.
2000-08-13 22:59:26 +00:00
Trent Mick 557d35ebf2 These files all used to be tagged as binary in CVS. I recently changed this so
that these files are treated as normal text files (which they are). However,
the files also had to be changed to be stored in CVS internally with UNIX line
terminators (they had DOS line terminators internally before this commit).
2000-08-11 23:20:32 +00:00
Guido van Rossum 7cee6ddcab somehow the 'Total Keys=1' disappears. No other changes. 2000-08-01 15:50:09 +00:00
Tim Peters f9a4a6eec1 Typo repair. 2000-07-01 20:38:27 +00:00
Guido van Rossum 880066a9cb A bunch of project files were checked in as text files.
They should all be binary (cvs admin -kv has now been applied).
2000-07-01 04:03:32 +00:00
Guido van Rossum 74991fa4a3 Add ucnhash (new subproject). 2000-07-01 03:46:38 +00:00
Mark Hammond 20c8bc6ba3 The Python include paths were not specified. 2000-07-01 03:43:33 +00:00
Guido van Rossum 3e4d2f6dcf Define a magical symbol and magic include path so it will compile without
changes to the bsddb source.
2000-07-01 03:27:22 +00:00
Mark Hammond 2c62154e98 Add ucnhash to the workspace, as a dependency of python20. 2000-07-01 03:15:37 +00:00
Mark Hammond 5824f373d4 ucnhash now correctly builds for Windows. 2000-07-01 03:14:51 +00:00
Mark Hammond 9802255444 Update all projects so Debug builds use "/Zi" instead of "/ZI", which means everything should still build under MSVC5
NOTE:  All these projects had messed-up line endings (but MSVC didnt mind).  Executing a diff with "--ignore-all-space" will show the specific changes, but I made a complete checkin with correct line endiings as it is the correct thing to do!
2000-07-01 03:12:59 +00:00
Tim Peters 610a827b13 Repaired two URLs. 2000-07-01 02:51:23 +00:00
Tim Peters 4b5fb0772e Update for 2.0b1. Also add more text, to be more explicit about
what the dozen+ subprojects are for, which are and aren't
expected to build out of the box, and what else is needed to get
them all to build.  Also explained that Alpha configurations
don't refer to pre-beta, but to the Alpha processor!  That's
baffled me for years <0.7 wink>.
2000-07-01 00:03:43 +00:00
Guido van Rossum 8173d99eec Add back a missing CRLF line ending. 2000-06-30 20:30:03 +00:00
Guido van Rossum ed2bf9c880 Oops.
- The Tcl minor version should be 3 -- we're now using 8.3.1.
- Remove the version number from yet another Tcl source file.

Note that Tcl should be installed in C:\src\tcl for this to work.
2000-06-30 14:55:26 +00:00
Guido van Rossum cce79a1582 Poke and hope for Tcl version: now settable through _TCLMINOR_
variable...
2000-06-30 14:50:52 +00:00
Jeremy Hylton fa01bf15b4 add gcmodule 2000-06-30 14:38:41 +00:00
Guido van Rossum b3c66be8a9 Change the include etc paths to Tcl 8.3.1. 2000-06-30 14:33:47 +00:00
Guido van Rossum a1956e2f26 Move Wise install dir consistently to C:\Wise. Don't use %_WISE_% in
include, it doesn't seem to work.
2000-06-30 14:30:28 +00:00
Guido van Rossum f00562a962 Poke and hope for Tim...
(Change title to beta 1, change a few paths for typical Win98 setup.)
2000-06-30 14:20:19 +00:00
Guido van Rossum 3afe36d63f More 2.0 stuff -- fix workspace, remove 1.6 files 2000-06-30 14:04:10 +00:00
Tim Peters c155f828fa Making a tiny change to figure out what I'm going to screw up
by trying to use CVS under Windows at all ...
2000-06-30 09:04:35 +00:00
Jeremy Hylton c5007aa5c3 final patches from Neil Schemenauer for garbage collection 2000-06-30 05:02:53 +00:00
Guido van Rossum e4aa4ca698 Bump version to 2.0. 2000-06-29 22:32:08 +00:00
Fred Drake ee8c418408 Finish converting the winreg extension to _winreg. 2000-06-29 16:43:49 +00:00
Marc-André Lemburg 5782386268 Marc-Andre Lemburg <mal@lemburg.com>:
MSVC project file for the new module ucnhash. This may have to
be added to pcbuild.dsw with an dependancy on python16.

By Bill Tutt.
2000-06-28 16:40:10 +00:00
Trent Mick 3f3ce04b1b correct case in python16.dsp to allow build with VS6 2000-06-06 23:29:09 +00:00
Jeremy Hylton 8f14b7cd94 make sure the case is correct (damned case-sensitive languages :-) 2000-06-02 02:41:47 +00:00
Jeremy Hylton 0292d78e91 add new Python/exceptions.c to python16 project (courtesy Trent Mick) 2000-06-01 15:47:08 +00:00
Guido van Rossum 26af93cf35 The debug settings for zlib contained a bogus reference to msvcrt in
the /nodefaultlib: option.
2000-05-02 12:44:22 +00:00
Guido van Rossum c35a20ed1e Mark Hammond: Added dependency of winsound project on python16
project.  [However I didn't add the other changes in his patch, which
were just taking away the source code control stuff -- this doesn't
hurt and would come back as soon as I make another change. --GvR]
2000-04-25 03:24:06 +00:00
Guido van Rossum 1d8fcdacea Oops -- Mark forgot to add "0x" to the /base: argument. 2000-04-24 14:17:17 +00:00
Guido van Rossum 841c2f6b09 Changes by Mark Hammond to ignore more by-products of the build. 2000-04-24 13:32:05 +00:00
Guido van Rossum 6dd9fc1a2c Added winsound project to workspace, and added -I options to winsound 2000-04-21 21:43:40 +00:00
Guido van Rossum 7053b8a422 Mark Hammond:
* Temp directory for all projects are now specific to the project
(rather than common as before).  This avoids any conflicts with
debug symbols or common file names etc.
NOTE: You should manually delete your existing build directory after
applying this patch, as the MSVC "clean" command will now only clean
the new temporary directories - not the existing common temp
directory.

* Base address for all extension modules updated. PC\dllbase_nt.txt
also updated.  Erroneous "libpath" directory removed for all
projects.

* winsound module moved from a builtin module to an extension
module.  This was done primarily to avoid Python16.dll needing to
pull in winmm.dll.  Really dumb test added for winsound - but if
nothing else it ensures the module imports.
2000-04-21 21:26:08 +00:00
Guido van Rossum a901f8fd4d Install the docs (with fewer rules).
Add descriptions for the system variables.
2000-04-10 19:36:27 +00:00
Guido van Rossum 4dfcd766c6 Added project dependencies -- Mark is right, these are needed. 2000-04-10 17:56:36 +00:00
Guido van Rossum 6d2332d376 Strangely, we *do* need to define ZLIB_DLL.
Do it in the project file rather than in the source,
so it's easier for Mark to change.
2000-04-10 17:52:44 +00:00
Guido van Rossum b1b3096a54 Moved socket, select, unicodedata to their own PYD. This should
reduce the size of python16.dll to almost its 1.5.2 size, and remove
dependencies on winsock unless sockets are actually used.

Note that soundex is simply no longer supported.
2000-04-06 14:46:40 +00:00
Guido van Rossum 4cb8c0b1b4 Add msvcrt to list of libraries to ignore in Debug mode. 2000-04-06 13:19:43 +00:00
Guido van Rossum 457855a5f0 Forgot to save the project file -- this also reflects the use of
Tcl/Tk 8.2 instead of 8.3, because 8.3.0 often crashes on closing a
window.
2000-04-05 18:25:12 +00:00
Guido van Rossum a5b09373d8 Lots of cleanup things.
Added the bitmaps back, and added the wizard style program group
selection dialog.

Got rid of references to backup etc. inserted by the installer wizard
-- we don't use these.

Got rid of conditionals for Windows 3.1, ditto.

Changed version to 1.6a2.

Changed default install directory to "C:\Python16" (not really, but close).

Install only one copy of python16.lib.

Install the two MS DLLs (versioned) and python16.dll (unversioned) in
the system directory.

Install Tcl/Tk and expat in the DLLs directory.
2000-04-05 16:33:30 +00:00
Guido van Rossum 7025599f3d Adding pyexpat project. 2000-03-31 16:15:51 +00:00
Guido van Rossum e042dc4583 Buncha last-minute fixes 2000-03-31 15:51:09 +00:00
Guido van Rossum 5fc4e20fee Added _sre project to workspace. 2000-03-31 15:10:30 +00:00
Guido van Rossum 43da798b42 Bit of cleanup on the projects.
Some refinements on the Wise file, also adding mmap.pyd.
2000-03-31 01:33:07 +00:00
Guido van Rossum a7937e57f3 Added mmap project. (Mark Hammond.) 2000-03-31 01:17:42 +00:00
Guido van Rossum 8c4cba8ef2 Mark Hammond: ensure the new standard module winreg is installed. 2000-03-30 22:44:50 +00:00
Guido van Rossum c06653f567 Internal changes. 2000-03-30 21:27:30 +00:00
Guido van Rossum fb515f892f Added Tcl 8.3.
Building on Windows NT.
Removed Tcl installation.
Commented out Doc installation.
2000-03-30 21:27:11 +00:00
Guido van Rossum 426e39f2c2 Deleting Python 1.5 project and Wise file. 2000-03-30 21:22:08 +00:00
Guido van Rossum 15a57a7cad Update for creating and linking with python16.dll.
Also, _tkinter is linked with Tcl 8.3.
2000-03-29 01:54:24 +00:00
Guido van Rossum a29b3607d4 Updated for Python 1.6 and VC++ 6.0. 2000-03-29 01:51:37 +00:00
Guido van Rossum 09fca8dbbb Mark Hammond: add winreg module as new subproject. 2000-03-28 20:37:33 +00:00
Guido van Rossum 76bd689a8d VC++ project changes to add new Unicode files and modules.
(I did this under VC++ 5.0 -- hope this doesn't break anything.)
2000-03-11 00:13:14 +00:00
Guido van Rossum ef6ceb62bd Same patch (also by Mark Hammond) for this straggler project file as
for the other projects, to move the x86 project names back to what
they were.
2000-02-07 15:29:43 +00:00
Guido van Rossum 4310debbd8 Mark Hammond renames the x86 projects back to what they were named
before the patch by Trent Mick.  Since he now also works for
ActiveState, I suppose he overrides Trent. :-)
2000-02-03 17:19:35 +00:00
Guido van Rossum a4596a4ba5 Trent Mick: Setup PC configuration so that MSDEV chooses the x86
release project config as the default.
2000-01-21 00:03:42 +00:00
Guido van Rossum 72ca1b3536 Changes by Trent Mick (of ActiveState) and Dale Nagata to support
building for NT Alpha as well as NT x86.
2000-01-20 21:31:41 +00:00
Guido van Rossum 5731575449 Added setargv.obj to the link link.
This causes * etc. on the command line to be expanded, link on Unix.
1999-12-20 23:02:41 +00:00
Guido van Rossum 90e0f57cea Add dynload_win.c to project. 1999-12-20 23:00:10 +00:00
Guido van Rossum 72bacaa2c9 Bump version to 1.5.2 (final) 1999-04-13 15:44:49 +00:00
Guido van Rossum 2da1320561 Added shamodule.c 1999-04-13 15:44:21 +00:00
Guido van Rossum 4c6958dde1 Use the Tcl 8.0.5 installer.
Add a variable %_TCL_% that makes it easier to switch to a different version.
1999-04-08 23:13:37 +00:00
Guido van Rossum 6804b7aee0 Release 1.5.2c1. Add IDLE and Uninstall to program group.
Don't distribute zlib.dll.  Tweak some comments.
1999-04-08 20:50:27 +00:00
Guido van Rossum fd498bd48b Now using static zlib 1.1.3 1999-04-08 20:49:11 +00:00
Guido van Rossum 594b3d66bd Some new stuff. Get the HTML docs via a new variable.
Comment out freeze script (doesn't work at all).
Add dialog to get program manager group.
1999-02-17 23:53:35 +00:00
Guido van Rossum 0b07035249 Add source file winsound.c and library winmm.lib 1999-02-16 19:56:27 +00:00
Guido van Rossum caa0606471 Upgraded to WISE 5.0g; bumped to 1.5.2b2; added dialog for Tcl. 1999-01-05 14:10:29 +00:00
Guido van Rossum 45d2ae5161 Use installed Tcl lib files -- also for Debug configuration 1998-12-22 21:43:35 +00:00
Guido van Rossum 7aa9f582f4 Use installed Tcl lib files 1998-12-22 21:18:40 +00:00
Guido van Rossum 66419bafc6 Added Tcl 8.0.4 installer. Added Tools/idle. 1998-12-22 18:45:16 +00:00
Guido van Rossum 44331ec9e0 Get rid of python_nt.def -- it's no longer needed! 1998-12-21 20:44:53 +00:00
Guido van Rossum d9eee4ee0c Bump version to 1.5.2b1 1998-10-24 19:45:43 +00:00
Guido van Rossum 1d5766fd1a Shit -- forgot to set the installer's title to the new version. 1998-10-09 02:30:23 +00:00
Guido van Rossum 60009ccc05 Change _tkinter.c compile options. 1998-10-09 02:03:49 +00:00
Guido van Rossum 002156d130 Add bufferobject.c. 1998-10-09 02:03:00 +00:00
Guido van Rossum 7e1e57494c For 1.5.2a2.
Install zlib.dll in DLLs instead of windows32 system directory.
Install freeze, webchecker and versioncheck tools.
Add Content type: text/plain registry keys for .py, .pyw.
Add file type .pyo (same as .pyc).
1998-10-08 01:50:47 +00:00
Guido van Rossum f6240cf372 Some kind of source control krept in. 1998-10-08 01:48:13 +00:00
Guido van Rossum 98f936b5d4 Whatever 1998-10-08 01:46:52 +00:00
Guido van Rossum ca69cf581d Insignificant change cause by saving again. 1998-08-13 18:54:51 +00:00
Guido van Rossum 887d072cc0 Get rid of mysterious bsddb.txt. 1998-08-12 02:31:42 +00:00
Guido van Rossum b034e1e2ff Delete CurrentVersion instead of setting it. 1998-08-12 01:55:26 +00:00
Guido van Rossum 5bf2864fc0 Added dependencies between projects. 1998-08-12 01:54:43 +00:00
Guido van Rossum 37ea4107b1 # New version; not clear what happened. 1998-08-08 23:48:26 +00:00
Guido van Rossum 7fb668866d Get rid of python15.lib; add some incl files 1998-08-08 21:04:19 +00:00
Guido van Rossum b58dff553b Play games with version numbers; add lib-tk to path. 1998-08-08 20:11:02 +00:00
Guido van Rossum f4edff022c More files to be ignored. 1998-08-08 20:07:20 +00:00
Guido van Rossum 78f6583c7c Put the CRLF back in. 1998-08-06 04:23:56 +00:00
Guido van Rossum 0f586dacc0 Put the CRLF back in. 1998-08-06 04:18:38 +00:00
Guido van Rossum 844ea7beab New project files... 1998-08-06 04:04:46 +00:00
Guido van Rossum 0fd9408c40 Needed. 1998-07-08 02:56:20 +00:00
Guido van Rossum e79cf323c7 Added hints about building your own DLL. 1998-07-07 22:35:03 +00:00
Guido van Rossum 3600beefea Moved from PC 1998-05-29 02:32:57 +00:00
Guido van Rossum 15b239f785 Moved VC++ 5.x stuff here. 1998-05-26 14:16:23 +00:00
Guido van Rossum 4a78a3cf3b Added empty PCbuild directory for use by the NT build process. 1997-09-03 15:37:50 +00:00