Sam Hocevar
d3ef2bbecd
Add caca_export_area_to_memory() to export only a selected part of the
current canvas. This is useful to export dirty rectangles. Accordingly,
add caca_import_area_from_memory() and caca_import_area_from_file().
il y a 15 ans
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.
il y a 16 ans
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
il y a 16 ans
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.
il y a 16 ans
Sam Hocevar
10bf9f48a7
* Rename "test" to "examples". The former will become a real testsuite.
* Autodetect zzuf in the configure step. It might become handy.
il y a 17 ans
Sam Hocevar
7373e6b18c
* Renamed cucul_rotate_*_wide to cucul_rotate_* and cucul_rotate_* to
cucul_stretch_* to avoid long function names. And the pairwise rotations
look so nice now that they should be the real rotation chars.
il y a 17 ans
Sam Hocevar
64e11f119b
* More characters for the wide rotations.
* Updated test/text to show what the wide rotations now do.
il y a 17 ans
Sam Hocevar
6982b8e426
* Implemented cucul_rotate_left_wide() and cucul_rotate_right_wide(). They
suck massively for now.
il y a 17 ans
Sam Hocevar
f338951be9
* Renamed cucul_left/cucul_right into cucul_rotate_left/cucul_rotate_right.
* Renamed cucul_rotate into cucul_rotate_180.
* Deprecated cucul_rotate and fix examples accordingly.
Hope it all makes sense.
il y a 17 ans
Sam Hocevar
0a02cbb312
* Added a small test for cucul_left() in test/text.c. It is *fucking* ugly.
il y a 17 ans
Jean-Yves Lamoureux
6b807c1a90
* Added error checks on canvas / display creations
il y a 18 ans
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
il y a 18 ans
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
il y a 18 ans
Sam Hocevar
1cdaa755ae
* Documented flip/flop/rotate as being involutive.
* Updated text test.
il y a 18 ans
Sam Hocevar
9621f21c5a
* Convert all programs and tests to the new import/export API.
il y a 18 ans
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
il y a 18 ans
Sam Hocevar
0cbd5fd983
* Cosmetic fix in test/font.c.
* Use UTF-8 output in test/text.c instead of ANSI.
il y a 18 ans
Sam Hocevar
38c4a8b608
* Implemented cucul_load_file() and cucul_load_memory() to load respectively
a file and a memory area into a libcucul buffer.
* Changed the cucul_import_canvas() prototype so that it uses libcucul
buffers instead of simple memory areas.
il y a 18 ans
Sam Hocevar
370fb06990
* Added "common.h", a placeholder for simple features and functions missing
from some systems.
il y a 18 ans
Sam Hocevar
634c8266cc
* Added a test for multiple frames support.
* Added a test for textfile loading.
il y a 18 ans