Sam Hocevar
1f5518f842
Rename caca_get_cursor_x() and caca_get_cursor_y() to caca_wherex() and
caca_wherey(), in order to match the old <conio.h> naming scheme.
vor 15 Jahren
Sam Hocevar
1d60711ac4
Mark the whole canvas as dirty when a dirty rectangle aware driver is
attached to it.
vor 15 Jahren
Sam Hocevar
ea99175a2f
Change the dirty rectangle API once again so that calling applications get
a more natural (x,y,w,h) 4-tuple to handle.
vor 15 Jahren
Sam Hocevar
222e165d21
Fix dirty rectangle handling in the X11 and SLang drivers.
vor 15 Jahren
Sam Hocevar
a6b98c2518
Change the dirty rectangle API so that it can handle several rectangles. The
inner implementation still only handles one dirty rectangle, but this way
we can prepare supporting applictions for the future.
vor 15 Jahren
Pascal Terjan
ee3018643d
Only redraw empty rectangles in slang driver
vor 15 Jahren
Sam Hocevar
e1562a8d46
libcaca: move codecs and import/export functions into subdirectories.
vor 16 Jahren
Sam Hocevar
f61816ceb7
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
vor 16 Jahren
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
vor 16 Jahren
Sam Hocevar
ec68a634cf
* Get rid of the last long types in the API.
* Use size_t and ssize_t where appropriate.
vor 16 Jahren
Sam Hocevar
99b5396e8e
* Remove #include <stdint.h> etc. from "common.h". Instead, make sure that
<cucul.h> will provide the C99 types, even if libcaca has been installed.
* Rename what's left of "common.h" to "stubs.h".
* Remove all references to erroneous <inttypes.h> from source files.
vor 16 Jahren
Sam Hocevar
3602fc98be
* The SLang and ncurses drivers now put back the TERM environment variable
if they modified it.
vor 17 Jahren
Sam Hocevar
e15e962928
* Implement caca_create_display_with_driver() to specify an output driver
without using environment variables..
* Implement caca_get_display_driver() to return the current display's
output driver.
* Add a simple example program to test caca_create_display_with_driver().
vor 17 Jahren
Sam Hocevar
07b9891afa
* Introduce cucul_get_canvas_chars() and cucul_get_canvas_attrs() to avoid
direct cv->chars and cv->attrs access by display drivers.
vor 17 Jahren
Sam Hocevar
7362a612c4
* Add cucul_manage_canvas() and cucul_unmanage_canvas(). Display
drivers no longer need to access the cv->refcount private member
and __cucul_set_canvas_size() is no longer needed.
vor 17 Jahren
Sam Hocevar
9da4d7b000
* Made the caca_event_t structure opaque and created a whole bunch of
functions to access its real data. This is a big API change that will
break your software, sorry :(
vor 17 Jahren
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
vor 17 Jahren
Sam Hocevar
31cbfb5bea
* Rename _cucul_set_canvas_size into __cucul_set_canvas_size to prevent
collisions due to symbol mangling.
vor 17 Jahren
Sam Hocevar
95e6709b10
* Implemented caca_set_cursor() on the X11, ncurses and S-Lang drivers.
* Use caca_set_cursor() in test/input.c.
vor 17 Jahren
Sam Hocevar
8c7a66761a
* Use cucul_utf32_to_ascii() when the SLang backend does not support UTF-8.
vor 17 Jahren
Sam Hocevar
c9570afbbe
* Compilation fix for systems (e.g. Darwin) where SLtt_Has_Alt_Charset does
not exist, courtesy of Ben Wiley Sittler.
vor 17 Jahren
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
vor 18 Jahren
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
vor 18 Jahren
Sam Hocevar
0dcf397cf4
* Fixed syntax errors.
vor 18 Jahren
Sam Hocevar
e1a42d9b42
* Added caca_set_cursor(). Not yet functional.
vor 18 Jahren
Sam Hocevar
519216afa2
* Add support for doublewidth characters even if ncurses or SLang don't know
about them.
vor 18 Jahren
Sam Hocevar
fcee80f87d
* Factored terminal title setting code.
* Do not try to set the terminal title if TERM=linux.
vor 18 Jahren
Sam Hocevar
dac2f4d57f
* Implemented caca_set_display_title() for ncurses and S-Lang.
vor 18 Jahren
Sam Hocevar
8c43b304c9
* Replace _cucul_attr_to_ansi8() with a now documented cucul_attr_to_ansi()
function.
vor 18 Jahren
Sam Hocevar
25d0366fe6
* Get rid of _cucul_attr_to_ansi4[fb]g() and replace all calls with
the now official cucul_attr_to_ansi_[fb]g().
vor 18 Jahren
Sam Hocevar
0b37a307dd
* Get rid of cucul_set_attr_ansi() and cucul_set_attr_argb and merge the
functionality into cucul_set_attr().
* Add cucul_ansi_to_attr() and cucul_argb_to_attr().
* Rename CUCUL_COLOR_* to CUCUL_*.
vor 18 Jahren
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().
vor 18 Jahren
Sam Hocevar
4711611e3f
* Support for fullwidth glyphs in the libcaca output drivers.
vor 18 Jahren
Sam Hocevar
cc80e458ca
* Fix compilation warning in the slang driver.
vor 18 Jahren
Sam Hocevar
bc5415d6a4
* Fixed libcaca prototypes so that all functions use the errno mechanism
and return a value.
vor 18 Jahren
Sam Hocevar
ba28ea75f5
* UTF-8 input support for ncurses.
* Hack for 16-color support in xfce4-terminal for both ncurses and slang.
vor 18 Jahren
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.
vor 18 Jahren
Sam Hocevar
a719a1154f
* Got backspace to work with the slang and ncurses drivers in an X
terminal window.
vor 18 Jahren
Sam Hocevar
ed530ad329
* Make the slang driver UTF-8 and UTF-32 aware.
* Add the backspace key to the slang driver.
vor 18 Jahren
Sam Hocevar
0c1746c626
* Renamed the event data member "ucs4" to "utf32" for consistency
with "utf8".
vor 18 Jahren
Sam Hocevar
9137c0a059
* Export the UTF-8 / UTF-32 / CP437 character conversions to applications.
vor 18 Jahren
Sam Hocevar
b2d84d524d
* Factored more UTF32 to UTF8 conversions using _cucul_utf32_to_utf8().
vor 18 Jahren
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
vor 18 Jahren
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
vor 18 Jahren
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.
vor 18 Jahren
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
vor 18 Jahren
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
vor 18 Jahren
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.
vor 18 Jahren
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
vor 18 Jahren
Sam Hocevar
6fb44a69f9
* Moved test/optipal.c to tools/optipal.c. The tools subdirectory will
contain development tools that are only useful to libcaca developers.
vor 18 Jahren