Sam Hocevar
d14a4dddfb
* U+214B TURNED AMPERSAND
18 vuotta sitten
Sam Hocevar
6d904c57f8
* Fixed cucul_create_canvas()'s documentation.
18 vuotta sitten
Sam Hocevar
1f8549fc6a
* Fixed typos in cucul/dither.c that prevented using ordered dither modes,
thanks to Sean D'Epagnier.
18 vuotta sitten
Sam Hocevar
a1deddf2a6
* Fixed an out of bounds bug in cucul_blit().
18 vuotta sitten
Sam Hocevar
58f3935f0f
* Have cucul_utf8_to_utf32 write how many bytes it read.
* Use that in the SLang driver so that it supports UTF-8 input.
18 vuotta sitten
Sam Hocevar
a2e45e47da
* Fix warnings in a few exporters. Do not assume %d accepts uint32_t without
an explicit cast.
18 vuotta sitten
Sam Hocevar
aca46d3f39
* Added -I${top_srcdir} to the compilation flags to fix builds configured
from an alternate directory (they failed to find common.h).
18 vuotta sitten
Sam Hocevar
87017d7914
* Documented the newly exported charset functions.
18 vuotta sitten
Sam Hocevar
9137c0a059
* Export the UTF-8 / UTF-32 / CP437 character conversions to applications.
18 vuotta sitten
Sam Hocevar
c5d74fb9f7
* Regenerated fonts and reactivated them under Win32.
18 vuotta sitten
Sam Hocevar
7754db5ccf
* Changed cucul_putchar's prototype so that it accepts a 32-bit unsigned
int which shall be used as an UTF-32 character. We do not have any casting
problems due to the signedness of chars because all characters were
ASCII (ie. <= 0x7f) beforehands.
18 vuotta sitten
Sam Hocevar
8ac089aa7a
* Workaround for illegal ^[[0,0H ANSI escape code.
18 vuotta sitten
Sam Hocevar
aa6cb520ab
* Use UTF-32 instead of UTF-8 in the dithering glyph block list for slightly
better performances.
18 vuotta sitten
Sam Hocevar
ca5c87ae1b
* Add linebreaks to the ANSI exporter for better readability, and use
the save/load cursor position trick to ignore them.
18 vuotta sitten
Jean-Yves Lamoureux
5612b86ce6
* Fixed postscript exporter, image in not at the bottom of the page anymore
18 vuotta sitten
Sam Hocevar
2c49303c3e
* Optimise built-in fonts. We gain about 100kB in the final binary.
18 vuotta sitten
Sam Hocevar
ee55871e3f
* If the ANSI file we import does not use the 80 columns, we don't expand
the canvas to 80 columns.
18 vuotta sitten
Sam Hocevar
17e1e490d6
* Added a few more Unicode blocks to the default fonts.
18 vuotta sitten
Sam Hocevar
e8d6429506
* Added a few more Unicode characters to the glyph transformations.
18 vuotta sitten
Sam Hocevar
d6e4744861
* Changed the cucul_create_dither() prototype to make sure the mask
arguments are at least 32 bits.
18 vuotta sitten
Sam Hocevar
dcbcc123c4
* Updated fonts with the new hardcoded CP437 glyphs.
18 vuotta sitten
Sam Hocevar
7d75811a8b
* Use _cucul_utf32_to_utf8() instead of the inline code in the UTF-8 and
SVG exporters.
18 vuotta sitten
Sam Hocevar
4d029660e1
* Implemented the private _cucul_utf32_to_utf8() helper.
18 vuotta sitten
Sam Hocevar
9091804367
* Exporter now generates valid ANSI, with CP437 characters.
18 vuotta sitten
Sam Hocevar
9d482f7762
* Added "utf8" export that is like ANSI but exports UTF-8 encoded coloured
text.
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
18 vuotta sitten
Jean-Yves Lamoureux
758db0ca7b
* coding style fixes again
18 vuotta sitten
Sam Hocevar
c117cb2411
* Fixed line wrapping on some weird ANSI files.
18 vuotta sitten
Sam Hocevar
d82754532b
* Fixed an ANSI rendering bug related to the bold attribute.
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
b3ffcad709
* Minor code reorganisation and documenting.
18 vuotta sitten
Sam Hocevar
af3b09f1f5
* In ANSI, bold only sets the foreground colour to bright, not the
background.
18 vuotta sitten
Jean-Yves Lamoureux
d8fad53ba0
* Really updated doc
18 vuotta sitten
Jean-Yves Lamoureux
7ed107c9fe
* Fixed documentation for import
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
89355c1e39
* Argh, _really_ fixed the uninitialised variable.
18 vuotta sitten
Sam Hocevar
fb928813b2
* Fixed an uninitialised variable.
18 vuotta sitten
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 vuotta sitten
Sam Hocevar
5e18b3450f
* More robust ANSI sequence argument parser. Detects private sequences and
intermediate bytes.
18 vuotta sitten
Jean-Yves Lamoureux
2450e5ea28
* Fixed warning in a clever and tested way. Bordel de merde.
18 vuotta sitten
Sam Hocevar
e766c1d028
* Coding style.
18 vuotta sitten
Sam Hocevar
5fc912073b
* No way, dude. You cannot declare x and y unsigned if you test for (x < 0).
18 vuotta sitten
Jean-Yves Lamoureux
579b928b7e
* Fixed warnings in ansi importer
18 vuotta sitten
Sam Hocevar
dce6200136
* More cleaning up of the ANSI loader. Fixed reverse video.
18 vuotta sitten
Sam Hocevar
42b967ec0e
* Set the transparent colour's RGB values to the default colour's ones.
18 vuotta sitten
Jean-Yves Lamoureux
ad6543c152
* Improved ANSI format detection
18 vuotta sitten
Sam Hocevar
c3bbd62830
* Really fixed bold in ANSI loader, and removed dead code.
18 vuotta sitten
Sam Hocevar
e499f61ff9
* Simplified _manage_modifiers() a bit.
18 vuotta sitten
Sam Hocevar
bdfd1a250d
* Fixed bold support in ANSI loader.
18 vuotta sitten