summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-071-0/+22
| | | | | Added some more codec aliases. Some of them are needed by the new locale.py encoding support.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-071-2/+37
| | | | | | | | | | Added support to set the default encoding of strings at startup time to the values defined by the C locale. The sys.setdefaultencoding() API is deleted after having set up the encoding, so that user code cannot subsequentely change the setting. This effectively means that only site.py may alter the default setting.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-071-11/+505
| | | | | | Added a new locale name aliasing engine which also supports locale encodings, a feature which is used by the new default encoding support in site.py.
* New codec which always raises an exception when used. ThisMarc-André Lemburg2000-06-071-0/+34
| | | | | codec can be used to effectively switch off string coercion to Unicode.
* Added preliminary documentation for the winreg module,Fred Drake2000-06-073-0/+414
| | | | | | by Mark Hammond <markh@activestate.com>. Limited markup & consistency revisions by FLD.
* Patch from Rene Liebscher: this adds "--help-foo" options to list theGreg Ward2000-06-078-25/+107
| | | | | | | | | | values that "--foo" can take for various commands: eg. what formats for "sdist" and "bdist", what compilers for "build_ext" and "build_clib". I have *not* reviewed this patch; I'm checking it in as-is because it also fixes a paper-bag-over-head bug in bdist.py, and because I won't have time to review it properly for several days: so someone else can test it for me, instead!
* Always look for the system config file in the Distutils module directory,Greg Ward2000-06-071-9/+12
| | | | | and call it "distutils.cfg" instead of "pydistutils.cfg" (personal config files are still ".pydistutils.cfg" or "pydistutils.cfg", though).
* Patch from Rene Liebscher:Greg Ward2000-06-071-15/+16
| | | | | | | | Look for personal config file in /home/greg on Windows, too: users will have to set /home/greg to use this, so it's not something that many people will use. But if python-dev comes up with the "right way" to divine a home directory on Windows, we can use that to set /home/greg and poof! -- personal Distutils config files on Windows.
* correct case in python16.dsp to allow build with VS6Trent Mick2000-06-061-5/+5
|
* Patch from Trent Mick:Andrew M. Kuchling2000-06-061-1/+1
| | | | | Fix a small bug in posixmodule.c where a char* is being dereferenced where it should not be.
* First crack at the Distutils "config" command. Unlike other commands, thisGreg Ward2000-06-061-0/+180
| | | | | | | | | | | | | | one doesn't *do* anything by default; it's just there as a conduit for data (eg. include dirs, libraries) from the user to the "build" commands. However, it provides a couple of Autoconf-ish methods ('try_compile()', 'try_link()', 'try_run()') that derived, per-distribution "config" commands can use to poke around the target system and see what's available. Initial experimenst with mxDateTime indicate that higher-level methods are necessary: analogs of Autoconf's AC_CHECK_HEADER, AC_CHECK_LIB will be needed too (and that's just to probe the C/C++ system: how to probe the Python system is wide open, and someday we'll have to worry about probing a Java system too).
* Fix 'reinitialize_command()' so it resets the 'have_run' flag for theGreg Ward2000-06-061-0/+1
| | | | command being reinitialized to false.
* Support for multiple distribution formats in one run.Greg Ward2000-06-061-17/+18
|
* 'get_outputs()' now returns an empty list instead of None.Greg Ward2000-06-061-1/+1
|
* Added lib-tk to the standard sys.path initializer.Jack Jansen2000-06-051-1/+2
|
* Removed assorted old ifdefs.Jack Jansen2000-06-042-19/+0
|
* Removed support for very old CodeWarrior runtimes.Jack Jansen2000-06-041-20/+0
|
* Removed SYMANTEC_CFM68K support.Jack Jansen2000-06-041-4/+0
|
* Removed USE_STDWIN support.Jack Jansen2000-06-044-87/+1
|
* Removed THINK_C support.Jack Jansen2000-06-0410-812/+2
|
* Define USE_GUSI2, not USE_GUSI1. PythonStandalone still doesn't compile due ↵Jack Jansen2000-06-041-2/+2
| | | | to tk issues, though, but it isn't important right now.
* Removed THINK_C support.Jack Jansen2000-06-041-7/+9
| | | | Added a CARBON indicator to the version string.
* Fixed syntax error.Greg Ward2000-06-041-9/+14
| | | | | | Half-fixed RPM 2 compatibility:added 'rpm_base' option, which must be set (to eg. /usr/src/redhat on a stock Red Hat system) if rpm2_mode is on. Still not quite working, though.
* Use 'ensure_string_list()' for 'formats' option, so that it can beGreg Ward2000-06-041-2/+1
| | | | spelled sensibly in a config file.
* Patch from Harry Henry Gebel:Greg Ward2000-06-041-59/+103
| | | | | | | | | | | | | | | | | Fills in question marks in help Reads scripts in from files rather than strings Adds RPM 2 compatibility mode (untested). Use of this mode requires that --bdist-base be specified because bdist_rpm has no way of detecting where RPM wants to find spec files and source files. An unmodified RedHat 5.0 system would require '--bdist-base=/usr/src/RedHat'. (You would also have to be root.) If the rpmrc file has been modified to allow RPMs to be built by normal users then --build-base would need to be changed accordingly. Formats the changelog. GPW: tweaked formatting, added some editorial comments.
* Added the 'ensure_*' methods from bdist_rpm; refactored 'ensure_filename()'Greg Ward2000-06-041-1/+72
| | | | and added 'ensure_dirname()'.
* Removed the 'ensure_*' methods -- they're just too handy too keep in oneGreg Ward2000-06-041-43/+1
| | | | command class, so they're now in the Command base class.
* Renamed 'modules' option to 'py_modules', for consistency with DistributionGreg Ward2000-06-041-13/+13
| | | | (and in order to generate a more sensible error message cleanly).
* Use PyArg_ParseTuple and specify the method names, following a suggestionAndrew M. Kuchling2000-06-031-5/+5
| | | | from Greg Stein
* Add missing PyArg_NoArgs() calls to methods that didn't take argumentsAndrew M. Kuchling2000-06-031-8/+16
| | | | (Pointed out by Moshe Zadka)
* Latex formatting fixesAndrew M. Kuchling2000-06-031-33/+29
|
* Patches from Moshe, w/ AMK's revisionsAndrew M. Kuchling2000-06-031-45/+313
| | | | Wrote Unicode section
* Patch from Harry Henry Gebel: fixes a bit of code that slipped by myGreg Ward2000-06-031-2/+1
| | | | overhaul last night.
* Catch DistutilSetupError from the Distribution constructor.Greg Ward2000-06-031-1/+4
|
* Added a bunch of new globals in '_init_mac()' -- these will be needed toGreg Ward2000-06-031-1/+15
| | | | | support the forthcoming Cygwin/Mingw32 GCC-on-Windows patch. Standardized CVS id line.
* First version of the project that produces a working Carbon binary. The ↵Jack Jansen2000-06-021-0/+0
| | | | binary has only been tested on MacOS9, so far. This project needs CW IDE 4.1b4 or later.
* Revived various of the compatability routines and made them ↵Jack Jansen2000-06-024-25/+61
| | | | Carbon-compliant. This is needed because the initial carbon-python does not use GUSI.
* Removed hfsrunning() macro. This means MacPython won't run on MacOS 5 (oops, ↵Jack Jansen2000-06-021-3/+0
| | | | System 5) or earlier anymore:-)
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-0235-129/+667
| | | | | | feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open. Macmodule and macosmodule have also been carbonified. Some functionality is still missing there.
* Replaced GetFInfo and SetFInfo calls with FspGetFInfo and FspSetFInfo calls, ↵Jack Jansen2000-06-021-3/+9
| | | | which are carbon-compatible.
* Removed (within an #ifdef) Carbon-incompatabilities:Jack Jansen2000-06-021-0/+6
| | | | | - Don't call all the toolbox init routines. - No balloon help, so removed help code from the initial dialog.
* Removed (within an #ifdef) Carbon-incompatabilities:Jack Jansen2000-06-021-0/+25
| | | | | | | - Use TickCount() in stead of LMGetTicks() - Don't use xxxGetFile event filter - Don't call SystemTask or HandleSysWindowEvent (is this also automatically handled under os9??) - Don't scan event queue for cmd-. (to be fixed at some point).
* Fixed callback function arguments to be carbon-compatible.Jack Jansen2000-06-021-4/+6
| | | | (Temporarily?) removed call to ProcessHighLevelEvent until we find out how to do this (Carbon only).
* Config file for PythonStandCarbon (small non-shared MacPython for Carbon).Jack Jansen2000-06-021-0/+40
|
* Made compatible with MSL Carbon libraries.Jack Jansen2000-06-021-4/+13
|
* make sure the case is correct (damned case-sensitive languages :-)Jeremy Hylton2000-06-021-7/+7
|
* Bumped version number to 0.9pre (there will be a couple of code snapshotsGreg Ward2000-06-021-1/+1
| | | | | before the real release, but I want to make it clear that a major new release is on the way).
* Only print debugging output if DEBUG true.Greg Ward2000-06-021-6/+7
|
* Only print debugging output if DEBUG true (and deleted some of the moreGreg Ward2000-06-021-6/+7
| | | | extraneous debug prints).
* Use Distribution method 'dump_option_dicts()' for debugging output, and onlyGreg Ward2000-06-021-6/+6
| | | | do so if DEBUG is true.