summaryrefslogtreecommitdiffstats
path: root/Modules/imageop.c
Commit message (Collapse)AuthorAgeFilesLines
* Purported fixes for 64-bit platforms with help from John JorgensenGuido van Rossum1998-04-231-15/+27
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-4/+3
| | | | | | | | | | | | | | | | | (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!
* Tweaks to keep the Microsoft compiler quier.Guido van Rossum1997-04-091-2/+2
|
* Renamed.Roger E. Masse1996-12-201-615/+625
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-2/+2
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Added 16-bit pixel support for some operations.Jack Jansen1996-01-221-8/+15
|
* 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.
* Another bulky set of minor changes.Guido van Rossum1995-01-021-5/+2
| | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
* Added missing initializationJack Jansen1994-12-141-1/+1
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-8/+8
|
* * Extended X interface: pixmap objects, colormap objects visual objects,Sjoerd Mullender1993-10-111-0/+6
| | | | | | | | image objects, and lots of new methods. * Added counting of allocations and deallocations of builtin types if COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some files. * Bug fix in sorting lists.
* Minor fixes / changes for Mac compatibility.Guido van Rossum1993-07-291-2/+2
|
* Added converters for rgb<->rgb8 and rgb<->greyJack Jansen1993-02-191-0/+156
|
* * Added Fixcprt.py: script to fix copyright message.Guido van Rossum1993-01-261-2/+2
| | | | | | | | | | | * 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 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-141-1/+133
| | | | | | | | | | | | | 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().
* Added imageopmodule.c, also added them to Makefile and config.c.Guido van Rossum1992-10-261-0/+177
Fixed a bug in Addmodule.sh that caused a crash in Configure.py. Fixed the crash in Configure.py...