Sam Hocevar
7d75811a8b
* Use _cucul_utf32_to_utf8() instead of the inline code in the UTF-8 and
SVG exporters.
18 lat temu
Sam Hocevar
4d029660e1
* Implemented the private _cucul_utf32_to_utf8() helper.
18 lat temu
Sam Hocevar
9091804367
* Exporter now generates valid ANSI, with CP437 characters.
18 lat temu
Sam Hocevar
9d482f7762
* Added "utf8" export that is like ANSI but exports UTF-8 encoded coloured
text.
18 lat temu
Sam Hocevar
956ee0b309
* Use a slightly different RGB palette for ANSI colours, so that brown
really looks like brown and not like desaturated yellow.
18 lat temu
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
18 lat temu
Jean-Yves Lamoureux
758db0ca7b
* coding style fixes again
18 lat temu
Sam Hocevar
c117cb2411
* Fixed line wrapping on some weird ANSI files.
18 lat temu
Sam Hocevar
d82754532b
* Fixed an ANSI rendering bug related to the bold attribute.
18 lat temu
Sam Hocevar
89bfc20006
* Added Unicode range U+2200 - U+22FF (Mathematical Operators) to the
built-in font so that we now cover all of CP437.
18 lat temu
Sam Hocevar
b3ffcad709
* Minor code reorganisation and documenting.
18 lat temu
Sam Hocevar
af3b09f1f5
* In ANSI, bold only sets the foreground colour to bright, not the
background.
18 lat temu
Jean-Yves Lamoureux
d8fad53ba0
* Really updated doc
18 lat temu
Jean-Yves Lamoureux
7ed107c9fe
* Fixed documentation for import
18 lat temu
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 lat temu
Sam Hocevar
89355c1e39
* Argh, _really_ fixed the uninitialised variable.
18 lat temu
Sam Hocevar
fb928813b2
* Fixed an uninitialised variable.
18 lat temu
Sam Hocevar
d6e556e5c6
* Fixed our buffer overflow in the ANSI parser by simply skipping control
sequences longer than 100 characters.
* Documented the escape sequence format.
18 lat temu
Sam Hocevar
5e18b3450f
* More robust ANSI sequence argument parser. Detects private sequences and
intermediate bytes.
18 lat temu
Jean-Yves Lamoureux
2450e5ea28
* Fixed warning in a clever and tested way. Bordel de merde.
18 lat temu
Sam Hocevar
e766c1d028
* Coding style.
18 lat temu
Sam Hocevar
5fc912073b
* No way, dude. You cannot declare x and y unsigned if you test for (x < 0).
18 lat temu
Jean-Yves Lamoureux
579b928b7e
* Fixed warnings in ansi importer
18 lat temu
Sam Hocevar
dce6200136
* More cleaning up of the ANSI loader. Fixed reverse video.
18 lat temu
Sam Hocevar
42b967ec0e
* Set the transparent colour's RGB values to the default colour's ones.
18 lat temu
Jean-Yves Lamoureux
ad6543c152
* Improved ANSI format detection
18 lat temu
Sam Hocevar
c3bbd62830
* Really fixed bold in ANSI loader, and removed dead code.
18 lat temu
Sam Hocevar
e499f61ff9
* Simplified _manage_modifiers() a bit.
18 lat temu
Sam Hocevar
bdfd1a250d
* Fixed bold support in ANSI loader.
18 lat temu
Sam Hocevar
0a5bc9b61d
* A few fixes in the ANSI interpreter.
18 lat temu
Sam Hocevar
061d2d35a4
* Got rid of _update_canvas_size().
18 lat temu
Jean-Yves Lamoureux
e5ea6fb7cf
* _updated_coding_style(aBit);
18 lat temu
Sam Hocevar
3f7362eabb
* Ahahaha. Meet the "optimisation" that breaks everything.
18 lat temu
Sam Hocevar
930abfc743
* Small optimisation in import_text().
18 lat temu
Sam Hocevar
55efedc1b2
* Really minor coding style fixes in the ANSI importer.
18 lat temu
Sam Hocevar
235504d81a
* More error checking in libcucul.
18 lat temu
Jean-Yves Lamoureux
2e167ab614
* Added preliminary ANSI importer, added import formats autodection
18 lat temu
Sam Hocevar
981c405554
* Check for <errno.h>.
* Started changing function prototypes so that they return an integer
instead of void, just in case they might fail.
18 lat temu
Sam Hocevar
eb2aa1aa48
* Reverted that errno stuff. We'll just use the real errno.
18 lat temu
Sam Hocevar
fc6d86d835
* Added basis for an errno-like mechanism.
18 lat temu
Sam Hocevar
4a1507c398
* Renamed htons/htonl to hton16/hton32 to avoid useless conflicts.
18 lat temu
Sam Hocevar
19f1503d76
* On win32, only disable the built-in fonts, not all the font functions.
18 lat temu
Sam Hocevar
d04b853800
* Look for htons/htonl in netinet/in.h in addition to arpa/inet.h
* Implement htons/htonl in common.h just in case.
18 lat temu
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
18 lat temu
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 lat temu
Sam Hocevar
d0b0d90e2a
* Got rid of CUCUL_LIBS. It's unused.
18 lat temu
Sam Hocevar
9a65579cf6
* Support for multiple frames in canvases.
18 lat temu
Sam Hocevar
7841bb6b50
* Added a simple "text" importer, until the cool ANSI importer arrives.
18 lat temu
Sam Hocevar
e68c0f92b8
* Disabled the foreground/background optimisation in the IRC export because
it breaks on too many IRC clients.
18 lat temu
Sam Hocevar
046c004862
* Got rid of cv->scratch_line. It's unused, too.
18 lat temu