Commit graph

  • 53a661442e swap order of params for hpt_to_php Meredith L. Patterson 2013-12-16 11:03:50 +01:00
  • 34ad3f58fa h_tt_php registered as resource, now to work out how to decode them Meredith L. Patterson 2013-12-16 10:57:59 +01:00
  • 3ba14c01f1 call_action does what it should, now just need to figure out what to do with that resource Meredith L. Patterson 2013-12-16 10:25:50 +01:00
  • ab23a29b0e refactor hpt_to_php to eliminate code duplication Meredith L. Patterson 2013-12-16 03:33:01 +01:00
  • aae140a420 map SWIG argument correctly Meredith L. Patterson 2013-12-16 00:39:30 +01:00
  • 42b25f4784 refactor SWIG PHP definitions into their own file Meredith L. Patterson 2013-12-15 20:28:20 +01:00
  • 8c074420f7 redefine in() and not_in() in terms of action with 'chr' Meredith L. Patterson 2013-12-11 06:49:52 +01:00
  • de02a2450b decrufted tests that rely on h_ch; still need to do h_action and h_attr_bool Meredith L. Patterson 2013-12-10 01:06:21 +01:00
  • a09bd53286 Fixed sequence, choice, h_in and h_not_in. ChRange needs its output coerced to char and we're good. Meredith L. Patterson 2013-12-10 00:53:35 +01:00
  • 4735d17908 ActionTest has something wrong with its argument. Meredith L. Patterson 2013-12-01 22:14:51 -08:00
  • 96470902e2 all tests written. Meredith L. Patterson 2013-12-01 22:13:24 -08:00
  • 60d096bc16 more tests written, need to fix that retval problem stat Meredith L. Patterson 2013-12-01 22:09:45 -08:00
  • 5c5a10b5c1 sepby also plagued by sequence/choice return issues Meredith L. Patterson 2013-12-01 21:51:57 -08:00
  • a234bdfab3 still more tests failing because sequence/choice don't return right Meredith L. Patterson 2013-12-01 21:44:45 -08:00
  • eb2855dcb4 h_repeat_n's test is failing for the same reason as h_many Meredith L. Patterson 2013-12-01 21:37:09 -08:00
  • eef5378f16 h_many1's test is failing for the same reason as h_many Meredith L. Patterson 2013-12-01 21:33:02 -08:00
  • e9de06636d h_many is failing because of the problem with choice not returning results correctly Meredith L. Patterson 2013-12-01 21:29:11 -08:00
  • a10572e751 AFAIK h_xor just needs h_ch_range working correctly Meredith L. Patterson 2013-12-01 21:25:28 -08:00
  • 0c9ab03fd7 h_difference works Meredith L. Patterson 2013-12-01 21:21:00 -08:00
  • 378710844b h_butnot is fine Meredith L. Patterson 2013-12-01 21:18:33 -08:00
  • 80d4460e6e choice isn't putting its results in the right place either Meredith L. Patterson 2013-12-01 21:14:16 -08:00
  • 1ce63c26ec sequence is definitely broken, results aren't landing in output array Meredith L. Patterson 2013-12-01 21:11:15 -08:00
  • 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 Meredith L. Patterson 2013-12-01 21:04:54 -08:00
  • 9f55409246 EndTest is still failing, but the void*[] typemap isn't segfaulting anymore Meredith L. Patterson 2013-12-01 20:55:04 -08:00
  • d544c2f4bb sequence is still segfaulting; its inner parsers seem to be getting corrupted somehow Meredith L. Patterson 2013-12-01 17:21:05 -08:00
  • 4d649d93d3 fixed ch; need to figure out what to do with an array of SWIG wrapped types for sequence/choice Meredith L. Patterson 2013-12-01 16:07:25 -08:00
  • aa10384709 and so does h_sequence. time to fix this in swig. Meredith L. Patterson 2013-11-30 17:18:58 -08:00
  • 48d6cf6f88 h_in and h_not_in also have a wrong param count issue Meredith L. Patterson 2013-11-30 17:17:18 -08:00
  • ce5a621ee3 h_action test is written, but something is wrong with h_choice. Meredith L. Patterson 2013-11-30 17:10:24 -08:00
  • 72edbfa167 so do h_right and h_middle Meredith L. Patterson 2013-11-30 16:58:27 -08:00
  • 596d619fb5 h_left works Meredith L. Patterson 2013-11-30 16:54:26 -08:00
  • 421b7f29c8 whitespace test works just fine; that segfault was entirely my fault Meredith L. Patterson 2013-11-30 16:45:13 -08:00
  • 9382f2720a call_action compiles; will test later, need to get python-bindings into build now. Meredith L. Patterson 2013-11-26 11:12:29 -08:00
  • 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 Meredith L. Patterson 2013-11-24 23:10:27 -06:00
  • 5fcd9fa88d void*[] typemap compiles Meredith L. Patterson 2013-11-24 22:58:25 -06:00
  • be08c128e0 h_int_range works Meredith L. Patterson 2013-11-24 20:49:23 -06:00
  • c89f3dc7c7 unsigned ints working too Meredith L. Patterson 2013-11-24 20:46:09 -06:00
  • b13d5045e2 there's all the signed-int parsers working Meredith L. Patterson 2013-11-24 20:40:48 -06:00
  • 282c42139d ChTest and ChRangeTest fail only because their result isn't being coerced to string. Meredith L. Patterson 2013-11-24 20:30:19 -06:00
  • 05cdf766ab uint8_t typemap is happy now Meredith L. Patterson 2013-11-24 20:23:49 -06:00
  • ddbde60396 TT_BYTES is converting properly; TT_UINT is not. Meredith L. Patterson 2013-11-24 20:12:54 -06:00
  • 49ca034b32 typemap for HParseResult is returning the appropriate zval, but why does PHP think it's null? Meredith L. Patterson 2013-11-24 19:26:14 -06:00
  • 0810bd33d2 updated build/install docs Meredith L. Patterson 2013-11-23 16:14:07 -06:00
  • 315c7a28c6 cleaned out some cruft; php tests run on successive builds w/o needing to clean. Meredith L. Patterson 2013-11-23 16:11:36 -06:00
  • 4c58a0bcb2 php tests run on clean build Meredith L. Patterson 2013-11-23 16:07:19 -06:00
  • da33c86898 README about php configuration Meredith L. Patterson 2013-11-23 13:11:15 -06:00
  • 094d7ac7ff get include paths from php-config Meredith L. Patterson 2013-11-23 13:06:48 -06:00
  • 5917c3a599 phpunit is now running the tests, we just need to get them into build/opt/src. Meredith L. Patterson 2013-11-23 12:45:21 -06:00
  • 42e0707fb8 slightly more elegant way to pass around which tests to run Meredith L. Patterson 2013-11-22 12:00:14 -06:00
  • cc3160072b scons bindings=foo,bar test now runs C tests and tests for foo and bar. PHP tests need command-line fixed. Meredith L. Patterson 2013-11-22 03:43:07 -06:00
  • 3d64c29731 copy built lib to extension dir Meredith L. Patterson 2013-11-22 02:46:56 -06:00
  • a578b2691c this works on my box; goooooo travis Meredith L. Patterson 2013-11-22 00:45:59 -06:00
  • 43253c1664 and now bindings=php works as a target too Meredith L. Patterson 2013-11-21 02:35:45 -06:00
  • 0963a9d550 that seems to be examples as its own target now Meredith L. Patterson 2013-11-21 02:26:47 -06:00
  • 19290a75ac helps if I commit an up-to-date SConscript Meredith L. Patterson 2013-11-21 01:23:04 -06:00
  • fb5c56b28e helps if I get the include path right Meredith L. Patterson 2013-11-21 01:17:14 -06:00
  • 57df8e2ad5 attempt to have travis build with new bindings option Meredith L. Patterson 2013-11-21 01:13:44 -06:00
  • 4feec08273 making a shared library works. Meredith L. Patterson 2013-11-21 01:05:47 -06:00
  • 320f281ed3 doing swig steps manually, because the SharedLibrary builder was being weird. Meredith L. Patterson 2013-11-21 00:58:49 -06:00
  • 75def00525 scons works with BINDINGS=none Meredith L. Patterson 2013-11-21 00:12:31 -06:00
  • 58fdc36178 path to hammer.ini Meredith L. Patterson 2013-11-20 22:55:22 -06:00
  • 5cc6920b23 attempt to push test responsibility off to travis: round 1 Meredith L. Patterson 2013-11-20 22:43:15 -06:00
  • 6cb4f82445 this won't fix the travis not finding Tests/ issue, but it should provide php.ini config Meredith L. Patterson 2013-11-20 21:51:51 -06:00
  • 23cb4d0f7c test runner/test dir ready to go; scons builds/executes php tests in src/bindings/php/Tests Meredith L. Patterson 2013-11-20 20:24:21 -06:00
  • 0c0805591c minimal working PHP tests, for h_token. Meredith L. Patterson 2013-11-20 18:45:02 -06:00
  • 12d93a315d need to coerce HBytes to PHP string, but this seems to be looking for an object of HBytes class Meredith L. Patterson 2013-11-20 17:36:15 -06:00
  • 8be21c3d28 uint8_t* input typemap works for h_token and h_parse Meredith L. Patterson 2013-11-20 12:40:28 -06:00
  • 213f338357 argument typemap for token works! next, make it work for parse as well. Meredith L. Patterson 2013-11-20 03:29:10 -06:00
  • c51b784612 scons runs a minimal unit test, which errors. debugging typemaps commences. Meredith L. Patterson 2013-11-20 02:13:41 -06:00
  • 0733700343 gonna test these typemaps with the tests I'm gonna write next. Meredith L. Patterson 2013-11-19 23:59:58 -06:00
  • 689ee84415 stubbed PHP typemaps Meredith L. Patterson 2013-11-19 22:59:14 -06:00
  • 632aa845a5 link here, too Meredith L. Patterson 2013-11-17 20:54:13 -06:00
  • a0f5b0892b tidying things up a bit Meredith L. Patterson 2013-11-17 20:16:09 -06:00
  • 425c20dd3d that ought to make travis happy Meredith L. Patterson 2013-11-17 20:09:13 -06:00
  • f3e42ea34e ok, travis wants -Wno-sign-compare too Meredith L. Patterson 2013-11-17 19:58:01 -06:00
  • 517cba9a76 scons now puts php binding support files in the correct place Meredith L. Patterson 2013-11-17 19:49:38 -06:00
  • 94d855c516 scons builds the SWIG PHP bindings that can create parsers but not parse any input yet Meredith L. Patterson 2013-11-17 17:57:43 -06:00
  • 6daa5367ca removed <code> elements in attempt to fix codegen_pecl output; didn't work Meredith L. Patterson 2013-11-16 05:50:21 +01:00
  • 9c0b1c4bdb ./configure succeeds, but make fails; I think CodeGen_PECL is too old or something Meredith L. Patterson 2013-11-16 03:54:00 +01:00
  • fc4d4337e2 pecl-gen succeeds Meredith L. Patterson 2013-11-16 02:49:28 +01:00
  • 576c43330c First cut at PHP bindings; no tests yet. Meredith L. Patterson 2013-11-16 00:55:41 +01:00
  • c559985747 Merge pull request #85 from thequux/testsuite-generator Meredith L. Patterson 2013-12-16 07:12:52 -08:00
  • 1a62583423 Added note on the language-independent test suite to HACKING file Dan Hirsch 2013-12-16 16:05:09 +01:00
  • 56f414834d Wrote parser for language-independent test suite, ported tests to it Dan Hirsch 2013-12-16 15:54:21 +01:00
  • a24821f87e Merge pull request #84 from skade/fix-doxygen Meredith L. Patterson 2013-12-13 01:00:16 -08:00
  • 3e3f65812c Remove absolute paths from Doxyfile Florian Gilcher 2013-12-13 09:54:36 +01:00
  • 6301fe7f8c Merge pull request #83 from abiggerhammer/master TQ Hirsch 2013-12-06 01:26:06 -08:00
  • 6fa1618812 update README.md with perl info Meredith L. Patterson 2013-12-06 10:19:56 +01:00
  • 9da2636978 decrufting Meredith L. Patterson 2013-12-06 09:41:08 +01:00
  • 146504266c should version numbers be strings? Meredith L. Patterson 2013-12-06 09:36:10 +01:00
  • 6a09f2abfb quiet down apt again; use more perl Meredith L. Patterson 2013-12-06 09:28:09 +01:00
  • 1e4863d71e makemaker needed a -L to find libhammer.so Meredith L. Patterson 2013-12-06 09:24:19 +01:00
  • f8933dd5b1 add LD_LIBRARY_PATH explicitly Meredith L. Patterson 2013-12-06 09:10:29 +01:00
  • 83bf5ce505 Thank you, Meredith, but your package is in a different PPA Meredith L. Patterson 2013-12-06 09:03:58 +01:00
  • bd4177c434 have to actually install the swig package Meredith L. Patterson 2013-12-06 08:52:10 +01:00
  • 0e65ebfb1b try swig2.0 w/o specific version Meredith L. Patterson 2013-12-06 08:47:47 +01:00
  • ac5c281cbe apt-get install swig2.0 loudly; another try on version name Meredith L. Patterson 2013-12-06 08:46:03 +01:00
  • 8ce7d26152 package is swig2.0, not swig Meredith L. Patterson 2013-12-06 08:43:34 +01:00
  • 0be2d433cc retry package version Meredith L. Patterson 2013-12-06 08:33:10 +01:00
  • c9a1d00261 fix package version? Meredith L. Patterson 2013-12-06 08:23:48 +01:00