Sam Hocevar
4711611e3f
* Support for fullwidth glyphs in the libcaca output drivers.
18 år sedan
Sam Hocevar
86dedb814e
* Implemented cucul_utf32_is_fullwidth().
18 år sedan
Sam Hocevar
81760312af
* Implemented cucul_get_color().
18 år sedan
Sam Hocevar
1ba0587622
* Implement cucul_set_canvas_boundaries() for cropping and expanding.
18 år sedan
Sam Hocevar
f13f15d2f1
* Implemented cucul_getchar(). Useful because you don’t necessarily know
what you are importing.
18 år sedan
Sam Hocevar
9044384d02
* Got rid of cucul_render_glyph(). Ahahahaha.
18 år sedan
Sam Hocevar
87cd66a5fd
* Implemented cucul_get_font_blocks() to export the list of available glyphs.
18 år sedan
Sam Hocevar
7165793ff9
* Fixed cucul_render_glyph(). There is no way this could have ever possibly
worked properly.
18 år sedan
Jean-Yves Lamoureux
280132493f
* OpenGL builtin font support
18 år sedan
Sam Hocevar
58f3935f0f
* Have cucul_utf8_to_utf32 write how many bytes it read.
* Use that in the SLang driver so that it supports UTF-8 input.
18 år sedan
Sam Hocevar
9137c0a059
* Export the UTF-8 / UTF-32 / CP437 character conversions to applications.
18 år sedan
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 år sedan
Sam Hocevar
d6e4744861
* Changed the cucul_create_dither() prototype to make sure the mask
arguments are at least 32 bits.
18 år sedan
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
18 år sedan
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 år sedan
Sam Hocevar
235504d81a
* More error checking in libcucul.
18 år sedan
Sam Hocevar
981c405554
* Check for <errno.h>.
* Started changing function prototypes so that they return an integer
instead of void, just in case they might fail.
18 år sedan
Sam Hocevar
eb2aa1aa48
* Reverted that errno stuff. We'll just use the real errno.
18 år sedan
Sam Hocevar
fc6d86d835
* Added basis for an errno-like mechanism.
18 år sedan
Sam Hocevar
9a65579cf6
* Support for multiple frames in canvases.
18 år sedan
Sam Hocevar
bde0e5ca7e
* Changed cucul_clear_canvas() again. It now uses the current foreground
and background colours to clear the screen.
18 år sedan
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 år sedan
Sam Hocevar
d0dd70b64c
* Documentation improvements. Wrote a small migration guide and added the
skeleton of a tutorial for Jylam.
18 år sedan
Sam Hocevar
a4ac581b6f
* Renamed cucul_clear() to cucul_clear_canvas() and added an argument to
choose the background colour.
18 år sedan
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 år sedan
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 år sedan
Sam Hocevar
c5b827a44e
* Changed the buffer type in cucul_render_canvas() to void* to avoid
compilation warnings.
18 år sedan
Sam Hocevar
c778d5301c
* Removed math.c from cucul, it's beyond uselessness. Kept cucul_rand in
cucul.c just in case.
18 år sedan
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.
18 år sedan
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 år sedan
Sam Hocevar
2c5ccb65e6
* Improved documentation in many places.
18 år sedan
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
18 år sedan
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 år sedan
Sam Hocevar
ebfb2b388b
* Internal font support through cucul_load_font(). Documented that.
* Removed ugly hooks from test/font.c.
18 år sedan
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.
18 år sedan
Sam Hocevar
41d475589c
* Renamed cucul_export into cucul_buffer. We'll use it for other things.
18 år sedan
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.
18 år sedan
Sam Hocevar
58ff9ea1f5
* Renamed *bitmap to *dither. Ben ouais connard, je fais ce que je veux.
18 år sedan
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 år sedan
Sam Hocevar
e8ae71156d
* Changed the cucul_set_bitmap_antialias() argument to a string.
18 år sedan
Sam Hocevar
c1664e356c
* Got rid of cucul_get_screen(). Use cucul_export() instead.
18 år sedan
Sam Hocevar
2213100258
* Got rid of the useless cucul_get_fg_color/cucul_get_bg_color functions.
18 år sedan
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 år sedan
Sam Hocevar
e625e11d52
* Added cucul_get_export_list(). Returns a list of known export formats.
18 år sedan
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 år sedan
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 år sedan
Sam Hocevar
3c3e37ca65
* Implemented cucul_invert() to invert a canvas' colours.
18 år sedan
Jean-Yves Lamoureux
f53bc3937a
* Added bitmap invert routine. It doesn't work well, so don't use it right now. Sam is working hard to correct the strange behaviour.
18 år sedan
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.
18 år sedan
Sam Hocevar
571de1af04
* Renamed cucul_init()/cucul_end() into cucul_create()/cucul_free().
18 år sedan