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().
hace 15 años
Sam Hocevar
045aa33b70
Properly export legacy 0.9 symbols.
hace 16 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 16 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 16 años
Sam Hocevar
9da4d7b000
* Made the caca_event_t structure opaque and created a whole bunch of
functions to access its real data. This is a big API change that will
break your software, sorry :(
hace 17 años
Sam Hocevar
3624787754
* Updated libcaca and cacaview after the API changes.
hace 17 años
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
hace 18 años
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
hace 18 años
Sam Hocevar
391bc8b493
* Renamed cucul_export() to cucul_export_memory(), paves the way for a
cucul_export_file() but I'm not sure yet this is a good idea.
* Use the new import/export API in libcaca.
hace 18 años
Sam Hocevar
eb1f2d77c6
* Fix a harmless warning in caca0.c.
hace 18 años
Sam Hocevar
67ff5d5b1d
* Got rid of cucul_ansi_to_str(), it's really useless.
* Partial update of the C++ bindings.
* Updated documentation.
hace 18 años
Sam Hocevar
0b37a307dd
* Get rid of cucul_set_attr_ansi() and cucul_set_attr_argb and merge the
functionality into cucul_set_attr().
* Add cucul_ansi_to_attr() and cucul_argb_to_attr().
* Rename CUCUL_COLOR_* to CUCUL_*.
hace 18 años
Sam Hocevar
280289cf2b
* Made features (such as dithering mode) and caca_sqrt work in the legacy
0.x glue code.
hace 18 años
Sam Hocevar
7e587a46b9
* Added an emulation layer for pre-1.0 libcaca API. Legacy applications
just need to include <caca0.h> instead of <caca.h> and should be source-
compatible with old versions of libcaca.
Most of the old API works, except features and caca_sqrt(). Sprites do
work API-wise but due to the new format they are no longer working in
the same way.
hace 18 años