Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
12 jaren geleden
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
15 jaren geleden
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
15 jaren geleden
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().
15 jaren geleden
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.
16 jaren geleden
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.
16 jaren geleden
Sam Hocevar
10bf9f48a7
* Rename "test" to "examples". The former will become a real testsuite.
* Autodetect zzuf in the configure step. It might become handy.
17 jaren geleden
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.
17 jaren geleden
Jean-Yves Lamoureux
6b807c1a90
* Added error checks on canvas / display creations
18 jaren geleden
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 jaren geleden
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 jaren geleden
Sam Hocevar
3243101ff0
* Rename cucul_put*() into cucul_put_*(). Updated all code to reflect that.
18 jaren geleden
Sam Hocevar
f7fac153a6
* Free all memory upon exit in the transform test.
18 jaren geleden
Sam Hocevar
f104f0ac77
* Update transform.c so that it uses import functions instead of blitting
lines.
18 jaren geleden
Sam Hocevar
42c9518d2a
* Got rid of cucul_ansi_to_attr() and cucul_argb_to_attr() and restored
cucul_set_color() and cucul_set_truecolor() under the new names
cucul_set_color_ansi() and cucul_set_color_argb().
* Renamed cucul_get_color_name() into cucul_ansi_to_str().
18 jaren geleden
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_*.
18 jaren geleden
Sam Hocevar
aa93ad25f6
* Remove cucul_set_color() from the exported API and replaced all calls
with cucul_set_attr_ansi(). Old application will still compile (but issue
a warning) and run, though.
18 jaren geleden
Sam Hocevar
b34eb39d0a
* Add fullwidth characters to the transform test.
18 jaren geleden
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
18 jaren geleden
Sam Hocevar
370fb06990
* Added "common.h", a placeholder for simple features and functions missing
from some systems.
18 jaren geleden
Sam Hocevar
6c0e8da858
* Allow the caca_event_t *ev argument for caca_get_event() to be NULL.
18 jaren geleden
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
18 jaren geleden
Sam Hocevar
18f6532dbc
* Renamed main canvas-related functions so that they have "canvas" in
their name, eg. cucul_create() -> cucul_create_canvas() etc.
* Moved buffer-related functions to cucul/buffer.c.
18 jaren geleden
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
18 jaren geleden
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 jaren geleden
Sam Hocevar
17c065a49e
* Replaced "struct cucul_*" and "struct caca_*" types with opaque typedefs
such as cucul_dither_t instead of struct cucul_dither.
* Made cucul_buffer_t an opaque structure and implemented the two getters
cucul_get_buffer_data() and cucul_get_buffer_size().
* Documented all missing functions and function parameters.
18 jaren geleden
Sam Hocevar
87604b8e1d
* Merged caca_wait_event() into caca_get_event() and added a timeout
parameter to do what both functions did before, and even more.
18 jaren geleden
Sam Hocevar
f149dc3ac4
* Massive rework of the event handling code, as per the TODO list.
18 jaren geleden
Sam Hocevar
571de1af04
* Renamed cucul_init()/cucul_end() into cucul_create()/cucul_free().
18 jaren geleden
Sam Hocevar
7af7565b74
* Added a test for the transformation routines.
18 jaren geleden