Sam Hocevar
d06bf76c96
=?utf-8?q?=20=20*=20Implement=20cucul=5Fput=5Ffigchar()=20to=20paste=20FIGlet/TOIlet=20characters=20in
=20=20=20=20=20=20=20=20=20=20=E2=96=8C=20=E2=96=8C=20=20=20=E2=96=9C=E2=96=9C=20=20=20=20=C2=A0=E2=96=8C=20=E2=96=8C=20=20=20=20=20=20=E2=96=9C=20=20=20=E2=96=8C=E2=96=90
=20=20=20=20=20=20=20=20=20=20=E2=96=99=E2=96=84=E2=96=8C=E2=96=9E=E2=96=80=E2=96=96=E2=96=90=E2=96=90=20=E2=96=9E=E2=96=80=E2=96=96=C2=A0=E2=96=8C=E2=96=96=E2=96=8C=E2=96=9E=E2=96=80=E2=96=96=E2=96=99=E2=96=80=E2=96=96=E2=96=90=20=E2=96=9E=E2=96=80=E2=96=8C=E2=96=90
=20=20=20=20=20=20=20=20=20=20=E2=96=8C=20=E2=96=8C=E2=96=9B=E2=96=80=20=E2=96=90=E2=96=90=20=E2=96=8C=20=E2=96=8C=C2=A0=E2=96=99=E2=96=9A=E2=96=8C=E2=96=8C=20=E2=96=8C=E2=96=8C=20=C2=A0=E2=96=90=20=E2=96=8C=20=E2=96=8C=E2=96=9D
=20=20=20=20=20=20=20=20=20=20=E2=96=98=20=E2=96=98=E2=96=9D=E2=96=80=E2=96=98=20=E2=96=98=E2=96=98=E2=96=9D=E2=96=80=20=C2=A0=E2=96=98=20=E2=96=98=E2=96=9D=E2=96=80=20=E2=96=98=20=20=20=E2=96=98=E2=96=9D=E2=96=80=E2=96=98=E2=96=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
17 vuotta sitten
Sam Hocevar
81d6119762
* Implemented cucul_canvas_set_figfont() from TOIlet’s open_font().
17 vuotta sitten
Sam Hocevar
fd9749db59
* Import io.c from TOIlet directly into libcucul. Can you see where this
is going?
17 vuotta sitten
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 vuotta sitten
Sam Hocevar
7362a612c4
* Add cucul_manage_canvas() and cucul_unmanage_canvas(). Display
drivers no longer need to access the cv->refcount private member
and __cucul_set_canvas_size() is no longer needed.
17 vuotta sitten
Sam Hocevar
31cbfb5bea
* Rename _cucul_set_canvas_size into __cucul_set_canvas_size to prevent
collisions due to symbol mangling.
17 vuotta sitten
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 vuotta sitten
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 vuotta sitten
Sam Hocevar
77bed4f704
* Got rid of that ugly cv->import member.
18 vuotta sitten
Sam Hocevar
4f4f887080
* Improved vt220 import by adding a persistent context to canvases.
18 vuotta sitten
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.
18 vuotta sitten
Sam Hocevar
46b84c8c02
* Fix a bug in cucul_set_canvas_size() that caused the default attribute
to be ignored.
18 vuotta sitten
Sam Hocevar
f61bed2bdb
* Add cursor and handle support to canvases. Unused yet.
18 vuotta sitten
Sam Hocevar
9fb85b253c
* Prepare the way for per-frame width/height information.
18 vuotta sitten
Sam Hocevar
25344d89b0
* Got rid of the now unused _cucul_strlen_utf8() and _cucul_skip_utf8()
functions. They're obsoleted by cucul_utf8_to_utf32() and rendered useless
by fullwidth character support.
18 vuotta sitten
Sam Hocevar
d549d07c0a
* Got rid of very old _cucul_init_dither() function call.
18 vuotta sitten
Sam Hocevar
8c43b304c9
* Replace _cucul_attr_to_ansi8() with a now documented cucul_attr_to_ansi()
function.
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
4711611e3f
* Support for fullwidth glyphs in the libcaca output drivers.
18 vuotta sitten
Sam Hocevar
b45eea0b39
* Support for fullwidth (= double width) Unicode characters.
18 vuotta sitten
Sam Hocevar
9137c0a059
* Export the UTF-8 / UTF-32 / CP437 character conversions to applications.
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
4d029660e1
* Implemented the private _cucul_utf32_to_utf8() helper.
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
235504d81a
* More error checking in libcucul.
18 vuotta sitten
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
18 vuotta sitten
Sam Hocevar
9a65579cf6
* Support for multiple frames in canvases.
18 vuotta sitten
Sam Hocevar
046c004862
* Got rid of cv->scratch_line. It's unused, too.
18 vuotta sitten
Sam Hocevar
beda391b6b
* Got rid of cv->empty_line, it's now unused.
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 vuotta sitten
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).
18 vuotta sitten
Sam Hocevar
b5f00c459c
* Implemented TGA image export.
18 vuotta sitten
Sam Hocevar
5a476a29ae
* Implemented argb32 to rgb24fg/bg colour conversions.
18 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
18 vuotta sitten
Sam Hocevar
41d475589c
* Renamed cucul_export into cucul_buffer. We'll use it for other things.
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
58ff9ea1f5
* Renamed *bitmap to *dither. Ben ouais connard, je fais ce que je veux.
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
a8990ca5a6
* Replaced occurrences of "rgba" with "argb".
18 vuotta sitten
Sam Hocevar
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
18 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Sam Hocevar
77f995023d
* Slightly changed header comments.
18 vuotta sitten
Sam Hocevar
02ccf6ec3b
* Cosmetic fixes.
18 vuotta sitten
Sam Hocevar
417b598d8d
* Factorised some charset handling code into a new cucul/charset.c file.
18 vuotta sitten
Sam Hocevar
9e698966f2
* Replaced all cucul_get_* exporters with a generic cucul_export() function.
* Got rid of static buffers; we now use cucul_free() to free exported
buffers.
* Fixed light background in the ANSI exporter by adding escape sequences for
most terminal emulators.
18 vuotta sitten
Jean-Yves Lamoureux
9071a26bb9
* Added preliminary Postscript (tm) (r) (c) exporter.
18 vuotta sitten