Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
14 лет назад
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
15 лет назад
Sam Hocevar
1362d8e24f
Update my e-mail address everywhere.
15 лет назад
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
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
10bf9f48a7
* Rename "test" to "examples". The former will become a real testsuite.
* Autodetect zzuf in the configure step. It might become handy.
17 лет назад
Sam Hocevar
0189ba06ac
* C89 compilation fix for machines that do not have <endian.h>, thanks to
Rado S.
17 лет назад
Jean-Yves Lamoureux
6b807c1a90
* Added error checks on canvas / display creations
18 лет назад
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 лет назад
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 лет назад
Sam Hocevar
3243101ff0
* Rename cucul_put*() into cucul_put_*(). Updated all code to reflect that.
18 лет назад
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().
18 лет назад
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_*.
18 лет назад
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.
18 лет назад
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
18 лет назад
Sam Hocevar
0cbd5fd983
* Cosmetic fix in test/font.c.
* Use UTF-8 output in test/text.c instead of ANSI.
18 лет назад
Sam Hocevar
370fb06990
* Added "common.h", a placeholder for simple features and functions missing
from some systems.
18 лет назад
Sam Hocevar
6c0e8da858
* Allow the caca_event_t *ev argument for caca_get_event() to be NULL.
18 лет назад
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
18 лет назад
Sam Hocevar
0deb4abc25
* Changed the cucul_dither_bitmap behaviour so that the 4 coordinates are
now x/y/width/height instead of x1/y1/x2/y2. Avoids unnecessary +1/-1
computations.
18 лет назад
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.
18 лет назад
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
18 лет назад
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
18 лет назад
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.
18 лет назад
Sam Hocevar
4095b65df3
* Redisplay the output bitmap using libcaca. Eh ouais mon gars.
18 лет назад
Sam Hocevar
ea780d5321
* Implemented cucul_get_font_list() to retrieve the list of builtin fonts.
* Fixed font selection through cucul_font_load().
* Added a bigger 10x19 bold font.
18 лет назад
Sam Hocevar
ebfb2b388b
* Internal font support through cucul_load_font(). Documented that.
* Removed ugly hooks from test/font.c.
18 лет назад
Sam Hocevar
a273b3d7ec
* Implemented cucul_get_font_width() and cucul_get_font_height().
* Documented most font functions.
* Cleaned up cucul_render_canvas() and made it actually usable by external
programs. Removed ugly printf() debug calls.
18 лет назад
Sam Hocevar
e18b717e38
* Added a test program for the font renderer.
18 лет назад