Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
pirms 12 gadiem
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
pirms 15 gadiem
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
pirms 15 gadiem
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
pirms 15 gadiem
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().
pirms 15 gadiem
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.
pirms 16 gadiem
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.
pirms 16 gadiem
Sam Hocevar
10bf9f48a7
* Rename "test" to "examples". The former will become a real testsuite.
* Autodetect zzuf in the configure step. It might become handy.
pirms 17 gadiem
Jean-Yves Lamoureux
6b807c1a90
* Added error checks on canvas / display creations
pirms 18 gadiem
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
pirms 18 gadiem
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
pirms 18 gadiem
Sam Hocevar
9621f21c5a
* Convert all programs and tests to the new import/export API.
pirms 18 gadiem
Sam Hocevar
644a4ba8ec
* Added an optional argument to the import test to select import format.
pirms 18 gadiem
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
pirms 18 gadiem
Sam Hocevar
b97751b9bc
* Added cacadraw. It only shows files and lets you scroll for now, but
it will eventually evolve into something better.
pirms 18 gadiem
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.
pirms 18 gadiem
Sam Hocevar
1f094662d8
* Jylam is too modest.
pirms 18 gadiem
Jean-Yves Lamoureux
73b9c0af14
* Added importers test
pirms 18 gadiem
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
pirms 18 gadiem
Sam Hocevar
2401f2c732
* Moved cucul_load_canvas() into cucul/import.c and renamed it into
cucul_import_canvas().
* Renamed cucul_create_export() into cucul_export_canvas() for consistency.
pirms 18 gadiem
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
pirms 18 gadiem
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.
pirms 18 gadiem
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
pirms 18 gadiem
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
pirms 18 gadiem
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.
pirms 18 gadiem
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.
pirms 18 gadiem
Sam Hocevar
2542a4cff4
* Implemented a proof-of-concept cacaplay program that can redisplay a
single frame that was saved by the raw driver.
pirms 18 gadiem