Commit graph

861 commits

Author SHA1 Message Date
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
TQ Hirsch
6301fe7f8c Merge pull request #83 from abiggerhammer/master
Perl build integration
2013-12-06 01:26:06 -08:00
Meredith L. Patterson
6fa1618812 update README.md with perl info 2013-12-06 10:19:56 +01:00
Meredith L. Patterson
9da2636978 decrufting 2013-12-06 09:41:08 +01:00
Meredith L. Patterson
146504266c should version numbers be strings? 2013-12-06 09:36:10 +01:00
Meredith L. Patterson
6a09f2abfb quiet down apt again; use more perl 2013-12-06 09:28:09 +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
83bf5ce505 Thank you, Meredith, but your package is in a different PPA 2013-12-06 09:03:58 +01:00
Meredith L. Patterson
bd4177c434 have to actually install the swig package 2013-12-06 08:52:10 +01:00
Meredith L. Patterson
0e65ebfb1b try swig2.0 w/o specific version 2013-12-06 08:47:47 +01:00
Meredith L. Patterson
ac5c281cbe apt-get install swig2.0 loudly; another try on version name 2013-12-06 08:46:03 +01:00
Meredith L. Patterson
8ce7d26152 package is swig2.0, not swig 2013-12-06 08:43:34 +01:00
Meredith L. Patterson
0be2d433cc retry package version 2013-12-06 08:33:10 +01:00
Meredith L. Patterson
c9a1d00261 fix package version? 2013-12-06 08:23:48 +01:00
Meredith L. Patterson
9e597d4801 use ppa version of swig 2013-12-06 08:19:19 +01:00
Meredith L. Patterson
3e6269637d auto-accept ppa 2013-12-06 07:50:47 +01:00
Meredith L. Patterson
53e13657b0 use a backport instead so as to not break python or other things 2013-12-06 07:47:55 +01:00
Meredith L. Patterson
0581958167 the bug was in SWIG pre 2.0.8. Update travis to use ubuntu raring, which has this. 2013-12-06 07:29:16 +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
80b597cfbf move stdbool.h to top level 2013-12-06 06:11:48 +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
b794dbf72d SWIGPERL check around bool typedef 2013-12-06 04:03:55 +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
Meredith L. Patterson
b8c963db95 try setting CC in the environment for clang+bindings builds to get travis to actually use clang for them 2013-12-05 11:15:55 +01:00