Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Typo fix. | Greg Ward | 2002-12-12 | 1 | -1/+1 |
| | |||||
* | Support threads-enabled Tcl installations. | Martin v. Löwis | 2002-12-12 | 1 | -118/+525 |
| | |||||
* | This is not used anymore. | Martin v. Löwis | 2002-12-11 | 2 | -1003/+0 |
| | |||||
* | Add OSS mixer interface (from Nicholas FitzRoy-Dale <wzdd@lardcave.net>): | Greg Ward | 2002-12-11 | 1 | -0/+267 |
| | | | | | | | | | | | * add oss_mixer_t and OSSMixerType * add newossmixerobject(), oss_mixer_dealloc(), ossopenmixer() * add _do_ioctl_1_internal() to support mixer ioctls * add mixer methods: oss_mixer_{close,fileno,channels,stereo_channels, rec_channels,getvol,setvol,getrecsrc,setrecsrc}() * add oss_mixer_methods list * add oss_mixer_getattr() (why?!) * export SOUND_MIXER_* constants from soundcard.h | ||||
* | Prepare for the coming mixer support patch: change _do_ioctl_0() and | Greg Ward | 2002-12-11 | 1 | -14/+14 |
| | | | | | _do_ioctl_1() so they take a file descriptor rather than an oss_t pointer. | ||||
* | Finish expunging the 'linuxaudiodev' name: | Greg Ward | 2002-12-11 | 1 | -55/+55 |
| | | | | | | | * rename oss_t to lad_t, Ladtype to OSSType, * rename lad_*() methods to oss_*() * rename lad_methods list to oss_methods Patch and impetus supplied by Nicholas FitzRoy-Dale <wzdd@lardcave.net>. | ||||
* | Patch #650422: Use Posix AF_ constants instead of PF_ ones. | Martin v. Löwis | 2002-12-11 | 1 | -5/+7 |
| | |||||
* | Remove C++ comment. Silence unsigned char* cast warning. | Martin v. Löwis | 2002-12-07 | 1 | -2/+2 |
| | |||||
* | Remove C++ comment. | Martin v. Löwis | 2002-12-07 | 1 | -1/+1 |
| | |||||
* | A patch from Kevin Jacobs, plugging several leaks discovered when | Tim Peters | 2002-12-07 | 1 | -5/+10 |
| | | | | | | running the sandbox datetime tests. Bugfix candidate. | ||||
* | Don't include <ioctl.h> unless on __VMS. | Martin v. Löwis | 2002-12-06 | 1 | -1/+3 |
| | |||||
* | Patch #614055: Support OpenVMS. | Martin v. Löwis | 2002-12-06 | 7 | -4/+499 |
| | |||||
* | Patch #649060: Cygwin bz2module patch | Jason Tishler | 2002-12-05 | 1 | -14/+29 |
| | | | | This patch enables the bz2 module to build cleanly under Cygwin. | ||||
* | Decode untyped strings from UTF-8. | Martin v. Löwis | 2002-12-04 | 1 | -2/+27 |
| | |||||
* | correct wording of comments about old bsddb (now bsddb185) module | Skip Montanaro | 2002-12-02 | 1 | -6/+4 |
| | |||||
* | Expunge any remaining mentions of linuxaudiodev -- it's ossaudiodev now! | Greg Ward | 2002-11-30 | 1 | -7/+7 |
| | |||||
* | Rename LinuxAudioError to OSSAudioError ('ossaudiodev.error'). | Greg Ward | 2002-11-30 | 1 | -25/+25 |
| | | | | | | Use OSSAudioError much less frequently -- all real I/O errors (ie. any time open(), read(), write(), ioctl(), or select() return an error) become IOError. OSSAudioError is only used now for bad open() mode. | ||||
* | Added mode 'rw' for full-duplex (play and record at the same time) mode. | Greg Ward | 2002-11-30 | 1 | -21/+97 |
| | | | | | | | | | | | | Added _EXPORT_INT macro to export an integer constant to Python-space. Use it for all the AFMT_* constants, and update the list of AFMT_* constants to match what's in Linux 2.4: add AFMT_{QUERY,IMA_ADPCM, MPEG,AC3}. This should probably be tested with older versions of OSS, eg. with Linux 2.2 and 2.0. Export all SNDCTL_* ioctl numbers (where "all" is the set found in /usr/include/linux/soundcard.h on my Debian 3.0 system -- again Linux 2.4). Again needs to be tested with older OSS versions. | ||||
* | * Don't put the device in non-blocking mode at open() time; this makes | Greg Ward | 2002-11-30 | 1 | -46/+184 |
| | | | | | | | | | | | | | | | | | | | | | it impossible to access blocking mode! * Rename write() to writeall(), and add a write() method that just does one write(). * Rearrange/simplify writeall(): in particular, don't supply a timeout to select(). Let it block forever if it has to. * Add a bunch of simple ioctl() wrappers: nonblock(), setfmt(), getfmts(), channels(), speed(), sync(), reset(), post(). These wrap, respectively, SNDCTL_DSP_NONBLOCK, SNDCTL_DSP_SETFMT, SNDCTL_DSP_GETFMTS, etc. * Reduce flush() (which was a wrapper for the SNDCTL_DSP_SYNC ioctl) to an alias for sync(). * Rearrange the lad_methods list to reflect the order in which the methods are defined, and add some grouping comments. | ||||
* | ossaudiodev -- Python interface to the OSS (Open Sound System) API. | Greg Ward | 2002-11-30 | 1 | -0/+524 |
| | | | | | | | | This module is a replacement for linuxaudiodev, which will eventually be deprecated. Initial revision is rev 2.20 of linuxaudiodev.c, with a rewritten header comment. | ||||
* | Allow the device name to be passed to linuxaudiodev.open(), for | Greg Ward | 2002-11-27 | 1 | -7/+19 |
| | | | | | | | | | | | | consistency with the built-in open() (and every other sane open() function, for that matter). The two valid ways to call this open() are now open(mode) and open(device, mode). For backwards compatibility, retain the old open(mode) calling syntax -- this makes the error message when you call open(device) a bit confusing, but oh well. This is the first half of SF patch #644977. | ||||
* | Avoid including tclInt.h. | Martin v. Löwis | 2002-11-26 | 1 | -10/+26 |
| | |||||
* | Rename want_objects to wantobjects throughout, for consistency. | Martin v. Löwis | 2002-11-26 | 1 | -10/+10 |
| | |||||
* | Patch #518625: Return objects in Tkinter. | Martin v. Löwis | 2002-11-26 | 1 | -6/+327 |
| | |||||
* | Patch #632973: Implement _getdefaultlocale for OS X. | Martin v. Löwis | 2002-11-26 | 1 | -3/+3 |
| | |||||
* | Add unidata_version. Bump generator version number. | Martin v. Löwis | 2002-11-25 | 3 | -2/+5 |
| | |||||
* | Regenerate from Unicode 3.2.0 to include all First/Last ranges. | Martin v. Löwis | 2002-11-24 | 2 | -8403/+8395 |
| | |||||
* | Verify that the code in CJK UNIFIED IDEOGRAPH- actually denotes an ideograph. | Martin v. Löwis | 2002-11-23 | 1 | -3/+12 |
| | |||||
* | Patch #626485: Support Unicode normalization. | Martin v. Löwis | 2002-11-23 | 2 | -15/+856 |
| | |||||
* | Implement names for CJK unified ideographs. Add name to KeyError output. | Martin v. Löwis | 2002-11-23 | 1 | -1/+39 |
| | | | | Verify that the lookup for an existing name succeeds. | ||||
* | Fix off-by-one error. | Martin v. Löwis | 2002-11-23 | 1 | -1/+1 |
| | |||||
* | Patch #626548: Support Hangul syllable names. | Martin v. Löwis | 2002-11-23 | 1 | -2/+109 |
| | |||||
* | Merge with bsddb3 2002.11.23.10.42.36 | Martin v. Löwis | 2002-11-23 | 1 | -8/+16 |
| | |||||
* | Include Python.h first. | Martin v. Löwis | 2002-11-23 | 1 | -1/+1 |
| | |||||
* | Fix SF # 640557, '64-bit' systems and the dbm module | Neal Norwitz | 2002-11-22 | 1 | -6/+17 |
| | | | | | | | datum.dsize can apparently be long on some systems. Ensure we pass an int* to PyArg_Parse("s#"), not &datum.dsize Will backport. | ||||
* | fix for SF #635398 (don't "downcast" return strings from unicode to ascii) | Fredrik Lundh | 2002-11-22 | 1 | -21/+4 |
| | |||||
* | Fix --disable-unicode compilation problems. | Martin v. Löwis | 2002-11-21 | 1 | -0/+5 |
| | |||||
* | Comment out the getcwdu implementation for --disable-unicode builds | Walter Dörwald | 2002-11-21 | 1 | -0/+4 |
| | |||||
* | Always call tparm with 10 arguments. It seems it's not varargs i | Michael W. Hudson | 2002-11-21 | 1 | -43/+3 |
| | | | | | | | | more often than it is. In response to bug: [ 641808 ] Portability of Modules/_cursesmodule.c submitted by Nick Mclaren. | ||||
* | Don't try to use unsupported DB versions. | Martin v. Löwis | 2002-11-19 | 1 | -1/+6 |
| | |||||
* | Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185. | Martin v. Löwis | 2002-11-19 | 3 | -15/+4266 |
| | |||||
* | Don't use PyNumber_Float() since it's is nearly useless. Instead, rely on | Neil Schemenauer | 2002-11-18 | 1 | -4/+2 |
| | | | | PyFloat_AsDouble to generate a good error message. | ||||
* | Use PyInt_AsLong instead of PyInt_AS_LONG after the call to | Walter Dörwald | 2002-11-12 | 1 | -1/+1 |
| | | | | | | | PyNumber_Int, because now PyNumber_Int might return a long, and PyInt_AsLong can handle that, whereas PyInt_AS_LONG can't. This closes SF bug #629989. | ||||
* | Make private functions static so we don't pollute the namespace | Neal Norwitz | 2002-11-10 | 1 | -1/+2 |
| | |||||
* | Fix typo. | Martin v. Löwis | 2002-11-09 | 1 | -1/+1 |
| | |||||
* | bz2_compress/bz2_decompress: more casting away LONG_LONG for | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | | | | _PyString_Resize calls. | ||||
* | BZ2Decomp_decompress(): Fixed more long vs LONG_LONG confusions. | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | BZ2Comp_flush(): Fixed more int vs LONG_LONG confusions. | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | BZ2Comp_compress(): Explicitly cast the LONG_LONG size argument to | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | | | | _PyString_Resize to int. | ||||
* | BZ2Comp_compress(): changed decl of totalout to LONG_LONG, since it's | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | | | | | solely used to hold LONG_LONG values, and the compiler rightfully warns about potential data loss otherwise. |