summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix small errors in description of Mac, Windows installation schemes.Greg Ward2000-03-221-4/+4
| | | | Added comment about "--help" (no value) not working.
* Revised tons of comments to reflect the current state of affairs better.Greg Ward2000-03-221-72/+39
| | | | Deleted some crufty code.
* Run 'install_lib' instead of 'install_py', and ditch 'install_ext'Greg Ward2000-03-221-13/+4
| | | | completely (was already commented-out).
* Renamed install_py.py to install_lib.py, since it now handles installing allGreg Ward2000-03-221-76/+0
| | | | Python modules, pure and extensions.
* Obsolete command -- no longer relevant since we now build all modules, pureGreg Ward2000-03-221-43/+0
| | | | Python and extensions, into the same directory.
* Dropped the evil and misguided 'set_peer_option()' method -- it's noGreg Ward2000-03-221-20/+0
| | | | longer needed, and can't possibly work anyways.
* Dropped any notion of allowing the user to specify the build directories:Greg Ward2000-03-221-13/+10
| | | | | | | these must come from the 'build' command. This means we no longer need the misconceived 'set_peer_option()' method in Command and, more importantly, sweeps away a bunch of potential future complexity to handle this tricky case.
* Improved an error message in 'mkpath()'.Greg Ward2000-03-221-7/+47
| | | | | Tightened up some logic in 'native_path()'. Added 'subst_vars()' and '_check_environ()'.
* Renamed 'install_path' to 'extra_path'.Greg Ward2000-03-221-2/+6
| | | | | | | | Fix 'Command.set_undefined_option()' to call 'ensure_ready()' rather than 'finalize_options()' (which is only supposed to be called once, which is the whole point of 'ensure_ready()'). Added comment to 'set_peer_option()' to remind myself that this method cannot work and is fundamentally wrong-headed.
* Yet another complete rewrite. Hopefully the *last* complete rewrite ofGreg Ward2000-03-221-129/+299
| | | | | | | | | | | | this command for a while; this implements roughly the plan cooked up by Guido, Fred, and me. Seems to strike a nice balance between usability in the common cases (just set one option), expandability for more types of files to install in future, and customizability of installation directories. This revision isn't completely working: standard and alternate installations work fine, but there are still some kinks to work out of customized installations.
* Fix how we set 'build_dir' and 'install_dir' options from 'install' options --Greg Ward2000-03-221-2/+2
| | | | irrelevant because this file is about to go away, but oh well.
* Took out what looks like old debugging code that probably should neverGreg Ward2000-03-221-2/+1
| | | | | have been checked in: was passing the PLAT environment variable as the 'plat' argument to 'new_compiler()'.
* Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet.Jack Jansen2000-03-212-4/+92
|
* Added a GetControlRect() method to controls which returns the bounding ↵Jack Jansen2000-03-213-0/+24
| | | | rectangle. To my surprise this call is missing from the C API...
* Updated comment: in PyTypeObject:Fred Drake2000-03-211-1/+1
| | | | | | | | | | /* More standard operations (at end for binary compatibility) */ should now be: /* More standard operations (here for binary compatibility) */ since they're no longer at the end!
* On 17-Mar-2000, Marc-Andre Lemburg said:Barry Warsaw2000-03-209-39/+61
| | | | | | | | | | | | | Attached you find an update of the Unicode implementation. The patch is against the current CVS version. I would appreciate if someone with CVS checkin permissions could check the changes in. The patch contains all bugs and patches sent this week and also fixes a leak in the codecs code and a bug in the free list code for Unicode objects (which only shows up when compiling Python with Py_DEBUG; thanks to MarkH for spotting this one).
* Started on support for callbacks for UserPane controls. Unfinished and untested.Jack Jansen2000-03-202-16/+251
|
* Simplified doc string.Greg Ward2000-03-181-11/+2
| | | | Added 'clean' to list of commands.
* Oops! Don't call 'ensure_ready()' in 'Distribution.find_command_obj()' --Greg Ward2000-03-181-2/+3
| | | | | | that broke parsing command-line options. Instead call it in 'Command.find_peer()', which is why I added it to 'find_command_obj()' in the first place.
* Tweaked all over:Greg Ward2000-03-181-9/+29
| | | | | | | | * improve help strings * warn if user supplies non-existing directories * don't try to 'remove_tree()' non-existing directories * try to remove the build_base after cleanup (but don't do or say anything if it fails -- this is just in case we made it empty)
* Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>:Greg Ward2000-03-181-16/+2
| | | | use 'util.remove_tree()' instead of 'nuke_release_tree()'.
* Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>: added 'remove_tree()'.Greg Ward2000-03-181-1/+20
|
* Contribution from Bastian Kleineidam <calvin@cs.uni-sb.de>:Greg Ward2000-03-181-0/+44
| | | | the Distutils 'clean' command.
* In 'finalize_options()': if 'self.libs' is a string, make it a singleton list.Greg Ward2000-03-181-0/+3
|
* Changed to pay attention to the 'runtime_library_dirs' list (= 'rpath'Greg Ward2000-03-183-4/+20
| | | | | | | | | | option in the 'build_ext' command): * in ccompiler.py: 'gen_lib_options()' now takes 'runtime_library_dirs' parameter * in unixccompiler.py and msvccompiler.py: now pass 'self.runtime_library_dirs' to 'gen_lib_options()', and define 'runtime_library_dir_option()' (although in msvccompiler.py it blows up with a DistutilsPlatformError right now!)
* Third attempt at documenting an installation scheme; this one feels likeGreg Ward2000-03-181-192/+301
| | | | | | it could work--reasonably short and straightforward to document, but flexible enough that it will be able to handle more than just modules and extensions in the future.
* Of course, I forget how to type long ago...Fred Drake2000-03-171-1/+1
| | | | Typo noted by /F.
* Added a method GetMediaNextInterestingTimeOnly, which is like ↵Jack Jansen2000-03-172-0/+42
| | | | GetMediaNextInterestingTime without asking for the duration (which is, according to qt docs, expensive).
* "write marshalled" --> "writes marshalled" (in docstring); noted byFred Drake2000-03-171-1/+1
| | | | Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
* Oops, another in the same file; I should read the mail fully beforeFred Drake2000-03-171-1/+1
| | | | | | | checking in; sorry! "the the" --> "the" (in docstring); noted by Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
* "intput" --> "input" (in docstring); noted by Detlef LannertFred Drake2000-03-171-1/+1
| | | | <lannert@lannert.rz.uni-duesseldorf.de>.
* complete rewriteJeremy Hylton2000-03-164-1600/+1662
| | | | | | | | | code generator uses flowgraph as intermediate representation. the old rep uses a list with explicit "StackRefs" to indicate the target of jumps. pyassem converts flowgraph to bytecode, breaks up individual steps of generating bytecode
* simplify visitor walker classJeremy Hylton2000-03-162-64/+44
| | | | | | - remove postorder - remove protocol for automatically walking children based on visitor method return value; now only walks if there is no method
* fix list.append problemsJeremy Hylton2000-03-162-6/+6
|
* change name of Set method: items -> elements (avoids confusion withJeremy Hylton2000-03-162-2/+2
| | | | dict)
* Script to annotate api.tex with reference count information.Fred Drake2000-03-151-0/+63
|
* AETransactionID was mistakenly defined as a short (it is a long). Fixed.Jack Jansen2000-03-142-2/+2
|
* Fix bogus error reporting on strptime: let PyArg_ParseTuple set exception.Jeremy Hylton2000-03-141-5/+4
| | | | Also, wrap long line.
* Marc-Andre Lemburg: add declaration for PyUnicode_Contains().Guido van Rossum2000-03-131-0/+11
|
* Marc-Andre Lemburg: Add tests for mixed use of char in string.Guido van Rossum2000-03-131-0/+13
|
* Checking in the new, improve file.writelines() code.Guido van Rossum2000-03-131-24/+78
| | | | | | This (1) avoids thread unsafety whereby another thread could zap the list while we were using it, and (2) now supports writing arbitrary sequences of strings.
* Christian Tismer's "trashcan" patch:Guido van Rossum2000-03-137-1/+104
| | | | | | | | Added wrapping macros to dictobject.c, listobject.c, tupleobject.c, frameobject.c, traceback.c that safely prevends core dumps on stack overflow. Macros and functions in object.c, object.h. The method is an "elevator destructor" that turns cascading deletes into tail recursive behavior when some limit is hit.
* Fix typo in replace() detected by Mark Hammond and fixed by Marc-Andre.Guido van Rossum2000-03-131-2/+4
|
* Add sq_contains implementation.Guido van Rossum2000-03-131-0/+44
|
* Added Christian Tismer's patch to allow list.append(a,b,c) back --Guido van Rossum2000-03-131-4/+18
| | | | | with a twist: you have to define NO_STRICT_LIST_APPEND manually to enable multi-arg append().
* Added encodings to the LIBSUBDIRS variable, so that they get installed.Guido van Rossum2000-03-131-1/+1
| | | | Noted by Michael Hudson.
* Tim Peters writes:Guido van Rossum2000-03-131-4/+5
| | | | | | | | | | Fix bad auto-indent I recently introduced when replacing the regexp that could cause re to blow up: if or_any_other_block_opener: # one indenting comment line ^ cursor ended up at the caret (the bug) ^ but belongs here (the post-patch behavior)
* VC++ project changes to add new Unicode files and modules.Guido van Rossum2000-03-112-17/+125
| | | | (I did this under VC++ 5.0 -- hope this doesn't break anything.)
* Marc-Andre Lemburg: test script for Unicode implementation.Guido van Rossum2000-03-103-10/+338
|
* Marc-Andre Lemburg: the maxsplit argument for split() and replace()Guido van Rossum2000-03-101-4/+4
| | | | | now defaults to -1, not to 0. Passing an explicit zero doesn't split or replace at all.