Sam Hocevar
dd463f6e7d
* Renamed cucul_set_dither_mode() into cucul_set_dither_algorithm(). It’s
a longer name but "mode" really wasn’t appropriate here.
před 17 roky
Sam Hocevar
a0ea39643e
* Implemented cucul_get_dither_charset() and cucul_get_dither_mode().
před 17 roky
Sam Hocevar
9c155f042d
* Renamed doxygen sections here and there to avoid embarassing side-effects
such as "man tutorial" showing the libcaca tutorial on Debian systems.
před 17 roky
Sam Hocevar
7c5430e84c
* Implemented cucul_get_dither_antialias() and cucul_get_dither_color().
před 17 roky
Sam Hocevar
e28b8cca4d
* Add cucul_get_dither_brightness(), _gamma() and _contrast(). There is no
reason to keep a copy of them in the calling program.
* Deprecate cucul_set_dither_invert(). Inverting a dither's colours is now
done by setting a negative gamma value.
před 17 roky
Sam Hocevar
d0973a09dc
* Only use __attribute__((__deprecated__)) with gcc >= 3.x.
před 17 roky
Sam Hocevar
7373e6b18c
* Renamed cucul_rotate_*_wide to cucul_rotate_* and cucul_rotate_* to
cucul_stretch_* to avoid long function names. And the pairwise rotations
look so nice now that they should be the real rotation chars.
před 17 roky
Sam Hocevar
6982b8e426
* Implemented cucul_rotate_left_wide() and cucul_rotate_right_wide(). They
suck massively for now.
před 17 roky
Sam Hocevar
f338951be9
* Renamed cucul_left/cucul_right into cucul_rotate_left/cucul_rotate_right.
* Renamed cucul_rotate into cucul_rotate_180.
* Deprecated cucul_rotate and fix examples accordingly.
Hope it all makes sense.
před 17 roky
Sam Hocevar
803099a14f
* Implemented cucul_left() and cucul_right() for 90-degree rotations.
před 17 roky
Sam Hocevar
a6a1783b88
* Implemented cucul_utf32_to_ascii() using code from Ben Wiley Sittler.
před 17 roky
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
před 18 roky
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
před 18 roky
Sam Hocevar
54d459067a
* Implemented cucul_get_frame_name() and cucul_set_frame_name().
* Renamed cucul_*_canvas_frame() to cucul_*_frame() because we bloody well
know that a frame belongs to a canvas.
před 18 roky
Sam Hocevar
5b08e789e4
* Re-added cucul_getchar() to the legacy functions. Debian's current version
of toilet needs it.
před 18 roky
Sam Hocevar
40aa3b7933
* Documentation updates. Moved the canvas and font format definitions to
the Doxygen documentation.
před 18 roky
Sam Hocevar
3243101ff0
* Rename cucul_put*() into cucul_put_*(). Updated all code to reflect that.
před 18 roky
Sam Hocevar
f61bed2bdb
* Add cursor and handle support to canvases. Unused yet.
před 18 roky
Sam Hocevar
8c43b304c9
* Replace _cucul_attr_to_ansi8() with a now documented cucul_attr_to_ansi()
function.
před 18 roky
Sam Hocevar
c5a94eee07
* Export cucul_attr_to_ansi_fg() and cucul_attr_to_ansi_bg().
před 18 roky
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.
před 18 roky
Sam Hocevar
1b491f11a9
* Implemented cucul_draw_cp437_box().
před 18 roky
Sam Hocevar
819dab40e7
* Implemented cucul_putattr(), cucul_putchar()'s attribute equivalent.
před 18 roky
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.
___ __ __ ____ ___ ___ ___
/ _ \| \/ |/ ___| / _ \ / _ \ / _ \
| | | | |\/| | | _ | (_) | (_) | (_) |
| |_| | | | | |_| | \__, |\__, |\__, |
\___/|_| |_|\____| /_/ /_/ /_/
před 18 roky
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.
před 18 roky
Sam Hocevar
e3b2d76bd6
* Renamed cucul_import() to cucul_import_memory() and implemented
cucul_import_file().
před 18 roky
Sam Hocevar
17f272c4c4
* Deprecate buffer management. We're back to standard void* memory areas.
před 18 roky
Sam Hocevar
c6de6df5f7
* Remove legacy cucul_ansi_to_str() from cucul.h.
před 18 roky
Sam Hocevar
67ff5d5b1d
* Got rid of cucul_ansi_to_str(), it's really useless.
* Partial update of the C++ bindings.
* Updated documentation.
před 18 roky
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().
před 18 roky
Sam Hocevar
c3bcb0052e
* Add back cucul_set_color() and cucul_set_truecolor() but mark them as
deprecated using GCC attributes.
před 18 roky
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_*.
před 18 roky
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.
před 18 roky
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().
před 18 roky
Sam Hocevar
4711611e3f
* Support for fullwidth glyphs in the libcaca output drivers.
před 18 roky
Sam Hocevar
86dedb814e
* Implemented cucul_utf32_is_fullwidth().
před 18 roky
Sam Hocevar
81760312af
* Implemented cucul_get_color().
před 18 roky
Sam Hocevar
1ba0587622
* Implement cucul_set_canvas_boundaries() for cropping and expanding.
před 18 roky
Sam Hocevar
f13f15d2f1
* Implemented cucul_getchar(). Useful because you don’t necessarily know
what you are importing.
před 18 roky
Sam Hocevar
9044384d02
* Got rid of cucul_render_glyph(). Ahahahaha.
před 18 roky
Sam Hocevar
87cd66a5fd
* Implemented cucul_get_font_blocks() to export the list of available glyphs.
před 18 roky
Sam Hocevar
7165793ff9
* Fixed cucul_render_glyph(). There is no way this could have ever possibly
worked properly.
před 18 roky
Jean-Yves Lamoureux
280132493f
* OpenGL builtin font support
před 18 roky
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.
před 18 roky
Sam Hocevar
9137c0a059
* Export the UTF-8 / UTF-32 / CP437 character conversions to applications.
před 18 roky
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.
před 18 roky
Sam Hocevar
d6e4744861
* Changed the cucul_create_dither() prototype to make sure the mask
arguments are at least 32 bits.
před 18 roky
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
před 18 roky
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.
před 18 roky
Sam Hocevar
235504d81a
* More error checking in libcucul.
před 18 roky