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.
16 lat temu
Sam Hocevar
725f29ee8e
* Put back all the shit in struct caca_event to avoid breaking existing
applications. I'll think of a migration path later.
17 lat temu
Sam Hocevar
3602fc98be
* The SLang and ncurses drivers now put back the TERM environment variable
if they modified it.
17 lat temu
Sam Hocevar
db1a77f0d0
* Only call glutInit() once through the program's lifetime.
* Free the internal font when closing the GL driver.
* Hide the window when closing the GL driver, because freeglut's
glutDestroyWindow() does not really closes the window.
17 lat temu
Sam Hocevar
367e1ef512
* Fix a tiny use of uninitialised memory in caca_get_event() that may have
lead to deadlocks.
17 lat temu
Sam Hocevar
b7a785ff38
* Implemented caca_set_display_driver() to change driver at runtime.
17 lat temu
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 lat temu
Sam Hocevar
283e1ef70b
* Remove cruft from caca_get_display_driver_list().
17 lat temu
Sam Hocevar
5b2b3e27db
* Implemented caca_get_display_driver_list(), unused yet.
17 lat temu
Sam Hocevar
6132c561c0
* Cocoa driver build fix, courtesy of Ben Wiley Sittler.
17 lat temu
Sam Hocevar
cc34dea271
* Use libtool’s -version-number instead of -version-info and its insane
major/minor computation scheme.
17 lat temu
Sam Hocevar
9c72677ccf
* Add cucul_get_version() and caca_get_version() and updated C++ bindings
accordingly.
* The C++ test example no longer needs "config.h".
17 lat temu
Sam Hocevar
024a3713ca
* Minor documentation fix.
17 lat temu
Sam Hocevar
069f4775f0
* Tell doxygen to expand __class and __extern before parsing anything, so
we don’t end with those ugly identifiers in the documentation.
17 lat temu
Sam Hocevar
cdebb09b64
* Added MSVC project files for the C++ bindings and the C++ test.
17 lat temu
Sam Hocevar
5321386e24
* Damn, under Visual Studio it's _WIN32, not __WIN32__.
17 lat temu
Sam Hocevar
03ad8a42fd
* Allow caca_create_display()'s argument to be NULL. It will automatically
create a canvas when so.
* Add caca_get_canvas() to retrieve the cucul canvas.
17 lat temu
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 lat temu
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 lat temu
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 lat temu
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 :(
17 lat temu
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
17 lat temu
Sam Hocevar
31cbfb5bea
* Rename _cucul_set_canvas_size into __cucul_set_canvas_size to prevent
collisions due to symbol mangling.
17 lat temu
Sam Hocevar
52e9f2b13a
* Add proper __declspec(dllexport) tags for Win32 compilation.
* Manually export private libcaca symbols.
17 lat temu
Pascal Terjan
a6ac1d6255
* Slightly improved documentation
17 lat temu
Sam Hocevar
3624787754
* Updated libcaca and cacaview after the API changes.
17 lat temu
Sam Hocevar
9c155f042d
* Renamed doxygen sections here and there to avoid embarassing side-effects
such as "man tutorial" showing the libcaca tutorial on Debian systems.
17 lat temu
Sam Hocevar
dff5905a85
* When present, include <termios.h> and <unistd.h> to allow the ncurses
driver to build on Solaris. Fix courtesy of Rado S.
17 lat temu
Sam Hocevar
309e287a84
* Documented which drivers support caca_set_cursor().
17 lat temu
Sam Hocevar
95e6709b10
* Implemented caca_set_cursor() on the X11, ncurses and S-Lang drivers.
* Use caca_set_cursor() in test/input.c.
17 lat temu
Sam Hocevar
1c5b493d21
* Patch by Ben Wiley Sittler to use ACS_* special characters in the ncurses
driver.
17 lat temu
Sam Hocevar
a6cb886e4a
* Differentiate between • and ● in the X11 rendering overrides.
17 lat temu
Sam Hocevar
1e67bd5400
* Patch by Ben Wiley Sittler for two misrendered glyphs.
17 lat temu
Sam Hocevar
9369bb3cb8
* Slightly nicer code in driver_x11.c.
17 lat temu
Sam Hocevar
8c7a66761a
* Use cucul_utf32_to_ascii() when the SLang backend does not support UTF-8.
17 lat temu
Sam Hocevar
8ed49158e8
* X11 driver improvements courtesy of Ben Wiley Sittler. Reworked them a
bit myself, too.
17 lat temu
Sam Hocevar
c9570afbbe
* Compilation fix for systems (e.g. Darwin) where SLtt_Has_Alt_Charset does
not exist, courtesy of Ben Wiley Sittler.
17 lat temu
Sam Hocevar
c9f6de3cb2
* Fixed OpenGL fullwidth support, courtesy of Ben Wiley Sittler.
17 lat temu
Sam Hocevar
1deb19790d
* Disabled USE_RGB12_FGBG for now, as it was reported not to work.
17 lat temu
Jean-Yves Lamoureux
2276a03dae
* Changed threshold in key events, a bit more natural
18 lat temu
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 lat temu
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 lat temu
Sam Hocevar
9afb3060cc
* Fix OpenBSD build.
18 lat temu
Sam Hocevar
c158dfea32
* Working Cocoa driver, courtesy of Colin Delacroix <colin@zoy.org>.
18 lat temu
Sam Hocevar
0dcf397cf4
* Fixed syntax errors.
18 lat temu
Sam Hocevar
e1a42d9b42
* Added caca_set_cursor(). Not yet functional.
18 lat temu
Sam Hocevar
519216afa2
* Add support for doublewidth characters even if ncurses or SLang don't know
about them.
18 lat temu
Sam Hocevar
c213ac0ecd
* Merged old code by Ol that can be used as a start for the Cocoa driver.
18 lat temu
Sam Hocevar
12696aaff5
* Don't rely on pkg-config macros for variable substitution. Just in case.
18 lat temu
Sam Hocevar
afed497172
* Added all the glue needed for a Cocoa output driver.
18 lat temu