Sam Hocevar
2bbd7bbb36
* Fix dithering handling in demo0.c.
hace 18 años
Sam Hocevar
1d1d643c67
* Added demo0.c, which is basically the old libcaca-0.9 demo.c file, as a
test for the <caca0.h> emulation layer.
hace 18 años
Sam Hocevar
514bbb3859
* Fix a crash in export.c with unknown file formats.
hace 18 años
Sam Hocevar
21069a8463
* A few changes to the matrix program. I do not plan to maintain it.
hace 18 años
Sam Hocevar
004a78bc77
* Fixed matrix.c for non-Thinkpad computers.
hace 18 años
Sam Hocevar
496445ffbf
* Small matrix effect. Totally useless. Unless you have a Thinkpad, in
which case it is massively useless.
hace 18 años
Sam Hocevar
1f3e745f52
* Minor cosmetic changes in the test programs.
* Code enhancements in the ncurses driver.
* Added a comment to explain why slang has a higher priority than ncurses.
hace 18 años
Sam Hocevar
aca46d3f39
* Added -I${top_srcdir} to the compilation flags to fix builds configured
from an alternate directory (they failed to find common.h).
hace 18 años
Sam Hocevar
0c1746c626
* Renamed the event data member "ucs4" to "utf32" for consistency
with "utf8".
hace 18 años
Sam Hocevar
afbdae6bf9
* Text input test program. Might be merged into libcaca if it works well.
hace 18 años
Sam Hocevar
5d12480dd6
* Renamed caca_set_delay() and caca_get_rendertime() into
caca_set_display_time() and caca_get_display_time() for consistency.
hace 18 años
Sam Hocevar
f6abdd915a
* font2tga no longer needs cucul_internal.h.
hace 18 años
Sam Hocevar
7754db5ccf
* Changed cucul_putchar's prototype so that it accepts a 32-bit unsigned
int which shall be used as an UTF-32 character. We do not have any casting
problems due to the signedness of chars because all characters were
ASCII (ie. <= 0x7f) beforehands.
hace 18 años
Sam Hocevar
fdc8b45b72
* Added font2tga, a test program that exports our font in a known format.
hace 18 años
Sam Hocevar
552974ffd9
* If the export test target is ANSI or UTF-8, dither image with special
shaded glyphs.
hace 18 años
Sam Hocevar
0cbd5fd983
* Cosmetic fix in test/font.c.
* Use UTF-8 output in test/text.c instead of ANSI.
hace 18 años
Sam Hocevar
29da35e1f4
* Make the export test 80 columns wide, so that the ANSI we generate can
be read by other programs.
hace 18 años
Sam Hocevar
72ba9c3585
* Allow an optional input filename in the export test for cheap conversions.
hace 18 años
Sam Hocevar
b97751b9bc
* Added cacadraw. It only shows files and lets you scroll for now, but
it will eventually evolve into something better.
hace 18 años
Sam Hocevar
cb823dd55b
* Minor typo.
hace 18 años
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.
hace 18 años
Jean-Yves Lamoureux
b15241efbd
* Updated C++ bindings, should be coding-style-correction-proof, or at least a bit better than before. Not tested at all.
hace 18 años
Sam Hocevar
1f094662d8
* Jylam is too modest.
hace 18 años
Jean-Yves Lamoureux
73b9c0af14
* Added importers test
hace 18 años
Jean-Yves Lamoureux
2e167ab614
* Added preliminary ANSI importer, added import formats autodection
hace 18 años
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
hace 18 años
Sam Hocevar
370fb06990
* Added "common.h", a placeholder for simple features and functions missing
from some systems.
hace 18 años
Sam Hocevar
d0b0d90e2a
* Got rid of CUCUL_LIBS. It's unused.
hace 18 años
Sam Hocevar
6c0e8da858
* Allow the caca_event_t *ev argument for caca_get_event() to be NULL.
hace 18 años
Sam Hocevar
634c8266cc
* Added a test for multiple frames support.
* Added a test for textfile loading.
hace 18 años
Sam Hocevar
8534299c9e
* Disabled sprite stuff from the tests.
hace 18 años
Sam Hocevar
bde0e5ca7e
* Changed cucul_clear_canvas() again. It now uses the current foreground
and background colours to clear the screen.
hace 18 años
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.
hace 18 años
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
hace 18 años
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.
hace 18 años
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.
hace 18 años
Sam Hocevar
a4ac581b6f
* Renamed cucul_clear() to cucul_clear_canvas() and added an argument to
choose the background colour.
hace 18 años
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.
hace 18 años
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
hace 18 años
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
hace 18 años
Sam Hocevar
2df91e7617
* Handle CACA_EVENT_QUIT in the event test program.
hace 18 años
Sam Hocevar
b01cccf54b
* Minor cosmetic changes in the test programs.
hace 18 años
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.
hace 18 años
Sam Hocevar
960aceabac
* Added test/truecolor.c to test non-ANSI colour pairs.
hace 18 años
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.
hace 18 años
Jean-Yves Lamoureux
a4de38b97e
* Fixed sprite functions (it compiles now) (Y'a des connards qui font ce qu'ils veulent, mais qui finissent pas)
hace 18 años
Sam Hocevar
4095b65df3
* Redisplay the output bitmap using libcaca. Eh ouais mon gars.
hace 18 años
Sam Hocevar
9feb826120
* Fixed caca_get_event() call in test/hsv.c.
hace 18 años
Sam Hocevar
ea780d5321
* Implemented cucul_get_font_list() to retrieve the list of builtin fonts.
* Fixed font selection through cucul_font_load().
* Added a bigger 10x19 bold font.
hace 18 años
Sam Hocevar
ebfb2b388b
* Internal font support through cucul_load_font(). Documented that.
* Removed ugly hooks from test/font.c.
hace 18 años