Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A-ha! Read Thomas' patch a little more carefully and figured it out: | Greg Ward | 2000-06-27 | 1 | -1/+2 |
| | | | | the 'implib_dir' attribute is back (only on NT, of course). | ||||
* | Thomas Heller: added --swig-cpp option and fixed silly typos in SWIG support. | Greg Ward | 2000-06-27 | 1 | -9/+21 |
| | | | | | | Also supposedly made some change to where .lib files wind up under MSVC++, but I don't understand how to code is doing what Thomas says it's doing. | ||||
* | Thomas Heller's "bdist_wininst" command (unreviewed, untested). | Greg Ward | 2000-06-27 | 1 | -0/+448 |
| | |||||
* | Infrastructure support for the "bdist_wininst" command. | Greg Ward | 2000-06-27 | 2 | -0/+3 |
| | |||||
* | Added 'include_dirs' parameters all over the place. | Greg Ward | 2000-06-27 | 1 | -19/+39 |
| | | | | | Added 'check_lib()', which provides a subset of the functionality of 'check_func()' with a simpler interface and implementation. | ||||
* | Sync to ESR's current version | Andrew M. Kuchling | 2000-06-27 | 1 | -22/+28 |
| | |||||
* | Drop back to old version of wrapper(); ESR reports that it broke things, | Andrew M. Kuchling | 2000-06-27 | 1 | -4/+16 |
| | | | | and I lack the time to track down the cause. | ||||
* | Change pyexpat test suite to exercise the .returns_unicode attribute, | Andrew M. Kuchling | 2000-06-27 | 2 | -20/+121 |
| | | | | parsing the sample data once with 8-bit strings and once with Unicode. | ||||
* | Added two modules for ASCII characters and a simple editing form (ESR) | Andrew M. Kuchling | 2000-06-26 | 2 | -0/+261 |
| | |||||
* | Add wrapper for initscr() to copy the ACS_ and LINES,COLS bindings | Andrew M. Kuchling | 2000-06-26 | 1 | -0/+16 |
| | |||||
* | now that imputil is in the main Python repository, clean up the header | Greg Stein | 2000-06-26 | 1 | -16/+3 |
| | |||||
* | initial commit of a new HTTP library, supporting HTTP/1.1 and persistent | Greg Stein | 2000-06-26 | 1 | -228/+734 |
| | | | | connections. | ||||
* | update output file to reflect new test of exception object str-ness | Jeremy Hylton | 2000-06-25 | 1 | -0/+18 |
| | |||||
* | Define the 'executables' class attribute so the CCompiler constructor | Greg Ward | 2000-06-25 | 1 | -1/+8 |
| | | | | | doesn't blow up. We don't currently use the 'set_executables()' bureaucracy, although it would be nice to do so for consistency with UnixCCompiler. | ||||
* | Removed some debugging code that slipped into the last checkin. | Greg Ward | 2000-06-25 | 1 | -4/+3 |
| | | | | Ensure that 'extra_args' (whether compile or link args) is never None. | ||||
* | Fixed the "pre-link hook" so it actually works, mainly by renaming it | Greg Ward | 2000-06-25 | 1 | -41/+33 |
| | | | | | | to 'msvc_prelink_hack()', adding the parameters that it actually needs, and only calling it for MSVC compiler objects. Generally gave up on the idea of a general "hook" mechanism: deleted the empty 'precompile_hook()'. | ||||
* | Added PreprocessError and UnknownFileError (both used by CCompiler). | Greg Ward | 2000-06-25 | 1 | -1/+5 |
| | |||||
* | Call 'customize_compiler()' after getting CCompiler object. | Greg Ward | 2000-06-25 | 1 | -0/+2 |
| | |||||
* | Fixed a few silly bugs in my SWIG support code. (Hey, I said it was | Greg Ward | 2000-06-25 | 1 | -3/+5 |
| | | | | | experimental and untested.) Call 'customize_compiler()' after getting CCompiler object. | ||||
* | Added the 'customize_compiler()' function, which plugs in the essential | Greg Ward | 2000-06-25 | 1 | -0/+20 |
| | | | | | | information about building Python extensions that we discovered in Python's makefile. Currently only needed on Unix, so does nothing on other systems. | ||||
* | Introduced some bureaucracy for setting and tracking the executables | Greg Ward | 2000-06-25 | 1 | -3/+58 |
| | | | | | | | | | | | that a particular compiler system depends on. This consists of the 'set_executables()' and 'set_executable()' methods, and a few lines in the constructor that expect implementation classes to provide an 'executables' attribute, which we use to initialize several instance attributes. The default implementation is somewhat biased in favour of a Unix/DOS "command-line" view of the world, but it shouldn't be too hard to override this for operating systems with a more sophisticated way of representing programs-to-execute. | ||||
* | Got rid of direct dependence on the sysconfig module. Mainly, this | Greg Ward | 2000-06-25 | 1 | -67/+35 |
| | | | | | | | | meant playing along with the new "dictionary of executables" scheme added to CCompiler by adding the 'executables' class attribute, and changing all the compile/link/etc. methods to use the new attributes (which encapsulate both the program to run and its standard arguments, so it was a *little* bit more than just changing some names). | ||||
* | Added 'split_quoted()' function to deal with strings that are quoted in | Greg Ward | 2000-06-24 | 1 | -0/+67 |
| | | | | | Unix shell-like syntax (eg. in Python's Makefile, for one thing -- now that I have this function, I'll probably allow quoted strings in config files too. | ||||
* | Docstring reformatting/tweaking binge. | Greg Ward | 2000-06-24 | 1 | -249/+253 |
| | | | | Fixed a few comments. | ||||
* | Print a warning if we install a data file right in install_dir. | Greg Ward | 2000-06-24 | 1 | -3/+7 |
| | | | | Tweaked help text. | ||||
* | Changed the default installation directory for data files (used by | Greg Ward | 2000-06-24 | 1 | -4/+4 |
| | | | | | | the "install_data" command to the installation base, which is usually just sys.prefix. (Any setup scripts out there that specify data files will have to set the installation directory, relative to the base, explicitly.) | ||||
* | Changed 'object_filenames()' to raise exception instead of silently carrying | Greg Ward | 2000-06-24 | 1 | -1/+3 |
| | | | | on if it sees a filename with unknown extension. | ||||
* | Changed so all the help-generating functions are defined, at module-level, | Greg Ward | 2000-06-24 | 5 | -41/+56 |
| | | | | | | | in the module of the command classes that have command-specific help options. This lets us keep the principle of lazily importing the ccompiler module, and also gets away from defining non-methods at class level. | ||||
* | More stylistic tweaks to the generic '--help-xxx' code. | Greg Ward | 2000-06-24 | 1 | -12/+15 |
| | |||||
* | Stylistic/formatting changes to Rene Liebscher's '--help-xxx' patch. | Greg Ward | 2000-06-24 | 7 | -42/+72 |
| | |||||
* | Experimental, completely untested SWIG support. | Greg Ward | 2000-06-24 | 1 | -5/+74 |
| | |||||
* | Revised docstring so 'sources' isn't necessarily all C/C++ files (to | Greg Ward | 2000-06-24 | 1 | -3/+5 |
| | | | | accomodate SWIG interface files, resource files, etc.). | ||||
* | Bastian Kleineidam: 'copy_file()' now returns the output filename, rather | Greg Ward | 2000-06-23 | 1 | -6/+5 |
| | | | | than a boolean indicating whether it did the copy. | ||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Marc-André Lemburg | 2000-06-21 | 1 | -1/+6 |
| | | | | Made codecs.open() default to 'rb' as file mode. | ||||
* | Sjoerd Mullender: | Guido van Rossum | 2000-06-21 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | These two fixes were approved by me. Peter Kropf: There's a problem with the xmllib module when used with JPython. Specifically, the JPython re module has trouble with the () characters in strings passed into re.compile. Spiros Papadimitriou: I just downloaded xmllib.py ver. 0.3 from python.org and there seems to be a slight typo: Line 654 ("tag = self.stack[-1][0]" in parse_endtag), is indented one level more than it should be. I just thought I'd let you know... | ||||
* | Implementation of the CCompiler class for Cygwin and Mingw32, ie. the two | Greg Ward | 2000-06-21 | 1 | -0/+181 |
| | | | | | | major ports of GCC to Windows. Contributed by Rene Liebscher, and quite untested by me. Apparently requires tweaking Python's installed config.h and adding a libpython.a to build extensions. | ||||
* | Fix inspired by Rene Liebscher: if setup script is newer than the | Greg Ward | 2000-06-21 | 1 | -3/+26 |
| | | | | manifest, regenerate the manifest. | ||||
* | Delete spurious comment. | Greg Ward | 2000-06-21 | 1 | -1/+0 |
| | |||||
* | Build the 'outfiles' list so 'get_outputs()' has something to return. | Greg Ward | 2000-06-21 | 2 | -5/+15 |
| | | | | (Bug spotted and originally fixed by Rene Liebscher; fix redone by me.) | ||||
* | Rene Liebscher: when fixing up directories with an alternate root, include | Greg Ward | 2000-06-21 | 1 | -1/+2 |
| | | | | 'install_headers'. | ||||
* | Fleshed out and added a bunch of useful stuff, notably 'check_func()', | Greg Ward | 2000-06-21 | 1 | -32/+176 |
| | | | | | | 'try_cpp()', 'search_cpp()', and 'check_header()'. This is enough that the base config is actually useful for implementing a real config command, specifically one for mxDateTime. | ||||
* | Oops, import 'grok_environment_error()'. | Greg Ward | 2000-06-21 | 1 | -0/+1 |
| | |||||
* | Added 'preprocess()' method to CCompiler interface, and implemented | Greg Ward | 2000-06-21 | 2 | -0/+48 |
| | | | | | | it in UnixCCompiler. Still needs to be implemented in MSVCCompiler (and whatever other compiler classes are lurking out there, waiting to be checked in). | ||||
* | verify that Python raises SyntaxError for long and deeply-nested expressions | Jeremy Hylton | 2000-06-20 | 2 | -0/+20 |
| | |||||
* | add minimal test of exception use. verify that each exception can be | Jeremy Hylton | 2000-06-20 | 1 | -0/+12 |
| | | | | raised, caught, and converted to a string. | ||||
* | Pekka Pessi <Pekka.Pessi@nokia.com>: | Fred Drake | 2000-06-20 | 1 | -3/+3 |
| | | | | | Patch to add support for sip: (Session Initiation Protocol, RFC2543) URLs. | ||||
* | Fix bug when the replacement template is a callable object | Andrew M. Kuchling | 2000-06-18 | 1 | -1/+1 |
| | |||||
* | Patch from /F: | Andrew M. Kuchling | 2000-06-18 | 1 | -0/+6 |
| | | | | | | | | | | this patch adds a fast _flatten function to the _tkinter module, and imports it from Tkinter.py (if available). this speeds up canvas operations like create_line and create_polygon. for example, a create_line with 5000 vertices runs about 50 times faster with this patch in place. | ||||
* | 'get_platform()' now just returns 'sys.platform' on all platforms. | Greg Ward | 2000-06-18 | 1 | -12/+4 |
| | |||||
* | Additional tests for seek() method, written by Trent Mick | Andrew M. Kuchling | 2000-06-18 | 2 | -1/+36 |
| |