Sam Hocevar
bca049e6d7
* Changed the 2nd argument of cucul_create_export to a string. This way we
can add new exporters without changing the API.
18 vuotta sitten
Sam Hocevar
41db7b066a
* Implemented cucul_load() to reload a file that was saved with the
raw driver. I know it is inconsistent to have the loader in libcucul
and the exporter in libcaca but I'll find a way to harmonise that.
18 vuotta sitten
Sam Hocevar
3c3e37ca65
* Implemented cucul_invert() to invert a canvas' colours.
18 vuotta sitten
Sam Hocevar
af94141959
* Minor addition to the rotate code.
18 vuotta sitten
Jean-Yves Lamoureux
604852e3ba
* Ok, invert works. OK OK SAM THAT WAS MY FAULT
AHAHAH _
_._ _..._ .-', _.._(`))
'-. ` ' /-._.-' ',/
) MAIS \ '.
/ _ _ | JE \
| a a / SUIS |
\ .-. ;
'-('' ).-' ,' UN ;
'-; | .'
\ VIEUX \ /
| 7 .__ _.-\ \
| | | ``/ /` /
/,_| | /,_/ /
/,_/ '`-'
POOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOORC!
18 vuotta sitten
Jean-Yves Lamoureux
f53bc3937a
* Added bitmap invert routine. It doesn't work well, so don't use it right now. Sam is working hard to correct the strange behaviour.
18 vuotta sitten
Sam Hocevar
376404bc80
* Removed spurious prototype.
18 vuotta sitten
Sam Hocevar
caa62f3158
* Added missing ASCII characters to cucul_rotate().
18 vuotta sitten
Sam Hocevar
6db26f7487
* Made cucul_putchar32() an internal-only function.
* Changed the line, box, ellipsis etc. prototypes so that they use an UTF-8
string instead of a single character as their last argument.
18 vuotta sitten
Sam Hocevar
571de1af04
* Renamed cucul_init()/cucul_end() into cucul_create()/cucul_free().
18 vuotta sitten
Sam Hocevar
6eb822234b
* Added more characters to the flip/rotate routines.
18 vuotta sitten
Sam Hocevar
1d374910e4
* Added cucul_flip(), cucul_flop() and cucul_transform() to perform
operations on canvases.
18 vuotta sitten
Sam Hocevar
77f995023d
* Slightly changed header comments.
18 vuotta sitten
Sam Hocevar
1c7d39a015
* Optimise cucul_blit() by using memcpy() if there is no mask.
18 vuotta sitten
Sam Hocevar
73aad0447c
* Added the cucul_blit() function. It lets us blit various canvas one
onto the other with an optional mask.
18 vuotta sitten
Sam Hocevar
f3698cd490
* Fixed an uninitialised structure member.
18 vuotta sitten
Sam Hocevar
6b0f180e2f
* Renamed cucul/char.c into cucul/canvas.c because I'm adding stuff there
that is a bit more high level than characters.
18 vuotta sitten
Sam Hocevar
2c80bf875b
* Renamed cucul_get_export() to cucul_create_export().
18 vuotta sitten
Sam Hocevar
36886a339e
* Removed the cucul_t * argument from cucul_create_bitmap(). It's not needed.
18 vuotta sitten
Sam Hocevar
c979bc6eae
* Changed the cucul_init parameter so that it now directly accepts a
canvas size (use cucul_init(0, 0) for the old behaviour).
18 vuotta sitten
Sam Hocevar
a20393e0b2
* Removed code that did not need to be duplicated.
18 vuotta sitten
Sam Hocevar
5fff7db514
* Use ln(x) = 2 * (t + t^3/3 + t^5/5 + ...) with t = (x-1)/(x+1).
18 vuotta sitten
Sam Hocevar
c5f841bb96
* Got rid of cucul_powf(), too complex to implement and no longer used.
18 vuotta sitten
Sam Hocevar
b662acdd4e
* Added optional support for CP437 gray blocks in the bitmap renderer.
* Use a custom pow() function for gamma computation.
18 vuotta sitten
Sam Hocevar
382e1148ff
* Tried to do something with cucul_powf. It currently sucks.
18 vuotta sitten
Sam Hocevar
dcaccc744c
* Got rid of useless parameters in cucul_*_bitmap and cucul_*_sprite.
18 vuotta sitten
Sam Hocevar
02ccf6ec3b
* Cosmetic fixes.
19 vuotta sitten
Sam Hocevar
bb1cedf858
* Renamed cucul_buffer to cucul_export. Vanilla rum rules.
19 vuotta sitten
Sam Hocevar
417b598d8d
* Factorised some charset handling code into a new cucul/charset.c file.
19 vuotta sitten
Sam Hocevar
8d698a1158
* Full Unicode support in the SVG exporter.
19 vuotta sitten
Sam Hocevar
08627c3231
___
',_`""\ .---,
\ :-""``/` |
Ahaha mais vieux porc !! `;' //`\ /
/ __ | ('.
|_ ./O)\ \ `) \
_/-. ` `"` |`
.-=; ` /
/o o \ ,_, .
L._._;_.-' .
`'-.` '
`. '
'-._. -'
19 vuotta sitten
Sam Hocevar
a44f52039e
* Fixed Unicode handling and improved coding style in the SVG exporter.
19 vuotta sitten
Sam Hocevar
6a0861c9b3
* Fixed syntax errors in the generated PostScript document if ( ) \ or
Unicode characters are encountered.
19 vuotta sitten
Sam Hocevar
e48078c585
* Optimised for speed and space, fixed a few bugs, and improved coding style
in the PS exporter (vieux porc !).
19 vuotta sitten
Sam Hocevar
67ee65c720
* Comment clarification.
19 vuotta sitten
Sam Hocevar
2b5680bd1d
* Unicode support in the HTML exporter.
19 vuotta sitten
Jean-Yves Lamoureux
babd688b59
* Added the SVG exporter sources. SAM IS KOREA KEKEKEK ^^
*p_e_n_i_s_b_i_r_d_p_e_n_i_s_b_i_r_d_*
p______...___________________________p
e____(_..__`'-.,--,__________________e
n_____'-._'-.__`\a\\_________________n
i_________'.___.'_(|_________________i
s____________7____||_________________s
b___________/___.'_|_________________b
i__________/_.-'__,J_________________i
r_________/_________\________________r
d________||___/______;_______________d
*________||__|_______|_______________*
p________`\__\_______|__/__''\_______p
e__________'._\______/.-`____{}|_____e
n___________/\_`;_.-'_________/______n
i___________\_;(((____.--'\_/________i
s_________.(((_____.-;\______________s
b____.--'`_____,;`'.'-;\_____________b
i_taco's____.'____'._.'\\____________i
r_dick_--'_________|__\_|____________r
d__________________\_\,_/____________d
*p_e_n_i_s_b_i_r_d_p_e_n_i_s_b_i_r_d_*
19 vuotta sitten
Jean-Yves Lamoureux
d1f6bb6759
* Added preliminary (but working) SVG exporter
19 vuotta sitten
Sam Hocevar
9e698966f2
* Replaced all cucul_get_* exporters with a generic cucul_export() function.
* Got rid of static buffers; we now use cucul_free() to free exported
buffers.
* Fixed light background in the ANSI exporter by adding escape sequences for
most terminal emulators.
19 vuotta sitten
Sam Hocevar
24a9ef1046
* STATIC char const. AHAHAHAHA.
19 vuotta sitten
Jean-Yves Lamoureux
f7354acf01
* Cosmetic changes. AHAHAH I COMMITED IT MYSELF.
19 vuotta sitten
Jean-Yves Lamoureux
baa88bc526
* Postscript exporter now kinda works. Paper size to be fixed
19 vuotta sitten
Jean-Yves Lamoureux
9071a26bb9
* Added preliminary Postscript (tm) (r) (c) exporter.
19 vuotta sitten
Sam Hocevar
1089986b79
* Fixed end of lines in the ANSI exporter (CRLF, not LFCR).
19 vuotta sitten
Jean-Yves Lamoureux
c30c66d032
* Renamed exporter_* to export_*, from God recommendation.
19 vuotta sitten
Jean-Yves Lamoureux
1971191c09
* Exploded cucul/export.c
19 vuotta sitten
Jean-Yves Lamoureux
1c6bfd09a1
* Fixed configure script to check for UTF8 enabled slang, removed network driver debug output, added size > 255 in telnet negociation, fixed scrolling bug in network driver
19 vuotta sitten
Sam Hocevar
6e652d1e47
* Preliminary support for UTF-8 in cucul_putstr(). Also added a
cucul_putchar32() function but I'm not convinced it will be useful.
19 vuotta sitten
Sam Hocevar
c063b0a54d
* Added assembly code for inb() and outb().
* Print a small message at kernel boot time just to check that the kernel
was properly loaded.
19 vuotta sitten
Jean-Yves Lamoureux
325211d7c4
* Added tests for malloc()'s
19 vuotta sitten