summaryrefslogtreecommitdiffstats
path: root/Modules/clmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* lots of "goto error" replaced by "return" (Jack)Guido van Rossum1997-10-081-264/+264
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-6/+1
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Megapatch for IRIX 6 by Sjoerd.Guido van Rossum1997-08-121-338/+1599
|
* Renamed.Roger E. Masse1997-01-171-530/+584
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-1/+0
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Make constants from cl.h include file available as module variables.Sjoerd Mullender1995-05-171-2/+331
| | | | Also added Irix 5.3 constants.
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-4/+4
|
* * clmodule.c (doParams): free PVbuffer in error condition.Sjoerd Mullender1993-08-031-1/+3
| | | | | * frameobject.c (newframeobject): initialize ob_type if taking entry from the free list, since it is zeroed out when DEBUG is defined.
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-2/+2
| | | | | | | | | | * Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
* * clmodule.c: the documentation was wrong, so changed the interfaceSjoerd Mullender1993-02-171-60/+60
| | | | | | accordingly: SetMin, SetMax, SetDefault are no longer methods of the compressor/decompressor but are functions of the cl module and they take a first argument which is a compression scheme
* * clmodule.c: use function prototypes (found and fixed some bugs thisSjoerd Mullender1993-02-161-192/+214
| | | | | | | | | | way); more efficiently check whether parameters are float; removed one argument from DecompressImage method; use clGetParam instead of clGetParams where it makes sense; convert int parameters in SetParams, SetParam, SetMin, SetMax, and SetDefault to float when needed; added QuerySchemeFromHandle method * Makefile: interchanged cstubs and cgen.py so that $> in rule gets them in the right order
* CL.py, clmodule.c: Adapted to new CL library. Lots of new methods.Sjoerd Mullender1993-02-041-54/+294
| | | | aifc.py: Several small improvements. Use new methods from CL module.
* adapted to newest version of CL library.Sjoerd Mullender1992-12-141-358/+318
|
* Lots of little fixes.Sjoerd Mullender1992-09-291-73/+110
| | | | | | | | | | | | | | | | | - merged CloseCompressor and CloseDecompressor into one function - keep existing errors in error function (for exceptions raised in the Compress or Decompress callback functions) - remove newline from error string generated by error function - allocate less memory when compressing multiple frames - keep existing errors when clCompress or clDecompress fails - raise an exception when compressed data doesn't fit within dataMaxSize bytes - allocate frameSize bytes for decompression buffer instead of dataMaxSize - use mkvalue more often - new function QueryParams which will accept CL.AUDIO and CL.VIDEO args - changed some function names
* Fixed the last known bugs.Sjoerd Mullender1992-09-251-16/+82
|
* New built-in module "cl" (Compression Library). Only for Irix 4.0.5Sjoerd Mullender1992-09-241-42/+122
| | | | and higher. Made a few improvements to previous version.
* New built-in module cl, the Compression Library.Sjoerd Mullender1992-09-231-0/+546