Sam Hocevar
6a3f5c21f0
* Changed most of the long ints in the API into C99 types. WARNING: this
completely breaks compatibility with previous versions of libcaca on
64-bit systems.
16 년 전
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
16 년 전
Sam Hocevar
99b5396e8e
* Remove #include <stdint.h> etc. from "common.h". Instead, make sure that
<cucul.h> will provide the C99 types, even if libcaca has been installed.
* Rename what's left of "common.h" to "stubs.h".
* Remove all references to erroneous <inttypes.h> from source files.
16 년 전
Sam Hocevar
b519d05bce
* Export cucul_attr_to_rgb12_bg(), cucul_attr_to_rgb12_fg() and
cucul_attr_to_argb64() (previously _cucul_attr_to_rgb12bg,
_cucul_attr_to_rgb12fg and _cucul_attr_to_argb4) in the official
libcucul API.
* Cleanup complete: libcaca no longer depends on "cucul_internals.h".
17 년 전
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
17 년 전
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 년 전
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 년 전
Sam Hocevar
cff37b56c5
* Fix a bug in cucul_put_attr. This function was simply not working.
18 년 전
Sam Hocevar
51936f585c
* Got rid of HAVE_ERRNO_H ifdefs by defining seterrno()/geterrno() functions.
* More debugging information in the import/export and font functions.
18 년 전
Sam Hocevar
3243101ff0
* Rename cucul_put*() into cucul_put_*(). Updated all code to reflect that.
18 년 전
Sam Hocevar
8c43b304c9
* Replace _cucul_attr_to_ansi8() with a now documented cucul_attr_to_ansi()
function.
18 년 전
Sam Hocevar
25d0366fe6
* Get rid of _cucul_attr_to_ansi4[fb]g() and replace all calls with
the now official cucul_attr_to_ansi_[fb]g().
18 년 전
Sam Hocevar
c5a94eee07
* Export cucul_attr_to_ansi_fg() and cucul_attr_to_ansi_bg().
18 년 전
Sam Hocevar
819dab40e7
* Implemented cucul_putattr(), cucul_putchar()'s attribute equivalent.
18 년 전
Sam Hocevar
17f272c4c4
* Deprecate buffer management. We're back to standard void* memory areas.
18 년 전
Sam Hocevar
74babecc70
* Clarify cucul_get_attr() behaviour in the cucul_set_attr() documentation.
18 년 전
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 년 전
Sam Hocevar
019938c9ae
* Changed cucul_set_attr() so that only setting the style does not change
the colour.
18 년 전
Sam Hocevar
c3bcb0052e
* Add back cucul_set_color() and cucul_set_truecolor() but mark them as
deprecated using GCC attributes.
18 년 전
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 년 전
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 년 전
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 년 전
Sam Hocevar
26c3ea1aa4
* Removed "This function..." constructs from documentation. Fixed a few
documentation errors or imprecisions.
18 년 전
Sam Hocevar
81760312af
* Implemented cucul_get_color().
18 년 전
Sam Hocevar
956ee0b309
* Use a slightly different RGB palette for ANSI colours, so that brown
really looks like brown and not like desaturated yellow.
18 년 전
Sam Hocevar
42b967ec0e
* Set the transparent colour's RGB values to the default colour's ones.
18 년 전
Sam Hocevar
235504d81a
* More error checking in libcucul.
18 년 전
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
18 년 전
Sam Hocevar
2353ad9215
* Minor documentation improvements.
18 년 전
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
18 년 전
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 년 전
Sam Hocevar
351fad7e15
* Fixed a bug in _cucul_argb32_to_rgb24fg/bg().
18 년 전
Sam Hocevar
5a476a29ae
* Implemented argb32 to rgb24fg/bg colour conversions.
18 년 전
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 년 전
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
18 년 전
Sam Hocevar
1911e368f4
* Fixed compilation warning.
18 년 전
Sam Hocevar
b355e0581d
* Fixed colour conversion routines so that they work with ARGB too.
18 년 전
Sam Hocevar
9369b9a48f
* Created internal function _cucul_argb32_to_argb4() that splits an argb
fg/bg value into its separate argb 4-bit fields.
18 년 전
Sam Hocevar
a8990ca5a6
* Replaced occurrences of "rgba" with "argb".
18 년 전
Sam Hocevar
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
18 년 전