Commit graph

617 commits

Author SHA1 Message Date
Joe Rozner
f220524b5a Generate pkg-config for Hammer
Create a pkg-config file and install it to $prefix/lib/pkgconfig
2013-11-20 13:04:07 -08:00
Meredith L. Patterson
76b445ddb1 Merge pull request #52 from thequux/token-registry
Added token type registry. Closes #45; see also #54
2013-11-19 20:29:12 -08:00
TQ Hirsch
4e035751c9 Merge pull request #53 from abiggerhammer/static-analysis
Static analysis
2013-11-19 20:22:26 -08:00
Meredith L. Patterson
91221ac256 tweak SConstruct so that 'scan-build scons' works 2013-11-19 22:09:38 -06:00
Meredith L. Patterson
b4e28ac021 Fixed a potential segfault; hand-initialized HParsers in h_choice and
h_sequence need PB_MIN set.

Conflicts:
	src/bindings/python/SConscript
	src/bindings/python/hammer_tests.py
2013-11-19 21:58:24 -06:00
Dan Hirsch
4811f58374 Added token type registry. Closes #45 2013-11-19 21:14:39 -06:00
Meredith L. Patterson
b6098075c7 Merge pull request #50 from thequux/conditional-varargs-in-header
Add internal conditional to not use stdarg.h for SWIG use
2013-11-15 20:29:48 -08:00
Dan Hirsch
cfc633422c Add internal conditional to not use stdarg.h for SWIG use 2013-11-15 21:55:57 -06:00
Meredith L. Patterson
6e8542e21b Merge pull request #48 from pete-/master
Ditch longs and long longs in favor of stdint.h types, which has cascadi...
2013-11-15 12:23:05 -08:00
Peter Johnson
c8fc061ea6 Ditch longs and long longs in favor of stdint.h types, which has cascading
effects throughout, including use of inttypes.h/PRI[ud]64 because printf() is
still stuck in a long world, conversion of %lu to %zu for printing values of
type size_t, and changing/renaming the g_check_cmp* family of functions.
2013-11-15 00:12:57 -05:00
TQ Hirsch
f0a24ee4d0 Merge pull request #46 from jrozner/master
Fix SCons bugs
2013-11-08 17:40:19 -08:00
Joe Rozner
b111190596 Clean up ENV
Don't pass the entire environment to SCons. Only pass the PATH
2013-11-08 17:36:59 -08:00
Joe Rozner
fb015b4a98 Fix SCons bugs
Don't clober the Environment (and thus the ENV['PATH'] by redefining it
and don't link against lr by default. Only add it if uname is not Darwin
2013-11-08 16:30:08 -08:00
Meredith L. Patterson
035e0c0ba2 Merge pull request #43 from thequux/g-check-parse-ok
Changed parser test macros so that _parse_ok just checks whether the mat...
2013-11-01 10:40:49 -07:00
Dan Hirsch
71209dc97b Changed parser test macros so that _parse_ok just checks whether the match succeeded and _parse_match actually checks the resulting parse tree 2013-11-01 13:39:37 -04:00
Meredith L. Patterson
cd067aab74 Merge pull request #42 from thequux/standalone-test-suite
Made test-suite work on its own
2013-11-01 10:28:11 -07:00
Dan Hirsch
ce0829de33 Made test-suite work on its own 2013-11-01 12:39:01 -04:00
TQ Hirsch
274cbe38a9 Merge pull request #41 from thequux/install-target
Added install target
2013-10-31 11:42:12 -07:00
Meredith L. Patterson
eb44b804bd update usage instructions to assume system-wide install; this will change later, but is accurate now. 2013-10-29 17:48:29 -04:00
Meredith L. Patterson
46d6237790 Update README.md with install target instructions 2013-10-29 17:44:46 -04:00
Dan Hirsch
64b5e307d2 Added install target 2013-10-29 17:35:37 -04:00
TQ Hirsch
4361c16c7e Merge pull request #39 from thequux/binding-support
Binding support
2013-10-28 07:22:40 -07:00
Dan Hirsch
cccb5f09ec Added build system for C++ 2013-10-28 09:58:18 -04:00
Dan Hirsch
94924da87e Allowed build to grab tools from PATH 2013-10-28 09:44:06 -04:00
Meredith L. Patterson
a88ebfb772 we support OS X now! 2013-10-18 03:26:27 -07:00
Meredith L. Patterson
43f1d70a5f Merging JakobR's OS X build changes. 2013-10-18 12:14:18 +02:00
Meredith L. Patterson
75dc4710a4 Removing coveralls, as it's not working for clang. 2013-10-16 18:08:09 -07:00
Meredith L. Patterson
2f7f7d6fc4 Merge pull request #36 from thequux/codecoverage
Added coverage support
2013-09-13 01:25:10 -07:00
Dan Hirsch
04ba15d9f2 Added coverage support 2013-09-13 01:21:05 -07:00
Meredith L. Patterson
59c8944ed9 Add build status info from travis-ci 2013-07-11 17:39:53 -07:00
Meredith L. Patterson
a7e4def944 Merge remote-tracking branch 'thequux/master'
Conflicts:
	SConstruct
2013-07-12 02:11:14 +02:00
Meredith L. Patterson
ab0e0463c9 add -lrt to build flags for clock_gettime 2013-07-12 02:02:41 +02:00
Dan Hirsch
65e688db5a Fixed clang implicit type cast warning 2013-07-11 23:44:28 +02:00
Meredith L. Patterson
e97860f91b Merge branch 'master' of https://github.com/UpstandingHackers/hammer 2013-07-11 23:23:11 +02:00
Meredith L. Patterson
2356276bc1 Merge pull request #34 from thequux/master
Fix asprintf build warning
2013-07-11 14:20:42 -07:00
Dan Hirsch
6a5487b9b8 Fixed a build warning due to ignoring the return value of asprintf. 2013-07-11 23:18:25 +02:00
Meredith L. Patterson
c583c6c68a tweak gitignore - is that what's fucking up travis-ci? 2013-07-11 23:00:42 +02:00
Meredith L. Patterson
07f569282c add irc notification to travis-ci 2013-07-11 22:52:59 +02:00
Meredith L. Patterson
becaf976c3 Merge branch 'master' of https://github.com/UpstandingHackers/hammer 2013-07-11 22:40:26 +02:00
Meredith L. Patterson
4f229e9b50 add travis-ci support 2013-07-11 22:39:06 +02:00
Dan Hirsch
b0f567c090 Added new build system 2013-07-10 21:32:05 +02:00
Dan Hirsch
aed1de5ce5 Applied a bugfix from my local branch 2013-06-24 21:46:23 +02:00
Dan Hirsch
e9a7c0b83d Added new SConscript-based build system; not yet done porting 2013-06-24 21:26:07 +02:00
Dan Hirsch
ce74cf7939 Refactored regex backend to use a sparse thread list 2013-06-24 21:25:22 +02:00
Meredith L. Patterson
0d7e69767d update README: all the backends are done 2013-06-22 11:00:49 -07:00
Meredith L. Patterson
623ca6e4e8 Merge pull request #14 from pesco/GLR
GLR
2013-06-22 10:35:44 -07:00
Sven M. Hallberg
66809ceeda go back to storing engines in lists 2013-06-22 18:16:41 +02:00
Sven M. Hallberg
67681a119a finish engine merging 2013-06-22 17:40:47 +02:00
Sven M. Hallberg
23afea4b4e add demerge code path (untested) 2013-06-22 14:21:19 +02:00
Sven M. Hallberg
bf9c9b5f7a refactoring in preparation for engine merging 2013-06-22 12:51:25 +02:00