Ben Wiley Sittler
0b303fab5b
remove reference to obsolete common.h
16 jaren geleden
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.
16 jaren geleden
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
16 jaren geleden
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().
17 jaren geleden
Sam Hocevar
6132c561c0
* Cocoa driver build fix, courtesy of Ben Wiley Sittler.
17 jaren geleden
Sam Hocevar
b519d05bce
* Export cucul_attr_to_rgb12_bg(), cucul_attr_to_rgb12_fg() and
cucul_attr_to_argb64() (previously _cucul_attr_to_rgb12bg,
_cucul_attr_to_rgb12fg and _cucul_attr_to_argb4) in the official
libcucul API.
* Cleanup complete: libcaca no longer depends on "cucul_internals.h".
17 jaren geleden
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.
17 jaren geleden
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.
17 jaren geleden
Sam Hocevar
31cbfb5bea
* Rename _cucul_set_canvas_size into __cucul_set_canvas_size to prevent
collisions due to symbol mangling.
17 jaren geleden
Sam Hocevar
1deb19790d
* Disabled USE_RGB12_FGBG for now, as it was reported not to work.
17 jaren geleden
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 jaren geleden
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 jaren geleden
Sam Hocevar
c158dfea32
* Working Cocoa driver, courtesy of Colin Delacroix <colin@zoy.org>.
18 jaren geleden
Sam Hocevar
c213ac0ecd
* Merged old code by Ol that can be used as a start for the Cocoa driver.
18 jaren geleden
Sam Hocevar
afed497172
* Added all the glue needed for a Cocoa output driver.
18 jaren geleden