summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Extensive changes to regex module (group(), casefold, etc.)Guido van Rossum1993-02-231-12/+46
|
* Added audioop.reverse() which reverses an audio sampleJack Jansen1993-02-231-0/+40
|
* * regexmodule.c: added use of translation table, substring() method.Guido van Rossum1993-02-211-38/+117
|
* Added new module "array" (for now optional) defining array objects.Guido van Rossum1993-02-192-0/+1159
|
* Added converters for rgb<->rgb8 and rgb<->greyJack Jansen1993-02-191-0/+156
|
* Added dither() routineJack Jansen1993-02-191-0/+1
|
* This time really check in the new routines :-)Jack Jansen1993-02-171-26/+210
|
* Added lin2lin, findmax, findfactor and fintfit routinesJack Jansen1993-02-171-10/+51
|
* * 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
* Added readdisplay() routineJack Jansen1993-02-161-0/+29
|
* Added new audio library functionality (getstatus, float sample fmts)Jack Jansen1993-02-101-0/+128
|
* Fixed some memory leaks when things go wrong.Sjoerd Mullender1993-02-101-10/+10
|
* Changed adpcm routines to use 2-element state (was 3 element)Jack Jansen1993-02-101-4/+6
|
* * stdwinmodule.c: various new commands: setwin{pos,size},Guido van Rossum1993-02-081-0/+275
| | | | | | | | | | listfontnames, bitmap ops. * listobject.c: use mkvalue() when possible; avoid weird error when calling append() without args. * modsupport.c: new feature in getargs(): if the format string contains a semicolor the string after that is used as the error message instead of "bad argument list (format %s)" when there's an error.
* * ceval.c: ifdef out the last argument passing compat hack.Guido van Rossum1993-02-053-21/+31
| | | | | * Fixed memory leaks in socket, select and sv modules: mkvalue("O", v) does INCREF(v) so if v is brand new it should be XDECREF'd
* 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.
* * Added Fixcprt.py: script to fix copyright message.Guido van Rossum1993-01-269-21/+51
| | | | | | | | | | | * various modules: added 1993 to copyright. * thread.c: added copyright notice. * ceval.c: minor change to error message for "+" * stdwinmodule.c: check for error from wfetchcolor * config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h) * Add declaration of inittab to import.h * sysmodule.c: added sys.builtin_module_names * xxmodule.c, xxobject.c: fix minor errors
* Added tovideo routineJack Jansen1993-01-221-0/+59
|
* Added separate main program for the Mac: macmain.cGuido van Rossum1993-01-215-60/+103
| | | | | | | | | | | | | | | | | | | | | stdwinmodule.c: wsetfont can now return an error Makefile: add CL_USE and CL_LIB*S; config.c: move CL part around New things in imgfile; also in Makefile. longobject.c: fix comparison of negative long ints... [REAL BUG!] marshal.c: add dumps() and loads() to read/write strings timemodule.c: make sure there's always a floatsleep() posixmodule.c: rationalize struct returned by times() Makefile: add test target, disable imgfile by default thread.c: Improved coexistance with dl module (sjoerd) stdwinmodule.c: Change include stdwin.h if macintosh rotormodule.c: added missing last argument to RTR_?_region calls confic.c: merged with configmac.c, added 1993 to copyright message fileobject.c: int compared to NULL in writestring(); change fopenRF ifdef timemodule.c: simplify times() using mkvalue; include myselect.h earlier (for sequent). posixmodule: for sequent, include unistd.h instead of explicit extern definitions and don't define rename() Makefile: change misleading/wrong MD5 comments
* Use full path for izoom.h include fileJack Jansen1993-01-191-1/+1
|
* Added (optional) better scaling to readscaledJack Jansen1993-01-191-24/+138
|
* Checking in last-minute changes that are already part of release 0.9.8Guido van Rossum1993-01-101-3/+3
|
* * Makefile: use cp -r to install the libraryGuido van Rossum1993-01-092-32/+44
| | | | | | | | * ceval.c: use #ifdef COMPAT_HACKS instead of #if 0 * Makefile: fix to make clmodule.c compile; make config.o dependent on libpython.a (so date is always correct) * timemodule.c: now sleep() also takes a float argument. * posixmodule.c: added nice().
* Fixed various bugs in the adpcm routinesJack Jansen1993-01-081-40/+71
|
* Various changes.Sjoerd Mullender1993-01-062-3/+964
| | | | | | | | | | | | | | | * Makefile: svmodule.c.proto and svgen.py are gone, svmodule.c came in their stead. Also, pass -DUSE_DL flag to thread.c and give the user a possibility to add the -DDEBUG to just thread.c. * ceval.c: init_save_thread() can be called more than once now. * svgen.py, svmodule.c.proto, svmodule.c: Removed prototype file and replaced it by the generated file. * thread.c: Added some more checks; added call to DL library when it is also used to tell it where the shared arena is so that DL can use some other area. * threadmodule.c: Call init_save_thread from another place. Also, added new function getlocklock() which does to lock objects what getfilefile does to file objects.
* * Configure.py: use #!/usr/local/bin/pythonGuido van Rossum1993-01-043-18/+37
| | | | | | | | | | | * posixmodule.c: move extern function declarations to top * listobject.c: cmp() arguments must be void* if __STDC__ * Makefile, allobjects.h, panelmodule.c, modsupport.c: get rid of strdup() -- it is a portability risk * Makefile: enclosed ranlib command in parentheses for Sequent Make which aborts if the command is not found even if '-' is present * timemodule.c: time() returns a floating point number, in microsecond precision if BSD_TIME is defined.
* Added 2 and 4 bits grey formatsJack Jansen1992-12-221-0/+208
|
* * mymalloc.h: always allocate one extra byte, since some malloc'sGuido van Rossum1992-12-144-1/+2167
| | | | | | | | | | | | | return NULL for malloc(0) or realloc(p, 0). (This should be done differently than wasting one byte, but alas...) * Moved "add'l libraries" option in Makefile to an earlier place. * Remove argument compatibility hacks (b) and (c). * Add grey2mono, dither2mono and mono2grey to imageop. * Dup the fd in socket.fromfd(). * Added new modules mpz, md5 (by JH, requiring GNU MP 1.2). Affects Makefile and config.c. * socketmodule.c: added socket.fromfd(fd, family, type, [proto]), converted socket() to use of getargs().
* adapted to newest version of CL library.Sjoerd Mullender1992-12-141-358/+318
|
* Added new modules mpz, md5 (by JH, requiring GNU MP).Guido van Rossum1992-12-081-0/+14
|
* socketmodule.c: added socket.fromfd(fd, family, type, [proto]);Guido van Rossum1992-12-081-8/+32
| | | | converted socket() to use of getargs().
* * config.c: Added audioop to lists.Guido van Rossum1992-11-263-0/+120
| | | | | | | | | * Makefile: change default source directory * socketmodule.c: added getsockname and getpeername * bltinmodule.c: corrected typo in type() error message * Added new built-in functions str() and repr(): repr(x) == `x`; str(x) == x if x is a string, otherwise str(x) == repr(x). * Added joinfields to stropmodule.c (string.join calls joinfields now)
* Added imageopmodule.c, also added them to Makefile and config.c.Guido van Rossum1992-10-262-0/+184
| | | | | Fixed a bug in Addmodule.sh that caused a crash in Configure.py. Fixed the crash in Configure.py...
* * bltinmodule.c: added built-in function cmp(a, b)Guido van Rossum1992-10-181-4/+3
| | | | | | | | | | | | | | | * flmodule.c: added {do,check}_only_forms to fl's list of functions; and don't print a message when an unknown object is returned. * pythonrun.c: catch SIGHUP and SIGTERM to do essential cleanup. * Made jpegmodule.c smaller by using getargs() and mkvalue() consistently. * Increased parser stack size to 500 in parser.h. * Implemented custom allocation of stack frames to frameobject.c and added dynamic stack overflow checks (value stack only) to ceval.c. (There seems to be a bug left: sometimes stack traces don't make sense.)
* 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
* New shell script Addmodule.sh makes it easier to add a new optionalGuido van Rossum1992-09-251-0/+3
| | | | | | module by editing Makefile and config.c in all the right places. Used it to add most modules currently known. Added markers to help the script to Makefile and config.c.
* Changed an ifdef from IRIX_405 to CDsetcallback.Sjoerd Mullender1992-09-251-1/+1
|
* Fixed the last known bugs.Sjoerd Mullender1992-09-251-16/+82
|
* Defined exception cd.error which is used for errors other thanSjoerd Mullender1992-09-241-28/+37
| | | | TypeError, MemoryError and such.
* New built-in module "cl" (Compression Library). Only for Irix 4.0.5Sjoerd Mullender1992-09-242-42/+129
| | | | and higher. Made a few improvements to previous version.
* New built-in module cl, the Compression Library.Sjoerd Mullender1992-09-231-0/+546
|
* * Makefile: added IMGFILE; moved some stuff around.Guido van Rossum1992-09-173-28/+117
| | | | | | | | * flmodule.c: added some missing functions; changed readonly flags of some data members based upon FORMS documentation. * listobject.c: fixed int/long arg lint bug (bites PC compilers). * several: removed redundant print methods (repr is good enough). * posixmodule.c: added (still experimental) process group functions.
* posix: added setpgrp() and, if sgi, setsid() and setpgid(pid, pgid)Guido van Rossum1992-09-131-1/+59
|
* Makefile uses $> more often; cgen supports filename argument; addedGuido van Rossum1992-09-112-0/+113
| | | | lower, upper and swapcase to strop; cosmetics.
* Made struct a standard built-in module; added string args to {set,get}sockopt;Guido van Rossum1992-09-083-18/+63
| | | | added gl.gversion().
* classobject.c moduleobject.c stdwinmodule.c xxobject.c:Guido van Rossum1992-09-042-6/+27
| | | | | raise AttributeError, not KeyError, when attribute deletion fails. sunaudiodevmodule.c: check for deletion before calling setmember.
* Restructured (yet again) to treat all modules more alike.Guido van Rossum1992-09-031-31/+132
|
* Got rid the bogus cache code and fix some unchecked errors.Guido van Rossum1992-09-031-46/+88
|
* Use getargs() everywhere now. Standardize lay-out yet more (an ongoingGuido van Rossum1992-09-031-196/+248
| | | | | project :-). Change object administration: objects are removed from the list of known objects as soon as their form is destroyed.