Commit graph

990 commits

Author SHA1 Message Date
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
Meredith L. Patterson
5917c3a599 phpunit is now running the tests, we just need to get them into build/opt/src. 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
42e0707fb8 slightly more elegant way to pass around which tests to run 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
cc3160072b scons bindings=foo,bar test now runs C tests and tests for foo and bar. PHP tests need command-line fixed. 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
3d64c29731 copy built lib to extension dir 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
a578b2691c this works on my box; goooooo travis 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
43253c1664 and now bindings=php works as a target too 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
0963a9d550 that seems to be examples as its own target now 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
19290a75ac helps if I commit an up-to-date SConscript 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
fb5c56b28e helps if I get the include path right 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
57df8e2ad5 attempt to have travis build with new bindings option 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
4feec08273 making a shared library works. 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
320f281ed3 doing swig steps manually, because the SharedLibrary builder was being weird. 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
75def00525 scons works with BINDINGS=none 2013-12-22 18:09:23 +01:00
Meredith L. Patterson
58fdc36178 path to hammer.ini 2013-12-22 18:08:37 +01:00
Meredith L. Patterson
5cc6920b23 attempt to push test responsibility off to travis: round 1 2013-12-22 18:07:16 +01:00
Meredith L. Patterson
6cb4f82445 this won't fix the travis not finding Tests/ issue, but it should provide php.ini config 2013-12-22 18:01:35 +01:00
Meredith L. Patterson
23cb4d0f7c test runner/test dir ready to go; scons builds/executes php tests in src/bindings/php/Tests 2013-12-22 17:58:52 +01:00
Meredith L. Patterson
0c0805591c minimal working PHP tests, for h_token. 2013-12-22 17:58:52 +01:00
Meredith L. Patterson
12d93a315d need to coerce HBytes to PHP string, but this seems to be looking for an object of HBytes class 2013-12-22 17:58:52 +01:00
Meredith L. Patterson
8be21c3d28 uint8_t* input typemap works for h_token and h_parse 2013-12-22 17:58:52 +01:00
Meredith L. Patterson
213f338357 argument typemap for token works! next, make it work for parse as well. 2013-12-22 17:58:52 +01:00
Meredith L. Patterson
c51b784612 scons runs a minimal unit test, which errors. debugging typemaps commences. 2013-12-22 17:58:52 +01:00
Meredith L. Patterson
0733700343 gonna test these typemaps with the tests I'm gonna write next. 2013-12-22 17:57:44 +01:00
Meredith L. Patterson
689ee84415 stubbed PHP typemaps 2013-12-22 17:57:44 +01:00
Meredith L. Patterson
632aa845a5 link here, too 2013-12-22 17:57:44 +01:00
Meredith L. Patterson
a0f5b0892b tidying things up a bit 2013-12-22 17:57:44 +01:00
Meredith L. Patterson
425c20dd3d that ought to make travis happy 2013-12-22 17:57:44 +01:00
Meredith L. Patterson
f3e42ea34e ok, travis wants -Wno-sign-compare too 2013-12-22 17:57:44 +01:00
Meredith L. Patterson
517cba9a76 scons now puts php binding support files in the correct place 2013-12-22 17:54:53 +01:00
Meredith L. Patterson
94d855c516 scons builds the SWIG PHP bindings that can create parsers but not parse any input yet 2013-12-22 17:54:53 +01:00
Meredith L. Patterson
6daa5367ca removed <code> elements in attempt to fix codegen_pecl output; didn't work 2013-12-22 17:54:53 +01:00
Meredith L. Patterson
9c0b1c4bdb ./configure succeeds, but make fails; I think CodeGen_PECL is too old or something 2013-12-22 17:54:53 +01:00
Meredith L. Patterson
fc4d4337e2 pecl-gen succeeds 2013-12-22 17:54:53 +01:00
Meredith L. Patterson
576c43330c First cut at PHP bindings; no tests yet. 2013-12-22 17:54:53 +01:00
Meredith L. Patterson
c559985747 Merge pull request #85 from thequux/testsuite-generator
Language independent test suite
2013-12-16 07:12:52 -08:00
Dan Hirsch
1a62583423 Added note on the language-independent test suite to HACKING file 2013-12-16 16:05:09 +01:00
Dan Hirsch
56f414834d Wrote parser for language-independent test suite, ported tests to it 2013-12-16 15:54:21 +01:00
Meredith L. Patterson
a24821f87e Merge pull request #84 from skade/fix-doxygen
Remove absolute paths from Doxyfile
2013-12-13 01:00:16 -08:00
Florian Gilcher
3e3f65812c Remove absolute paths from Doxyfile 2013-12-13 09:54:36 +01:00