Sam Hocevar
156781dd67
ruby: require 'caca' instead of 'caca.so'
This will hopefully fix the OS X ruby package.
преди 8 години
Sam Hocevar
9af0319219
Autodetect ruby-minitest. Travis-CI doesn’t have it yet.
преди 8 години
Sam Hocevar
2f1ca4a550
Refactor a few things in the makefiles.
This fixes the path to source files in some unit tests and allows
to get rid of a few duplicate lines.
преди 8 години
Sam Hocevar
eae8918745
ruby: update the testsuite to match Ruby API changes.
преди 9 години
Sam Hocevar
44317430a1
misc: some source code cleanup.
преди 10 години
Pascal Terjan
caae67dce5
Fill in the correct array (coverity)
преди 11 години
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
преди 12 години
Sam Hocevar
26d01d6307
build: fix copyright date in old files.
преди 12 години
Pascal Terjan
568f0432bb
Allow building with -Werror=format-security
преди 12 години
Pascal Terjan
36990e1fa5
Use macros to access len, needed for ruby 1.9
преди 12 години
Sam Hocevar
d736507785
build: fix copyright information.
преди 12 години
Pascal Terjan
23c8dfdfea
Add set_cursor to the ruby binding (patch from Tony Miller <mcfiredrill@gmail.com>)
преди 13 години
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
преди 15 години
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
преди 15 години
Sam Hocevar
95f200066d
Add missing ruby/test file to the distributed tarball.
преди 15 години
Pascal Terjan
879ab40ecf
* Add back some missing spaces
преди 15 години
Sam Hocevar
2a4cccbf34
Clean up .gitignore and documentation build rules.
преди 15 години
Pascal Terjan
f15ac0c5be
* Add test for import/export of area
преди 15 години
Sam Hocevar
54f96e88a9
Fix various cosmetic errors (Jylam: tiens un highlight gratuit dans ta gueule pour les trailing spaces !)
преди 15 години
Pascal Terjan
5a4d1c2b9b
* Oops
преди 15 години
Pascal Terjan
f517acc5fa
* Remove tabs
преди 15 години
Pascal Terjan
988feae7e1
* Bind area import/export functions
преди 15 години
Pascal Terjan
7797d56436
* Bind dirty rectangle functions
преди 15 години
Pascal Terjan
0b87b254c2
* Bind caca_fill_triangle_textured
преди 15 години
Sam Hocevar
bf3d41309c
Update source checking test and remove CRLF crap from makefiles.
преди 15 години
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 години