Sam Hocevar
e87056cd1b
* Implement cucul_file_tell().
16 anos atrás
Sam Hocevar
96d77f7d51
* Export cucul_file_t operations in the public header.
* Implement cucul_file_read() and cucul_file_write().
16 anos atrás
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
16 anos atrás
Sam Hocevar
ec68a634cf
* Get rid of the last long types in the API.
* Use size_t and ssize_t where appropriate.
16 anos atrás
Sam Hocevar
6a3f5c21f0
* Changed most of the long ints in the API into C99 types. WARNING: this
completely breaks compatibility with previous versions of libcaca on
64-bit systems.
16 anos atrás
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
16 anos atrás
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 anos atrás
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 anos atrás
Sam Hocevar
81d6119762
* Implemented cucul_canvas_set_figfont() from TOIlet’s open_font().
17 anos atrás
Sam Hocevar
fd9749db59
* Import io.c from TOIlet directly into libcucul. Can you see where this
is going?
17 anos atrás
Sam Hocevar
9c72677ccf
* Add cucul_get_version() and caca_get_version() and updated C++ bindings
accordingly.
* The C++ test example no longer needs "config.h".
17 anos atrás
Sam Hocevar
069f4775f0
* Tell doxygen to expand __class and __extern before parsing anything, so
we don’t end with those ugly identifiers in the documentation.
17 anos atrás
Sam Hocevar
cdebb09b64
* Added MSVC project files for the C++ bindings and the C++ test.
17 anos atrás
Sam Hocevar
5321386e24
* Damn, under Visual Studio it's _WIN32, not __WIN32__.
17 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
17 anos atrás
Sam Hocevar
52e9f2b13a
* Add proper __declspec(dllexport) tags for Win32 compilation.
* Manually export private libcaca symbols.
17 anos atrás
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 anos atrás
Sam Hocevar
a0ea39643e
* Implemented cucul_get_dither_charset() and cucul_get_dither_mode().
17 anos atrás
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 anos atrás
Sam Hocevar
7c5430e84c
* Implemented cucul_get_dither_antialias() and cucul_get_dither_color().
17 anos atrás
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 anos atrás
Sam Hocevar
d0973a09dc
* Only use __attribute__((__deprecated__)) with gcc >= 3.x.
17 anos atrás
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 anos atrás
Sam Hocevar
6982b8e426
* Implemented cucul_rotate_left_wide() and cucul_rotate_right_wide(). They
suck massively for now.
17 anos atrás
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 anos atrás
Sam Hocevar
803099a14f
* Implemented cucul_left() and cucul_right() for 90-degree rotations.
17 anos atrás
Sam Hocevar
a6a1783b88
* Implemented cucul_utf32_to_ascii() using code from Ben Wiley Sittler.
17 anos atrás
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 anos atrás
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 anos atrás
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 anos atrás
Sam Hocevar
5b08e789e4
* Re-added cucul_getchar() to the legacy functions. Debian's current version
of toilet needs it.
18 anos atrás
Sam Hocevar
40aa3b7933
* Documentation updates. Moved the canvas and font format definitions to
the Doxygen documentation.
18 anos atrás
Sam Hocevar
3243101ff0
* Rename cucul_put*() into cucul_put_*(). Updated all code to reflect that.
18 anos atrás
Sam Hocevar
f61bed2bdb
* Add cursor and handle support to canvases. Unused yet.
18 anos atrás
Sam Hocevar
8c43b304c9
* Replace _cucul_attr_to_ansi8() with a now documented cucul_attr_to_ansi()
function.
18 anos atrás
Sam Hocevar
c5a94eee07
* Export cucul_attr_to_ansi_fg() and cucul_attr_to_ansi_bg().
18 anos atrás
Sam Hocevar
88facd894c
* Switch back to UTF-32 arguments for drawing primitives, now that we
properly export cucul_utf8_to_utf32(). Evil API breakage, but no one
uses these functions anyway.
18 anos atrás
Sam Hocevar
1b491f11a9
* Implemented cucul_draw_cp437_box().
18 anos atrás
Sam Hocevar
819dab40e7
* Implemented cucul_putattr(), cucul_putchar()'s attribute equivalent.
18 anos atrás
Sam Hocevar
1cb8d02560
* Set the cucul_import_memory() buffer type to void const * instead of
unsigned char const * so that C++ programs won't complain.
___ __ __ ____ ___ ___ ___
/ _ \| \/ |/ ___| / _ \ / _ \ / _ \
| | | | |\/| | | _ | (_) | (_) | (_) |
| |_| | | | | |_| | \__, |\__, |\__, |
\___/|_| |_|\____| /_/ /_/ /_/
18 anos atrás
Sam Hocevar
391bc8b493
* Renamed cucul_export() to cucul_export_memory(), paves the way for a
cucul_export_file() but I'm not sure yet this is a good idea.
* Use the new import/export API in libcaca.
18 anos atrás
Sam Hocevar
e3b2d76bd6
* Renamed cucul_import() to cucul_import_memory() and implemented
cucul_import_file().
18 anos atrás
Sam Hocevar
17f272c4c4
* Deprecate buffer management. We're back to standard void* memory areas.
18 anos atrás
Sam Hocevar
c6de6df5f7
* Remove legacy cucul_ansi_to_str() from cucul.h.
18 anos atrás
Sam Hocevar
67ff5d5b1d
* Got rid of cucul_ansi_to_str(), it's really useless.
* Partial update of the C++ bindings.
* Updated documentation.
18 anos atrás
Sam Hocevar
42c9518d2a
* Got rid of cucul_ansi_to_attr() and cucul_argb_to_attr() and restored
cucul_set_color() and cucul_set_truecolor() under the new names
cucul_set_color_ansi() and cucul_set_color_argb().
* Renamed cucul_get_color_name() into cucul_ansi_to_str().
18 anos atrás
Sam Hocevar
c3bcb0052e
* Add back cucul_set_color() and cucul_set_truecolor() but mark them as
deprecated using GCC attributes.
18 anos atrás