Sam Hocevar
54d459067a
* Implemented cucul_get_frame_name() and cucul_set_frame_name().
* Renamed cucul_*_canvas_frame() to cucul_*_frame() because we bloody well
know that a frame belongs to a canvas.
před 18 roky
Sam Hocevar
46b84c8c02
* Fix a bug in cucul_set_canvas_size() that caused the default attribute
to be ignored.
před 18 roky
Sam Hocevar
f61bed2bdb
* Add cursor and handle support to canvases. Unused yet.
před 18 roky
Sam Hocevar
9fb85b253c
* Prepare the way for per-frame width/height information.
před 18 roky
Sam Hocevar
25344d89b0
* Got rid of the now unused _cucul_strlen_utf8() and _cucul_skip_utf8()
functions. They're obsoleted by cucul_utf8_to_utf32() and rendered useless
by fullwidth character support.
před 18 roky
Sam Hocevar
d549d07c0a
* Got rid of very old _cucul_init_dither() function call.
před 18 roky
Sam Hocevar
8c43b304c9
* Replace _cucul_attr_to_ansi8() with a now documented cucul_attr_to_ansi()
function.
před 18 roky
Sam Hocevar
86301dd48c
* Use the LSB of alpha and blue components to encode additional flags such
as bold or underline. No higher level support for these yet, but at
least everything is consistent.
* Created cucul_set_attr_ansi() and cucul_set_attr_argb() which are bound
to replace cucul_set_color() and cucul_set_truecolor().
před 18 roky
Sam Hocevar
4711611e3f
* Support for fullwidth glyphs in the libcaca output drivers.
před 18 roky
Sam Hocevar
b45eea0b39
* Support for fullwidth (= double width) Unicode characters.
před 18 roky
Sam Hocevar
9137c0a059
* Export the UTF-8 / UTF-32 / CP437 character conversions to applications.
před 18 roky
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.
před 18 roky
Sam Hocevar
4d029660e1
* Implemented the private _cucul_utf32_to_utf8() helper.
před 18 roky
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.
před 18 roky
Sam Hocevar
235504d81a
* More error checking in libcucul.
před 18 roky
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
před 18 roky
Sam Hocevar
9a65579cf6
* Support for multiple frames in canvases.
před 18 roky
Sam Hocevar
046c004862
* Got rid of cv->scratch_line. It's unused, too.
před 18 roky
Sam Hocevar
beda391b6b
* Got rid of cv->empty_line, it's now unused.
před 18 roky
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.
před 18 roky
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
před 18 roky
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).
před 18 roky
Sam Hocevar
b5f00c459c
* Implemented TGA image export.
před 18 roky
Sam Hocevar
5a476a29ae
* Implemented argb32 to rgb24fg/bg colour conversions.
před 18 roky
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.
před 18 roky
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.
před 18 roky
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
před 18 roky
Sam Hocevar
41d475589c
* Renamed cucul_export into cucul_buffer. We'll use it for other things.
před 18 roky
Sam Hocevar
9369b9a48f
* Created internal function _cucul_argb32_to_argb4() that splits an argb
fg/bg value into its separate argb 4-bit fields.
před 18 roky
Sam Hocevar
58ff9ea1f5
* Renamed *bitmap to *dither. Ben ouais connard, je fais ce que je veux.
před 18 roky
Sam Hocevar
988f2f4e92
* Replaced enum cucul_color with unsigned int. The size of an enum is not
really portable, and Visual Studio complains when they are not explicitely
cast.
před 18 roky
Sam Hocevar
a8990ca5a6
* Replaced occurrences of "rgba" with "argb".
před 18 roky
Sam Hocevar
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
před 18 roky
Sam Hocevar
cfadd8b64d
* Removed CUCUL_BACKGROUND, CUCUL_ANTIALIASING and CUCUL_DITHERING
environment variables handling. Replaced that with three per-bitmap
functions: cucul_set_bitmap_antialias(), cucul_set_bitmap_color() and
cucul_set_bitmap_dithering().
* Added cucul_set_bitmap_brightness() and cucul_set_bitmap_contrast()
prototypes (but did not implement them yet).
* Added cucul_set_bitmap_charset() to choose what characters are going
to be used for the bitmap rendering.
* Removed the now useless cucul_get_feature(), cucul_set_feature() etc.
před 18 roky
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.
před 18 roky
Sam Hocevar
77f995023d
* Slightly changed header comments.
před 18 roky
Sam Hocevar
02ccf6ec3b
* Cosmetic fixes.
před 19 roky
Sam Hocevar
417b598d8d
* Factorised some charset handling code into a new cucul/charset.c file.
před 19 roky
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.
před 19 roky
Jean-Yves Lamoureux
9071a26bb9
* Added preliminary Postscript (tm) (r) (c) exporter.
před 19 roky
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
před 19 roky
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.
před 19 roky
Jean-Yves Lamoureux
5a09b684fe
* Updated README for network driver, fixed remaining exporters
před 19 roky
Sam Hocevar
15ac34a918
* Added glue code to compile libcaca without a libc and build applications
as multiboot kernels.
před 19 roky
Jean-Yves Lamoureux
a676487863
* Changed way temporary buffer of ansi export was handled. Need to do that for other exporters as well.
před 19 roky
Sam Hocevar
73e689b2a3
* Fixed DOS driver.
* Added a build-dos script to cross-compile the DOS version using djgpp.
před 19 roky
Sam Hocevar
70d96c811b
* Polished the driver split a bit (still no events, except resize events),
properly credited authors and documented a few things.
před 19 roky
Sam Hocevar
4f59010b4c
* Moved stuff around to differenciate between libcucul and libcaca.
před 19 roky
Sam Hocevar
6c6beb3541
* Use 32 bit integers for the character array. No visible difference for
now because we only do ASCII, but that will let us do Unicode later.
před 19 roky
Sam Hocevar
6d99c79d26
* All output plugins should now work again.
* Renamed caca_refresh() into caca_display() which makes more sense.
* Optimised gl_bgpal by directly storing floats instead of doing the
conversion at runtime.
* Handle resizing in cucul_set_size() and try to keep as much information
as possible from the previous canvas.
* Moved most global variables into cucul_t or caca_t contexts.
* Moved time.c into libcaca.
před 19 roky