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 |
|
Meredith L. Patterson
|
1ce63c26ec
|
sequence is definitely broken, results aren't landing in output array
|
2013-12-22 18:09:25 +01:00 |
|
Meredith L. Patterson
|
fc71e12bea
|
nothing_p works; EndTest's failure case is producing an empty array (successful but empty sequence), success case is *also* producing an empty array
|
2013-12-22 18:09:25 +01:00 |
|
Meredith L. Patterson
|
9f55409246
|
EndTest is still failing, but the void*[] typemap isn't segfaulting anymore
|
2013-12-22 18:09:25 +01:00 |
|
Meredith L. Patterson
|
d544c2f4bb
|
sequence is still segfaulting; its inner parsers seem to be getting corrupted somehow
|
2013-12-22 18:09:25 +01:00 |
|
Meredith L. Patterson
|
4d649d93d3
|
fixed ch; need to figure out what to do with an array of SWIG wrapped types for sequence/choice
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
aa10384709
|
and so does h_sequence. time to fix this in swig.
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
48d6cf6f88
|
h_in and h_not_in also have a wrong param count issue
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
ce5a621ee3
|
h_action test is written, but something is wrong with h_choice.
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
72edbfa167
|
so do h_right and h_middle
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
596d619fb5
|
h_left works
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
421b7f29c8
|
whitespace test works just fine; that segfault was entirely my fault
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
9382f2720a
|
call_action compiles; will test later, need to get python-bindings into build now.
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
6c4a8f17c6
|
need to figure out how to apply a function in zend to something other than an array; about to run out of battery though
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
5fcd9fa88d
|
void*[] typemap compiles
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
be08c128e0
|
h_int_range works
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
c89f3dc7c7
|
unsigned ints working too
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
b13d5045e2
|
there's all the signed-int parsers working
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
282c42139d
|
ChTest and ChRangeTest fail only because their result isn't being coerced to string.
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
05cdf766ab
|
uint8_t typemap is happy now
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
ddbde60396
|
TT_BYTES is converting properly; TT_UINT is not.
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
49ca034b32
|
typemap for HParseResult is returning the appropriate zval, but why does PHP think it's null?
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
0810bd33d2
|
updated build/install docs
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
315c7a28c6
|
cleaned out some cruft; php tests run on successive builds w/o needing to clean.
|
2013-12-22 18:09:24 +01:00 |
|
Meredith L. Patterson
|
4c58a0bcb2
|
php tests run on clean build
|
2013-12-22 18:09:23 +01:00 |
|
Meredith L. Patterson
|
da33c86898
|
README about php configuration
|
2013-12-22 18:09:23 +01:00 |
|
Meredith L. Patterson
|
094d7ac7ff
|
get include paths from php-config
|
2013-12-22 18:09:23 +01:00 |
|