summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Catch up with latest changes in CCompiler:Greg Ward1999-09-291-10/+22
| | | | | | - add 'extra_preargs' and 'extra_postargs' parameters (and use them!) - added 'compiler_type' class attribute - respect reordered arguments to 'gen_lib_options()'
* Added 'extra_preargs' and 'extra_postargs' parameters to most methods,Greg Ward1999-09-291-47/+94
| | | | | | | | | | | | | which allowed us to get rid of the 'build_info' used in some places (a temporary kludge to support MSVC++ "def" files). Deleted big comment whining about that kludge. Added 'compiler_type' class attribute. Overhauled 'new_compiler()': now takes 'compiler' argument along with 'plat' (both optional with sensible defaults), and looks them both up in the new 'default_compiler' and 'compiler_class' dictionaries to figure out where to get the concrete compiler class from. Reordered arguments to 'gen_lib_options()' to match the order in which the arguments are generated (ie. -L before -l).
* More tweaks to 'mkpath()':Greg Ward1999-09-291-0/+5
| | | | | | - deal with empty tail from os.path.split() (eg. from trailing slash, or backslash, or whatever) - check PATH_CREATED hash inside loop as well
* Added 'ready' flag and 'ensure_ready()' method to Command: togetherGreg Ward1999-09-291-28/+53
| | | | | | | | | they make sure that 'set_final_options()' has been called, but isn't called redundantly. Changed Distribution to call 'ensure_ready()' where it used to call 'set_final_options()', and in a few extra places as well. Lots of comment/docstring revisions and additions in both classes. New one-liner utility methods in Command: 'find_peer()', 'spawn()'.
* Patch by Tim Peters fixing PR#88:Guido van Rossum1999-09-271-1/+7
| | | | Integer division can crash under Windows.
* Patch by Tim Peters fixing PR#89:Guido van Rossum1999-09-271-0/+5
| | | | long(+/- infinity) returns nonsense.
* Initial checkin of IDE scripts. (jvr)Just van Rossum1999-09-2619-0/+334
|
* Added support for global default font settings. (jvr)Just van Rossum1999-09-262-23/+33
|
* 1) added "typingcasesens" keyword arg to constructor, and support for case ↵Just van Rossum1999-09-261-8/+20
| | | | | | | sensitive typing in lists. 2) minor cleanups (jvr)
* added do_setwindowfont() menu callback: brings up a font selection dialog. (jvr)Just van Rossum1999-09-261-1/+9
|
* added getdefaultfont() function. Returns default font settings. (jvr)Just van Rossum1999-09-261-0/+6
|
* 1 - added "set default window font" menuJust van Rossum1999-09-261-2/+7
| | | | | 2 - updated scripts folder location (jvr)
* minor cleanup, avoiding rare traceback (jvr)Just van Rossum1999-09-261-1/+1
|
* "make clobber" should remove modindex.html as well.Fred Drake1999-09-241-2/+2
| | | | Added realclean and distclean as synonyms for clobber.
* icons/ should not be ignored here now that this is it's real home.Fred Drake1999-09-241-1/+0
|
* Added --about option to specify the file to load "About thisFred Drake1999-09-231-1/+8
| | | | document..." text from, defaulting to ../html/about.dat.
* Tell mkhowto to use stdabout.dat for the documents it processes here.Fred Drake1999-09-231-4/+4
|
* Remove some <SPAN> elements that were used only to carry a CLASSFred Drake1999-09-231-6/+14
| | | | | | | attribute; stick the CLASS on an existing element. Use a variable for the name of the file to get "About this document..." text from.
* Remove the "Comments and Questions" section, allowing this to be usedFred Drake1999-09-231-43/+22
| | | | for non-standard Python documentation.
* Version of about.dat that should only be used for the standardFred Drake1999-09-231-0/+44
| | | | documentation.
* Remove some <SPAN> elements that were used only to carry a CLASSFred Drake1999-09-231-4/+4
| | | | attribute; stick the CLASS on an existing element.
* Oops, missed this one!Fred Drake1999-09-231-0/+0
|
* img_tag(): Tighten up the generated SRC attribute a bit; if the imageFred Drake1999-09-231-3/+6
| | | | relative URL starts with "./", remove "./".
* do_cmd_rfc(): Simplify the generated markup.Fred Drake1999-09-221-2/+2
|
* Added --image-type option to allow use of either GIF or PNG images.Fred Drake1999-09-221-11/+38
| | | | | | | | | Job.warning(): New method; use this instead of writing to sys.stderr directly. Ensures warnings are also sent to the log file. Job.log(): New method; write a message to the log file. Use from .message() and .warning().
* Some updates to allow ../tools/mkhowto to add various bits to theFred Drake1999-09-221-46/+86
| | | | | | | | | | | | supplemental l2h initialization file it creates and still get all the right behavior. In particular, it can change the image type and icon location and not get inconsistent results. Some code to help suppress various navigational pages; this might be interesting when generating HTML to create HTML Help documents, since the navigation support creates confusing hits in the full text search. HTML Help also provides a lot of the navigational infrastructure, so duplicating it makes it more tedious to use.
* main(): wrap the device.setinfo() call around an exception handler.Barry Warsaw1999-09-221-1/+7
| | | | | It's possible to get a sunaudiodev.error (errno == EINVAL), although I'm not exactly sure why, this at least won't crash the application.
* Added docstring and RCS id (apparently some Windows tar extractorsGreg Ward1999-09-221-0/+11
| | | | ignore zero-byte files: grr...).
* PNG version of the icons, converted from the GIFsFred Drake1999-09-226-0/+0
| | | | by Michael Hudson <mwh21@cam.ac.uk>.
* Ditched the whole notion of "alias options": this meant dropping theGreg Ward1999-09-211-39/+21
| | | | | | | | | | | | | 'alias_options' table and getting rid of some hairy code in the Distribution constructor. Resurrected the distribution options that describe the modules present in the module distribution ('py_modules', 'ext_modules'), and added a bunch more: 'packages', 'package_dir', 'ext_package', 'include_dirs', 'install_path'. Updated some comments. Added 'warn()' method to Command. 'Command.get_command_name()' now stores generated command name in self.command_name.
* Added 'write_file()' function.Greg Ward1999-09-211-1/+22
| | | | | | | Added global cache PATH_CREATED used by 'mkpath()' to ensure it doesn't try to create the same path more than once in a session (and, more importantly, to ensure that it doesn't print "creating X" more than once for each X per session!).
* In 'link_shared_object()', try to be less sensitive to missing input filesGreg Ward1999-09-211-1/+11
| | | | in dry-run mode.
* Typecheck elements of 'macros' parameter in 'gen_preprocess_options().Greg Ward1999-09-211-0/+8
|
* Added docstring, brought __all__ up-to-date.Greg Ward1999-09-211-2/+19
|
* Added 'install_path' option for giving non-packagized moduleGreg Ward1999-09-211-12/+82
| | | | | | | | | | | distributions their own directory (and .pth file). Overhauled how we determine installation directories in 'set_final_options()' to separate platform-dependence and take 'install_path' option into account. Added 'create_path_file()' to create path config file when 'install_path' given. Only run 'install_py' and 'install_ext' when, respectively, there are some pure Python modules and some extension modules in the distribution.
* Only run build_py if we have pure Python modules, and build_ext if weGreg Ward1999-09-211-5/+9
| | | | have extension modules.
* Some option changes:Greg Ward1999-09-211-17/+30
| | | | | | | | | | - rename 'dir' to 'build_dir' - take 'package' from distribution option 'ext_package' - take 'extensions' from distribution option 'ext_modules' - take 'include_dirs' from distribution Name keyword args explictly when calling CCompiler methods. Overhauled how we generate extension filenames (in 'extension_filename() and 'build_extension()') to take 'package' option into account.
* Basically a complete rewrite to support dealing with modules in wholeGreg Ward1999-09-211-36/+197
| | | | packages and searching for source files by 'package_dir'.
* Added section about where to send comments, questions, & bug reports.Fred Drake1999-09-211-0/+20
|
* parser__pickler(): Don't drop the third argument toFred Drake1999-09-201-5/+11
| | | | | | | parser_ast2tuple(). Create an temporary empty dictionary to use. Bug reported by Mark Favas <m.favas@per.dem.csiro.au>. Fix a couple of comments.
* Added comment with web location of bsddb windows port.Guido van Rossum1999-09-201-1/+4
|
* Peter Haight discovered that this code uses a mutable default for cnfGuido van Rossum1999-09-201-1/+3
| | | | | and then (under certain circumstances) can clobber the default! He also submitted this patch as PR#82.
* Tim Peters fixed PR#75: very long lines cause incorrect tracebacks.Guido van Rossum1999-09-181-2/+11
|
* Erik Lindvall contributed a BSD/OS 4 patch for LDSHARED.Guido van Rossum1999-09-172-158/+160
|
* os.name: Note that 'java' is one of the registered names.Fred Drake1999-09-171-1/+1
|
* Added documentation for inet_aton() and inet_ntoa(), from BenFred Drake1999-09-161-0/+28
| | | | | | | Gertzfield <che@debian.org> (with minor changes). (Should have been here instead of in the branch in the first place, since these weren't in for the 1.5.2 release.)
* Tim Peters writes:Guido van Rossum1999-09-151-1/+1
| | | | | | | | For a long time I've seen absurd tracebacks under -O (e.g., negative line numbers), but very rarely. Since I was looking at tracebacks anyway, thought I'd track it down. Turns out to be Guido's only predictable blind spot <wink -- "char" is signed on some non-GvR systems>. Patch follows.
* After much hemming and hawing, we decided to roll back Fred's change.Guido van Rossum1999-09-151-5/+5
| | | | | | It breaks Mailman, it was actually documented in the docstring, so it was an intentional deviation from the usual del semantics. Let's document the original behavior in Doc/lib/librfc822.tex.
* (1) On Linux, we really need to trust the configure script to selectGuido van Rossum1999-09-151-2/+13
| | | | | | | | | the right variant of gethostbyname_r for us, since not all Linuxes are equal in this respect. Reported by Laurent Pointal. (2) On BeOS, Chris Herborth reports that instead of arpa/inet.h you must include net/netdb.h to get the inet_ntoa() and inet_addr() prototypes.
* Typo: the method called is do_SPAM, not handle_SPAM.Guido van Rossum1999-09-151-1/+1
|