Sam Hocevar
e1562a8d46
libcaca: move codecs and import/export functions into subdirectories.
преди 16 години
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
преди 16 години
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 години
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
преди 16 години
Sam Hocevar
ec68a634cf
* Get rid of the last long types in the API.
* Use size_t and ssize_t where appropriate.
преди 16 години
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 години
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 години
Sam Hocevar
b8d3f71ae8
* Fix canvas export for the caca format. We now export all frames.
* Fix the sprite import/export example.
преди 17 години
Sam Hocevar
ac91d59360
* Add a French BBCode exporter, for use on http://libcaca.skyrock.com/ for
instance.
преди 17 години
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 години
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
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
преди 17 години
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
f1f00897c5
* Fix shadowing declarations.
преди 18 години
Sam Hocevar
55765045c8
* Support for CUCUL_DEFAULT and CUCUL_TRANSPARENT in the HTML exporters.
* Updated export test accordingly.
преди 18 години
Sam Hocevar
51936f585c
* Got rid of HAVE_ERRNO_H ifdefs by defining seterrno()/geterrno() functions.
* More debugging information in the import/export and font functions.
преди 18 години
Sam Hocevar
18f1f68be7
* Add a debug() function and a --enable-debug configure flag.
преди 18 години
Sam Hocevar
40aa3b7933
* Documentation updates. Moved the canvas and font format definitions to
the Doxygen documentation.
преди 18 години
Sam Hocevar
aa3e191ccd
* Documentation fixes and TODO updates.
преди 18 години
Sam Hocevar
f61bed2bdb
* Add cursor and handle support to canvases. Unused yet.
преди 18 години
Sam Hocevar
25d0366fe6
* Get rid of _cucul_attr_to_ansi4[fb]g() and replace all calls with
the now official cucul_attr_to_ansi_[fb]g().
преди 18 години
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 години
Sam Hocevar
17f272c4c4
* Deprecate buffer management. We're back to standard void* memory areas.
преди 18 години
Sam Hocevar
98ee92b2d0
* Updated the caca export format so that it supports multiple frames.
* Updated the caca importer to reflect that; only one frame is read at the
moment.
* Added an "utf8cr" export format for UTF-8 + CRLF exports.
* Updated cacaserver to reflect file format changes.
преди 18 години
Sam Hocevar
019938c9ae
* Changed cucul_set_attr() so that only setting the style does not change
the colour.
преди 18 години
Sam Hocevar
111447fe27
* Blink/Underline/Bold/Italics support in the HTML exporters.
* Underline support in the X11 driver.
преди 18 години
Sam Hocevar
142a830571
* Fix IRC and term transparency (again).
преди 18 години
Sam Hocevar
0b37a307dd
* Get rid of cucul_set_attr_ansi() and cucul_set_attr_argb and merge the
functionality into cucul_set_attr().
* Add cucul_ansi_to_attr() and cucul_argb_to_attr().
* Rename CUCUL_COLOR_* to CUCUL_*.
преди 18 години
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 години
Sam Hocevar
b8641f0435
* Put at least one space in empty IRC lines otherwise most clients won't
output them.
преди 18 години
Sam Hocevar
89bbe6b93e
* Support export of zero-sized canvases.
преди 18 години
Sam Hocevar
5f9d557f2f
* Do not output \r in the UTF-8 exporter.
преди 18 години
Sam Hocevar
df13e2a2e1
* Updated documentation of fullwidth-aware functions.
* Fullwidth support in all exporters.
преди 18 години
Sam Hocevar
d0370af6d3
* Fixed a bug in the IRC exporter that could break the output when there
were commas in the canvas.
преди 18 години
Sam Hocevar
78c6fc2e6e
* Support transparency in the colour UTF-8 exporter.
преди 18 години
Sam Hocevar
23afd54c7c
* Fix enumeration layout in the manpage documentation.
преди 18 години
Sam Hocevar
a984440ecc
* Handle transparency in the IRC export.
преди 18 години
Sam Hocevar
1372caac6c
* Really export IRC as UTF-8, as advertised in the documentation.
преди 18 години
Sam Hocevar
a2e45e47da
* Fix warnings in a few exporters. Do not assume %d accepts uint32_t without
an explicit cast.
преди 18 години
Sam Hocevar
9137c0a059
* Export the UTF-8 / UTF-32 / CP437 character conversions to applications.
преди 18 години
Sam Hocevar
ca5c87ae1b
* Add linebreaks to the ANSI exporter for better readability, and use
the save/load cursor position trick to ignore them.
преди 18 години
Jean-Yves Lamoureux
5612b86ce6
* Fixed postscript exporter, image in not at the bottom of the page anymore
преди 18 години
Sam Hocevar
7d75811a8b
* Use _cucul_utf32_to_utf8() instead of the inline code in the UTF-8 and
SVG exporters.
преди 18 години
Sam Hocevar
9091804367
* Exporter now generates valid ANSI, with CP437 characters.
преди 18 години
Sam Hocevar
9d482f7762
* Added "utf8" export that is like ANSI but exports UTF-8 encoded coloured
text.
преди 18 години
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
преди 18 години
Sam Hocevar
38c4a8b608
* Implemented cucul_load_file() and cucul_load_memory() to load respectively
a file and a memory area into a libcucul buffer.
* Changed the cucul_import_canvas() prototype so that it uses libcucul
buffers instead of simple memory areas.
преди 18 години
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
преди 18 години
Sam Hocevar
43e1514520
* Print '?' for Unicode characters in the ANSI export. We'll decide later
whether we want plain ASCII, UTF-8, or CP437.
преди 18 години