- Jun 25, 2015
-
-
Lars Kanis authored
-
- Jun 24, 2015
-
-
Lars Kanis authored
-
- Jun 18, 2015
-
-
Lars Kanis authored
-
- Jun 14, 2015
-
-
Lars Kanis authored
-
- Jun 13, 2015
-
-
Lars Kanis authored
-
Lars Kanis authored
This is the only function that is currently required to acquire the GVL. Other FXRbCall functions could be wrapped equally.
-
Lars Kanis authored
-
Lars Kanis authored
-
Lars Kanis authored
This is just enough for loadPixel/savePixel, but if other methods release the GVL, potentially all other callback functions could be called. These are now yet wrapped by gvl-aware wrappers.
-
- Jun 12, 2015
-
-
Lars Kanis authored
-
Lars Kanis authored
-
Lars Kanis authored
-
- Jun 08, 2015
-
-
Lars Kanis authored
-
Lars Kanis authored
This also fixes some build system checks, that should be for the target system.
-
- Feb 20, 2015
-
-
Lars Kanis authored
-
Lars Kanis authored
without check.
-
- Feb 19, 2015
-
-
Lars Kanis authored
-
Lars Kanis authored
This solves crashes of kind: [BUG] rb_gc_mark(): 0x00000003f54af8 is T_ZOMBIE All parameters to Ruby event blocks or overloaded methods are converted to proper Ruby classes or wrapped by appropriate wrapper classes for borrowed objects. The wrapper classes are registered, to keep the connection between C-pointer (the borrowed object) and the wrapping Ruby object. This connection is canceled either when the borrowed object is destroyed or the Ruby wrapper is free'd. If neither of them happens, the wrapper object is re-used for the next call. This worked good with Ruby-1.8, which has one big mark and sweep run. Ruby-2.2 introduced incremental GC and has several mark and sweep runs, so that marks and sweeps are quite independent. Therefor we re-used objects, that are already maked for sweeping (so called T_ZOMBIE). This patch releases the connection between borrowed object and it's wrapper object after each call into Ruby code. Therefore the wrapper object isn't re-used, but a new one is created for each param to each call. The wrapper objects are later free'd by the GC. This patch could have a negative performance impact.
-
- Feb 18, 2015
-
-
Lars Kanis authored
-
Lars Kanis authored
-
- Feb 17, 2015
-
-
Lars Kanis authored
-
Lars Kanis authored
Static linking all dependent libraries into each ruby version (from 1.8 to 2.2) would blow up the gem to >20MB.
-
- Feb 16, 2015
-
-
Lars Kanis authored
-
Lars Kanis authored
-
- Feb 14, 2015
-
-
Lars Kanis authored
-
Lars Kanis authored
-
Lars Kanis authored
-
Lars Kanis authored
-
Lars Kanis authored
-
Lars Kanis authored
They are ignored for wrapper method generation, but prevent procedural wrapper generation per %extend . This fixes method overloading in Ruby space.
-
- Jul 09, 2014
-
-
Lars Kanis authored
This is used in kwargs.rb and requires including Fox into global namespace elsewise.
-
- Mar 17, 2014
-
-
Lars Kanis authored
This way it also works for derived classes like FXJPGImage.
-
- Mar 16, 2014
-
-
Lars Kanis authored
Allow retrival of parts of the pixel data.
-
- Mar 15, 2014
-
-
Lars Kanis authored
Add test cases for non Integer assignment to FXuchar, FXshort and FXint. It's typically possible to assign Float values to methods expecting Integers and we also shouldn't break compatibility. This reverts commit 3360c669.
-
Lars Kanis authored
-
- Mar 14, 2014
-
-
Lars Kanis authored
-
Lars Kanis authored
Load icons independant from pwd.
-
Lars Kanis authored
We don't need defaultctor generation, but for FXChore and FXTimer we explicit can not use defaultctor generation, because these types are only usable as a pointer.
-
Lars Kanis authored
and eventually defined as public. Removing the protected declaration solves this.
-
- Mar 13, 2014
-
-
Lars Kanis authored
-