Commit graph

  • d0d115f206 wrap only non-null rdata parsers with h_end_p Sven M. Hallberg 2013-01-23 16:55:26 +01:00
  • 8dea41c237 condense the packing table in set_rdata a little Sven M. Hallberg 2013-01-17 22:20:58 +01:00
  • c9d3101f41 a comment Sven M. Hallberg 2013-01-17 21:59:55 +01:00
  • e6a546b95b make actions for the remaining RDATA types Sven M. Hallberg 2013-01-17 21:58:17 +01:00
  • 4d40940493 move WKS into action Sven M. Hallberg 2013-01-17 21:39:32 +01:00
  • b88d6ca34a move SOA processing into an action Sven M. Hallberg 2013-01-17 21:35:33 +01:00
  • 8fbc137223 move get_cs into an action Sven M. Hallberg 2013-01-17 20:43:29 +01:00
  • 0304c75bba correct improper uses of H_FIELD on domain-only RDATAs Sven M. Hallberg 2013-01-17 19:15:33 +01:00
  • b953b9a763 move get_txt into an action building the whole dns_rr_txt structure Sven M. Hallberg 2013-01-17 19:13:06 +01:00
  • 954a762fc0 replace remaining h_attr_bool calls with VRULEs Sven M. Hallberg 2013-01-17 18:34:11 +01:00
  • dd574bd735 give glue actions an h_ prefix and add H_ACT_APPLY macro Sven M. Hallberg 2013-01-17 18:31:13 +01:00
  • e875dcd19a add "VRULE" family of macros to attach validations like actions Sven M. Hallberg 2013-01-17 17:44:41 +01:00
  • 6515a80c3a condense rr.c Sven M. Hallberg 2013-01-17 01:17:37 +01:00
  • 588d534f32 pull selection and initialization of RDATA parser out of set_rdata Sven M. Hallberg 2013-01-17 00:50:15 +01:00
  • f0155d18d6 pull packing of RRs out of act_message into act_rr Sven M. Hallberg 2013-01-16 22:42:47 +01:00
  • 587143eec1 cleanup and bugfixing on domain parser Sven M. Hallberg 2013-01-16 18:20:23 +01:00
  • 4f1e9ad22d don't add _t type suffix inside H_ macros Sven M. Hallberg 2013-01-16 16:41:23 +01:00
  • ac3ad6d690 remove left-over definitions that have moved to glue.h Sven M. Hallberg 2013-01-16 16:40:49 +01:00
  • ccd304ddd7 replace remaining get_domain calls and remove get_domain Sven M. Hallberg 2013-01-16 16:36:23 +01:00
  • e54c5236ff replace get_domain calls in set_rr with H_FIELD Sven M. Hallberg 2013-01-16 16:31:46 +01:00
  • 0083031d6f move get_domain logic into an action on the domain parser Sven M. Hallberg 2013-01-16 16:08:30 +01:00
  • 16b1e02baa add an assertion to h_seq_index Sven M. Hallberg 2013-01-16 16:03:20 +01:00
  • aa295f1536 rewrite dns domain grammar using H_RULE Sven M. Hallberg 2013-01-16 15:40:10 +01:00
  • a38d2e4ab0 replace another field access with a glue macro Sven M. Hallberg 2013-01-16 15:06:51 +01:00
  • 3412541370 move api additions to glue.[ch] Sven M. Hallberg 2013-01-16 15:05:04 +01:00
  • 4b30ebdb77 pull out struct types of complex rdata fields Sven M. Hallberg 2013-01-15 22:34:15 +01:00
  • 9c10a75f3d use H_SEQ_INDEX to access a sequence Sven M. Hallberg 2013-01-15 22:18:33 +01:00
  • 83f4944321 separate parsing and packing of rdata Sven M. Hallberg 2013-01-15 22:12:13 +01:00
  • 342e39eb61 add helpers for easier token construction and access to sequence elements Sven M. Hallberg 2013-01-15 20:02:53 +01:00
  • b5db3177db normalize allocation of result in act_message wrt other actions Sven M. Hallberg 2013-01-15 17:50:18 +01:00
  • acfc903a15 start pulling pack_dns_struct apart Sven M. Hallberg 2013-01-15 13:54:30 +01:00
  • 21df49cc15 split out act_header Sven M. Hallberg 2013-01-15 01:24:47 +01:00
  • 2db9cd23c8 grammar beautification Sven M. Hallberg 2013-01-15 00:19:43 +01:00
  • 2ff51ab9c3 rework dns example syntax into H_RULE style Sven M. Hallberg 2013-01-14 21:25:46 +01:00
  • 40ab87b4fb add user-defined token types for dns parts Sven M. Hallberg 2013-01-14 20:35:20 +01:00
  • fab8705828 typo Sven M. Hallberg 2013-01-13 18:56:45 +01:00
  • 619725e5bb typo Sven M. Hallberg 2013-01-13 18:56:16 +01:00
  • 1998ae243a add introductory comments to base64 examples Sven M. Hallberg 2013-01-13 18:47:03 +01:00
  • 32dfae0af3 add a variant of the base64 example with coarse-grained semantic actions Sven M. Hallberg 2013-01-13 18:19:59 +01:00
  • b8314f6662 Added regex backend, does not compile Dan Hirsch 2013-01-13 17:01:10 +01:00
  • ad3c2032dc add a note about weird bug Sven M. Hallberg 2013-01-11 01:10:16 +01:00
  • c62079516d add semantic action for base64 rule Sven M. Hallberg 2013-01-11 00:57:34 +01:00
  • 97b13672ce generalize act_base64_n Sven M. Hallberg 2013-01-11 00:41:34 +01:00
  • 54bd5a4a38 add semantic actions for base64_3, base64_2, base64_1 Sven M. Hallberg 2013-01-10 23:44:28 +01:00
  • 2af0f9c47c start a variant of the base64 example with semantic actions Sven M. Hallberg 2013-01-10 22:33:58 +01:00
  • 445913610d parse whole input and allow surrounding whitespace in base64 example Sven M. Hallberg 2013-01-10 01:25:37 +01:00
  • 88566ab81b Merge branch 'fix-left-recursion' into base64-example Sven M. Hallberg 2013-01-10 01:23:38 +01:00
  • 4e3084739e fix expected value of first leftrec test case Sven M. Hallberg 2013-01-10 01:09:04 +01:00
  • 63dbf83b4d fix a loop in setupLR Sven M. Hallberg 2013-01-10 01:04:04 +01:00
  • dffe47bf57 initialize eval_set to a proper copy of involved_set Sven M. Hallberg 2013-01-10 00:40:19 +01:00
  • ce88a3f49d initialize involved_set to an empty HList, not NULL Sven M. Hallberg 2013-01-10 00:39:15 +01:00
  • 0497cdb08b add trivial left-recursion test case Sven M. Hallberg 2013-01-10 00:08:07 +01:00
  • fdf76a0910 Merge pull request #25 from pesco/fix-whitespace-end Meredith L. Patterson 2013-01-09 08:08:49 -08:00
  • a2840a6aa7 Merge pull request #24 from pesco/base64-example Meredith L. Patterson 2013-01-09 08:07:19 -08:00
  • b507ff6cb0 Merge pull request #23 from pesco/tt_user Meredith L. Patterson 2013-01-09 08:07:03 -08:00
  • 18e33a6112 Merge branch 'fix-whitespace-end' into base64-example Sven M. Hallberg 2013-01-09 14:54:00 +01:00
  • 2bc03e4e9f allow h_whitespace(p) to succeed on end of input if p succeeds Sven M. Hallberg 2013-01-09 14:48:02 +01:00
  • 177281289c use h_in for restricted base64 digit cases Sven M. Hallberg 2013-01-08 00:24:13 +01:00
  • 87b5e668c3 remove comments about bugs that no longer exist Sven M. Hallberg 2013-01-08 00:20:34 +01:00
  • bc486aa840 fix base64 example to parse more than the 2- and 1-byte special cases Sven M. Hallberg 2013-01-08 00:19:23 +01:00
  • 4d0ec07c1a make TT_USER > TT_ERR, remove TT_MAX Sven M. Hallberg 2013-01-07 23:44:26 +01:00
  • ca8751bcfe Merge branch 'master' of git://github.com/abiggerhammer/hammer Dan Hirsch 2012-12-31 20:06:14 +01:00
  • 36e1f66de0 Expanded vtable for methods to determine whether a combinator is ok to use with regular or CF grammars. Meredith L. Patterson 2012-12-18 18:10:40 -05:00
  • ad4aa74b85 Merge pull request #22 from abiggerhammer/master Meredith L. Patterson 2012-11-14 11:11:28 -08:00
  • 8163b3981d Changed other instances of malloc.h to stdlib.h for OSX compat Meredith L. Patterson 2012-11-14 14:05:25 -05:00
  • b97d961227 Merge pull request #21 from abiggerhammer/master Meredith L. Patterson 2012-11-13 21:05:30 -08:00
  • fa6497b9f0 Refactored packrat-parsing code into packrat.c Meredith L. Patterson 2012-11-14 00:02:24 -05:00
  • 0ab598cd4a Merge pull request #20 from abiggerhammer/master Meredith L. Patterson 2012-11-13 19:57:43 -08:00
  • 4e6cfe9375 doc isn't actually a target yet Meredith L. Patterson 2012-11-13 22:54:10 -05:00
  • 5b1619719e Merge remote-tracking branch 'upstream/master' Dan Hirsch 2012-11-13 22:52:56 -05:00
  • 1e35c3c63a Fixed build error on OSX... I think. Dan Hirsch 2012-11-13 22:51:31 -05:00
  • 29c61e8aec Merge remote-tracking branch 'upstream/master' Dan Hirsch 2012-11-13 22:42:44 -05:00
  • 49ea7864cc Tweaked docs Dan Hirsch 2012-11-13 22:42:25 -05:00
  • fe757bde2d Refactoring done. Added glib minimum version to README. Meredith L. Patterson 2012-11-13 22:42:11 -05:00
  • de8db18db4 Refactored tests; make just builds library, make test builds/runs tests Meredith L. Patterson 2012-11-13 22:29:25 -05:00
  • 236ec733a1 Reorganizing makefile requirements Meredith L. Patterson 2012-11-13 21:50:48 -05:00
  • e9b49cf24c gcc 4.4 requires stdarg in hammer.h Meredith L. Patterson 2012-11-11 12:39:23 -05:00
  • 4ee72f7308 double 'const' decl was causing clang to error Meredith L. Patterson 2012-11-11 11:10:39 -05:00
  • c05559f04b made prereq header a little smaller Meredith L. Patterson 2012-11-11 02:29:34 -05:00
  • e96969a6f0 Finally wrote a damn README Meredith L. Patterson 2012-11-11 02:28:07 -05:00
  • 6ae2e1fed4 Changed malloc.h to stdlib.h for OSX compatibility. Meredith L. Patterson 2012-11-10 23:34:08 -05:00
  • 6893987cbc h_benchmark and h_benchmark_report work. Need tidying. Meredith L. Patterson 2012-11-09 01:50:07 -05:00
  • c24044230b Benchmark is actually broken right now, for mysterious double-free related reasons. I will dig into this tomorrow. Meredith L. Patterson 2012-11-08 01:36:19 -05:00
  • 771de6f98b Benchmark test case array needed to be terminated with {NULL,0,NULL}. Noted that in comments. Meredith L. Patterson 2012-11-06 00:20:00 -05:00
  • 21ec962d76 Working on benchmarking test. A lot of things needed to be const and weren't. Meredith L. Patterson 2012-11-05 23:08:18 -05:00
  • d0d9a94fd0 Added benchmark skeleton, and at least stubs for all of the necessary functions Dan Hirsch 2012-11-02 17:16:53 -04:00
  • 8eececcac8 Now builds without glib Dan Hirsch 2012-10-10 16:45:10 +02:00
  • 158b2b3ba6 Removed all glib functions from everything other than the test suite. Meredith L. Patterson 2012-10-10 16:24:12 +02:00
  • d5729efa1f Replaced glib memory allocation Dan Hirsch 2012-10-10 15:58:03 +02:00
  • 6101b8c43a Hash table now works. Dan Hirsch 2012-10-08 22:06:33 +02:00
  • b44d00ed33 Replaced GHashTable with HHashTable ... which has some problem causing it to segfault. Meredith L. Patterson 2012-10-08 21:12:56 +02:00
  • bc5e2fa754 pulled in tq's hashtable Meredith L. Patterson 2012-10-08 19:21:56 +02:00
  • 12035d66a1 Added hashtable implementation Dan Hirsch 2012-10-08 19:20:36 +02:00
  • bd41f059b2 Merge branch 'master' of https://github.com/abiggerhammer/hammer Meredith L. Patterson 2012-10-08 18:20:34 +02:00
  • ef6af551d1 Replaced GQueue and GSlist with HSlist. Meredith L. Patterson 2012-10-08 18:16:18 +02:00
  • b6bf0ea30c Merge remote-tracking branch 'thequux/master' Meredith L. Patterson 2012-10-08 18:14:18 +02:00
  • 69ba191783 Added singly-linked list Dan Hirsch 2012-10-08 17:11:47 +02:00
  • aff27779cb Add draft JNI interface ægis 2012-09-28 17:58:21 +02:00
  • 85e1ca8235 Make enum values of HTokenType in hammer.h explicit ægis 2012-09-28 17:57:46 +02:00
  • c246642d3e Slides from the Berlinsides/SkyTalks Hammer talk Meredith L. Patterson 2012-08-28 13:29:24 -04:00