summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused "import curses".Guido van Rossum2000-05-241-1/+0
|
* Fix a problem reported by Oleg Broytmann, who complains that veryGuido van Rossum2000-05-241-1/+1
| | | | | | | | | | | | often, ftp URLs hang in the final close. Further analysis suggests that this is because the close hook in addclosehook() calls the hook before acually closing the connection. The hook, in this case, waits for the '226 Transfer complete' status from the server on the command socket. However, more and more ftp servers only send this status when the data socket has actually been closed -- causing a deadlock. The fix is simple: in addclosehook.close(), call addbase.close() *before* calling the closehook.
* Catch failure to open installed Makefile, and report it as aGreg Ward2000-05-231-1/+11
| | | | | | DistutilsPlatformError: "invalid Python installation". (This will happen on Red Hat-ish systems where the python-devel package is not installed.)
* Updated docs to list all the new methods and functions. The docs areAndrew M. Kuchling2000-05-231-188/+757
| | | | | | | now complete, but probably still not very helpful or friendly. Note: two very large tables (of key names, and of character names) were added; these tables format terribly, and need some reworking.
* Changes by AMK: Use HAVE_NCURSES_H to include correct header fileAndrew M. Kuchling2000-05-231-133/+124
| | | | | | | | | Lots of typo fixes (a bit too much cut-and-paste in this module) Aliases removed: attr_on, attr_off, attr_set Lowercased the names COLOR_PAIR and PAIR_NUMBER #ifdef's for compiling on Solaris added (need to understand SYSV curses versions better and generalize this) Bumped version number bumped to 1.6
* Oliver Andrich's ncurses-specific curses module, version 1.5b1Andrew M. Kuchling2000-05-231-948/+1607
|
* (py-execute-region): Based on suggestions by Francois Pinard and SkipBarry Warsaw2000-05-231-4/+25
| | | | | | Montanaro, handle execution of indented regions by inserting an "if 1:" in front of the block. This better preserves things like triple quoted strings and commented regions. This patch resolves PR#264.
* Fix 'get_command_obj()' so it checks if a command object has an attributeGreg Ward2000-05-231-0/+4
| | | | before setting it -- this will catch bad options (eg. typos) in config files.
* Added some debuging output (actually moved here from dist.py) --Greg Ward2000-05-231-0/+8
| | | | | dump the Distribution's 'command_options' dict after parsing config files, and then after parsing the command line.
* Don't take advantage of OptionDummy's new "auto-initialization" featureGreg Ward2000-05-231-1/+1
| | | | after all -- turns out it doesn't buy us much after all...
* Fixed so options from config files and command lines actually work:Greg Ward2000-05-231-7/+27
| | | | | | | | | | * 'get_command_obj()' now sets command attributes based on the 'command_options' dictionary * some typos fixed * kludged 'parse_config_files()' to re-initialize the ConfigParser instance after each file, so we know for sure which config file each option comes form * added lots of handy debugging output
* From Greg Ward <gward@python.net>:Fred Drake2000-05-231-2/+2
| | | | Typo: "dictionairy" --> "dictionary" (twice).
* Fixed command description.Greg Ward2000-05-231-1/+1
|
* Use 'get_command_obj()' instead of 'find_command_obj()'.Greg Ward2000-05-232-4/+4
|
* OptionDummy now has a constructor that takes a list of options: each stringGreg Ward2000-05-231-2/+9
| | | | | in the option list is an attribute of the OptionDummy that will be initialized to None.
* Tweaked usage message.Greg Ward2000-05-231-2/+2
|
* Marching towards full support of config files: thoroughly overhauled theGreg Ward2000-05-231-209/+238
| | | | | | | | | | | | | | | | | | command-line parsing code, splitting it up into several methods (new methods: '_parse_command_opts()', '_show_help()') and making it put options into the 'command_options' dictionary rather than instantiating command objects and putting them there. Lots of other little changes: * merged 'find_command_class()' and 'create_command_obj()' and called the result 'get_command_class()' * renamed 'find_command_obj()' to 'get_command_obj()', and added command object creation and maintenance of the command object cache to its responsibilities (taken over from 'create_command_obj()') * parse config files one-at-a-time, so we can keep track of the filename for later error reporting * tweaked some help messages * fixed up many obsolete comments and docstrings
* Reduce opt level for BeOS - Donn Cave.Guido van Rossum2000-05-222-3/+3
|
* Changed list_directory() somewhat. It is now only called when thereGuido van Rossum2000-05-211-15/+34
| | | | | | | is no index.htm[l] file, and when it is called, it also spits out the headers. When an index.htm[l] file is present, the regular (file access) path is followed. Also, when the guessed content-type matches text/*, open the file in text mode; otherwise in binary mode.
* Tweaked output of 'copy_file()': if copying to a new name, show the wholeGreg Ward2000-05-201-3/+6
| | | | destination path, otherwise show just the directory.
* Changed the semantics of the 'sub_commands' list: instead of functionGreg Ward2000-05-201-21/+44
| | | | | | | | | objects, it now has method names. Added three methods, 'has_lib()', 'has_scripts()', and 'has_data()' to determine if we need to run each of the three possible sub-commands. Added 'get_sub_commands()' to take care of finding the methods named in 'sub_commands', running them, and interpreting the results to build a list of sub-commands that actually have to be run.
* Check if the claimed build directory doesn't exist, and warn that we don'tGreg Ward2000-05-201-1/+6
| | | | | have any Python modules to install (rather than bomb when we try to copy a non-existent directory).
* Added 'has_scripts()', 'has_data_files()' methods.Greg Ward2000-05-201-0/+6
|
* Added missing import.Greg Ward2000-05-201-0/+1
|
* Lyle Johnson: added stubs for the four miscellaneous methods that must beGreg Ward2000-05-201-0/+27
| | | | implemented by subclasses, since they are needed by 'gen_lib_options()'.
* Added support for the 'export_symbols' parameter to 'link_shared_object()'Greg Ward2000-05-203-3/+22
| | | | | | and 'link_shared_lib()'. In MSVCCompiler, this is meaningful: it adds /EXPORT: options to the linker command line. In UnixCCompiler, it is ignored.
* Add call to putheader('Host', 'www.python.org') to the example.Guido van Rossum2000-05-191-0/+1
|
* Fix the test for socklen_t so that it searches through sys/socket.h.Guido van Rossum2000-05-182-259/+275
|
* New description for math.frexp() -- poor description noted byFred Drake2000-05-181-2/+6
| | | | Francois Pinard.
* macfsn should always be included, like exceptions and site.Jack Jansen2000-05-171-1/+1
|
* Donn Cave <donn@oz.net>:Fred Drake2000-05-161-0/+2
| | | | BeOS (up to 5.0) lacks <netinet/tcp.h>.
* Manually added HRHTMLRenderingLibAvailable.Jack Jansen2000-05-153-3/+23
| | | | Blacklist HRDisposeReference and call it in the dispose routine.
* Slowly becoming functional...Jack Jansen2000-05-151-0/+0
|
* Interface to macOS 9 HTMLRenderingLib. Not yet functional.Jack Jansen2000-05-145-0/+1074
|
* Changed default developer name.Gregory P. Smith2000-05-131-1/+6
| | | | Added some guiding comments.
* Template for writing Distutils command modules.Gregory P. Smith2000-05-131-0/+39
|
* Contribution from Harry Henry Gebel: the 'bdist_rpm' command.Gregory P. Smith2000-05-131-0/+390
| | | | | (Completely uninspected and untested by me, this is just to get the code into CVS!)
* In 'install_misc': 'self.outfiles' defaults to the empty list, so we don'tGregory P. Smith2000-05-131-1/+1
| | | | have to worry about "or []" in 'get_outputs()'.
* List data files are listed in the Distribution attribute 'data_files',Gregory P. Smith2000-05-132-3/+3
| | | | rather than 'data'.
* Added the 'bdist_base' option, the base temp directory for all bdist commands.Gregory P. Smith2000-05-131-2/+13
|
* Added 'get_inputs()' methods, needed by the "install" command'sGregory P. Smith2000-05-132-0/+6
| | | | 'get_inputs()'.
* Drastically simplified by taking advantage of the "install" command'sGregory P. Smith2000-05-131-74/+21
| | | | | | | | | | new flexibility, specifically the 'root' option. Now, we just use "install" to do a fake installation into a temporary directory (the 'bdist_dir' option, which derives from the 'bdist_base' option of "bdist"), and then tar/zip up that directory. This means that dumb built distributions are now relative to the root directory, rather than the prefix or exec-prefix; this is probably a feature, but does make them slightly less flexible.
* Rename 'build_bdist' to 'bdist_base', and get it by default from theGregory P. Smith2000-05-131-6/+7
| | | | "bdist" command rather than "build".
* Typo fix.Gregory P. Smith2000-05-131-1/+1
|
* Made the '--record' option take an argument, which is the name of theGregory P. Smith2000-05-131-4/+5
| | | | file to write the list of installed files to.
* Ditch the explicit search for *.py[co] files -- they're now included inGregory P. Smith2000-05-131-6/+1
| | | | | the list returned by 'get_outputs()', thanks to changes in the "install_lib" command.
* Added '_bytecode_filenames()' method, and use it in 'get_outputs()'Gregory P. Smith2000-05-131-4/+13
| | | | | to ensure that compiled bytecode files are considered part of the output of the "install_lib" command.
* Moved check for installation to non-sys.path location so it comesGregory P. Smith2000-05-131-9/+9
| | | | | last (after writing list of installed files) -- that way, the warning is more visible.
* Harry Henry Gebel: add the "--record" option to write the list ofGregory P. Smith2000-05-131-1/+21
| | | | installed files to INSTALLED_FILES.
* Added the 'build_bdist' option and code to clean it up -- this is theGregory P. Smith2000-05-131-3/+14
| | | | | | top-level temporary directory for creating built distributions. (Won't work yet, since the "build" command doesn't yet have a 'build_bdist' option, and none of the "bdist" commands support it yet.)