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
|
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
|
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
|
1e4863d71e
|
makemaker needed a -L to find libhammer.so
|
2013-12-06 09:24:19 +01:00 |
|
Meredith L. Patterson
|
f8933dd5b1
|
add LD_LIBRARY_PATH explicitly
|
2013-12-06 09:10:29 +01:00 |
|
Meredith L. Patterson
|
42a3b05c23
|
add stdbool.h to perl hammer.i to stop bool from being #undef'd
|
2013-12-06 06:24:17 +01:00 |
|
Meredith L. Patterson
|
8d564af139
|
SWIG docs suggest -DHAS_BOOL
|
2013-12-06 05:59:07 +01:00 |
|
Meredith L. Patterson
|
85000da581
|
put stdbool.h in hammer.h to try and fix perl bindings on travis
|
2013-12-06 04:52:30 +01:00 |
|
Meredith L. Patterson
|
4b86fa1f5a
|
try travis with perl 5.18 instead of 5.14
|
2013-12-06 04:33:40 +01:00 |
|
Meredith L. Patterson
|
f53f474de2
|
try to resolve missing bool/true/false problems with perl bindings
|
2013-12-06 04:27:44 +01:00 |
|
Meredith L. Patterson
|
a811b51241
|
use whatever compiler CC says to compile perl bindings
|
2013-12-06 03:55:52 +01:00 |
|
Meredith L. Patterson
|
767afacf6b
|
remove -DHAMMER_INTERNAL__NO_STDARG_H from Makefile.PL too
|
2013-12-06 03:19:45 +01:00 |
|
Meredith L. Patterson
|
baf7aa23e3
|
remove -DHAMMER_INTERNAL__NO_STDARG_H from CFLAGS for perl bindings build
|
2013-12-06 03:16:01 +01:00 |
|
Dan Hirsch
|
fab45fe044
|
Helps to add the perl makefile. Bonus points for including a README
|
2013-12-05 09:58:30 +01:00 |
|
Dan Hirsch
|
01c45d8453
|
Added install target for perl
|
2013-12-05 09:47:45 +01:00 |
|
Dan Hirsch
|
9d0cb859d8
|
Moved building perl binding lib and running test suite to EU::MM Makefile
|
2013-12-05 09:45:26 +01:00 |
|