Sam Hocevar
1f5518f842
Rename caca_get_cursor_x() and caca_get_cursor_y() to caca_wherex() and
caca_wherey(), in order to match the old <conio.h> naming scheme.
пре 15 година
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
пре 15 година
Sam Hocevar
66eb57001e
Add a section at the beginning of the Ruby documentation to prevent doxygen
from generating a huge whatis entry.
пре 15 година
Sam Hocevar
06ca07d381
Fix import/export related stuff I forgot to update in the Ruby and PHP bindings.
пре 15 година
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().
пре 15 година
Sam Hocevar
8283ca4323
Fix a ruby unit test that made wrong use of Caca::Display.driver_list.
пре 15 година
Sam Hocevar
1fe8a8702a
A lot of documentation updates here and there, including bugfixes dating
back to the libcucul merge.
пре 15 година
Pascal Terjan
4d482fe364
* Undo last commit
пре 16 година
Pascal Terjan
0b2402f485
* Add -module flag, hopefuly this will fix on OSX
пре 16 година
Pascal Terjan
76868db1d6
* List drivers as a Hash
пре 16 година
Pascal Terjan
f58d6161f2
* Fix a warning
пре 16 година
Pascal Terjan
f291d416db
* No need to require test/unit in each testfile
пре 16 година
Sam Hocevar
4cda200b03
Continuing the libcucul-libcaca merge.
пре 16 година
Pascal Terjan
0ee5f4c6f1
* Have local paths first in LOAD_PATH
пре 16 година
Sam Hocevar
fe732d0c04
Continuing the libcucul-libcaca merge.
пре 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
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 година
Pascal Terjan
cdab8ff469
Fix args type checks in Caca::Display.new
пре 16 година
Pascal Terjan
433a156fd4
Add few unit tests for Caca::Display
пре 16 година
Pascal Terjan
f805afaa81
Add driver/set_driver/driver=/driver_list methods to Caca::Display, and driver arg to Caca::Display.new
пре 16 година
Pascal Terjan
bbe37aaaf7
We should not free the canvas if it was auto created with the display
пре 16 година
Pascal Terjan
694617510f
* cucul.h is needed to build caca part
пре 17 година
Pascal Terjan
98e61bc6dd
* Improve Cucul::Canvas creation
пре 17 година
Pascal Terjan
0456c906e4
* Add Caca::Display#canvas
пре 17 година
Pascal Terjan
a1b474106a
* Allow calling Caca::Display.new without parameter
пре 17 година
Pascal Terjan
1f28b391b9
* Rename parameters of draw_box* in Ruby binding
пре 17 година
Pascal Terjan
596e961792
* Add Caca.version and Cucul.version
пре 17 година
Sam Hocevar
ffde02419c
* Code qui fait des warnings == code de porc == deux baffes dans ta gueule.
пре 17 година
Sam Hocevar
dfb3140b8e
* Some cleanup in the Ruby bindings Makefile.am.
пре 17 година
Sam Hocevar
63ecdbf48d
* Adapt the Ruby bindings to the event API change.
пре 17 година
Pascal Terjan
641656e902
* Little improvements in ruby doc
пре 17 година
Pascal Terjan
0de0992e57
* Add Caca::Event#quit? to make tests nicer
пре 17 година
Pascal Terjan
b47e5c57a3
* Split Ruby documentation out of README
пре 17 година
Pascal Terjan
bf1898d0a4
* Improve the example in README
пре 17 година
Pascal Terjan
4a7c10f7b3
* Install lib/caca.rb
пре 17 година
Pascal Terjan
9e558e6aa6
* Update README to talk about Caca
пре 17 година
Pascal Terjan
fab393b78e
* Use to_i on the event mask, it is not always an Integer
пре 17 година
Pascal Terjan
117a70f1ee
- Finish Caca::Event (a.k.a. J'ai fait caca aujourd'hui)
пре 17 година
Pascal Terjan
061ca415b0
* Add missing methods in Caca::Display and add empty Caca::Event
пре 17 година
Pascal Terjan
99140ead7c
* Add Caca and Caca::Display
пре 17 година
Pascal Terjan
cf4cdf995d
* Finish Cucul::Dither
пре 17 година
Pascal Terjan
17c5fc7335
* Add Cucul::Dither (incomplete)
пре 17 година
Pascal Terjan
f3ce2dfd1a
* Improve type checking of arguments
пре 17 година
Sam Hocevar
b18d63c6d7
* Slightly doxygenated ruby/README so that it appears in the manual (see
http://libcaca.zoy.org/manual/libcaca-ruby.html ).
пре 17 година
Pascal Terjan
594b1215d6
* Update README
пре 17 година
Pascal Terjan
bb4ec2178b
* Add t/tc_canvas.rb and t/tc_font.rb to Makefile.am
пре 17 година
Pascal Terjan
f5b3266b6d
* Add Cucul::Font
пре 17 година
Pascal Terjan
9568e4801a
* Add some pseudo doc for Ruby binding
пре 17 година
Pascal Terjan
9f43bc8b3c
* Add more tests for the ruby binding
пре 17 година