Pascal Terjan
00d5a26a13
Redefine _caca_alloc2d in src/common-image.c
This is an internal function that can not be used in this sample code.
Easiest is to duplicate it.
Fixes https://github.com/cacalabs/libcaca/issues/67
hace 2 meses
Johannes Kauffmann
afacac2cf7
common-image: avoid implicit function declaration
common-image.c: In function ‘load_image’:
common-image.c:164:18: warning: implicit declaration of function ‘_caca_alloc2d’ [-Wimplicit-function-declaration]
164 | im->pixels = _caca_alloc2d(im->w, im->h, depth);
| ^~~~~~~~~~~~~
hace 3 años
Sam Hocevar
a18e28d43e
Update copyright information and changelog
hace 4 años
Sam Hocevar
96ff990d5e
Better sanity checks when creating 2D buffers ( Closes #43 )
hace 4 años
Sam Hocevar
813baea7a7
img2txt: reject pictures with 0 bits per plane.
Fixes : #42
hace 7 años
Sam Hocevar
6425104e5f
img2txt: clean up some code in the BMP image loader.
hace 7 años
Sam Hocevar
0b580d6630
img2txt: fix uninitialised data in BMP loader.
hace 7 años
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
hace 13 años
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
hace 16 años
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
hace 16 años
Sam Hocevar
1362d8e24f
Update my e-mail address everywhere.
hace 16 años
Sam Hocevar
16d082f859
Fix compilation warnings on platforms without Imlib2.
hace 17 años
Sam Hocevar
f61816ceb7
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
hace 17 años
Sam Hocevar
d0140a4fe8
* Fix cucul_file_read() calls in cacaview.
hace 17 años
Sam Hocevar
772899adc6
* Fix cacademo build on systems without imlib-dev.
hace 17 años
Sam Hocevar
6d10f95285
* Make cacaview use cucul_file_t functions.
hace 17 años
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
hace 17 años
Sam Hocevar
99b5396e8e
* Remove #include <stdint.h> etc. from "common.h". Instead, make sure that
<cucul.h> will provide the C99 types, even if libcaca has been installed.
* Rename what's left of "common.h" to "stubs.h".
* Remove all references to erroneous <inttypes.h> from source files.
hace 17 años
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
hace 19 años
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
hace 19 años
Sam Hocevar
d1f55fbe8f
* Fix broken Imlib2 support in cacaview.
hace 19 años
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
hace 19 años
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
hace 19 años
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
hace 20 años
Sam Hocevar
78b764dbc5
* Renamed "freadint" to "u32fread", and so on.
hace 20 años
Sam Hocevar
1084035890
* Added img2irc program. I know it does not have "cucul" or "caca" in the
name, but as I said, I do what I want. http://zoy.org/~sam/pb7th.png
hace 20 años