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
07b9891afa
* Introduce cucul_get_canvas_chars() and cucul_get_canvas_attrs() to avoid
direct cv->chars and cv->attrs access by display drivers.
17 роки тому
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 роки тому
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
17 роки тому
Sam Hocevar
31cbfb5bea
* Rename _cucul_set_canvas_size into __cucul_set_canvas_size to prevent
collisions due to symbol mangling.
17 роки тому
Sam Hocevar
52e9f2b13a
* Add proper __declspec(dllexport) tags for Win32 compilation.
* Manually export private libcaca symbols.
17 роки тому
Pascal Terjan
64e427f2ed
Fix a typo in the doc
17 роки тому
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.
17 роки тому
Sam Hocevar
a0ea39643e
* Implemented cucul_get_dither_charset() and cucul_get_dither_mode().
17 роки тому
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.
17 роки тому
Sam Hocevar
6986b8c64f
* Renamed fonts to *.data to make sure they are not mistaken for editable
files (like there is any chance).
17 роки тому
Sam Hocevar
7c5430e84c
* Implemented cucul_get_dither_antialias() and cucul_get_dither_color().
17 роки тому
Sam Hocevar
49f230f863
* cucul_get_dither_brightness() is no longer a stub.
* Implemented missing cucul_get_dither_contrast().
17 роки тому
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.
17 роки тому
Sam Hocevar
d0973a09dc
* Only use __attribute__((__deprecated__)) with gcc >= 3.x.
17 роки тому
Sam Hocevar
05ae318af0
* Save user attributes when calling cucul_dither_bitmap().
17 роки тому
Sam Hocevar
38f08d7e72
* Added a few rotation pairs. Nothing awesome.
17 роки тому
Sam Hocevar
95f28cd883
* Improve rotation output by avoiding white-on-black attributes to appear
due to spaces.
17 роки тому
Sam Hocevar
91d8c9352b
* Allow to rotate canvases with an odd width.
* Added a few additional character pairs of the left/right rotations.
* Added missing errno sets.
17 роки тому
Sam Hocevar
4e6ef71aed
* More widechar rotations. \/ > /\ < is cool.
17 роки тому
Sam Hocevar
2224430ec1
* Reset cursor position after a resize. Not sure it’s what I want.
17 роки тому
Sam Hocevar
de9ba793a7
* More widechar rotation pairs.
17 роки тому
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.
17 роки тому
Sam Hocevar
64e11f119b
* More characters for the wide rotations.
* Updated test/text to show what the wide rotations now do.
17 роки тому
Sam Hocevar
a936f95c75
* Use j/ḷ and l/ȷ pairs in glyph rotation.
17 роки тому
Sam Hocevar
6982b8e426
* Implemented cucul_rotate_left_wide() and cucul_rotate_right_wide(). They
suck massively for now.
17 роки тому
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.
17 роки тому
Sam Hocevar
803099a14f
* Implemented cucul_left() and cucul_right() for 90-degree rotations.
17 роки тому
Sam Hocevar
ee60c3086e
* Handle multiframe canvases in the caca importer, courtesy of Ben Wiley
Sittler. Untested.
17 роки тому
Sam Hocevar
17109d0964
* Added more box glyphs to the canvas transformations, courtesy of Ben Wiley
Sittler.
17 роки тому
Sam Hocevar
a6a1783b88
* Implemented cucul_utf32_to_ascii() using code from Ben Wiley Sittler.
17 роки тому
Sam Hocevar
75f84cedfa
* Updated internal fonts to match tools/makefont.c.
17 роки тому
Sam Hocevar
66fb91bec2
* The transformation rules didn’t have ⅃ ⅄ ⅂.
18 роки тому
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
77bed4f704
* Got rid of that ugly cv->import member.
18 роки тому
Sam Hocevar
f1f00897c5
* Fix shadowing declarations.
18 роки тому
Sam Hocevar
4f4f887080
* Improved vt220 import by adding a persistent context to canvases.
18 роки тому
Sam Hocevar
1756bdf30d
* Improved ANSI importer so that it supports a lot more of what is needed
for basic vt220 emulation.
18 роки тому
Sam Hocevar
55765045c8
* Support for CUCUL_DEFAULT and CUCUL_TRANSPARENT in the HTML exporters.
* Updated export test accordingly.
18 роки тому
Sam Hocevar
a17cf905f2
* Added some box drawing glyphs that are used by TOIlet's future.tlf font
to the flip/flop/rotation filters.
18 роки тому
Sam Hocevar
b1bf22a593
* Minor documentation fix.
18 роки тому
Sam Hocevar
1cdaa755ae
* Documented flip/flop/rotate as being involutive.
* Updated text test.
18 роки тому
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 роки тому
Sam Hocevar
6372da2ffc
* Improved ANSI import, especially wrt. drawing context persistence.
18 роки тому
Sam Hocevar
cff37b56c5
* Fix a bug in cucul_put_attr. This function was simply not working.
18 роки тому
Sam Hocevar
46b84c8c02
* Fix a bug in cucul_set_canvas_size() that caused the default attribute
to be ignored.
18 роки тому
Sam Hocevar
16e95eb980
* When importing an utf-8 file, set background and foreground colours to
the nearest ANSI values for the current attribute. When importing an ANSI
file, force them to lightgray on black.
18 роки тому
Sam Hocevar
5b08e789e4
* Re-added cucul_getchar() to the legacy functions. Debian's current version
of toilet needs it.
18 роки тому
Sam Hocevar
dbf07a9a27
* Add maxwidth and maxheight members to the font format.
18 роки тому