Commit graph

  • 6aa7db833e Merge remote-tracking branch 'upstream/master' into fix-alloc-failures Sven M. Hallberg 2015-11-14 23:24:06 +01:00
  • 7017ea6d91 Merge pull request #156 from pesco/fix-libpath-order Meredith L. Patterson 2015-11-14 19:16:24 +01:00
  • 9e37fbe513 fix LIBPATH order for building test_suite Sven M. Hallberg 2015-11-14 18:44:31 +01:00
  • 25acd90a48 allow h_sequence(NULL) as parser for the empty sequence Sven M. Hallberg 2015-11-01 17:49:53 +01:00
  • e8b1962005 out of memory handling and leak fixes in regex backend Sven M. Hallberg 2015-10-30 21:26:08 +01:00
  • 9ef70f2f2d never return if h_arena_malloc fails, call errx() or longjmp() Sven M. Hallberg 2015-10-30 21:23:45 +01:00
  • d5e79aa4cb fail an assert on h_sequence(NULL) instead of segfaulting later Sven M. Hallberg 2015-10-29 22:03:05 +01:00
  • 3765fd64e1 don't pre-allocate all space when parsing an h_length_value Sven M. Hallberg 2015-10-29 13:12:16 +01:00
  • d2ade1f5b4 call h_arena_free when resizing in h_carray_append Sven M. Hallberg 2015-10-29 13:11:32 +01:00
  • dd5cc15a2b shave off another ~500ns/iter by not initialising HLeftRecs we'll never use Meredith L. Patterson 2015-10-04 17:07:59 +02:00
  • a3290770e2 Merge pull request #154 from abiggerhammer/master TQ Hirsch 2015-10-04 16:28:51 +02:00
  • 2c4c4ce146 Merge pull request #153 from abiggerhammer/master TQ Hirsch 2015-10-04 15:54:34 +02:00
  • 99ca500d2b Don't try to recall() primitive results Meredith L. Patterson 2015-10-04 15:32:32 +02:00
  • 9235bf793c Only do coverage with the C builds; otherwise the bindings tests don't work Meredith L. Patterson 2015-10-04 03:36:02 +02:00
  • 4fed9327a4 now both clang and gcc have coverage without any dumb hacks Meredith L. Patterson 2015-10-04 02:53:54 +02:00
  • d809bbd1a9 slightly less ugly Meredith L. Patterson 2015-10-04 01:59:20 +02:00
  • d8d106d035 typo Meredith L. Patterson 2015-10-04 01:55:11 +02:00
  • 2915a8f174 dirty hack continues Meredith L. Patterson 2015-10-04 01:52:26 +02:00
  • 2b637946fa nope, guess we need -lgcov after all Meredith L. Patterson 2015-10-04 01:49:39 +02:00
  • ff65571474 this is a dirty hack, but it solves the Program builder not honoring LDFLAGS Meredith L. Patterson 2015-10-04 01:43:44 +02:00
  • 10997afcbb adding code coverage to automation Meredith L. Patterson 2015-10-04 00:42:28 +02:00
  • f24b24ad8d Merge pull request #152 from abiggerhammer/master TQ Hirsch 2015-10-04 00:09:39 +02:00
  • 9dbd2debda fix --coverage build option; building with it now creates .gcda files that gcov can use Meredith L. Patterson 2015-10-04 00:03:24 +02:00
  • 755b771ee2 more thorough comments Meredith L. Patterson 2015-10-03 22:26:40 +02:00
  • 969d768205 Don't cache dummy results for primitive parsers. Meredith L. Patterson 2015-10-03 17:54:11 +02:00
  • 65dcf8d0d6 Merge pull request #151 from abiggerhammer/master TQ Hirsch 2015-10-03 16:47:43 +02:00
  • 578ac05154 add platform.h to distribution headers Meredith L. Patterson 2015-10-03 14:32:54 +02:00
  • 89e675bd2a Merge remote-tracking branch 'upstream/master' into fix-wrong_bit_length Sven M. Hallberg 2015-09-26 18:09:58 +02:00
  • fea3a69d4b Merge pull request #149 from pesco/fix-charset_bits Meredith L. Patterson 2015-09-26 17:45:41 +02:00
  • 9c89b999a1 Merge pull request #148 from pesco/fix-charset_conflicts Meredith L. Patterson 2015-09-26 17:44:36 +02:00
  • cbae05b614 Merge remote-tracking branch 'upstream/master' into fix-wrong_bit_length Sven M. Hallberg 2015-09-25 19:19:16 +02:00
  • f3011f8263 allocate 256 bits, not 256 bytes, for a charset Sven M. Hallberg 2015-09-25 16:48:32 +02:00
  • c770fbab1b add regression test for charset over-allocation Sven M. Hallberg 2015-09-25 16:47:07 +02:00
  • df179eba43 fix conflict resolution with charset productions Sven M. Hallberg 2015-09-25 01:28:52 +02:00
  • c9de11c883 Merge branch 'master' of git://github.com/UpstandingHackers/hammer into iterative Sven M. Hallberg 2015-09-24 16:36:53 +02:00
  • 520884739c cosmetic changes Sven M. Hallberg 2015-09-24 16:33:13 +02:00
  • 690985dddd Merge pull request #147 from pesco/iterative Meredith L. Patterson 2015-09-24 16:31:11 +02:00
  • 65dbcf56fc make sure LALR doesn't confuse terminal symbols in the enhanced grammar Sven M. Hallberg 2015-09-24 16:29:56 +02:00
  • 96503ac497 Merge remote-tracking branch 'upstream/master' into iterative Sven M. Hallberg 2015-09-24 16:12:32 +02:00
  • d70e720073 Merge remote-tracking branch 'upstream/master' into fix-wrong_bit_length Sven M. Hallberg 2015-09-24 13:52:30 +02:00
  • cb93c3b4ec Merge pull request #141 from pesco/iterative Meredith L. Patterson 2015-09-23 10:52:22 +02:00
  • 8d631d0724 Merge pull request #146 from uucidl/master Meredith L. Patterson 2015-09-22 15:44:08 +02:00
  • a02045b44e Remove now unneeded workaround Nicolas Léveillé 2015-09-22 10:16:53 +02:00
  • cfeb740a75 Merge pull request #145 from uucidl/master Meredith L. Patterson 2015-09-20 19:47:16 +02:00
  • e0a41a85fc Add workaround for VS2015 so that appveyor works Nicolas Léveillé 2015-09-20 17:16:43 +02:00
  • 87aa543739 Merge pull request #144 from pesco/fix-lalr_bugs Meredith L. Patterson 2015-09-18 01:00:14 +02:00
  • 09db791089 Merge branch 'fix-lalr_bugs' into iterative Sven M. Hallberg 2015-09-17 16:40:13 +02:00
  • 9edef88bbc fix a formatting error in h_pprint_stringmap Sven M. Hallberg 2015-09-17 16:39:22 +02:00
  • a4179fca02 note why token position is not set correctly by LL(k) right now Sven M. Hallberg 2015-09-17 00:33:14 +02:00
  • 6094deda96 report correct token position from LR backends Sven M. Hallberg 2015-09-17 00:19:22 +02:00
  • caf00006f3 add iterative API to LALR backend Sven M. Hallberg 2015-09-16 23:43:30 +02:00
  • ff55937e00 split out h_pprint_lr_info for debugging purposes Sven M. Hallberg 2015-09-16 23:42:18 +02:00
  • 42d35fb883 move chunk position into HInputStream and simplify internal chunk API Sven M. Hallberg 2015-09-16 23:25:36 +02:00
  • e385e0e5de Merge branch 'fix-lalr_bugs' into iterative Sven M. Hallberg 2015-09-16 22:21:53 +02:00
  • cdd1289936 fix printing of "negative" byte values Sven M. Hallberg 2015-09-16 22:17:31 +02:00
  • 7319c48e59 fix reshape for h_many Sven M. Hallberg 2015-09-16 20:06:24 +02:00
  • db95cda229 add regression test for wrong nesting of h_many/h_sequence results with CFG backends Sven M. Hallberg 2015-09-16 19:15:07 +02:00
  • 3eb2a2023d add a comment regarding another CHARSET case Sven M. Hallberg 2015-09-16 18:50:21 +02:00
  • 422f88c4aa handle charset left-hand-side in LALR compile Sven M. Hallberg 2015-09-16 18:43:52 +02:00
  • 31c460780f add regression test for unhandled charset left-hand-side case in LALR compile Sven M. Hallberg 2015-09-16 18:23:32 +02:00
  • 5b4550ab0f make MARK a constant that points to itself Sven M. Hallberg 2015-09-08 16:19:45 +02:00
  • fb5122ec88 fix result bit_length for LR backends Sven M. Hallberg 2015-09-07 15:37:26 +02:00
  • 4f455aa97e fix result bit_length for LL(k) Sven M. Hallberg 2015-09-07 15:33:50 +02:00
  • 29434869d5 add result_length test Sven M. Hallberg 2015-09-07 11:05:06 +02:00
  • bfb795b093 add window buffer to look across chunk boundaries Sven M. Hallberg 2015-09-06 14:48:51 +02:00
  • 73e92f04df save kmax in HLLkTable Sven M. Hallberg 2015-09-06 14:48:41 +02:00
  • 8995097a1d let's just use ((void *)-1) as another invalid pointer result Sven M. Hallberg 2015-09-05 22:43:49 +02:00
  • 90b6f30fa1 add a test that needs to suspend on lookahead in the middle of a chunk Sven M. Hallberg 2015-09-04 21:06:50 +02:00
  • 1276004250 handle suspend on lookahead at the very end of the chunk Sven M. Hallberg 2015-09-04 21:05:56 +02:00
  • 010a1a36ff int_range test does not work for regex backend Sven M. Hallberg 2015-09-04 16:48:01 +02:00
  • d4f933b2d3 move last_chunk flag into HInputStream Sven M. Hallberg 2015-09-04 12:55:37 +02:00
  • 28fa93d4cc make overrun flag a bool to match its usage Sven M. Hallberg 2015-09-04 12:54:00 +02:00
  • d3fd0da7b7 don't skip tests on compile failure anymore Sven M. Hallberg 2015-09-04 12:48:10 +02:00
  • 932c9717d7 oops, forgot about the lookahead Sven M. Hallberg 2015-09-04 12:34:34 +02:00
  • 10fde548ad add a test for iterative parsing Sven M. Hallberg 2015-09-03 19:58:39 +02:00
  • 0231dc141e add iterative API to LL(k) backend Sven M. Hallberg 2015-09-03 19:18:07 +02:00
  • f1d6d0bc5e split h_llk_parse into start/chunk/finish internally Sven M. Hallberg 2015-09-03 16:24:47 +02:00
  • 2845a9391e add API and backend hooks for iterative (chunked) parsing Sven M. Hallberg 2015-09-03 15:03:01 +02:00
  • 57b3495d5e calculate result bit_length of h_bind and h_left and friends properly Sven M. Hallberg 2015-08-31 17:28:01 +02:00
  • e01d10f0ab Merge pull request #139 from pesco/fix-llk_zero_end Meredith L. Patterson 2015-08-25 14:49:15 +02:00
  • c5f2c5aa2b add a missing end-of-input check in the LL(k) backend Sven M. Hallberg 2015-08-25 14:14:48 +02:00
  • 25b27490c3 Merge pull request #138 from uucidl/platform-timing TQ Hirsch 2015-08-19 12:56:49 +02:00
  • 9557448ae6 Introduce {v,}asprintf for windows Nicolas Léveillé 2015-08-16 16:46:52 +02:00
  • 124b4c381b regex_debug.c: Stop including dlfcn.h Nicolas Léveillé 2015-08-16 10:22:05 +02:00
  • 102b9593dc Update list of files to compile on windows Nicolas Léveillé 2015-08-16 16:20:53 +02:00
  • e74e23d672 Change system_allocator to store size of blocks only for debugging Nicolas Léveillé 2015-08-16 09:15:20 +02:00
  • d9ae097533 Remove void pointer arithmetics in system_allocator.c Nicolas Léveillé 2015-08-16 09:10:04 +02:00
  • 01333964bd Substitute spaces for tabs Nicolas Léveillé 2015-08-15 15:31:49 +02:00
  • 2346239887 Implement h_platform_stopwatch for Windows Nicolas Léveillé 2015-08-15 13:47:34 +02:00
  • 739f5d6d5c Split platform specific time measurement away Nicolas Léveillé 2015-08-15 13:40:31 +02:00
  • a7a5e8cfad Merge pull request #137 from uucidl/building-on-appveyor Meredith L. Patterson 2015-08-12 10:01:03 +02:00
  • 226cad2ab2 Don't build all of Hammer on AppVeyor just now Nicolas Léveillé 2015-08-09 18:40:44 +02:00
  • c0ab06736f Deactivate compiler warnings from CL.EXE that fire in hammer Nicolas Léveillé 2015-08-09 18:40:04 +02:00
  • 0c35525e30 Convert usages of errx to h_platform_errx Nicolas Léveillé 2015-08-09 18:38:27 +02:00
  • c8726244ae Wrap remaining __attribute__ Nicolas Léveillé 2015-08-09 18:37:07 +02:00
  • 6b9ba6033e Allow windows users to include hammer.h Nicolas Léveillé 2015-08-09 17:44:47 +02:00
  • e7620e3e4b windows build: Build with debug symbols Nicolas Léveillé 2015-08-09 17:02:49 +02:00
  • be30820023 windows build: Add build scripts + appveyor.yml Nicolas Léveillé 2015-08-09 15:20:43 +02:00
  • 402721ddb7 Merge pull request #136 from abiggerhammer/master TQ Hirsch 2015-08-03 00:00:06 +02:00
  • 0fb9d77e40 remove error from HSVMContext, make svm_stack_ensure_cap return bool instead Meredith L. Patterson 2015-08-02 23:42:38 +02:00