Commit Graph

538 Commits

Author SHA1 Message Date
Guido van Rossum 7651624df8 New VC++ 4.2 makefile, contributed by Gregor Schmid,
which adds the three missing files.
1997-12-16 22:25:15 +00:00
Guido van Rossum 85f8b0980d Add note about having to add some files to the VC 4.2 files. 1997-12-15 18:31:32 +00:00
Guido van Rossum d0ec7616ea Copy the change from ../getpathp.c here. 1997-12-11 15:21:33 +00:00
Guido van Rossum 2dbabb2801 Installer for beta-2.
Use Program Files, register pythonw.exe to execute .pyw files.
1997-12-11 05:16:20 +00:00
Guido van Rossum 1058d2e891 update the example without the example.def file 1997-12-11 04:06:04 +00:00
Guido van Rossum 55b8b03dfb New instructions, take VC++ 5.x into account. 1997-12-11 04:01:25 +00:00
Guido van Rossum 936c6de5d3 Adding VC 5.x workspace and project files 1997-12-11 03:43:29 +00:00
Guido van Rossum 0decf6c935 Added tkappinit.c source, and define WITH_APPINIT. 1997-12-11 03:42:40 +00:00
Guido van Rossum 691d2adeef Allocate one byte extra in some cases. 1997-12-11 02:32:43 +00:00
Guido van Rossum 3b99430808 # Use proper temp subdir for intermediates. 1997-12-10 15:12:23 +00:00
Guido van Rossum 4fdd1fafb2 Comment out CODE and DATA statements that are apparently obsolete. 1997-12-10 05:50:55 +00:00
Guido van Rossum d666eae55a Adding a new project: pythonw, or WinMain.c, containing a main program
that doesn't have a console window attached.  stdout/stderr are lost.
This is handy though for things like grail.
1997-12-10 05:50:18 +00:00
Guido van Rossum a34c31352b New batch of patches by Jeff Rush; moved his readme.txt portion here. 1997-12-05 22:07:14 +00:00
Guido van Rossum cee1dca4e7 Moved Jeff Rush's ever expanding comments to os2vacpp/readme.txt. 1997-12-05 22:06:23 +00:00
Guido van Rossum 205eb72217 Use registry key ProgramFilesDir as default MAINDIR 1997-12-05 06:32:47 +00:00
Guido van Rossum 6656d1f041 Add a few more PyErr_ symbols 1997-12-05 06:32:13 +00:00
Guido van Rossum faf8b21507 Add pretty icon to python.exe 1997-12-05 06:31:40 +00:00
Guido van Rossum f11d0240e3 Icons for Windows installer. 1997-11-26 05:14:14 +00:00
Guido van Rossum 3879d4aac7 Added the HTML files. 1997-11-26 04:55:32 +00:00
Guido van Rossum dd58469d8a WISE installer source for Python 1.5 1997-11-25 06:02:27 +00:00
Guido van Rossum 36e18e3d52 Added pypcre.c module. 1997-11-25 06:00:59 +00:00
Guido van Rossum e300d6f0fe Replace plat-os2 with plat-win, per Jeff Rush' suggestion. 1997-11-24 17:49:45 +00:00
Guido van Rossum 465f71d052 Done a sort -u on the symbols (and replaced all tabs with spaces). 1997-11-24 15:54:24 +00:00
Guido van Rossum e1cba7f577 Oops, the sort took some whitespace into account. 1997-11-24 15:50:27 +00:00
Guido van Rossum 060dffbc34 Done a sort -u on the symbols. 1997-11-24 15:48:23 +00:00
Guido van Rossum 7db30cad1e ignore various VC++ turds 1997-11-22 22:05:00 +00:00
Guido van Rossum 50d4cc2f1d Files specific to Visual Age C for OS/2 -- by Jeff Rush 1997-11-22 21:59:45 +00:00
Guido van Rossum 0ba48ba172 Added Jeff Rush' comments 1997-11-22 21:58:14 +00:00
Guido van Rossum d3af2f3815 win -> plat-win 1997-11-22 21:56:10 +00:00
Guido van Rossum f5578e4449 Add PyImport_Inittab and PyOS_AfterFork 1997-11-22 21:55:18 +00:00
Guido van Rossum 8731e5c35f The target directory is now called dos-8x3, not dos_8x3. 1997-10-07 14:55:11 +00:00
Fred Drake d80b3bdc1e Argh; do the same for the "Release" version of the config. 1997-10-02 20:36:45 +00:00
Fred Drake e40afcf154 Fix up include directories for compiling the resources. 1997-10-02 20:23:52 +00:00
Guido van Rossum ccf0a44d2d Fix PYTHONPATH for new names; rename tkinter to lib-tk, rename win to
plat-win, get rid of test (which is now a package).
1997-09-30 22:14:39 +00:00
Fred Drake 228776cfa8 PyExc_NumberError -> PyExc_ArithmeticError 1997-09-30 19:12:33 +00:00
Guido van Rossum 22ecb71078 Added PyExc_Exception and PyErr_NewException. 1997-09-29 23:40:07 +00:00
Guido van Rossum 271f977686 Seem to be some changes related to DLL version from string resource,
again (Mark Hammond is the cause of all this).
1997-09-29 23:39:31 +00:00
Guido van Rossum ec6809291d DLL version is now loaded from a string resource. 1997-09-29 23:37:12 +00:00
Guido van Rossum f57c17034a Remove #ifdef __cplusplus. 1997-09-29 23:36:42 +00:00
Guido van Rossum ff8c9dab19 Bump version and store DLL version in a string variable (for branding). 1997-09-29 23:36:17 +00:00
Guido van Rossum 026de19906 Added PyImport_ImportModuleEx(name, globals, locals, fromlist); this
is like PyImport_ImporModule(name) but receives the globals and locals
dict and the fromlist arguments as well.  (The name is a char*; the
others are PyObject*s).
1997-09-05 07:11:32 +00:00
Guido van Rossum d5f0ce9f28 Added some symbols (I'm afraid more will come). 1997-09-03 16:12:00 +00:00
Guido van Rossum fd91056d59 Change instructions to require use of PCbuild directory (instead of
just recommending it).  At Mark Hammond's request.
1997-09-03 16:11:19 +00:00
Guido van Rossum 9ca064fbb4 At Mark Hammond's suggestion:
- use the DLL versions of the C runtime (!)
- change path settings so intermediate files go to Debug/temp or Release/temp
- add resource file to python15.dll (can't remember what this does)
- add a separate project to build the parser module
1997-09-03 16:10:52 +00:00
Guido van Rossum 64790de195 Added new flags and exceptions; removed AccessError exception. 1997-09-03 01:09:25 +00:00
Guido van Rossum e3c0d5eb34 Added new Py_IsInitalized() API function to test the 'initialized' flag. 1997-08-22 04:20:13 +00:00
Guido van Rossum 8b523f9bd8 Added reop 1997-08-21 02:28:40 +00:00
Guido van Rossum 8a81d27d58 Remove remark on python15.lib being in the Debug subdir only. 1997-08-18 20:58:06 +00:00
Guido van Rossum b27d8d8cf2 Changed the way python15.lib is included in the other projects.
Per Mark Hammond's suggestion, add it to the extra libs in Settings
instead of to the project's source files.
1997-08-18 20:57:13 +00:00
Guido van Rossum 34b359732c No longer used. 1997-08-18 15:46:16 +00:00
Guido van Rossum ff7d104778 DevStudio (CV++ 5.0) Project files. 1997-08-14 23:02:29 +00:00
Guido van Rossum 831c2583c8 Updated for new situation; added VC++ 5.0 info and new path strategies. 1997-08-14 22:57:33 +00:00
Guido van Rossum 4036c9c2a1 Probably the last VC++ 4.2 makefile I'll check in.
After this I will be using 5.0, which has binary workspace files...
1997-08-13 23:08:39 +00:00
Guido van Rossum f644882fb4 Small changes to readme and makefile; tested for 1.5a3! 1997-08-13 23:07:44 +00:00
Guido van Rossum 00b299afea removed getpath_nt.c in favor of revamped getpathp.c 1997-08-13 21:38:04 +00:00
Guido van Rossum eea1449a34 Much rewritten. Added Win32 registry stuff (from getpath_nt.c, which
is now obsolete), and changed the default path calculations.
$PYTHONPATH is now added as a prefix (like it's always been on Unix);
$PYTHONHOME takes precedence over the program pathname; and only one
landmark is needed.
1997-08-13 21:30:44 +00:00
Guido van Rossum 407a22d2ce Made it real. Changed locking() to work with file descriptors instead
of Python file objects.  Added open_osfhandle() (Mark had done some
work for that), get_osfhandle(), setmode(), and the console I/O
functions kbhit(), getch(), getche(), ungetch(), and putch().
1997-08-13 19:57:53 +00:00
Guido van Rossum 8f1b651980 Some changes to make it work on NT; add the directory where the binary
lives to the end of the path.

(Still to do: add $PYTHONPATH to the front instead of using it as is;
add the Win32 registry paths as in getpath_nt.c (which can then
retire).)
1997-08-13 19:55:43 +00:00
Guido van Rossum 0e6ae93894 Moved PyWin_IsWin32s() here. 1997-08-13 19:53:11 +00:00
Guido van Rossum 5137ea9e27 Remove #define main; remove vc40 from PYTHONPATH. 1997-08-13 19:52:26 +00:00
Guido van Rossum 44620646fd Renamed Py_input_hook to PyOS_InputHook.
Also cleaned out some CR's left by the VC++ editor.
1997-08-11 18:57:29 +00:00
Guido van Rossum 29c1ea5af0 Got the new structure working with MSVC 4.2.
main_nt.c is gone -- we can use Modules/python.c now.
Added Mark Hammond's module msvcrt.c (untested).
Added several new symbols.
1997-08-07 00:11:34 +00:00
Guido van Rossum 7a337c1c79 Removed Py_SuppressPrintingFlag flag; added new
PyEval_{Acquire,Release}Thread() calls.
1997-07-19 19:59:06 +00:00
Guido van Rossum f0f7aad30f Added remaining PyThread symbols. 1997-07-16 15:51:52 +00:00
Roger E. Masse 1830afb4da Changed the reference of 'mappingobject.c' to 'dictobject.c' 1997-06-05 22:03:26 +00:00
Guido van Rossum c2d1417615 Added Py_GetProgramFullPath (same as GetProgramName) 1997-05-22 20:45:28 +00:00
Guido van Rossum 39ed1c35e5 Added Py_GetProgramFullPath 1997-05-22 20:45:01 +00:00
Guido van Rossum e34b7de399 Updated Python version no to 1.5.
Noted that we have used VC 4.2 and that 5.x should be able to convert it.
1997-05-19 20:01:57 +00:00
Guido van Rossum 1aa7e3a177 Jim Ahlstrom's contributions for DOS, OS/2, WIN3.1. 1997-05-19 14:16:21 +00:00
Guido van Rossum 082d28912f Added CRLF for Notepad. 1997-05-16 16:24:09 +00:00
Guido van Rossum 29168ce1ed Added CRLF for Notepad. 1997-05-16 16:17:20 +00:00
Guido van Rossum 8cd70c3555 Instructions updated for 1.5. Added the important note to set the
run-library to multithreaded dll.
1997-05-14 21:35:02 +00:00
Guido van Rossum 9348bf8388 Updated, mappingobject -> dictobject plus some other minor things. 1997-05-14 20:47:15 +00:00
Guido van Rossum fcc7704ee9 Typo! \\lib\\<path> should be .\\lib\\<path> 1997-05-14 18:32:32 +00:00
Guido van Rossum 39d6ae7b6c New makefile, for 1.5, with CRLF 1997-05-14 15:54:27 +00:00
Guido van Rossum e0332c7173 Longer default PYTHONPATH will find test, tkinter, and shared modules
in the build tree, when the current directory is the build tree root.
1997-05-13 19:21:22 +00:00
Guido van Rossum ff2ea728b8 Oops -- missed FloatingPointError. 1997-05-09 03:05:16 +00:00
Guido van Rossum c77b921c82 Latest and greatest. 1997-05-09 01:00:56 +00:00
Guido van Rossum 1aceb056d6 Add warning that it's out of date. 1997-05-08 23:44:57 +00:00
Guido van Rossum 22822d78db forgot to rename import_filetab 1997-05-08 23:43:52 +00:00
Guido van Rossum 78089e20b6 Updated vc40.mak for Roger. Includes CRLF! 1997-05-06 21:44:44 +00:00
Guido van Rossum 2e146b332c Use spaces exclusively. 1997-05-06 16:00:32 +00:00
Guido van Rossum 42c2e6ac49 Added cStringIO and cPickle to the supported modules. 1997-05-06 15:59:14 +00:00
Guido van Rossum c339753fb3 Added HAVE_ macros for getpeername, getpid, setvbuf. 1997-05-06 15:58:18 +00:00
Guido van Rossum a1ebdbddb3 Use Python.h, not allobjects.h.
Don't call initall()  (Experimental incompatible change!!!!!!)
1997-05-05 22:18:50 +00:00
Guido van Rossum db9353e17d CloseHandle should be RegCloseKey.
Add extern decl for Py_GetProgramName().
1997-05-05 22:17:45 +00:00
Guido van Rossum 8290e07509 Removed misc outdated stuff for 1.5 1997-05-05 22:14:19 +00:00
Guido van Rossum 7688bbad61 Include Python.h, not allobjects.h (which no longer exists). 1997-05-05 21:45:44 +00:00
Guido van Rossum 2b713b2f67 One more inittab. 1997-04-29 20:46:45 +00:00
Guido van Rossum d69a84b01e use /usr/bin/env 1997-04-02 06:11:55 +00:00
Guido van Rossum 5a35e32de6 Remove ConflictError, add InteractiveFlag, CObject_Type, FdIsInteractive, and thread entry points. 1997-03-31 17:18:03 +00:00
Guido van Rossum 115eb64ff6 Added PyArg_ParseTupleAndKeywords, PyErr_Format. 1997-02-14 17:11:33 +00:00
Guido van Rossum e0e696282f Added PyCObject_Import. 1997-01-22 20:48:48 +00:00
Guido van Rossum 728a09e0f6 Remove GetOwner, add GetBuildInfo... 1997-01-22 01:41:30 +00:00
Guido van Rossum 4ee5811bd8 Added getbuildinfo.c to the project. 1997-01-22 01:40:35 +00:00
Guido van Rossum e3258019c8 Remove obsolete PyFrame_ExtendStack. 1997-01-17 22:03:32 +00:00
Guido van Rossum 3d77d2b10b Removed accessobject.c from file list. 1997-01-17 21:56:08 +00:00
Guido van Rossum d08735a54b Skip empty paths read from the registry. 1997-01-12 20:14:01 +00:00
Guido van Rossum 9bc7e0af50 Added PyLong*UnsignedLong and PyCobject interfaces. 1997-01-03 21:05:44 +00:00
Guido van Rossum d266eb460e New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
Guido van Rossum 478f4871d7 Added disclaimer. 1996-10-25 14:35:24 +00:00
Guido van Rossum 9ec053c4f9 Removed NumPy instructions. Add note about VC 4.0 vs. 4.2. 1996-10-24 14:30:58 +00:00
Guido van Rossum 93df314d74 Removed NumPy files -- no time to fix these. 1996-10-24 14:28:18 +00:00
Guido van Rossum 8542c8e1af Set /MD option for *all* projects (even python.exe). 1996-10-24 00:08:27 +00:00
Guido van Rossum a31e084136 It turns out that VC1.5 does not necessarily define _WINDOWS. 1996-10-22 17:57:23 +00:00
Guido van Rossum d8b4dd6c25 Don't recommend unzipping in the root. 1996-10-21 14:54:59 +00:00
Guido van Rossum 22a67707e9 Changed _Py_EllipsesObject -> _Py_EllipsisObject.
Added PyEval_CallObjectWithKeywords.
1996-10-21 14:53:22 +00:00
Guido van Rossum cf6c0ea29c Add an XXX comment about apparent incompleteness of Borland defines. 1996-10-21 14:52:24 +00:00
Guido van Rossum bc2e6319cb From: "Mark Hammond" <MHammond@skippinet.com.au>
Date: Fri, 4 Oct 1996 09:08:19 +1000

A couple of things.  As I mentioned a while back, I have made the
changes to the registry support, in getpath_nt.c.  To recap, there can be:
...\pythonpath = default core Pythonpath
...\pythonpath\Pythonwin = c:\somewhere
etc.

The code simply appends them all.  The order can not be guaranteed
(registry limitation) but the "default" is always at the end.

The main reasons for change were the length of the path, but mainly
so an uninstaller can do the right thing.
1996-10-21 14:40:30 +00:00
Guido van Rossum 1383939e45 Removed -- we now have python_nt.def 1996-09-06 21:47:02 +00:00
Guido van Rossum e982ee326e Move Watcom to the end. Added description of all Win32 specific
files/dirs.  Slight editing.
1996-09-06 21:46:10 +00:00
Guido van Rossum ebd8706fcd Add W95 to header 1996-09-06 21:45:27 +00:00
Guido van Rossum 026f01a297 A directory with a working example of how to build an extension. 1996-09-06 21:16:21 +00:00
Guido van Rossum 932c06e4ff Added PyMarshal functions 1996-09-05 15:56:23 +00:00
Guido van Rossum 0cc24730fe Taken the plunge -- changed to Unix linefeed convention 1996-09-05 15:48:43 +00:00
Guido van Rossum 73695eccc8 Include file for users of Mark's build procedure 1996-09-05 15:32:18 +00:00
Guido van Rossum 983c552c43 Different unpack instructions for vclibs41.zip 1996-09-05 03:15:22 +00:00
Guido van Rossum 54d9fa2e40 New project files from Jim A. 1996-09-05 01:26:59 +00:00
Guido van Rossum c14a747d4b *** empty log message *** 1996-09-04 18:00:09 +00:00
Guido van Rossum 2b88061c9c Added elaborate trouble shooting guide.
Added more specific directions for editing the environment on Windows '95.
Made the section headers more visible.
1996-09-03 21:20:52 +00:00
Guido van Rossum 03dea6d026 Added uninstall option 1996-09-03 18:19:12 +00:00
Guido van Rossum f71f6133d0 Initial release (+ 1 bugfix in setup.py) 1996-09-03 15:08:36 +00:00
Guido van Rossum 754afd94ed Added /base:0x1e100000 to link options for python14.dll;
randomness created by vc40 internals.
1996-08-26 22:16:03 +00:00
Guido van Rossum 93fccacc84 Newly tweaked 1996-08-23 18:47:59 +00:00
Guido van Rossum 3db4103ecf Use MS_DLL_ID and similar changes 1996-08-23 18:42:39 +00:00
Guido van Rossum cbc66767c5 Added dllbase_nt.txt and python_nt.rc;
added notes to readme.txt about NumPy targets;
added some symbols to python_nt.def.
1996-08-23 15:48:14 +00:00
Guido van Rossum 67d4ab0946 Added NumPy projects 1996-08-22 21:47:05 +00:00
Guido van Rossum bf57ed5f95 Added thread module (it was already in the project!) 1996-08-22 00:43:42 +00:00
Guido van Rossum 331a8973ac Description of the new build procedure for Win NT/95. 1996-08-22 00:28:34 +00:00
Guido van Rossum eaf9b6cd7b More changes for NT, Guido style 1996-08-22 00:06:59 +00:00
Guido van Rossum 6dbd190f5e NT specific files supplied by Mark Hammond 1996-08-21 15:03:37 +00:00
Guido van Rossum ff0c4b532a New project files, with sliceobject.c added. 1996-08-01 17:13:12 +00:00
Guido van Rossum 31df6ab065 New versions of binary files. 1996-07-30 17:42:56 +00:00
Guido van Rossum 950a12602f New versions of almost all files. 1996-07-30 17:38:17 +00:00
Guido van Rossum 88dc264b0e New versions of VC project which has no source files in PC/ 1996-07-01 18:34:03 +00:00
Guido van Rossum 1bc716f2fc Added PC files from Jim Ahlstrom. 1996-06-28 19:12:06 +00:00
Guido van Rossum f2e98b4f55 new versions from Jim A 1996-06-26 19:53:41 +00:00
Guido van Rossum 87d5e705c3 config files for DOS and Windows (all versions, all compilers) 1996-05-28 22:50:17 +00:00