Sam Hocevar
fae3c19835
libcaca: add fallback rotated glyphs to cope with third-party software.
pirms 16 gadiem
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
pirms 16 gadiem
Sam Hocevar
f61816ceb7
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
pirms 16 gadiem
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
pirms 16 gadiem
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.
pirms 16 gadiem
Sam Hocevar
38f08d7e72
* Added a few rotation pairs. Nothing awesome.
pirms 17 gadiem
Sam Hocevar
95f28cd883
* Improve rotation output by avoiding white-on-black attributes to appear
due to spaces.
pirms 17 gadiem
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.
pirms 17 gadiem
Sam Hocevar
4e6ef71aed
* More widechar rotations. \/ > /\ < is cool.
pirms 17 gadiem
Sam Hocevar
de9ba793a7
* More widechar rotation pairs.
pirms 17 gadiem
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.
pirms 17 gadiem
Sam Hocevar
64e11f119b
* More characters for the wide rotations.
* Updated test/text to show what the wide rotations now do.
pirms 17 gadiem
Sam Hocevar
a936f95c75
* Use j/ḷ and l/ȷ pairs in glyph rotation.
pirms 17 gadiem
Sam Hocevar
6982b8e426
* Implemented cucul_rotate_left_wide() and cucul_rotate_right_wide(). They
suck massively for now.
pirms 17 gadiem
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.
pirms 17 gadiem
Sam Hocevar
803099a14f
* Implemented cucul_left() and cucul_right() for 90-degree rotations.
pirms 17 gadiem
Sam Hocevar
17109d0964
* Added more box glyphs to the canvas transformations, courtesy of Ben Wiley
Sittler.
pirms 17 gadiem
Sam Hocevar
66fb91bec2
* The transformation rules didn’t have ⅃ ⅄ ⅂.
pirms 18 gadiem
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
pirms 18 gadiem
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
pirms 18 gadiem
Sam Hocevar
a17cf905f2
* Added some box drawing glyphs that are used by TOIlet's future.tlf font
to the flip/flop/rotation filters.
pirms 18 gadiem
Sam Hocevar
1cdaa755ae
* Documented flip/flop/rotate as being involutive.
* Updated text test.
pirms 18 gadiem
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().
pirms 18 gadiem
Sam Hocevar
26c3ea1aa4
* Removed "This function..." constructs from documentation. Fixed a few
documentation errors or imprecisions.
pirms 18 gadiem
Sam Hocevar
f4cfb692bb
* Fix rotation of the 'u' glyph, and added a flop/rotate char for '"'.
pirms 18 gadiem
Sam Hocevar
806f748059
* Made cucul_blit(), and therefore cucul_set_canvas_boundaries(), support
fullwidth characters.
* Added a case to test/fullwidth.c for cucul_blit and fullwidth chars.
pirms 18 gadiem
Sam Hocevar
76c24c5a78
* Added block drawing glyphs to the flip/flop/rotate functions.
* Made these functions fullwidth-aware.
pirms 18 gadiem
Sam Hocevar
d14a4dddfb
* U+214B TURNED AMPERSAND
pirms 18 gadiem
Sam Hocevar
e8d6429506
* Added a few more Unicode characters to the glyph transformations.
pirms 18 gadiem
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
pirms 18 gadiem
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
pirms 18 gadiem
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
pirms 18 gadiem
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
pirms 18 gadiem
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
pirms 18 gadiem
Sam Hocevar
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
pirms 18 gadiem
Sam Hocevar
3c3e37ca65
* Implemented cucul_invert() to invert a canvas' colours.
pirms 18 gadiem
Sam Hocevar
af94141959
* Minor addition to the rotate code.
pirms 18 gadiem
Sam Hocevar
caa62f3158
* Added missing ASCII characters to cucul_rotate().
pirms 18 gadiem
Sam Hocevar
6eb822234b
* Added more characters to the flip/rotate routines.
pirms 18 gadiem
Sam Hocevar
1d374910e4
* Added cucul_flip(), cucul_flop() and cucul_transform() to perform
operations on canvases.
pirms 18 gadiem