Pascal Terjan
7c8e3338a1
Switch to typed Ruby wrapping
hace 1 semana
Pascal Terjan
f8878d8ba4
Simplify caca_create_display call
caca_create_display is the same as caca_create_display_with_driver
with a NULL driver, so we can simply call caca_create_display_with_driver.
hace 4 días
Pascal Terjan
94517c520d
Do not use _caca_alloc2d in the Ruby extension
hace 4 días
Pascal Terjan
04f511940a
Prevent Init_caca from being hidden
hace 4 días
Pascal Terjan
9fffb0a237
Revert 156781dd67
This breaks loading on Linux, and presumably on other platforms
hace 1 semana
Pascal Terjan
dda96a14ea
Switch from MiniTest to Minitest
The Minitest alias was added 14 years ago in minitest 2.12.0, they
got swapped in 2013 in 5.0.0, and the MiniTest alias inow seems to
no longer exist even if I could not find when it went away.
hace 1 semana
Pascal Terjan
1a818d4c2d
Fix Ruby binding for new GCC
Patch from Fedora
https://src.fedoraproject.org/rpms/libcaca/blob/rawhide/f/libcaca-0.99.beta20-c99.patch
hace 5 meses
Sam Hocevar
a18e28d43e
Update copyright information and changelog
hace 4 años
Sam Hocevar
96ff990d5e
Better sanity checks when creating 2D buffers ( Closes #43 )
hace 4 años
Sam Hocevar
156781dd67
ruby: require 'caca' instead of 'caca.so'
This will hopefully fix the OS X ruby package.
hace 9 años
Sam Hocevar
9af0319219
Autodetect ruby-minitest. Travis-CI doesn’t have it yet.
hace 10 años
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.
hace 10 años
Sam Hocevar
eae8918745
ruby: update the testsuite to match Ruby API changes.
hace 11 años
Sam Hocevar
44317430a1
misc: some source code cleanup.
hace 12 años
Pascal Terjan
caae67dce5
Fill in the correct array (coverity)
hace 12 años
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
hace 13 años
Sam Hocevar
26d01d6307
build: fix copyright date in old files.
hace 13 años
Pascal Terjan
568f0432bb
Allow building with -Werror=format-security
hace 13 años
Pascal Terjan
36990e1fa5
Use macros to access len, needed for ruby 1.9
hace 13 años
Sam Hocevar
d736507785
build: fix copyright information.
hace 14 años
Pascal Terjan
23c8dfdfea
Add set_cursor to the ruby binding (patch from Tony Miller <mcfiredrill@gmail.com>)
hace 14 años
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
hace 16 años
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
hace 16 años
Sam Hocevar
95f200066d
Add missing ruby/test file to the distributed tarball.
hace 16 años
Pascal Terjan
879ab40ecf
* Add back some missing spaces
hace 16 años
Sam Hocevar
2a4cccbf34
Clean up .gitignore and documentation build rules.
hace 16 años
Pascal Terjan
f15ac0c5be
* Add test for import/export of area
hace 16 años
Sam Hocevar
54f96e88a9
Fix various cosmetic errors (Jylam: tiens un highlight gratuit dans ta gueule pour les trailing spaces !)
hace 16 años
Pascal Terjan
5a4d1c2b9b
* Oops
hace 16 años
Pascal Terjan
f517acc5fa
* Remove tabs
hace 16 años
Pascal Terjan
988feae7e1
* Bind area import/export functions
hace 16 años
Pascal Terjan
7797d56436
* Bind dirty rectangle functions
hace 16 años
Pascal Terjan
0b87b254c2
* Bind caca_fill_triangle_textured
hace 16 años
Sam Hocevar
bf3d41309c
Update source checking test and remove CRLF crap from makefiles.
hace 16 años
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.
hace 16 años
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
hace 16 años
Sam Hocevar
66eb57001e
Add a section at the beginning of the Ruby documentation to prevent doxygen
from generating a huge whatis entry.
hace 17 años
Sam Hocevar
06ca07d381
Fix import/export related stuff I forgot to update in the Ruby and PHP bindings.
hace 17 años
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().
hace 17 años
Sam Hocevar
8283ca4323
Fix a ruby unit test that made wrong use of Caca::Display.driver_list.
hace 17 años
Sam Hocevar
1fe8a8702a
A lot of documentation updates here and there, including bugfixes dating
back to the libcucul merge.
hace 17 años
Pascal Terjan
4d482fe364
* Undo last commit
hace 17 años
Pascal Terjan
0b2402f485
* Add -module flag, hopefuly this will fix on OSX
hace 17 años
Pascal Terjan
76868db1d6
* List drivers as a Hash
hace 17 años
Pascal Terjan
f58d6161f2
* Fix a warning
hace 17 años
Pascal Terjan
f291d416db
* No need to require test/unit in each testfile
hace 17 años
Sam Hocevar
4cda200b03
Continuing the libcucul-libcaca merge.
hace 17 años
Pascal Terjan
0ee5f4c6f1
* Have local paths first in LOAD_PATH
hace 17 años
Sam Hocevar
fe732d0c04
Continuing the libcucul-libcaca merge.
hace 17 años
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.
hace 17 años