Sam Hocevar
3243101ff0
* Rename cucul_put*() into cucul_put_*(). Updated all code to reflect that.
18 jaren geleden
Sam Hocevar
f61bed2bdb
* Add cursor and handle support to canvases. Unused yet.
18 jaren geleden
Sam Hocevar
8c43b304c9
* Replace _cucul_attr_to_ansi8() with a now documented cucul_attr_to_ansi()
function.
18 jaren geleden
Sam Hocevar
c5a94eee07
* Export cucul_attr_to_ansi_fg() and cucul_attr_to_ansi_bg().
18 jaren geleden
Sam Hocevar
88facd894c
* Switch back to UTF-32 arguments for drawing primitives, now that we
properly export cucul_utf8_to_utf32(). Evil API breakage, but no one
uses these functions anyway.
18 jaren geleden
Sam Hocevar
1b491f11a9
* Implemented cucul_draw_cp437_box().
18 jaren geleden
Sam Hocevar
819dab40e7
* Implemented cucul_putattr(), cucul_putchar()'s attribute equivalent.
18 jaren geleden
Sam Hocevar
1cb8d02560
* Set the cucul_import_memory() buffer type to void const * instead of
unsigned char const * so that C++ programs won't complain.
___ __ __ ____ ___ ___ ___
/ _ \| \/ |/ ___| / _ \ / _ \ / _ \
| | | | |\/| | | _ | (_) | (_) | (_) |
| |_| | | | | |_| | \__, |\__, |\__, |
\___/|_| |_|\____| /_/ /_/ /_/
18 jaren geleden
Sam Hocevar
391bc8b493
* Renamed cucul_export() to cucul_export_memory(), paves the way for a
cucul_export_file() but I'm not sure yet this is a good idea.
* Use the new import/export API in libcaca.
18 jaren geleden
Sam Hocevar
e3b2d76bd6
* Renamed cucul_import() to cucul_import_memory() and implemented
cucul_import_file().
18 jaren geleden
Sam Hocevar
17f272c4c4
* Deprecate buffer management. We're back to standard void* memory areas.
18 jaren geleden
Sam Hocevar
c6de6df5f7
* Remove legacy cucul_ansi_to_str() from cucul.h.
18 jaren geleden
Sam Hocevar
67ff5d5b1d
* Got rid of cucul_ansi_to_str(), it's really useless.
* Partial update of the C++ bindings.
* Updated documentation.
18 jaren geleden
Sam Hocevar
42c9518d2a
* Got rid of cucul_ansi_to_attr() and cucul_argb_to_attr() and restored
cucul_set_color() and cucul_set_truecolor() under the new names
cucul_set_color_ansi() and cucul_set_color_argb().
* Renamed cucul_get_color_name() into cucul_ansi_to_str().
18 jaren geleden
Sam Hocevar
c3bcb0052e
* Add back cucul_set_color() and cucul_set_truecolor() but mark them as
deprecated using GCC attributes.
18 jaren geleden
Sam Hocevar
0b37a307dd
* Get rid of cucul_set_attr_ansi() and cucul_set_attr_argb and merge the
functionality into cucul_set_attr().
* Add cucul_ansi_to_attr() and cucul_argb_to_attr().
* Rename CUCUL_COLOR_* to CUCUL_*.
18 jaren geleden
Sam Hocevar
aa93ad25f6
* Remove cucul_set_color() from the exported API and replaced all calls
with cucul_set_attr_ansi(). Old application will still compile (but issue
a warning) and run, though.
18 jaren geleden
Sam Hocevar
86301dd48c
* Use the LSB of alpha and blue components to encode additional flags such
as bold or underline. No higher level support for these yet, but at
least everything is consistent.
* Created cucul_set_attr_ansi() and cucul_set_attr_argb() which are bound
to replace cucul_set_color() and cucul_set_truecolor().
18 jaren geleden
Sam Hocevar
4711611e3f
* Support for fullwidth glyphs in the libcaca output drivers.
18 jaren geleden
Sam Hocevar
86dedb814e
* Implemented cucul_utf32_is_fullwidth().
18 jaren geleden
Sam Hocevar
81760312af
* Implemented cucul_get_color().
18 jaren geleden
Sam Hocevar
1ba0587622
* Implement cucul_set_canvas_boundaries() for cropping and expanding.
18 jaren geleden
Sam Hocevar
f13f15d2f1
* Implemented cucul_getchar(). Useful because you don’t necessarily know
what you are importing.
18 jaren geleden
Sam Hocevar
9044384d02
* Got rid of cucul_render_glyph(). Ahahahaha.
18 jaren geleden
Sam Hocevar
87cd66a5fd
* Implemented cucul_get_font_blocks() to export the list of available glyphs.
18 jaren geleden
Sam Hocevar
7165793ff9
* Fixed cucul_render_glyph(). There is no way this could have ever possibly
worked properly.
18 jaren geleden
Jean-Yves Lamoureux
280132493f
* OpenGL builtin font support
18 jaren geleden
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 jaren geleden
Sam Hocevar
9137c0a059
* Export the UTF-8 / UTF-32 / CP437 character conversions to applications.
18 jaren geleden
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 jaren geleden
Sam Hocevar
d6e4744861
* Changed the cucul_create_dither() prototype to make sure the mask
arguments are at least 32 bits.
18 jaren geleden
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
18 jaren geleden
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 jaren geleden
Sam Hocevar
235504d81a
* More error checking in libcucul.
18 jaren geleden
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 jaren geleden
Sam Hocevar
eb2aa1aa48
* Reverted that errno stuff. We'll just use the real errno.
18 jaren geleden
Sam Hocevar
fc6d86d835
* Added basis for an errno-like mechanism.
18 jaren geleden
Sam Hocevar
9a65579cf6
* Support for multiple frames in canvases.
18 jaren geleden
Sam Hocevar
bde0e5ca7e
* Changed cucul_clear_canvas() again. It now uses the current foreground
and background colours to clear the screen.
18 jaren geleden
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 jaren geleden
Sam Hocevar
d0dd70b64c
* Documentation improvements. Wrote a small migration guide and added the
skeleton of a tutorial for Jylam.
18 jaren geleden
Sam Hocevar
a4ac581b6f
* Renamed cucul_clear() to cucul_clear_canvas() and added an argument to
choose the background colour.
18 jaren geleden
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 jaren geleden
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 jaren geleden
Sam Hocevar
c5b827a44e
* Changed the buffer type in cucul_render_canvas() to void* to avoid
compilation warnings.
18 jaren geleden
Sam Hocevar
c778d5301c
* Removed math.c from cucul, it's beyond uselessness. Kept cucul_rand in
cucul.c just in case.
18 jaren geleden
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 jaren geleden
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 jaren geleden
Sam Hocevar
2c5ccb65e6
* Improved documentation in many places.
18 jaren geleden
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
18 jaren geleden