Sam Hocevar
2bbd7bbb36
* Fix dithering handling in demo0.c.
18 years ago
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.
18 years ago
Sam Hocevar
514bbb3859
* Fix a crash in export.c with unknown file formats.
18 years ago
Sam Hocevar
21069a8463
* A few changes to the matrix program. I do not plan to maintain it.
18 years ago
Sam Hocevar
004a78bc77
* Fixed matrix.c for non-Thinkpad computers.
18 years ago
Sam Hocevar
496445ffbf
* Small matrix effect. Totally useless. Unless you have a Thinkpad, in
which case it is massively useless.
18 years ago
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.
18 years ago
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).
18 years ago
Sam Hocevar
0c1746c626
* Renamed the event data member "ucs4" to "utf32" for consistency
with "utf8".
18 years ago
Sam Hocevar
afbdae6bf9
* Text input test program. Might be merged into libcaca if it works well.
18 years ago
Sam Hocevar
5d12480dd6
* Renamed caca_set_delay() and caca_get_rendertime() into
caca_set_display_time() and caca_get_display_time() for consistency.
18 years ago
Sam Hocevar
f6abdd915a
* font2tga no longer needs cucul_internal.h.
18 years ago
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.
18 years ago
Sam Hocevar
fdc8b45b72
* Added font2tga, a test program that exports our font in a known format.
18 years ago
Sam Hocevar
552974ffd9
* If the export test target is ANSI or UTF-8, dither image with special
shaded glyphs.
18 years ago
Sam Hocevar
0cbd5fd983
* Cosmetic fix in test/font.c.
* Use UTF-8 output in test/text.c instead of ANSI.
18 years ago
Sam Hocevar
29da35e1f4
* Make the export test 80 columns wide, so that the ANSI we generate can
be read by other programs.
18 years ago
Sam Hocevar
72ba9c3585
* Allow an optional input filename in the export test for cheap conversions.
18 years ago
Sam Hocevar
b97751b9bc
* Added cacadraw. It only shows files and lets you scroll for now, but
it will eventually evolve into something better.
18 years ago
Sam Hocevar
cb823dd55b
* Minor typo.
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
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.
18 years ago
Sam Hocevar
1f094662d8
* Jylam is too modest.
18 years ago
Jean-Yves Lamoureux
73b9c0af14
* Added importers test
18 years ago
Jean-Yves Lamoureux
2e167ab614
* Added preliminary ANSI importer, added import formats autodection
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
370fb06990
* Added "common.h", a placeholder for simple features and functions missing
from some systems.
18 years ago
Sam Hocevar
d0b0d90e2a
* Got rid of CUCUL_LIBS. It's unused.
18 years ago
Sam Hocevar
6c0e8da858
* Allow the caca_event_t *ev argument for caca_get_event() to be NULL.
18 years ago
Sam Hocevar
634c8266cc
* Added a test for multiple frames support.
* Added a test for textfile loading.
18 years ago
Sam Hocevar
8534299c9e
* Disabled sprite stuff from the tests.
18 years ago
Sam Hocevar
bde0e5ca7e
* Changed cucul_clear_canvas() again. It now uses the current foreground
and background colours to clear the screen.
18 years ago
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 years ago
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
18 years ago
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.
18 years ago
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 years ago
Sam Hocevar
a4ac581b6f
* Renamed cucul_clear() to cucul_clear_canvas() and added an argument to
choose the background colour.
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
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
18 years ago
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 years ago
Sam Hocevar
2df91e7617
* Handle CACA_EVENT_QUIT in the event test program.
18 years ago
Sam Hocevar
b01cccf54b
* Minor cosmetic changes in the test programs.
18 years ago
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.
18 years ago
Sam Hocevar
960aceabac
* Added test/truecolor.c to test non-ANSI colour pairs.
18 years ago
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 years ago
Jean-Yves Lamoureux
a4de38b97e
* Fixed sprite functions (it compiles now) (Y'a des connards qui font ce qu'ils veulent, mais qui finissent pas)
18 years ago
Sam Hocevar
4095b65df3
* Redisplay the output bitmap using libcaca. Eh ouais mon gars.
18 years ago
Sam Hocevar
9feb826120
* Fixed caca_get_event() call in test/hsv.c.
18 years ago
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.
18 years ago
Sam Hocevar
ebfb2b388b
* Internal font support through cucul_load_font(). Documented that.
* Removed ugly hooks from test/font.c.
18 years ago