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
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
18 years ago
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 years ago
Sam Hocevar
8e12dbeba6
* Truecolor support for the HTML and HTMLv3 exporters.
18 years ago
Sam Hocevar
351fad7e15
* Fixed a bug in _cucul_argb32_to_rgb24fg/bg().
18 years ago
Sam Hocevar
ac3283f07f
* Cosmetic code changes and minor optimisations.
18 years ago
Sam Hocevar
66e06a687c
* Merged again all export functions into cucul/export.c. They're all the
same and they're very short (50-100 lines).
18 years ago
Sam Hocevar
c5b827a44e
* Changed the buffer type in cucul_render_canvas() to void* to avoid
compilation warnings.
18 years ago
Sam Hocevar
c778d5301c
* Removed math.c from cucul, it's beyond uselessness. Kept cucul_rand in
cucul.c just in case.
18 years ago
Sam Hocevar
47229fa0b3
* Truecolor support in the SVG and PostScript exporters.
18 years ago
Sam Hocevar
b5f00c459c
* Implemented TGA image export.
18 years ago
Sam Hocevar
5a476a29ae
* Implemented argb32 to rgb24fg/bg colour conversions.
18 years ago
Sam Hocevar
3af72ff5f8
* Fixed abusive strictness in the font loader.
18 years ago
Sam Hocevar
9f0a475645
* Moved cucul_set_color() from canvas.c to colour.c.
* Added cucul_set_truecolor() for non-ANSI colours.
* Added new argb32 -> rgb12 conversion functions.
18 years ago
Sam Hocevar
17c065a49e
* Replaced "struct cucul_*" and "struct caca_*" types with opaque typedefs
such as cucul_dither_t instead of struct cucul_dither.
* Made cucul_buffer_t an opaque structure and implemented the two getters
cucul_get_buffer_data() and cucul_get_buffer_size().
* Documented all missing functions and function parameters.
18 years ago
Sam Hocevar
ab3a5d8f90
* Fixed bad library name in pc file.
18 years ago
Jean-Yves Lamoureux
408b8757eb
* Updated MSVC++ project (static library and src/*)
18 years ago
Sam Hocevar
2c5ccb65e6
* Improved documentation in many places.
18 years ago
Sam Hocevar
7b216060b4
* Ahaha I didn't even check that it compiled properly.
18 years ago
Sam Hocevar
99aa400f26
* Only support version 1 fonts.
18 years ago
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
18 years ago
Sam Hocevar
93d3548d58
* Added a lot of sanity checks to the font parsing. It should now be
secure against broken files, but it probably needs peer review.
18 years ago
Sam Hocevar
1911e368f4
* Fixed compilation warning.
18 years ago