| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
"audio".
Also add AFMT_S16_NE ("native-endian"). (Somehow there's no AFMT_U16_NE.)
|
| |
|
|
|
|
| |
16-bit signed data instead. Hope this works for you; it works for me.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
they were similar to *_GetSize(); should be similar to *_Size().
Error noted by William Park <parkw@better.net>.
|
|
|
|
| |
Generated files for BeOS R5.
|
| |
|
|
|
|
| |
quick) patch Patch #101801.
|
|
|
|
|
| |
character class. Fix provided by Andrew Kuchling. Closes bug
#116251.
|
|
|
|
|
|
|
| |
for the bug reported in Bug #116174: "%% %s" % u"abc" failed due
to the way string formatting delegated work to the Unicode formatting
function.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
tokenize.py has always used naive regexps for matching string literals,
and that appears to trigger the sre recursion limit on Skip's platform (he
has very long single-line string literals). Replaced all of tokenize.py's
string regexps with the "unrolled" forms used in IDLE, where they're known to
handle even absurd (multi-megabyte!) string literals without trouble. See
Friedl's book for explanation (at heart, the naive regexps create a backtracking
choice point for each character in the literal, while the unrolled forms create
none).
|
| |
|
|
|
|
|
|
| |
parsing functions in support of auto-indent weren't expecting Unicode
strings, but text.get() can now return them (although it remains muddy as
to exactly when or why that can happen). Fixed that with a Big Hammer.
|
| |
|
|
|
|
|
|
| |
correct order of constructor args in createAttributeNS
pulldom: use symbolic names for uri and localnames
correct usage of createAttribute and setAttributeNode signatures.
|
|
|
|
| |
for incomplete input.
|
| |
|
|
|
|
| |
the InputSource.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
callers of feed will get a SAXException.
In close, feed the last chunk first before calling endDocument, so that
the parser may report errors before the end of the document. Don't do
anything in a nested parser.
Don't call endDocument in parse; that will be called in close.
Use self._source for finding the SystemID; XML_GetBase will be cleared in
case of an error.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Fix large file support for BeOS.
This closes SourceForge patch #101773. Refer to the patch discussion for
information on possible alternate fixes.
|
| |
|
| |
|
|
|
|
| |
This closes SourceForge bug #115928.
|
|
|
|
| |
not added then, and note what the change was (ncurses, change to a package).
|
|
|
|
|
| |
Revised the first paragraph so it doesn't sound like it was written
when 7-bit strings were assumed; note that Unicode strings can be used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
read the header from the .au file and do a sanity check
pass only the data to the audio device
call flush() so that program does not exit until playback is complete
call all the other methods to verify that they work minimally
call setparameters with a bunch of bugs arguments
linuxaudiodev.c:
use explicit O_WRONLY and O_RDONLY instead of 1 and 0
add a string name to each of the entries in audio_types[]
add AFMT_A_LAW to the list of known formats
add x_mode attribute to lad object, stores imode from open call
test ioctl return value as == -1, not < 0
in read() method, resize string before return
add getptr() method, that calls does ioctl on GETIPTR or GETOPTR
depending on x_mode
in setparameters() method, do better error checking and raise
ValueErrors; also use ioctl calls recommended by Open Sound
System Programmer's Guido (www.opensound.com)
use PyModule_AddXXX to define names in module
|
|
|
|
|
| |
"disciplines" for the __*__() methods, so they should be referred to as
"methods" or "special methods", as appropriate in context.
|
|
|
|
|
|
|
|
|
|
| |
as a parameter; this was the only use of the base
constructor or surgical alteration of another object's
data attribute.
This change simplifies the constructor requirements for subclasses.
This relates to SourceForge bug #115928.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
operations are defined. This will, hopefully clarify
some of the logic.
Added close test to raise proper error when operations
are performed on closed StringIOs.
Added a position argument to the truncate method.
Added a size argument to readline.
Added PyArg_Parse calls for methods that don't take arguments to
make sure they don't take arguments.
|
|
|
|
| |
Added missing clode to make the clode test test a close. ;)
|
| |
|
|
|
|
| |
ImportError, and a missing driver.
|
|
|
|
| |
regexdemo.py is obsolete with the regex module.
|
|
|
|
|
|
|
| |
somewhat useful to learn regular expressions, and this way it'll be
installed on Windows.
This closes bug report 115609.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://sourceforge.net/bugs/?func=detailbug&bug_id=113803&group_id=5470
Add Unicode support and error handling to AsString(). Both AsString()
and Merge() now return NULL and set a proper Python exception
condition when an error happens; Merge() and other callers of
AsString() check for errors from AsString(). Also fixed cleanup in
Merge() and Tkapp_Call() return cleanup code; the fv array was not
necessarily completely initialized, causing calls to ckfree() with
garbage arguments!
(Also reindented some lines that were longer than 80 chars and
reformatted some code that used an alien coding standard.)
|
|
|
|
| |
collection.
|
| |
|
|
|
|
|
|
| |
New README for BeOS R5.
This closes SourceForge patch #101779.
|
|
|
|
|
|
|
|
| |
Script to regenerate platform-specific modules of constants.
[I moved common paths to variables for easier reading by humans. -- FLD]
This closes SourceForge patch #101781.
|
|
|
|
| |
Added definition of VERSION so this works as expected.
|