Sam Hocevar
7bd6e8a406
* Set library names to lib*.so.0.10.0.
vor 18 Jahren
Sam Hocevar
4914b86cbf
* Fixed a compilation warning.
vor 18 Jahren
Sam Hocevar
accf27b445
* Minor documentation fix.
vor 18 Jahren
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.
vor 18 Jahren
Sam Hocevar
2353ad9215
* Minor documentation improvements.
vor 18 Jahren
Sam Hocevar
d0dd70b64c
* Documentation improvements. Wrote a small migration guide and added the
skeleton of a tutorial for Jylam.
vor 18 Jahren
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
vor 18 Jahren
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.
vor 18 Jahren
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.
vor 18 Jahren
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.
vor 18 Jahren
Sam Hocevar
a4ac581b6f
* Renamed cucul_clear() to cucul_clear_canvas() and added an argument to
choose the background colour.
vor 18 Jahren
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.
vor 18 Jahren
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
vor 18 Jahren
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
vor 18 Jahren
Sam Hocevar
8e12dbeba6
* Truecolor support for the HTML and HTMLv3 exporters.
vor 18 Jahren
Sam Hocevar
351fad7e15
* Fixed a bug in _cucul_argb32_to_rgb24fg/bg().
vor 18 Jahren
Sam Hocevar
ac3283f07f
* Cosmetic code changes and minor optimisations.
vor 18 Jahren
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).
vor 18 Jahren
Sam Hocevar
c5b827a44e
* Changed the buffer type in cucul_render_canvas() to void* to avoid
compilation warnings.
vor 18 Jahren
Sam Hocevar
c778d5301c
* Removed math.c from cucul, it's beyond uselessness. Kept cucul_rand in
cucul.c just in case.
vor 18 Jahren
Sam Hocevar
47229fa0b3
* Truecolor support in the SVG and PostScript exporters.
vor 18 Jahren
Sam Hocevar
b5f00c459c
* Implemented TGA image export.
vor 18 Jahren
Sam Hocevar
5a476a29ae
* Implemented argb32 to rgb24fg/bg colour conversions.
vor 18 Jahren
Sam Hocevar
3af72ff5f8
* Fixed abusive strictness in the font loader.
vor 18 Jahren
Sam Hocevar
9f0a475645
* Moved cucul_set_color() from canvas.c to colour.c.
* Added cucul_set_truecolor() for non-ANSI colours.
* Added new argb32 -> rgb12 conversion functions.
vor 18 Jahren
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.
vor 18 Jahren
Sam Hocevar
ab3a5d8f90
* Fixed bad library name in pc file.
vor 18 Jahren
Jean-Yves Lamoureux
408b8757eb
* Updated MSVC++ project (static library and src/*)
vor 18 Jahren
Sam Hocevar
2c5ccb65e6
* Improved documentation in many places.
vor 18 Jahren
Sam Hocevar
7b216060b4
* Ahaha I didn't even check that it compiled properly.
vor 18 Jahren
Sam Hocevar
99aa400f26
* Only support version 1 fonts.
vor 18 Jahren
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
vor 18 Jahren
Sam Hocevar
93d3548d58
* Added a lot of sanity checks to the font parsing. It should now be
secure against broken files, but it probably needs peer review.
vor 18 Jahren
Sam Hocevar
1911e368f4
* Fixed compilation warning.
vor 18 Jahren
Sam Hocevar
b355e0581d
* Fixed colour conversion routines so that they work with ARGB too.
vor 18 Jahren
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.
vor 18 Jahren
Sam Hocevar
ebfb2b388b
* Internal font support through cucul_load_font(). Documented that.
* Removed ugly hooks from test/font.c.
vor 18 Jahren
Sam Hocevar
b40cfe1302
* Ugly overflow bug in the rendering code.
vor 18 Jahren
Sam Hocevar
a273b3d7ec
* Implemented cucul_get_font_width() and cucul_get_font_height().
* Documented most font functions.
* Cleaned up cucul_render_canvas() and made it actually usable by external
programs. Removed ugly printf() debug calls.
vor 18 Jahren
Sam Hocevar
41d475589c
* Renamed cucul_export into cucul_buffer. We'll use it for other things.
vor 18 Jahren
Sam Hocevar
15bff441bc
* Putain de bordel de manche a couilles. I forgot to fix the font.
vor 18 Jahren
Sam Hocevar
c1e5f30692
* Fixed 4, 2 and 1-bit font rendering.
* Replaced the 8-bit internal font with a 4-bit one.
vor 18 Jahren
Sam Hocevar
9369b9a48f
* Created internal function _cucul_argb32_to_argb4() that splits an argb
fg/bg value into its separate argb 4-bit fields.
vor 18 Jahren
Sam Hocevar
8fffb73b1e
* 4bpp fonts do not work yet. Replaced the built-in font with an 8bpp font
for the moment.
vor 18 Jahren
Sam Hocevar
d8821beb81
* Created a built-in font from Bitstream Vera (Monospace 9).
vor 18 Jahren
Sam Hocevar
1da6ea358b
* Slightly updated the font format and wrote a font loader. Also added a
skeleton for the renderer that will not last very long.
vor 18 Jahren
Sam Hocevar
33060e0b5a
* New version of the font format.
vor 18 Jahren
Sam Hocevar
a05603a774
* Added a file for future font handling routines. Currently only the font
format proposal is in this file. Feel free to comment.
vor 18 Jahren
Sam Hocevar
83b4374fb4
* Avoid useless call to strlen() in the exporters.
* Removed '\x0f' from the IRC exporter until I understand why it was here.
vor 18 Jahren
Sam Hocevar
5193172468
* Renamed bitmap.c into dither.c.
vor 18 Jahren