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 anos atrás
Sam Hocevar
f61bed2bdb
* Add cursor and handle support to canvases. Unused yet.
18 anos atrás
Sam Hocevar
9fb85b253c
* Prepare the way for per-frame width/height information.
18 anos atrás
Sam Hocevar
39553873fd
* Fix minor uninitialised data bug in cucul_canvas_create().
18 anos atrás
Sam Hocevar
fae8b54e54
* Allow to resize canvases back to (0,0).
18 anos atrás
Sam Hocevar
d549d07c0a
* Got rid of very old _cucul_init_dither() function call.
18 anos atrás
Sam Hocevar
894924603d
* Fix the default canvas colour value.
18 anos atrás
Sam Hocevar
67ff5d5b1d
* Got rid of cucul_ansi_to_str(), it's really useless.
* Partial update of the C++ bindings.
* Updated documentation.
18 anos atrás
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 anos atrás
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 anos atrás
Sam Hocevar
86301dd48c
* Use the LSB of alpha and blue components to encode additional flags such
as bold or underline. No higher level support for these yet, but at
least everything is consistent.
* Created cucul_set_attr_ansi() and cucul_set_attr_argb() which are bound
to replace cucul_set_color() and cucul_set_truecolor().
18 anos atrás
Sam Hocevar
e03e1d62da
* Allow to create the initial canvas with a zero size. Either the application
resizes it later, or the driver changes it to fit the display.
18 anos atrás
Sam Hocevar
26c3ea1aa4
* Removed "This function..." constructs from documentation. Fixed a few
documentation errors or imprecisions.
18 anos atrás
Sam Hocevar
e366c39223
* Fix minor memory leak in cucul_free_canvas().
18 anos atrás
Sam Hocevar
6bae0e64cc
* Initialise colours to default/transparent instead of lightgray/black.
18 anos atrás
Sam Hocevar
be77a0e2ea
* When resizing a canvas, use the current fg/bg colours to fill holes.
18 anos atrás
Sam Hocevar
9fca19ecc3
* Added errno support to the kernel.
18 anos atrás
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
18 anos atrás
Sam Hocevar
57acf9a2e6
* Initialize random seed to getpid()+time(NULL) so that the user does not
have to do it.
18 anos atrás
Sam Hocevar
6d904c57f8
* Fixed cucul_create_canvas()'s documentation.
18 anos atrás
Sam Hocevar
235504d81a
* More error checking in libcucul.
18 anos atrás
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
18 anos atrás
Sam Hocevar
9a65579cf6
* Support for multiple frames in canvases.
18 anos atrás
Sam Hocevar
046c004862
* Got rid of cv->scratch_line. It's unused, too.
18 anos atrás
Sam Hocevar
beda391b6b
* Got rid of cv->empty_line, it's now unused.
18 anos atrás
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 anos atrás
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
18 anos atrás
Sam Hocevar
ea3bde92a4
* Added a new "caca" exporter.
* Removed most code from the raw driver and replaced it with a call to the
caca exporter.
* Slightly changed the caca export format and updated code accordingly.
* Improved cacaserver error reporting.
18 anos atrás
Sam Hocevar
e3f0d6c57d
* Changed the cucul_rand() behaviour. Now cucul_rand(0, 10) returns random
values between 0 and 9 (used to be 0 and 10). Updated documentation
accordingly.
18 anos atrás
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 anos atrás
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
18 anos atrás
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 anos atrás
Sam Hocevar
66e06a687c
* Merged again all export functions into cucul/export.c. They're all the
same and they're very short (50-100 lines).
18 anos atrás
Sam Hocevar
c778d5301c
* Removed math.c from cucul, it's beyond uselessness. Kept cucul_rand in
cucul.c just in case.
18 anos atrás
Sam Hocevar
b5f00c459c
* Implemented TGA image export.
18 anos atrás
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 anos atrás
Sam Hocevar
2c5ccb65e6
* Improved documentation in many places.
18 anos atrás
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
18 anos atrás
Sam Hocevar
41d475589c
* Renamed cucul_export into cucul_buffer. We'll use it for other things.
18 anos atrás
Sam Hocevar
58ff9ea1f5
* Renamed *bitmap to *dither. Ben ouais connard, je fais ce que je veux.
18 anos atrás
Sam Hocevar
988f2f4e92
* Replaced enum cucul_color with unsigned int. The size of an enum is not
really portable, and Visual Studio complains when they are not explicitely
cast.
18 anos atrás
Sam Hocevar
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
18 anos atrás
Sam Hocevar
fcfbcd4000
* Check the magic bytes at the end of the buffer when cucul_load()ing it.
18 anos atrás
Sam Hocevar
3b410fdc89
* Fixed old typo that caused qq->height to be uninitialised.
18 anos atrás
Sam Hocevar
cfadd8b64d
* Removed CUCUL_BACKGROUND, CUCUL_ANTIALIASING and CUCUL_DITHERING
environment variables handling. Replaced that with three per-bitmap
functions: cucul_set_bitmap_antialias(), cucul_set_bitmap_color() and
cucul_set_bitmap_dithering().
* Added cucul_set_bitmap_brightness() and cucul_set_bitmap_contrast()
prototypes (but did not implement them yet).
* Added cucul_set_bitmap_charset() to choose what characters are going
to be used for the bitmap rendering.
* Removed the now useless cucul_get_feature(), cucul_set_feature() etc.
18 anos atrás
Sam Hocevar
e625e11d52
* Added cucul_get_export_list(). Returns a list of known export formats.
18 anos atrás
Sam Hocevar
bca049e6d7
* Changed the 2nd argument of cucul_create_export to a string. This way we
can add new exporters without changing the API.
18 anos atrás
Sam Hocevar
41db7b066a
* Implemented cucul_load() to reload a file that was saved with the
raw driver. I know it is inconsistent to have the loader in libcucul
and the exporter in libcaca but I'll find a way to harmonise that.
18 anos atrás
Sam Hocevar
571de1af04
* Renamed cucul_init()/cucul_end() into cucul_create()/cucul_free().
18 anos atrás
Sam Hocevar
77f995023d
* Slightly changed header comments.
18 anos atrás