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 lat temu
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 lat temu
Sam Hocevar
b7a785ff38
* Implemented caca_set_display_driver() to change driver at runtime.
17 lat temu
Sam Hocevar
e15e962928
* Implement caca_create_display_with_driver() to specify an output driver
without using environment variables..
* Implement caca_get_display_driver() to return the current display's
output driver.
* Add a simple example program to test caca_create_display_with_driver().
17 lat temu
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 lat temu
Jean-Yves Lamoureux
6b807c1a90
* Added error checks on canvas / display creations
18 lat temu
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 lat temu
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 lat temu
Sam Hocevar
9621f21c5a
* Convert all programs and tests to the new import/export API.
18 lat temu
Sam Hocevar
644a4ba8ec
* Added an optional argument to the import test to select import format.
18 lat temu
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
18 lat temu
Sam Hocevar
b97751b9bc
* Added cacadraw. It only shows files and lets you scroll for now, but
it will eventually evolve into something better.
18 lat temu
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.
18 lat temu
Sam Hocevar
1f094662d8
* Jylam is too modest.
18 lat temu
Jean-Yves Lamoureux
73b9c0af14
* Added importers test
18 lat temu
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
18 lat temu
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.
18 lat temu
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
18 lat temu
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 lat temu
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
18 lat temu
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 lat temu
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 lat temu
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 lat temu
Sam Hocevar
2542a4cff4
* Implemented a proof-of-concept cacaplay program that can redisplay a
single frame that was saved by the raw driver.
18 lat temu