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
2 месяцев назад
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);
| ^~~~~~~~~~~~~
3 лет назад
Sam Hocevar
a18e28d43e
Update copyright information and changelog
4 лет назад
Sam Hocevar
96ff990d5e
Better sanity checks when creating 2D buffers ( Closes #43 )
4 лет назад
Sam Hocevar
813baea7a7
img2txt: reject pictures with 0 bits per plane.
Fixes : #42
7 лет назад
Sam Hocevar
6425104e5f
img2txt: clean up some code in the BMP image loader.
7 лет назад
Sam Hocevar
0b580d6630
img2txt: fix uninitialised data in BMP loader.
7 лет назад
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
13 лет назад
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
16 лет назад
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
16 лет назад
Sam Hocevar
1362d8e24f
Update my e-mail address everywhere.
16 лет назад
Sam Hocevar
16d082f859
Fix compilation warnings on platforms without Imlib2.
17 лет назад
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.
17 лет назад
Sam Hocevar
d0140a4fe8
* Fix cucul_file_read() calls in cacaview.
17 лет назад
Sam Hocevar
772899adc6
* Fix cacademo build on systems without imlib-dev.
17 лет назад
Sam Hocevar
6d10f95285
* Make cacaview use cucul_file_t functions.
17 лет назад
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
17 лет назад
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.
17 лет назад
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
19 лет назад
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
19 лет назад
Sam Hocevar
d1f55fbe8f
* Fix broken Imlib2 support in cacaview.
19 лет назад
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
19 лет назад
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
19 лет назад
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
20 лет назад
Sam Hocevar
78b764dbc5
* Renamed "freadint" to "u32fread", and so on.
20 лет назад
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
20 лет назад