Sam Hocevar
3e3210abc8
Remove spurious tabs from source.
před 14 roky
Pascal Terjan
d9a814e437
* Improve rotated T, add P Q R ; 3 4
před 14 roky
Pascal Terjan
2014be66e4
* Add a rotated T
před 14 roky
Sam Hocevar
9456dcc2f3
Add new Unicode characters to other transformation routines.
před 14 roky
Pascal Terjan
919055b686
* Add few unicode charecters to the flip table
před 14 roky
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
před 15 roky
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
před 15 roky
Jean-Yves Lamoureux
0b2675c74d
* Removed trailing spaces (fsking GNU Ident) (GNU, COINCIDENCE ? I THINK NOT!) and lonely tab
před 15 roky
Pascal Terjan
52a0decd07
* Fix a segfault in rotate_180 on 0 sized canvas
před 15 roky
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.
před 15 roky
Pascal Terjan
3e1a1d2679
* Add rotated epsilon
před 15 roky
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.
před 15 roky
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.
před 15 roky
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.
před 15 roky
Sam Hocevar
7e70f6183a
transform.c: one more rotated glyph.
před 15 roky
Sam Hocevar
6e5b4d29d6
transform.c: add new transformation glyphs for various capital letters.
před 15 roky
Pascal Terjan
d17c0e5ce7
* Add a flip char for 1
před 16 roky
Pascal Terjan
cd00d4bd33
* Add a rotate_180 char for G
před 16 roky
Sam Hocevar
fae3c19835
libcaca: add fallback rotated glyphs to cope with third-party software.
před 16 roky
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
před 16 roky
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.
před 16 roky
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
před 16 roky
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.
před 16 roky
Sam Hocevar
38f08d7e72
* Added a few rotation pairs. Nothing awesome.
před 17 roky
Sam Hocevar
95f28cd883
* Improve rotation output by avoiding white-on-black attributes to appear
due to spaces.
před 17 roky
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.
před 17 roky
Sam Hocevar
4e6ef71aed
* More widechar rotations. \/ > /\ < is cool.
před 17 roky
Sam Hocevar
de9ba793a7
* More widechar rotation pairs.
před 17 roky
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.
před 17 roky
Sam Hocevar
64e11f119b
* More characters for the wide rotations.
* Updated test/text to show what the wide rotations now do.
před 17 roky
Sam Hocevar
a936f95c75
* Use j/ḷ and l/ȷ pairs in glyph rotation.
před 17 roky
Sam Hocevar
6982b8e426
* Implemented cucul_rotate_left_wide() and cucul_rotate_right_wide(). They
suck massively for now.
před 17 roky
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.
před 17 roky
Sam Hocevar
803099a14f
* Implemented cucul_left() and cucul_right() for 90-degree rotations.
před 17 roky
Sam Hocevar
17109d0964
* Added more box glyphs to the canvas transformations, courtesy of Ben Wiley
Sittler.
před 17 roky
Sam Hocevar
66fb91bec2
* The transformation rules didn’t have ⅃ ⅄ ⅂.
před 18 roky
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
před 18 roky
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
před 18 roky
Sam Hocevar
a17cf905f2
* Added some box drawing glyphs that are used by TOIlet's future.tlf font
to the flip/flop/rotation filters.
před 18 roky
Sam Hocevar
1cdaa755ae
* Documented flip/flop/rotate as being involutive.
* Updated text test.
před 18 roky
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().
před 18 roky
Sam Hocevar
26c3ea1aa4
* Removed "This function..." constructs from documentation. Fixed a few
documentation errors or imprecisions.
před 18 roky
Sam Hocevar
f4cfb692bb
* Fix rotation of the 'u' glyph, and added a flop/rotate char for '"'.
před 18 roky
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.
před 18 roky
Sam Hocevar
76c24c5a78
* Added block drawing glyphs to the flip/flop/rotate functions.
* Made these functions fullwidth-aware.
před 18 roky
Sam Hocevar
d14a4dddfb
* U+214B TURNED AMPERSAND
před 18 roky
Sam Hocevar
e8d6429506
* Added a few more Unicode characters to the glyph transformations.
před 18 roky
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
před 18 roky
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
před 18 roky
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
před 18 roky