summaryrefslogtreecommitdiff
path: root/Modules/clmodule.c
AgeCommit message (Collapse)AuthorLines
2001-12-08Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum-1/+1
type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment.
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
This should match the situation in the 1.6b1 tree.
2000-07-21Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters-1/+1
and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
2000-06-30Change copyright notice - 2nd try.Guido van Rossum-6/+0
2000-06-30Change copyright notice.Guido van Rossum-21/+6
2000-05-03Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum-2/+2
For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
1997-10-08lots of "goto error" replaced by "return" (Jack)Guido van Rossum-264/+264
1997-10-01Apply two changes, systematically:Guido van Rossum-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!
1997-08-12Megapatch for IRIX 6 by Sjoerd.Guido van Rossum-331/+1592
1997-01-17Renamed.Roger E. Masse-527/+581
1996-12-05Keep gcc -Wall happy.Guido van Rossum-1/+0
1996-10-25New permission notice, includes CNRI.Guido van Rossum-12/+19
1995-05-17Make constants from cl.h include file available as module variables.Sjoerd Mullender-2/+331
Also added Irix 5.3 constants.
1995-01-04Added 1995 to copyright message.Guido van Rossum-2/+2
Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
1994-08-01Merge alpha100 branch back to main trunkGuido van Rossum-4/+4
1993-08-03* clmodule.c (doParams): free PVbuffer in error condition.Sjoerd Mullender-1/+3
* frameobject.c (newframeobject): initialize ob_type if taking entry from the free list, since it is zeroed out when DEBUG is defined.
1993-03-16* Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum-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.
1993-02-17* clmodule.c: the documentation was wrong, so changed the interfaceSjoerd Mullender-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
1993-02-16* clmodule.c: use function prototypes (found and fixed some bugs thisSjoerd Mullender-190/+212
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
1993-02-04CL.py, clmodule.c: Adapted to new CL library. Lots of new methods.Sjoerd Mullender-54/+294
aifc.py: Several small improvements. Use new methods from CL module.
1992-12-14adapted to newest version of CL library.Sjoerd Mullender-358/+318
1992-09-29Lots of little fixes.Sjoerd Mullender-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
1992-09-25Fixed the last known bugs.Sjoerd Mullender-16/+82
1992-09-24New built-in module "cl" (Compression Library). Only for Irix 4.0.5Sjoerd Mullender-42/+122
and higher. Made a few improvements to previous version.
1992-09-23New built-in module cl, the Compression Library.Sjoerd Mullender-0/+546