Sam Hocevar
4648ab11aa
Implement caca_vprintf() to allow third-party variadic functions to call us.
il y a 15 ans
Sam Hocevar
5269cad56c
Allow to temporarily disable dirty rectangle handling. This allows for huge
speedups when the calling application knows the dirty rectangle covered by
a complex operation.
il y a 15 ans
Sam Hocevar
d3ef2bbecd
Add caca_export_area_to_memory() to export only a selected part of the
current canvas. This is useful to export dirty rectangles. Accordingly,
add caca_import_area_from_memory() and caca_import_area_from_file().
il y a 15 ans
Sam Hocevar
ea99175a2f
Change the dirty rectangle API once again so that calling applications get
a more natural (x,y,w,h) 4-tuple to handle.
il y a 15 ans
Sam Hocevar
a6b98c2518
Change the dirty rectangle API so that it can handle several rectangles. The
inner implementation still only handles one dirty rectangle, but this way
we can prepare supporting applictions for the future.
il y a 15 ans
Sam Hocevar
a94a7e912c
Set up the architecture for dirty rectangles.
Dirty rectangles are an upcoming optimisation that will tell the output
drivers which portion of the canvas has been really modified since the
last blit.
il y a 15 ans
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
il y a 16 ans
Ben Wiley Sittler
e24cd204b0
add missing CUCUL_* compatiblity constants
il y a 16 ans
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
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
725f29ee8e
* Put back all the shit in struct caca_event to avoid breaking existing
applications. I'll think of a migration path later.
il y a 17 ans
Sam Hocevar
b7a785ff38
* Implemented caca_set_display_driver() to change driver at runtime.
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
5b2b3e27db
* Implemented caca_get_display_driver_list(), unused yet.
il y a 17 ans
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".
il y a 17 ans
Sam Hocevar
024a3713ca
* Minor documentation fix.
il y a 17 ans
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.
il y a 17 ans
Sam Hocevar
cdebb09b64
* Added MSVC project files for the C++ bindings and the C++ test.
il y a 17 ans
Sam Hocevar
5321386e24
* Damn, under Visual Studio it's _WIN32, not __WIN32__.
il y a 17 ans
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.
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
52e9f2b13a
* Add proper __declspec(dllexport) tags for Win32 compilation.
* Manually export private libcaca symbols.
il y a 17 ans
Pascal Terjan
a6ac1d6255
* Slightly improved documentation
il y a 17 ans
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.
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
35ad2eda5a
* Added CACA_KEY_* values for Ctrl-C, Ctrl-V, etc.
il y a 18 ans
Sam Hocevar
17db9e489b
* Documented caca_event_t members.
il y a 18 ans
Sam Hocevar
23afd54c7c
* Fix enumeration layout in the manpage documentation.
il y a 18 ans
Sam Hocevar
bc5415d6a4
* Fixed libcaca prototypes so that all functions use the errno mechanism
and return a value.
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
Sam Hocevar
5d12480dd6
* Renamed caca_set_delay() and caca_get_rendertime() into
caca_set_display_time() and caca_get_display_time() for consistency.
il y a 18 ans
Sam Hocevar
be99912681
* Minor cosmetic fix in a comment.
il y a 18 ans
Sam Hocevar
d0dd70b64c
* Documentation improvements. Wrote a small migration guide and added the
skeleton of a tutorial for Jylam.
il y a 18 ans
Sam Hocevar
421d168382
* Added AUTHORS, THANKS, NEWS and TODO to the Doxygen documentation. Moved the main
documentation page from caca.h to a separate file.
il y a 18 ans
Sam Hocevar
1ec6544305
* More function mass-renaming: caca_attach -> caca_create_display, etc.
il y a 18 ans
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
il y a 18 ans
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
il y a 18 ans
Sam Hocevar
792c7481f5
* Implemented CACA_EVENT_QUIT. Unused yet.
il y a 18 ans
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.
il y a 18 ans
Sam Hocevar
2c5ccb65e6
* Improved documentation in many places.
il y a 18 ans
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
il y a 18 ans
Sam Hocevar
cfadd8b64d
* Removed CUCUL_BACKGROUND, CUCUL_ANTIALIASING and CUCUL_DITHERING
environment variables handling. Replaced that with three per-bitmap
functions: cucul_set_bitmap_antialias(), cucul_set_bitmap_color() and
cucul_set_bitmap_dithering().
* Added cucul_set_bitmap_brightness() and cucul_set_bitmap_contrast()
prototypes (but did not implement them yet).
* Added cucul_set_bitmap_charset() to choose what characters are going
to be used for the bitmap rendering.
* Removed the now useless cucul_get_feature(), cucul_set_feature() etc.
il y a 18 ans
Sam Hocevar
87604b8e1d
* Merged caca_wait_event() into caca_get_event() and added a timeout
parameter to do what both functions did before, and even more.
il y a 18 ans
Sam Hocevar
08a16c80fe
* Removed the network driver and replaced it with a cacaserver executable
that has all the functionality, except it does not work yet (the stdin
reading routine is missing).
il y a 18 ans