Commit graph

702 commits

Author SHA1 Message Date
Jakob Rath
daeabb587d Need rake-compiler gem. 2014-01-08 20:18:07 +01:00
Jakob Rath
6368214fce Add first version of ruby bindings. 2014-01-08 20:18:07 +01:00
Meredith L. Patterson
42d1dd4fe9 update README files; decrufting 2014-01-05 02:07:14 +01:00
Meredith L. Patterson
0ee77d776f make dotnet tests run for 'test' target 2014-01-05 01:57:19 +01:00
Meredith L. Patterson
4826a70883 find nunit location automagically 2014-01-05 01:29:20 +01:00
Dan Hirsch
692f914986 Fixed registry test case 2014-01-04 23:39:59 +01:00
Dan Hirsch
3da3e70f65 Got action and attr_bool working 2014-01-04 23:13:35 +01:00
Dan Hirsch
ebb7b677ba Added handwritten test for h_action to C# 2014-01-04 23:13:35 +01:00
Dan Hirsch
feaf1a7e06 DotNet bindings mostly work 2014-01-04 23:13:35 +01:00
Dan Hirsch
14a5c5c1ef Test suite now builds 2014-01-04 23:13:35 +01:00
Dan Hirsch
a219ffc45d Have a typemap for uint8_t* 2014-01-04 23:13:35 +01:00
Dan Hirsch
cbdff5fbc0 Added basic scons/swig bindings 2014-01-04 23:13:35 +01:00
Meredith L. Patterson
ecfe8a64d6 tidying php-bindings directory and travis output 2013-12-22 18:27:59 +01:00
Meredith L. Patterson
10dffd3ee4 trying to fix missing function name for call_action 2013-12-22 18:12:12 +01:00
Meredith L. Patterson
500257d111 remove spurious TSRMLS_CC 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
d6dbf4ba41 SWIG doesn't like adding TSRMLS_* macros to fn decls, so TSRMLS_FETCH it is 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
c67391cfbb what happens when we call hpt_to_php with TSRMLS_CC? 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
bb58af5738 ok, outside of the init block then 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
838bf54aa0 what happens if we declare tsrm_ls explicitly at global scope? 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
203bb85b65 apparently zts needs a TSRMLS_C declaration for invocations of zend_exception_get_default() 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
80eed33825 use only zend_throw_exception, not SWIG exception wrappers 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
8286ce087d hpt_to_php needs TSRMLS_FETCH too; update swig to version perl uses 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
4826607e67 add TSRMLS_FETCH at top of blocks that need tsrm_ls 2013-12-22 18:10:47 +01:00
Meredith L. Patterson
f9eebda673 fix segfault with optimized code; initialize TSRM stuff 2013-12-22 18:10:47 +01:00
Meredith L. Patterson
b9ce12f3b6 Great PHP Symbol Renaming; debug build works, optimised build segfaults. is it gcc? fuck it all and let travis sort it out 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
bd48af7b90 implement predicate; decruft; quiet phpunit 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
c2cde65764 xor uses correct version of ch_range; commented out broken underlying C bits of leftrec 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
2730d9ffd7 fix ch_range; confirm action works with sequences too 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
6c9410d8de action works! need to clean up xor and ch_range, and write attr_bool 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
53a661442e swap order of params for hpt_to_php 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
34ad3f58fa h_tt_php registered as resource, now to work out how to decode them 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
3ba14c01f1 call_action does what it should, now just need to figure out what to do with that resource 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
ab23a29b0e refactor hpt_to_php to eliminate code duplication 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
aae140a420 map SWIG argument correctly 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
42b25f4784 refactor SWIG PHP definitions into their own file 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
8c074420f7 redefine in() and not_in() in terms of action with 'chr' 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
de02a2450b decrufted tests that rely on h_ch; still need to do h_action and h_attr_bool 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
a09bd53286 Fixed sequence, choice, h_in and h_not_in. ChRange needs its output coerced to char and we're good. 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
4735d17908 ActionTest has something wrong with its argument. 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
96470902e2 all tests written. 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
60d096bc16 more tests written, need to fix that retval problem stat 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
5c5a10b5c1 sepby also plagued by sequence/choice return issues 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
a234bdfab3 still more tests failing because sequence/choice don't return right 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
eb2855dcb4 h_repeat_n's test is failing for the same reason as h_many 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
eef5378f16 h_many1's test is failing for the same reason as h_many 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
e9de06636d h_many is failing because of the problem with choice not returning results correctly 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
a10572e751 AFAIK h_xor just needs h_ch_range working correctly 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
0c9ab03fd7 h_difference works 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
378710844b h_butnot is fine 2013-12-22 18:09:25 +01:00
Meredith L. Patterson
80d4460e6e choice isn't putting its results in the right place either 2013-12-22 18:09:25 +01:00