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 years ago
Sam Hocevar
89355c1e39
* Argh, _really_ fixed the uninitialised variable.
18 years ago
Sam Hocevar
fb928813b2
* Fixed an uninitialised variable.
18 years ago
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 years ago
Sam Hocevar
5e18b3450f
* More robust ANSI sequence argument parser. Detects private sequences and
intermediate bytes.
18 years ago
Jean-Yves Lamoureux
2450e5ea28
* Fixed warning in a clever and tested way. Bordel de merde.
18 years ago
Sam Hocevar
e766c1d028
* Coding style.
18 years ago
Sam Hocevar
5fc912073b
* No way, dude. You cannot declare x and y unsigned if you test for (x < 0).
18 years ago
Jean-Yves Lamoureux
579b928b7e
* Fixed warnings in ansi importer
18 years ago
Sam Hocevar
dce6200136
* More cleaning up of the ANSI loader. Fixed reverse video.
18 years ago
Sam Hocevar
42b967ec0e
* Set the transparent colour's RGB values to the default colour's ones.
18 years ago
Jean-Yves Lamoureux
ad6543c152
* Improved ANSI format detection
18 years ago
Sam Hocevar
c3bbd62830
* Really fixed bold in ANSI loader, and removed dead code.
18 years ago
Sam Hocevar
e499f61ff9
* Simplified _manage_modifiers() a bit.
18 years ago
Sam Hocevar
bdfd1a250d
* Fixed bold support in ANSI loader.
18 years ago
Sam Hocevar
0a5bc9b61d
* A few fixes in the ANSI interpreter.
18 years ago
Sam Hocevar
061d2d35a4
* Got rid of _update_canvas_size().
18 years ago
Jean-Yves Lamoureux
e5ea6fb7cf
* _updated_coding_style(aBit);
18 years ago
Sam Hocevar
3f7362eabb
* Ahahaha. Meet the "optimisation" that breaks everything.
18 years ago
Sam Hocevar
930abfc743
* Small optimisation in import_text().
18 years ago
Sam Hocevar
55efedc1b2
* Really minor coding style fixes in the ANSI importer.
18 years ago
Sam Hocevar
235504d81a
* More error checking in libcucul.
18 years ago
Jean-Yves Lamoureux
2e167ab614
* Added preliminary ANSI importer, added import formats autodection
18 years ago
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 years ago
Sam Hocevar
eb2aa1aa48
* Reverted that errno stuff. We'll just use the real errno.
18 years ago
Sam Hocevar
fc6d86d835
* Added basis for an errno-like mechanism.
18 years ago
Sam Hocevar
4a1507c398
* Renamed htons/htonl to hton16/hton32 to avoid useless conflicts.
18 years ago
Sam Hocevar
19f1503d76
* On win32, only disable the built-in fonts, not all the font functions.
18 years ago
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 years ago
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
18 years ago
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 years ago
Sam Hocevar
d0b0d90e2a
* Got rid of CUCUL_LIBS. It's unused.
18 years ago
Sam Hocevar
9a65579cf6
* Support for multiple frames in canvases.
18 years ago
Sam Hocevar
7841bb6b50
* Added a simple "text" importer, until the cool ANSI importer arrives.
18 years ago
Sam Hocevar
e68c0f92b8
* Disabled the foreground/background optimisation in the IRC export because
it breaks on too many IRC clients.
18 years ago
Sam Hocevar
046c004862
* Got rid of cv->scratch_line. It's unused, too.
18 years ago
Sam Hocevar
beda391b6b
* Got rid of cv->empty_line, it's now unused.
18 years ago
Sam Hocevar
bde0e5ca7e
* Changed cucul_clear_canvas() again. It now uses the current foreground
and background colours to clear the screen.
18 years ago
Sam Hocevar
7bd6e8a406
* Set library names to lib*.so.0.10.0.
18 years ago
Sam Hocevar
4914b86cbf
* Fixed a compilation warning.
18 years ago
Sam Hocevar
accf27b445
* Minor documentation fix.
18 years ago
Sam Hocevar
2401f2c732
* Moved cucul_load_canvas() into cucul/import.c and renamed it into
cucul_import_canvas().
* Renamed cucul_create_export() into cucul_export_canvas() for consistency.
18 years ago
Sam Hocevar
2353ad9215
* Minor documentation improvements.
18 years ago
Sam Hocevar
d0dd70b64c
* Documentation improvements. Wrote a small migration guide and added the
skeleton of a tutorial for Jylam.
18 years ago
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
18 years ago
Sam Hocevar
ea3bde92a4
* Added a new "caca" exporter.
* Removed most code from the raw driver and replaced it with a call to the
caca exporter.
* Slightly changed the caca export format and updated code accordingly.
* Improved cacaserver error reporting.
18 years ago
Sam Hocevar
0deb4abc25
* Changed the cucul_dither_bitmap behaviour so that the 4 coordinates are
now x/y/width/height instead of x1/y1/x2/y2. Avoids unnecessary +1/-1
computations.
18 years ago
Sam Hocevar
e3f0d6c57d
* Changed the cucul_rand() behaviour. Now cucul_rand(0, 10) returns random
values between 0 and 9 (used to be 0 and 10). Updated documentation
accordingly.
18 years ago
Sam Hocevar
a4ac581b6f
* Renamed cucul_clear() to cucul_clear_canvas() and added an argument to
choose the background colour.
18 years ago
Sam Hocevar
18f6532dbc
* Renamed main canvas-related functions so that they have "canvas" in
their name, eg. cucul_create() -> cucul_create_canvas() etc.
* Moved buffer-related functions to cucul/buffer.c.
18 years ago