Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
před 16 roky
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
před 16 roky
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.
před 16 roky
Sam Hocevar
d06bf76c96
=?utf-8?q?=20=20*=20Implement=20cucul=5Fput=5Ffigchar()=20to=20paste=20FIGlet/TOIlet=20characters=20in
=20=20=20=20=20=20=20=20=20=20=E2=96=8C=20=E2=96=8C=20=20=20=E2=96=9C=E2=96=9C=20=20=20=20=C2=A0=E2=96=8C=20=E2=96=8C=20=20=20=20=20=20=E2=96=9C=20=20=20=E2=96=8C=E2=96=90
=20=20=20=20=20=20=20=20=20=20=E2=96=99=E2=96=84=E2=96=8C=E2=96=9E=E2=96=80=E2=96=96=E2=96=90=E2=96=90=20=E2=96=9E=E2=96=80=E2=96=96=C2=A0=E2=96=8C=E2=96=96=E2=96=8C=E2=96=9E=E2=96=80=E2=96=96=E2=96=99=E2=96=80=E2=96=96=E2=96=90=20=E2=96=9E=E2=96=80=E2=96=8C=E2=96=90
=20=20=20=20=20=20=20=20=20=20=E2=96=8C=20=E2=96=8C=E2=96=9B=E2=96=80=20=E2=96=90=E2=96=90=20=E2=96=8C=20=E2=96=8C=C2=A0=E2=96=99=E2=96=9A=E2=96=8C=E2=96=8C=20=E2=96=8C=E2=96=8C=20=C2=A0=E2=96=90=20=E2=96=8C=20=E2=96=8C=E2=96=9D
=20=20=20=20=20=20=20=20=20=20=E2=96=98=20=E2=96=98=E2=96=9D=E2=96=80=E2=96=98=20=E2=96=98=E2=96=98=E2=96=9D=E2=96=80=20=C2=A0=E2=96=98=20=E2=96=98=E2=96=9D=E2=96=80=20=E2=96=98=20=20=20=E2=96=98=E2=96=9D=E2=96=80=E2=96=98=E2=96=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
před 17 roky
Sam Hocevar
81d6119762
* Implemented cucul_canvas_set_figfont() from TOIlet’s open_font().
před 17 roky
Sam Hocevar
a7debae6f9
* Fix memory leaks that slipped in here and there. We still have 100,000
fewer than Firefox, lol.
před 17 roky
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".
před 17 roky
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.
před 17 roky
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.
před 17 roky
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
před 17 roky
Sam Hocevar
31cbfb5bea
* Rename _cucul_set_canvas_size into __cucul_set_canvas_size to prevent
collisions due to symbol mangling.
před 17 roky
Sam Hocevar
2224430ec1
* Reset cursor position after a resize. Not sure it’s what I want.
před 17 roky
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
před 18 roky
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
před 18 roky
Sam Hocevar
77bed4f704
* Got rid of that ugly cv->import member.
před 18 roky
Sam Hocevar
4f4f887080
* Improved vt220 import by adding a persistent context to canvases.
před 18 roky
Sam Hocevar
54d459067a
* Implemented cucul_get_frame_name() and cucul_set_frame_name().
* Renamed cucul_*_canvas_frame() to cucul_*_frame() because we bloody well
know that a frame belongs to a canvas.
před 18 roky
Sam Hocevar
46b84c8c02
* Fix a bug in cucul_set_canvas_size() that caused the default attribute
to be ignored.
před 18 roky
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.
před 18 roky
Sam Hocevar
f61bed2bdb
* Add cursor and handle support to canvases. Unused yet.
před 18 roky
Sam Hocevar
9fb85b253c
* Prepare the way for per-frame width/height information.
před 18 roky
Sam Hocevar
39553873fd
* Fix minor uninitialised data bug in cucul_canvas_create().
před 18 roky
Sam Hocevar
fae8b54e54
* Allow to resize canvases back to (0,0).
před 18 roky
Sam Hocevar
d549d07c0a
* Got rid of very old _cucul_init_dither() function call.
před 18 roky
Sam Hocevar
894924603d
* Fix the default canvas colour value.
před 18 roky
Sam Hocevar
67ff5d5b1d
* Got rid of cucul_ansi_to_str(), it's really useless.
* Partial update of the C++ bindings.
* Updated documentation.
před 18 roky
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().
před 18 roky
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_*.
před 18 roky
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().
před 18 roky
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.
před 18 roky
Sam Hocevar
26c3ea1aa4
* Removed "This function..." constructs from documentation. Fixed a few
documentation errors or imprecisions.
před 18 roky
Sam Hocevar
e366c39223
* Fix minor memory leak in cucul_free_canvas().
před 18 roky
Sam Hocevar
6bae0e64cc
* Initialise colours to default/transparent instead of lightgray/black.
před 18 roky
Sam Hocevar
be77a0e2ea
* When resizing a canvas, use the current fg/bg colours to fill holes.
před 18 roky
Sam Hocevar
9fca19ecc3
* Added errno support to the kernel.
před 18 roky
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
před 18 roky
Sam Hocevar
57acf9a2e6
* Initialize random seed to getpid()+time(NULL) so that the user does not
have to do it.
před 18 roky
Sam Hocevar
6d904c57f8
* Fixed cucul_create_canvas()'s documentation.
před 18 roky
Sam Hocevar
235504d81a
* More error checking in libcucul.
před 18 roky
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
před 18 roky
Sam Hocevar
9a65579cf6
* Support for multiple frames in canvases.
před 18 roky
Sam Hocevar
046c004862
* Got rid of cv->scratch_line. It's unused, too.
před 18 roky
Sam Hocevar
beda391b6b
* Got rid of cv->empty_line, it's now unused.
před 18 roky
Sam Hocevar
2401f2c732
* Moved cucul_load_canvas() into cucul/import.c and renamed it into
cucul_import_canvas().
* Renamed cucul_create_export() into cucul_export_canvas() for consistency.
před 18 roky
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
před 18 roky
Sam Hocevar
ea3bde92a4
* Added a new "caca" exporter.
* Removed most code from the raw driver and replaced it with a call to the
caca exporter.
* Slightly changed the caca export format and updated code accordingly.
* Improved cacaserver error reporting.
před 18 roky
Sam Hocevar
e3f0d6c57d
* Changed the cucul_rand() behaviour. Now cucul_rand(0, 10) returns random
values between 0 and 9 (used to be 0 and 10). Updated documentation
accordingly.
před 18 roky
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.
před 18 roky
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
před 18 roky
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
před 18 roky