Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
před 18 roky
Sam Hocevar
514bbb3859
* Fix a crash in export.c with unknown file formats.
před 18 roky
Sam Hocevar
552974ffd9
* If the export test target is ANSI or UTF-8, dither image with special
shaded glyphs.
před 18 roky
Sam Hocevar
29da35e1f4
* Make the export test 80 columns wide, so that the ANSI we generate can
be read by other programs.
před 18 roky
Sam Hocevar
72ba9c3585
* Allow an optional input filename in the export test for cheap conversions.
před 18 roky
Sam Hocevar
370fb06990
* Added "common.h", a placeholder for simple features and functions missing
from some systems.
před 18 roky
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.
před 18 roky
Sam Hocevar
0deb4abc25
* Changed the cucul_dither_bitmap behaviour so that the 4 coordinates are
now x/y/width/height instead of x1/y1/x2/y2. Avoids unnecessary +1/-1
computations.
před 18 roky
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.
před 18 roky
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
před 18 roky
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
před 18 roky
Sam Hocevar
b30948f044
* Use cucul_get_export_list() in the export test instead of hardcoding the
list of available formats. Also added a few truecolor blocks to the test.
před 18 roky
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.
před 18 roky
Sam Hocevar
41d475589c
* Renamed cucul_export into cucul_buffer. We'll use it for other things.
před 18 roky
Sam Hocevar
7588db8cc9
* Code simplification.
před 18 roky
Sam Hocevar
bc29d9f28b
* Fixed test/export that was not printing the last character of the file.
před 18 roky
Sam Hocevar
58ff9ea1f5
* Renamed *bitmap to *dither. Ben ouais connard, je fais ce que je veux.
před 18 roky
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.
před 18 roky
Sam Hocevar
6db26f7487
* Made cucul_putchar32() an internal-only function.
* Changed the line, box, ellipsis etc. prototypes so that they use an UTF-8
string instead of a single character as their last argument.
před 18 roky
Sam Hocevar
571de1af04
* Renamed cucul_init()/cucul_end() into cucul_create()/cucul_free().
před 18 roky
Sam Hocevar
2c80bf875b
* Renamed cucul_get_export() to cucul_create_export().
před 18 roky
Sam Hocevar
36886a339e
* Removed the cucul_t * argument from cucul_create_bitmap(). It's not needed.
před 18 roky
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).
před 18 roky
Sam Hocevar
dcaccc744c
* Got rid of useless parameters in cucul_*_bitmap and cucul_*_sprite.
před 19 roky
Sam Hocevar
bb1cedf858
* Renamed cucul_buffer to cucul_export. Vanilla rum rules.
před 19 roky
Sam Hocevar
aaa61f9a81
* Added a few commonly escaped characters to the export test: ( ) " < > &
před 19 roky
Sam Hocevar
c1ed04f470
* Do not write the trailing \0 when exporting data.
před 19 roky
Sam Hocevar
a870a7ef97
* Added a few more Unicode characters to the export and unicode tests.
před 19 roky
Sam Hocevar
2f7c869bcc
* Small test program for exporters. Usage: "export html", "export irc" etc.
před 19 roky