Sam Hocevar
e1562a8d46
libcaca: move codecs and import/export functions into subdirectories.
il y a 16 ans
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.
il y a 16 ans
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
il y a 16 ans
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.
il y a 16 ans
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
il y a 16 ans
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.
il y a 16 ans
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.
il y a 17 ans
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().
il y a 17 ans
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".
il y a 17 ans
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.
il y a 17 ans
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.
il y a 17 ans
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 :(
il y a 17 ans
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
il y a 17 ans
Sam Hocevar
31cbfb5bea
* Rename _cucul_set_canvas_size into __cucul_set_canvas_size to prevent
collisions due to symbol mangling.
il y a 17 ans
Sam Hocevar
c9f6de3cb2
* Fixed OpenGL fullwidth support, courtesy of Ben Wiley Sittler.
il y a 17 ans
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
il y a 18 ans
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
il y a 18 ans
Sam Hocevar
e1a42d9b42
* Added caca_set_cursor(). Not yet functional.
il y a 18 ans
Sam Hocevar
3243101ff0
* Rename cucul_put*() into cucul_put_*(). Updated all code to reflect that.
il y a 18 ans
Sam Hocevar
42c9518d2a
* Got rid of cucul_ansi_to_attr() and cucul_argb_to_attr() and restored
cucul_set_color() and cucul_set_truecolor() under the new names
cucul_set_color_ansi() and cucul_set_color_argb().
* Renamed cucul_get_color_name() into cucul_ansi_to_str().
il y a 18 ans
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_*.
il y a 18 ans
Sam Hocevar
aa93ad25f6
* Remove cucul_set_color() from the exported API and replaced all calls
with cucul_set_attr_ansi(). Old application will still compile (but issue
a warning) and run, though.
il y a 18 ans
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().
il y a 18 ans
Sam Hocevar
e03e1d62da
* Allow to create the initial canvas with a zero size. Either the application
resizes it later, or the driver changes it to fit the display.
il y a 18 ans
Sam Hocevar
4711611e3f
* Support for fullwidth glyphs in the libcaca output drivers.
il y a 18 ans
Sam Hocevar
79d8786aec
* Ahahaha mais vieux porc ! Tiens, mange-toi ce fix.
il y a 18 ans
Jean-Yves Lamoureux
53a72a2d72
* Oops \o/
il y a 18 ans
Jean-Yves Lamoureux
1c3760ac41
* REAL fix
il y a 18 ans
Sam Hocevar
ec9e57983a
* More long int -> int32 casts to fix the GL driver on 64-bit arches.
il y a 18 ans
Sam Hocevar
2b00f62d2e
* Hopefully fix 64-bit bug.
il y a 18 ans
Jean-Yves Lamoureux
8448ac75ab
* Ugly workaround in OpenGL driver for IA64 platform, unicode still does not work, thought.
il y a 18 ans
Sam Hocevar
50fb37ca2d
* Optimised memory usage in the GL driver and added a few comments.
il y a 18 ans
Jean-Yves Lamoureux
44cb9be2b5
* Fixed compilation warning, and ....
AHAHAHAHAHAHAHA GL DRIVER IS B0RKEN YOU SMELLY GOATS ! (no time to fix it, thought)
il y a 18 ans
Sam Hocevar
d1d4aeca10
* Use cucul_render_canvas() instead of cucul_render_glyph() in the GL driver.
il y a 18 ans
Sam Hocevar
eb70b77fde
* Full Unicode support in the GL driver.
il y a 18 ans
Jean-Yves Lamoureux
e3e2ac588f
* Updated README, just to say my coding style is just perfect, sam is too pedantic.
il y a 18 ans
Jean-Yves Lamoureux
a87130bade
* Updated documentation, removed warning in cucul_render_glyph(), minor optimisation in driver_gl
il y a 18 ans
Sam Hocevar
d63cdbf39e
* Coding style (ahaha vieux porc).
il y a 18 ans
Sam Hocevar
7165793ff9
* Fixed cucul_render_glyph(). There is no way this could have ever possibly
worked properly.
il y a 18 ans
Jean-Yves Lamoureux
921016181f
* Fixed truecolor bug in OpenGL driver.
il y a 18 ans
Jean-Yves Lamoureux
280132493f
* OpenGL builtin font support
il y a 18 ans
Sam Hocevar
cfe6fd6ffa
* Factored some of the GL code.
il y a 18 ans
Sam Hocevar
e9b2ea68cb
* More coding style fixes in the GL driver.
il y a 18 ans
Sam Hocevar
fe74d9ac77
* Fixed awful indenting of the GL plugin.
il y a 18 ans
Sam Hocevar
0c1746c626
* Renamed the event data member "ucs4" to "utf32" for consistency
with "utf8".
il y a 18 ans
Jean-Yves Lamoureux
758db0ca7b
* coding style fixes again
il y a 18 ans
Jean-Yves Lamoureux
08be72c146
* Added preliminary (it means that's fucked up) CP437 codepage
il y a 18 ans
Jean-Yves Lamoureux
59069aba51
* cut too long line (I read the coding style rules, yes). And we had home/end keys support in opengl driver BEFORE X11. Yeah !
il y a 18 ans
Jean-Yves Lamoureux
abad42960e
* Fixed home/pgup/pgdown/insert events
il y a 18 ans
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
il y a 18 ans