Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | For the benefit of SunOS 4.1.4, define MS_SYNC as 0 when it's | Guido van Rossum | 2000-09-25 | 1 | -0/+6 |
| | | | | | | undefined. ccording to MvL, this is safe: the MS_SYNC flag means that msync() returns when all I/O operations are scheduled; without it, it waits until they are complete, which is acceptable behavior. | ||||
* | unicode database compression, step 2: | Fredrik Lundh | 2000-09-25 | 5 | -4328/+4611 |
| | | | | | | | | | | - fixed attributions - moved decomposition data to a separate table, in preparation for step 3 (which won't happen before 2.0 final, promise!) - use relative paths in the generator script I have a lot more stuff in the works for 2.1, but let's leave that for another day... | ||||
* | Fiddled w/ /F's cool new splitbins function: documented it, generalized it | Tim Peters | 2000-09-25 | 1 | -26/+54 |
| | | | | | | | | | | a bit, sped it a lot primarily by removing the unused assumption that None was a legit bin entry (the function doesn't really need to assume that there's anything special about 0), added an optional "trace" argument, and in __debug__ mode added exhaustive verification that the decomposition is both correct and doesn't overstep any array bounds (which wasn't obvious to me from staring at the generated C code -- now I feel safe!). Did not commit a new unicodedata_db.h, as the one produced by this version is identical to the one already checked in. | ||||
* | Added 'translate_longopt()' function. | Greg Ward | 2000-09-25 | 1 | -0/+7 |
| | |||||
* | Change to use the new 'translate_longopt()' function from fancy_getopt, rather | Greg Ward | 2000-09-25 | 1 | -5/+5 |
| | | | | than rolling our own with fancy_getopt's 'longopt_xlate' global. | ||||
* | Added a bunch of missing "=" signs in the option table. | Greg Ward | 2000-09-25 | 1 | -30/+14 |
| | | | | | Removed script options -- don't think they ever worked, weren't very well thought through, etc. | ||||
* | Renamed '--keep-tree' option to '--keep-temp', for consistency | Greg Ward | 2000-09-25 | 1 | -6/+6 |
| | | | | with the bdist_* commands. | ||||
* | Added 'boolean_options' list to support config file parsing. | Greg Ward | 2000-09-25 | 15 | -0/+31 |
| | |||||
* | Added 'strtobool()' function: convert strings like "yes", "1", | Greg Ward | 2000-09-25 | 1 | -0/+15 |
| | | | | "no", "0", etc. to true/false. | ||||
* | Fixed some bugs and mis-features in handling config files: | Greg Ward | 2000-09-25 | 1 | -9/+44 |
| | | | | | | | | | | | | | | | * options can now be spelled "foo-bar" or "foo_bar" (handled in 'parse_config_files()', just after we parse a file) * added a "[global]" section so there's a place to set global options like verbose/quiet and dry-run * respect the "negative alias" dictionary so (eg.) "quiet=1" is the same as "verbose=0" (this had to be done twice: once in 'parse_config_file()' for global options, and once in '_set_command_options()' for per-command options) * the other half of handling boolean options correctly: allow commands to list their boolean options in a 'boolean_options' class attribute, and use it to translate strings (like "yes", "1", "no", "0", etc) to true or false | ||||
* | Fix inconsistent use of space/tabs. | Thomas Wouters | 2000-09-25 | 1 | -4/+4 |
| | |||||
* | unicode database compression, step 1: | Fredrik Lundh | 2000-09-24 | 1 | -0/+202 |
| | | | | | - use unidb compression for the unicodedata module. on Windows, the new unidatabase module is 120k, down from nearly 600k. | ||||
* | Repaired damaged string. | Tim Peters | 2000-09-24 | 1 | -1/+1 |
| | |||||
* | xmlparse_ExternalEntityParserCreate(): Add required cast to return to | Fred Drake | 2000-09-24 | 1 | -1/+1 |
| | | | | avoid compiler warnings. | ||||
* | Readme and relnotes for intermediate 2.0b1+ release. | Jack Jansen | 2000-09-24 | 2 | -6/+18 |
| | |||||
* | Handle the ****/**** appleevent wildcard when called as a main program, so ↵ | Jack Jansen | 2000-09-24 | 1 | -1/+1 |
| | | | | that it becomes a handy debugging tool (BuildApplet, copy aete resource, apply applescript to it). | ||||
* | Added a workaround for shortcomings in the OSA support: there can be ↵ | Jack Jansen | 2000-09-24 | 2 | -5/+16 |
| | | | | class/property conflicts and passing classes as arguments doesn't work. The package now seems to work. | ||||
* | Use SAX2 namespace support. | Martin v. Löwis | 2000-09-24 | 1 | -28/+39 |
| | |||||
* | unicode database compression, step 1: | Fredrik Lundh | 2000-09-24 | 1 | -11/+1 |
| | | | | | - use unidb compression for the unicodedata module. on Windows, the new unidatabase module is 120k, down from nearly 600k. | ||||
* | [Patch 101634] | Martin v. Löwis | 2000-09-24 | 2 | -26/+11 |
| | | | | | | | xml.sax: Fix parse and parseString not to rely on ExpatParser Greatly simplify import logic by using __import__ saxutils: Support Unicode strings and files as parameters to prepare_input_source | ||||
* | unicode database compression, step 1: | Fredrik Lundh | 2000-09-24 | 3 | -65715/+4398 |
| | | | | | - use unidb compression for the unicodedata module. on Windows, the new unidatabase module is 120k, down from nearly 600k. | ||||
* | Find feature names in handler. | Martin v. Löwis | 2000-09-24 | 1 | -3/+3 |
| | |||||
* | Enabled EntityResolver test again now that pyexpat.c has been fixed. | Lars Gustäbel | 2000-09-24 | 1 | -1/+0 |
| | |||||
* | Fixed another bug. | Lars Gustäbel | 2000-09-24 | 1 | -1/+0 |
| | |||||
* | Added ExternalEntityParserCreate method (patch 101635). | Lars Gustäbel | 2000-09-24 | 1 | -0/+66 |
| | |||||
* | Improvements to doco strings. | Lars Gustäbel | 2000-09-24 | 4 | -14/+27 |
| | | | | Tiny bug fix to expatreader.py (endDocument was only called after errors). | ||||
* | Use findfile to locate input and output files. | Martin v. Löwis | 2000-09-24 | 1 | -7/+7 |
| | |||||
* | Added EntityResolver and DTDHandler (patch 101631) with test cases. | Lars Gustäbel | 2000-09-24 | 5 | -38/+91 |
| | |||||
* | Install xml/parsers, not xml/parser. | Martin v. Löwis | 2000-09-24 | 1 | -1/+1 |
| | |||||
* | If dbopen is not in libc, checking whether it is in libdb will fail if | Martin v. Löwis | 2000-09-24 | 2 | -187/+154 |
| | | | | | db_185.h has renamed that function to __db185_open, which it does in DB 3.1. So don't check whether the function is in -ldb. | ||||
* | Added necessary test input file for test_sax.py | Lars Gustäbel | 2000-09-24 | 1 | -0/+115 |
| | |||||
* | Added back the InputSource class (patch 101630). | Lars Gustäbel | 2000-09-24 | 4 | -31/+138 |
| | |||||
* | Added test cases for the InputSource class. | Lars Gustäbel | 2000-09-24 | 2 | -2/+55 |
| | |||||
* | - Improved handling of win32 proxy settings (addresses bug #114256). | Fredrik Lundh | 2000-09-24 | 1 | -22/+27 |
| | | | | | | | The earlier code assumed "protocol=host;protocol=host;..." or "host", but Windows may also use "protocol=host" (just one entry), as well as "protocol://host". This code needs some more work, so I'll leave the bug open for now. | ||||
* | Added test cases for the Attributes interface. | Lars Gustäbel | 2000-09-24 | 2 | -1/+217 |
| | |||||
* | Updated to final Attributes interface (patch 101632). | Lars Gustäbel | 2000-09-24 | 2 | -13/+72 |
| | |||||
* | Updated to new SAX method signatures (*NS, patch 101573). | Lars Gustäbel | 2000-09-24 | 1 | -6/+6 |
| | |||||
* | Updated to new *NS signatures (patch 101573). | Lars Gustäbel | 2000-09-24 | 1 | -25/+25 |
| | |||||
* | Stupid typo in the pthread_t test | Guido van Rossum | 2000-09-24 | 2 | -3/+3 |
| | |||||
* | - don't hang if group id is followed by whitespace (closes bug #114660) | Fredrik Lundh | 2000-09-24 | 3 | -2/+4 |
| | |||||
* | Added first start on SAX 2.0 tests. | Lars Gustäbel | 2000-09-24 | 2 | -0/+198 |
| | |||||
* | Added back missing argument to ignorableWhitespace signature. | Lars Gustäbel | 2000-09-24 | 1 | -1/+1 |
| | |||||
* | Bug fix to namespace handling in XMLGenerator (now adds declarations). | Lars Gustäbel | 2000-09-24 | 1 | -5/+13 |
| | | | | | Bug fixes to XMLFilterBase (wrong ignorableWhitespace signature and did not inherit set*Handler methods from XMLReader.) | ||||
* | Fixes for Python 1.6 compatibility - socket bind and connect get a | Nicholas Riley | 2000-09-24 | 1 | -2/+2 |
| | | | | tuple instead two arguments. | ||||
* | Change for Python 1.6 compatibility - UNIX's 'os' module defines | Nicholas Riley | 2000-09-24 | 1 | -16/+15 |
| | | | | 'spawnv' now, so we check for 'fork' first. | ||||
* | Conform to the Python style guide. | Fred Drake | 2000-09-24 | 2 | -362/+367 |
| | |||||
* | Conform more closely with the Python style guide. | Fred Drake | 2000-09-23 | 1 | -11/+11 |
| | |||||
* | Added explanation of the use of the first program argument passed to the | Fred Drake | 2000-09-23 | 1 | -0/+9 |
| | | | | exec*() family of functions. | ||||
* | Change the name of the exception from "pyexpat.error" to | Fred Drake | 2000-09-23 | 1 | -12/+13 |
| | | | | | | | | "xml.parsers.expat.error", so it will reflect the public name of the exception rather than the internal name. Also change some of the initialization to use the new PyModule_Add*() convenience functions. | ||||
* | Use the public name for the Expat parser; "pyexpat" is deprecated. | Fred Drake | 2000-09-23 | 1 | -11/+7 |
| |