Sam Hocevar
16c3765dd7
configure.ac: use more modern autoconf syntax.
пре 16 година
Sam Hocevar
045aa33b70
Properly export legacy 0.9 symbols.
пре 16 година
Sam Hocevar
ebabc96cea
Fix for the libcucul symlinks installation, courtesy of Ben Wiley Sittler.
пре 16 година
Ben Wiley Sittler
0b3b3e6d30
switch to weak aliases so it at least compiles on Mac OS X; note that the aliases do not actually work, so there is no cucul binary compatiblity in fact
пре 16 година
Ben Wiley Sittler
0b303fab5b
remove reference to obsolete common.h
пре 16 година
Ben Wiley Sittler
e24cd204b0
add missing CUCUL_* compatiblity constants
пре 16 година
Sam Hocevar
9424863c81
Support for platforms where shared libraries are not called *.so.
пре 16 година
Sam Hocevar
02e29b8cdc
End of the libcucul merge: add symbolic links where appropriate.
пре 16 година
Sam Hocevar
00961e6088
caca, cxx: install symlinks for backwards compatibility with libcucul.
пре 16 година
Sam Hocevar
ad4b8cfc99
.gitignore: ignore caca_types.h.
пре 16 година
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
пре 16 година
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 година
Sam Hocevar
850fc14032
* Fix plugin build.
пре 16 година
Sam Hocevar
9752e826d8
* Check for FTGL in the configure step, because we will use it later.
* Better CFLAGS and LDFLAGS propagation to the Makefiles.
пре 16 година
Sam Hocevar
621f107c72
* Documentation fixes (due to renamings, some parameters were no longer
documented).
пре 16 година
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
пре 16 година
Sam Hocevar
ec68a634cf
* Get rid of the last long types in the API.
* Use size_t and ssize_t where appropriate.
пре 16 година
Sam Hocevar
6a3f5c21f0
* Changed most of the long ints in the API into C99 types. WARNING: this
completely breaks compatibility with previous versions of libcaca on
64-bit systems.
пре 16 година
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
пре 16 година
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 година
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 година
Sam Hocevar
3602fc98be
* The SLang and ncurses drivers now put back the TERM environment variable
if they modified it.
пре 17 година
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 година
Sam Hocevar
367e1ef512
* Fix a tiny use of uninitialised memory in caca_get_event() that may have
lead to deadlocks.
пре 17 година
Sam Hocevar
b7a785ff38
* Implemented caca_set_display_driver() to change driver at runtime.
пре 17 година
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 година
Sam Hocevar
283e1ef70b
* Remove cruft from caca_get_display_driver_list().
пре 17 година
Sam Hocevar
5b2b3e27db
* Implemented caca_get_display_driver_list(), unused yet.
пре 17 година
Sam Hocevar
6132c561c0
* Cocoa driver build fix, courtesy of Ben Wiley Sittler.
пре 17 година
Sam Hocevar
cc34dea271
* Use libtool’s -version-number instead of -version-info and its insane
major/minor computation scheme.
пре 17 година
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 година
Sam Hocevar
024a3713ca
* Minor documentation fix.
пре 17 година
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 година
Sam Hocevar
cdebb09b64
* Added MSVC project files for the C++ bindings and the C++ test.
пре 17 година
Sam Hocevar
5321386e24
* Damn, under Visual Studio it's _WIN32, not __WIN32__.
пре 17 година
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 година
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 година
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 година
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 година
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 година
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
пре 17 година
Sam Hocevar
31cbfb5bea
* Rename _cucul_set_canvas_size into __cucul_set_canvas_size to prevent
collisions due to symbol mangling.
пре 17 година
Sam Hocevar
52e9f2b13a
* Add proper __declspec(dllexport) tags for Win32 compilation.
* Manually export private libcaca symbols.
пре 17 година
Pascal Terjan
a6ac1d6255
* Slightly improved documentation
пре 17 година
Sam Hocevar
3624787754
* Updated libcaca and cacaview after the API changes.
пре 17 година
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 година
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 година
Sam Hocevar
309e287a84
* Documented which drivers support caca_set_cursor().
пре 17 година
Sam Hocevar
95e6709b10
* Implemented caca_set_cursor() on the X11, ncurses and S-Lang drivers.
* Use caca_set_cursor() in test/input.c.
пре 17 година
Sam Hocevar
1c5b493d21
* Patch by Ben Wiley Sittler to use ACS_* special characters in the ncurses
driver.
пре 17 година