summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Christian Tismer:Guido van Rossum2000-03-251-2/+8
| | | | | | Added "better safe than sorry" patch to the new trashcan code in object.c, to ensure that tstate is not touched when it might be undefined.
* Marc-Andre Lemburg:Guido van Rossum2000-03-245-6/+259
| | | | | | | | | | Attached you find the latest update of the Unicode implementation. The patch is against the current CVS version. It includes the fix I posted yesterday for the core dump problem in codecs.c (was introduced by my previous patch set -- sorry), adds more tests for the codecs and two new parser markers "es" and "es#".
* Fix all routines to use PyArg_ParseTuple(), and add ":name" to theGuido van Rossum2000-03-241-58/+71
| | | | | | | | argument format strings. THIS WILL PROBABLY BREAK LOTS OF CODE!!! Also fixed a bogus string in an error message in getsockaddrlen().
* Fix the test so that connect() and bind() are called with a singleGuido van Rossum2000-03-241-2/+2
| | | | | | argument: a (host, port) tuple. Like multi-arg append(), multi-arg connect() and bind() may be ruled out!
* Marc-Andre Lemburg:Guido van Rossum2000-03-241-8/+6
| | | | | | Andy Robinson noted a core dump in the codecs.c file. This was introduced by my latest patch which fixed a memory leak in codecs.c. The bug causes all successful codec lookups to fail.
* Regenerated with test for 'contains'.Guido van Rossum2000-03-241-0/+1
|
* Fix probable bug; if errno == EINTR, floatsleep() doesn't break out ofAndrew M. Kuchling2000-03-241-1/+1
| | | | | | | a Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS block, but it calls Py_BLOCK_THREADS anyway. The change moves Py_BLOCK_THREADS to inside the if, so it's only executed when the function actually returns unexpectedly.
* From Sjoerd Mullender <sjoerd@oratrix.nl>:Fred Drake2000-03-231-1/+0
| | | | | cmp is not used in freeze, but is imported anyway. What's worse, cmp is no longer in the library, so freeze won't work like this.
* Import fix.Greg Ward2000-03-231-1/+1
|
* Fixed '_nt_quote_args()': backwards logic reversed, and now it actuallyGreg Ward2000-03-231-2/+2
| | | | returns a value.
* Fixed the class name.Greg Ward2000-03-231-1/+1
|
* Data of type Point is passed by value, not by reference.Jack Jansen2000-03-224-10/+10
|
* 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.