Jean-Yves Lamoureux
0b2675c74d
* Removed trailing spaces (fsking GNU Ident) (GNU, COINCIDENCE ? I THINK NOT!) and lonely tab
15 vuotta sitten
Pascal Terjan
52a0decd07
* Fix a segfault in rotate_180 on 0 sized canvas
15 vuotta sitten
Sam Hocevar
5269cad56c
Allow to temporarily disable dirty rectangle handling. This allows for huge
speedups when the calling application knows the dirty rectangle covered by
a complex operation.
15 vuotta sitten
Pascal Terjan
3e1a1d2679
* Add rotated epsilon
15 vuotta sitten
Sam Hocevar
ea99175a2f
Change the dirty rectangle API once again so that calling applications get
a more natural (x,y,w,h) 4-tuple to handle.
15 vuotta sitten
Sam Hocevar
a6b98c2518
Change the dirty rectangle API so that it can handle several rectangles. The
inner implementation still only handles one dirty rectangle, but this way
we can prepare supporting applictions for the future.
15 vuotta sitten
Sam Hocevar
3a6f4323ec
Finish the dirty rectangle architecture. They are now reliable in the sense
that anything outside the dirty rectangle is guaranteed to be unchanged, but
we currently mark far too many cells as dirty. This must be optimised.
15 vuotta sitten
Sam Hocevar
7e70f6183a
transform.c: one more rotated glyph.
16 vuotta sitten
Sam Hocevar
6e5b4d29d6
transform.c: add new transformation glyphs for various capital letters.
16 vuotta sitten
Pascal Terjan
d17c0e5ce7
* Add a flip char for 1
16 vuotta sitten
Pascal Terjan
cd00d4bd33
* Add a rotate_180 char for G
16 vuotta sitten
Sam Hocevar
fae3c19835
libcaca: add fallback rotated glyphs to cope with third-party software.
16 vuotta sitten
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
16 vuotta sitten
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.
16 vuotta sitten
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
16 vuotta sitten
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 vuotta sitten
Sam Hocevar
38f08d7e72
* Added a few rotation pairs. Nothing awesome.
17 vuotta sitten
Sam Hocevar
95f28cd883
* Improve rotation output by avoiding white-on-black attributes to appear
due to spaces.
17 vuotta sitten
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 vuotta sitten
Sam Hocevar
4e6ef71aed
* More widechar rotations. \/ > /\ < is cool.
17 vuotta sitten
Sam Hocevar
de9ba793a7
* More widechar rotation pairs.
17 vuotta sitten
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 vuotta sitten
Sam Hocevar
64e11f119b
* More characters for the wide rotations.
* Updated test/text to show what the wide rotations now do.
17 vuotta sitten
Sam Hocevar
a936f95c75
* Use j/ḷ and l/ȷ pairs in glyph rotation.
17 vuotta sitten
Sam Hocevar
6982b8e426
* Implemented cucul_rotate_left_wide() and cucul_rotate_right_wide(). They
suck massively for now.
17 vuotta sitten
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 vuotta sitten
Sam Hocevar
803099a14f
* Implemented cucul_left() and cucul_right() for 90-degree rotations.
17 vuotta sitten
Sam Hocevar
17109d0964
* Added more box glyphs to the canvas transformations, courtesy of Ben Wiley
Sittler.
17 vuotta sitten
Sam Hocevar
66fb91bec2
* The transformation rules didn’t have ⅃ ⅄ ⅂.
18 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
a17cf905f2
* Added some box drawing glyphs that are used by TOIlet's future.tlf font
to the flip/flop/rotation filters.
18 vuotta sitten
Sam Hocevar
1cdaa755ae
* Documented flip/flop/rotate as being involutive.
* Updated text test.
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
26c3ea1aa4
* Removed "This function..." constructs from documentation. Fixed a few
documentation errors or imprecisions.
18 vuotta sitten
Sam Hocevar
f4cfb692bb
* Fix rotation of the 'u' glyph, and added a flop/rotate char for '"'.
18 vuotta sitten
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.
18 vuotta sitten
Sam Hocevar
76c24c5a78
* Added block drawing glyphs to the flip/flop/rotate functions.
* Made these functions fullwidth-aware.
18 vuotta sitten
Sam Hocevar
d14a4dddfb
* U+214B TURNED AMPERSAND
18 vuotta sitten
Sam Hocevar
e8d6429506
* Added a few more Unicode characters to the glyph transformations.
18 vuotta sitten
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
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
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
18 vuotta sitten
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
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
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
18 vuotta sitten
Sam Hocevar
3c3e37ca65
* Implemented cucul_invert() to invert a canvas' colours.
18 vuotta sitten
Sam Hocevar
af94141959
* Minor addition to the rotate code.
18 vuotta sitten
Sam Hocevar
caa62f3158
* Added missing ASCII characters to cucul_rotate().
18 vuotta sitten
Sam Hocevar
6eb822234b
* Added more characters to the flip/rotate routines.
18 vuotta sitten