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 years ago
Sam Hocevar
9edb7dc623
* Make deprecated cucul_load_file() use cucul_file_t functions.
16 years ago
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 years ago
Sam Hocevar
dd463f6e7d
* Renamed cucul_set_dither_mode() into cucul_set_dither_algorithm(). It’s
a longer name but "mode" really wasn’t appropriate here.
17 years ago
Sam Hocevar
e28b8cca4d
* Add cucul_get_dither_brightness(), _gamma() and _contrast(). There is no
reason to keep a copy of them in the calling program.
* Deprecate cucul_set_dither_invert(). Inverting a dither's colours is now
done by setting a negative gamma value.
17 years ago
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 years ago
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 years ago
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 years ago
Sam Hocevar
54d459067a
* Implemented cucul_get_frame_name() and cucul_set_frame_name().
* Renamed cucul_*_canvas_frame() to cucul_*_frame() because we bloody well
know that a frame belongs to a canvas.
18 years ago
Sam Hocevar
5b08e789e4
* Re-added cucul_getchar() to the legacy functions. Debian's current version
of toilet needs it.
18 years ago
Sam Hocevar
51936f585c
* Got rid of HAVE_ERRNO_H ifdefs by defining seterrno()/geterrno() functions.
* More debugging information in the import/export and font functions.
18 years ago
Sam Hocevar
3243101ff0
* Rename cucul_put*() into cucul_put_*(). Updated all code to reflect that.
18 years ago
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.
18 years ago
Sam Hocevar
e3b2d76bd6
* Renamed cucul_import() to cucul_import_memory() and implemented
cucul_import_file().
18 years ago
Sam Hocevar
17f272c4c4
* Deprecate buffer management. We're back to standard void* memory areas.
18 years ago
Sam Hocevar
d8fcbe5b8b
* Minor syntax fix in the doxygen documentation.
18 years ago
Sam Hocevar
7e9ecfc6de
* Reworded documentation about buffer/string distinction.
18 years ago
Jean-Yves Lamoureux
cde0f991ae
* Documentation a bit clearer while importing a string into a buffer
18 years ago
Sam Hocevar
26c3ea1aa4
* Removed "This function..." constructs from documentation. Fixed a few
documentation errors or imprecisions.
18 years ago
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
18 years ago
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 years ago
Sam Hocevar
981c405554
* Check for <errno.h>.
* Started changing function prototypes so that they return an integer
instead of void, just in case they might fail.
18 years ago
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
18 years ago
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 years ago