summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* Improve check for offset out of rangeGuido van Rossum1992-09-031-4/+8
|
* Re-implement some operations from string.py in C, for speed.Guido van Rossum1992-09-031-0/+201
|
* Added rms, maxpp and avgpp methods.Jack Jansen1992-08-241-0/+146
|
* Removed debug statementJack Jansen1992-08-241-1/+0
|
* Added method to write image files.Jack Jansen1992-08-201-0/+68
|
* rearranged modules alphabeticallyGuido van Rossum1992-08-191-38/+47
|
* unpack() now returns a tuple, not a listGuido van Rossum1992-08-191-1/+23
|
* don't call gl.foreground and create a new window after all (seems toGuido van Rossum1992-08-191-4/+0
| | | | break window positions in .Xdefaults)
* added getname, getdefault and getminmax functionsGuido van Rossum1992-08-191-0/+43
|
* New thread.c from Sjoerd, supports _exit_prog(). Use this in goaway()Guido van Rossum1992-08-171-1/+5
| | | | to avoid hanging in cleanup().
* struct: pack/unpack binary structs; fcntl: fcntl(), ioctl().Guido van Rossum1992-08-172-0/+593
|
* * macmodule.c: include allobjects.h, not .cGuido van Rossum1992-08-141-0/+4
| | | | | | * timemodule.c: the mac has no unistd.h * classobject.c: fixed several cases of return NULL that should be return -1 !!!
* Fix bug introduced by Jack (duplicate def of qread)Guido van Rossum1992-08-131-1/+1
|
* Modified to allow other threads to run in a multithreaded environment.Jack Jansen1992-08-134-1/+63
|
* DO_TIMES must now be defined in the MakefileGuido van Rossum1992-08-121-4/+0
|
* Made module regex optional; added optional module nis.Guido van Rossum1992-08-121-2/+14
|
* Added error handling and free resources.Guido van Rossum1992-08-121-54/+81
|
* NIS interface by Fred Gansevles <Fred.Gansevles@cs.utwente.nl>.Guido van Rossum1992-08-121-0/+292
|
* Last-minute changes for release.Guido van Rossum1992-08-101-1/+1
|
* Makefile, Configure.py: ##ask --> ##[el]if[yes|no]Guido van Rossum1992-08-091-28/+30
| | | | posixmodule.c: waitpid() is separate
* Replaced max=-1 by max = -1.Guido van Rossum1992-08-061-1/+1
|
* * Makefile: cosmeticsGuido van Rossum1992-08-059-82/+201
| | | | | | | | | | | | | | | | | | | | | | | | | * socketmodule.c: get rid of makepair(); fix makesocketaddr to fix broken recvfrom() * socketmodule: get rid of getStrarg() * ceval.h: move eval_code() to new file eval.h, so compile.h is no longer needed. * ceval.c: move thread comments to ceval.h; always make save/restore thread functions available (for dynloaded modules) * cdmodule.c, listobject.c: don't include compile.h * flmodule.c: include ceval.h * import.c: include eval.h instead of ceval.h * cgen.py: add forground(); noport(); winopen(""); to initgl(). * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c, selectmodule.c: adapt to threads (add BGN/END SAVE macros) * stdwinmodule.c: adapt to threads and use a special stdwin lock. * pythonmain.c: don't include getpythonpath(). * pythonrun.c: use BGN/END SAVE instead of direct calls; also more BGN/END SAVE calls etc. * thread.c: bigger stack size for sun; change exit() to _exit() * threadmodule.c: use BGN/END SAVE macros where possible * timemodule.c: adapt better to threads; use BGN/END SAVE; add longsleep internal function if BSD_TIME; cosmetics
* Sometimes, recvfrom() returns an empty address; this is not an error.Guido van Rossum1992-08-051-26/+10
| | | | Also, get rid of makepair() in favor of mkvalue().
* * Makefile adapted to changes below.Guido van Rossum1992-08-044-7/+403
| | | | | | | | | | | * split pythonmain.c in two: most stuff goes to pythonrun.c, in the library. * new optional built-in threadmodule.c, build upon Sjoerd's thread.{c,h}. * new module from Sjoerd: mmmodule.c (dynamically loaded). * new module from Sjoerd: sv (svgen.py, svmodule.c.proto). * new files thread.{c,h} (from Sjoerd). * new xxmodule.c (example only). * myselect.h: bzero -> memset * select.c: bzero -> memset; removed global variable
* * myselect.h: bzero -> memsetGuido van Rossum1992-08-041-12/+12
| | | | * select.c: bzero -> memset; removed global variable
* cdmodule.c: 2 minor changes by Sjoerd.Guido van Rossum1992-08-031-3/+13
|