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
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
пре 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
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
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
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
пре 17 година
Sam Hocevar
6986b8c64f
* Renamed fonts to *.data to make sure they are not mistaken for editable
files (like there is any chance).
пре 17 година
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
dbf07a9a27
* Add maxwidth and maxheight members to the font format.
пре 18 година
Sam Hocevar
51936f585c
* Got rid of HAVE_ERRNO_H ifdefs by defining seterrno()/geterrno() functions.
* More debugging information in the import/export and font functions.
пре 18 година
Sam Hocevar
eb017043ab
* Support fullwidth fonts.
* Add Katakanas and Hiraganas to the default fonts.
пре 18 година
Sam Hocevar
40aa3b7933
* Documentation updates. Moved the canvas and font format definitions to
the Doxygen documentation.
пре 18 година
Sam Hocevar
3d376d8cad
* Don't use htonl() directly, use common.h's hton32() wrapper.
пре 18 година
Sam Hocevar
e6e9456484
* Add information to the font format.
пре 18 година
Sam Hocevar
4fa891b61b
* Slightly changed the font header information. No one distributes libcaca
fonts yet anyway :-)
пре 18 година
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().
пре 18 година
Sam Hocevar
79d8786aec
* Ahahaha mais vieux porc ! Tiens, mange-toi ce fix.
пре 18 година
Sam Hocevar
2b00f62d2e
* Hopefully fix 64-bit bug.
пре 18 година
Jean-Yves Lamoureux
8448ac75ab
* Ugly workaround in OpenGL driver for IA64 platform, unicode still does not work, thought.
пре 18 година
Sam Hocevar
9044384d02
* Got rid of cucul_render_glyph(). Ahahahaha.
пре 18 година
Sam Hocevar
776a3c71d9
* Oops, fixed typo in cucul_get_font_blocks().
пре 18 година
Sam Hocevar
87cd66a5fd
* Implemented cucul_get_font_blocks() to export the list of available glyphs.
пре 18 година
Sam Hocevar
c7fb265316
* Minor documentation fix (testing the buildbot, actually).
пре 18 година
Jean-Yves Lamoureux
a87130bade
* Updated documentation, removed warning in cucul_render_glyph(), minor optimisation in driver_gl
пре 18 година
Sam Hocevar
7165793ff9
* Fixed cucul_render_glyph(). There is no way this could have ever possibly
worked properly.
пре 18 година
Jean-Yves Lamoureux
280132493f
* OpenGL builtin font support
пре 18 година
Sam Hocevar
c5d74fb9f7
* Regenerated fonts and reactivated them under Win32.
пре 18 година
Sam Hocevar
0a53a92195
* Completed return value and errno handling in libcucul API.
пре 18 година
Sam Hocevar
4a1507c398
* Renamed htons/htonl to hton16/hton32 to avoid useless conflicts.
пре 18 година
Sam Hocevar
19f1503d76
* On win32, only disable the built-in fonts, not all the font functions.
пре 18 година
Sam Hocevar
d04b853800
* Look for htons/htonl in netinet/in.h in addition to arpa/inet.h
* Implement htons/htonl in common.h just in case.
пре 18 година
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
пре 18 година
Sam Hocevar
2353ad9215
* Minor documentation improvements.
пре 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
c5b827a44e
* Changed the buffer type in cucul_render_canvas() to void* to avoid
compilation warnings.
пре 18 година
Sam Hocevar
3af72ff5f8
* Fixed abusive strictness in the font loader.
пре 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 година
Jean-Yves Lamoureux
408b8757eb
* Updated MSVC++ project (static library and src/*)
пре 18 година
Sam Hocevar
2c5ccb65e6
* Improved documentation in many places.
пре 18 година
Sam Hocevar
7b216060b4
* Ahaha I didn't even check that it compiled properly.
пре 18 година
Sam Hocevar
99aa400f26
* Only support version 1 fonts.
пре 18 година
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
пре 18 година
Sam Hocevar
93d3548d58
* Added a lot of sanity checks to the font parsing. It should now be
secure against broken files, but it probably needs peer review.
пре 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
b40cfe1302
* Ugly overflow bug in the rendering code.
пре 18 година