Sam Hocevar
e366c39223
* Fix minor memory leak in cucul_free_canvas().
18 lat temu
Sam Hocevar
6bae0e64cc
* Initialise colours to default/transparent instead of lightgray/black.
18 lat temu
Sam Hocevar
be77a0e2ea
* When resizing a canvas, use the current fg/bg colours to fill holes.
18 lat temu
Sam Hocevar
9fca19ecc3
* Added errno support to the kernel.
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
57acf9a2e6
* Initialize random seed to getpid()+time(NULL) so that the user does not
have to do it.
18 lat temu
Sam Hocevar
6d904c57f8
* Fixed cucul_create_canvas()'s documentation.
18 lat temu
Sam Hocevar
235504d81a
* More error checking in libcucul.
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
9a65579cf6
* Support for multiple frames in canvases.
18 lat temu
Sam Hocevar
046c004862
* Got rid of cv->scratch_line. It's unused, too.
18 lat temu
Sam Hocevar
beda391b6b
* Got rid of cv->empty_line, it's now unused.
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
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 lat temu
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 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
66e06a687c
* Merged again all export functions into cucul/export.c. They're all the
same and they're very short (50-100 lines).
18 lat temu
Sam Hocevar
c778d5301c
* Removed math.c from cucul, it's beyond uselessness. Kept cucul_rand in
cucul.c just in case.
18 lat temu
Sam Hocevar
b5f00c459c
* Implemented TGA image export.
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
2c5ccb65e6
* Improved documentation in many places.
18 lat temu
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
18 lat temu
Sam Hocevar
41d475589c
* Renamed cucul_export into cucul_buffer. We'll use it for other things.
18 lat temu
Sam Hocevar
58ff9ea1f5
* Renamed *bitmap to *dither. Ben ouais connard, je fais ce que je veux.
18 lat temu
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 lat temu
Sam Hocevar
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
18 lat temu
Sam Hocevar
fcfbcd4000
* Check the magic bytes at the end of the buffer when cucul_load()ing it.
18 lat temu
Sam Hocevar
3b410fdc89
* Fixed old typo that caused qq->height to be uninitialised.
18 lat temu
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 lat temu
Sam Hocevar
e625e11d52
* Added cucul_get_export_list(). Returns a list of known export formats.
18 lat temu
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 lat temu
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 lat temu
Sam Hocevar
571de1af04
* Renamed cucul_init()/cucul_end() into cucul_create()/cucul_free().
18 lat temu
Sam Hocevar
77f995023d
* Slightly changed header comments.
18 lat temu
Sam Hocevar
f3698cd490
* Fixed an uninitialised structure member.
18 lat temu
Sam Hocevar
2c80bf875b
* Renamed cucul_get_export() to cucul_create_export().
18 lat temu
Sam Hocevar
c979bc6eae
* Changed the cucul_init parameter so that it now directly accepts a
canvas size (use cucul_init(0, 0) for the old behaviour).
18 lat temu
Sam Hocevar
a20393e0b2
* Removed code that did not need to be duplicated.
18 lat temu
Sam Hocevar
bb1cedf858
* Renamed cucul_buffer to cucul_export. Vanilla rum rules.
19 lat temu
Sam Hocevar
67ee65c720
* Comment clarification.
19 lat temu
Jean-Yves Lamoureux
d1f6bb6759
* Added preliminary (but working) SVG exporter
19 lat temu
Sam Hocevar
9e698966f2
* Replaced all cucul_get_* exporters with a generic cucul_export() function.
* Got rid of static buffers; we now use cucul_free() to free exported
buffers.
* Fixed light background in the ANSI exporter by adding escape sequences for
most terminal emulators.
19 lat temu
Jean-Yves Lamoureux
9071a26bb9
* Added preliminary Postscript (tm) (r) (c) exporter.
19 lat temu
Jean-Yves Lamoureux
5a09b684fe
* Updated README for network driver, fixed remaining exporters
19 lat temu
Sam Hocevar
15ac34a918
* Added glue code to compile libcaca without a libc and build applications
as multiboot kernels.
19 lat temu
Jean-Yves Lamoureux
a676487863
* Changed way temporary buffer of ansi export was handled. Need to do that for other exporters as well.
19 lat temu
Sam Hocevar
da30961a0e
* Fixed async issues between the driver and libcaca when resizing windows,
and simplified the handle_resize() API. Still can be polished.
19 lat temu