summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For the benefit of SunOS 4.1.4, define MS_SYNC as 0 when it'sGuido van Rossum2000-09-251-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 Lundh2000-09-255-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 itTim Peters2000-09-251-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 Ward2000-09-251-0/+7
|
* Change to use the new 'translate_longopt()' function from fancy_getopt, ratherGreg Ward2000-09-251-5/+5
| | | | than rolling our own with fancy_getopt's 'longopt_xlate' global.
* Added a bunch of missing "=" signs in the option table.Greg Ward2000-09-251-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 consistencyGreg Ward2000-09-251-6/+6
| | | | with the bdist_* commands.
* Added 'boolean_options' list to support config file parsing.Greg Ward2000-09-2515-0/+31
|
* Added 'strtobool()' function: convert strings like "yes", "1",Greg Ward2000-09-251-0/+15
| | | | "no", "0", etc. to true/false.
* Fixed some bugs and mis-features in handling config files:Greg Ward2000-09-251-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 Wouters2000-09-251-4/+4
|
* unicode database compression, step 1:Fredrik Lundh2000-09-241-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 Peters2000-09-241-1/+1
|
* xmlparse_ExternalEntityParserCreate(): Add required cast to return toFred Drake2000-09-241-1/+1
| | | | avoid compiler warnings.
* Readme and relnotes for intermediate 2.0b1+ release.Jack Jansen2000-09-242-6/+18
|
* Handle the ****/**** appleevent wildcard when called as a main program, so ↵Jack Jansen2000-09-241-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 Jansen2000-09-242-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öwis2000-09-241-28/+39
|
* unicode database compression, step 1:Fredrik Lundh2000-09-241-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öwis2000-09-242-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 Lundh2000-09-243-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öwis2000-09-241-3/+3
|
* Enabled EntityResolver test again now that pyexpat.c has been fixed.Lars Gustäbel2000-09-241-1/+0
|
* Fixed another bug.Lars Gustäbel2000-09-241-1/+0
|
* Added ExternalEntityParserCreate method (patch 101635).Lars Gustäbel2000-09-241-0/+66
|
* Improvements to doco strings.Lars Gustäbel2000-09-244-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öwis2000-09-241-7/+7
|
* Added EntityResolver and DTDHandler (patch 101631) with test cases.Lars Gustäbel2000-09-245-38/+91
|
* Install xml/parsers, not xml/parser.Martin v. Löwis2000-09-241-1/+1
|
* If dbopen is not in libc, checking whether it is in libdb will fail ifMartin v. Löwis2000-09-242-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.pyLars Gustäbel2000-09-241-0/+115
|
* Added back the InputSource class (patch 101630).Lars Gustäbel2000-09-244-31/+138
|
* Added test cases for the InputSource class.Lars Gustäbel2000-09-242-2/+55
|
* - Improved handling of win32 proxy settings (addresses bug #114256).Fredrik Lundh2000-09-241-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äbel2000-09-242-1/+217
|
* Updated to final Attributes interface (patch 101632).Lars Gustäbel2000-09-242-13/+72
|
* Updated to new SAX method signatures (*NS, patch 101573).Lars Gustäbel2000-09-241-6/+6
|
* Updated to new *NS signatures (patch 101573).Lars Gustäbel2000-09-241-25/+25
|
* Stupid typo in the pthread_t testGuido van Rossum2000-09-242-3/+3
|
* - don't hang if group id is followed by whitespace (closes bug #114660)Fredrik Lundh2000-09-243-2/+4
|
* Added first start on SAX 2.0 tests.Lars Gustäbel2000-09-242-0/+198
|
* Added back missing argument to ignorableWhitespace signature.Lars Gustäbel2000-09-241-1/+1
|
* Bug fix to namespace handling in XMLGenerator (now adds declarations).Lars Gustäbel2000-09-241-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 aNicholas Riley2000-09-241-2/+2
| | | | tuple instead two arguments.
* Change for Python 1.6 compatibility - UNIX's 'os' module definesNicholas Riley2000-09-241-16/+15
| | | | 'spawnv' now, so we check for 'fork' first.
* Conform to the Python style guide.Fred Drake2000-09-242-362/+367
|
* Conform more closely with the Python style guide.Fred Drake2000-09-231-11/+11
|
* Added explanation of the use of the first program argument passed to theFred Drake2000-09-231-0/+9
| | | | exec*() family of functions.
* Change the name of the exception from "pyexpat.error" toFred Drake2000-09-231-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 Drake2000-09-231-11/+7
|