Commit graph

1230 commits

Author SHA1 Message Date
Meredith L. Patterson
58af99ae40 Merge pull request #114 from mrdomino/llvm-attr-malloc
llvm doesn't care about your size
2014-12-30 00:18:53 +01:00
Meredith L. Patterson
f78054708c Merge pull request #111 from mrdomino/pkg-config-path
Fix compilation when PKG_CONFIG_PATH is not in environ
2014-12-30 00:18:25 +01:00
Meredith L. Patterson
47f34b81e4 Merge pull request #112 from mrdomino/fix-base64
Remove vacuous states in base64_sem?.c
2014-12-07 22:21:04 +01:00
Meredith L. Patterson
735131ee24 Merge pull request #110 from mrdomino/move-unreferenced-var
Move backend names into src/benchmark.c
2014-12-07 22:20:03 +01:00
Steven Dee
b1078c3d88 llvm doesn't care about your size
They apparently removed alloc_size at some point (it was a no-op
beforehand), causing the attribute to throw an error when clang compiles
anything including allocator.h.
2014-12-07 02:27:28 -05:00
Steven Dee
8d5f00870f Remove vacuous states in base64_sem?.c
I don't think these actually affect correctness since there's no way for
0x40 or 0x60 to show up in a parse tree anyway, but they're confusing.
2014-12-07 00:16:57 -05:00
Steven Dee
70fa455c03 Fix compilation when PKG_CONFIG_PATH is not in environ 2014-12-07 00:16:34 -05:00
Steven Dee
f2434d5b12 Move backend names into src/benchmark.c
It's causing unreferenced-variable warnings, and isn't referenced
anywhere aside from benchmark.c. If client code is likely to reference
it, perhaps move it into another header, so people who include hammer.h
don't have to refer to it to have warning-free code.
2014-12-07 00:12:11 -05:00
Meredith L. Patterson
9faa4cf675 Merge pull request #109 from mrdomino/readme-user-guide
Mention user guide in README
2014-12-01 01:38:18 +01:00
Steven Dee
011efe8cfb Mention user guide in README 2014-11-30 19:23:29 -05:00
Meredith L. Patterson
e7aa73446e Merge pull request #107 from sjmackenzie/master
Scons now doesn't throw away PKG_CONFIG_PATH, so NixOS can build it
2014-10-29 05:40:13 +01:00
stewart
e057e8cb1b Scons now doesn't throw away /home/stewart/.nix-profile/lib/pkgconfig:/nix/var/nix/profiles/default/lib/pkgconfig:/run/current-system/sw/lib/pkgconfig, so NixOS can build it 2014-10-29 10:32:21 +08:00
Meredith L. Patterson
0dff293f6a Merge pull request #106 from pesco/98-permutation-combinator
add h_permutation
2014-06-19 11:38:50 +02:00
Sven M. Hallberg
41dca83631 add h_permutation 2014-06-18 21:54:52 +02:00
TQ Hirsch
c7161663c0 Merge pull request #105 from abiggerhammer/value
h_put_value and h_get_value done.
2014-05-12 01:29:44 -07:00
Meredith L. Patterson
6bdaab552b merge from upstream 2014-05-12 09:55:36 +02:00
Meredith L. Patterson
eb6c74cf89 h_put_value and h_get_value done. 2014-05-12 09:52:35 +02:00
Meredith L. Patterson
702e82f1c1 h_put_value and h_get_value done. 2014-05-12 09:45:22 +02:00
TQ Hirsch
5679939a2c Merge pull request #104 from abiggerhammer/master
change pointer type to uintptr_t for portability
2014-05-11 14:56:31 -07:00
Meredith L. Patterson
fcd729ef60 change pointer type to uintptr_t for portability 2014-05-11 23:41:54 +02:00
Meredith L. Patterson
a3d8150dd0 Merge pull request #103 from pesco/77-endian-combinator
implement h_with_endianness combinator
2014-05-07 23:29:39 +02:00
Sven M. Hallberg
bf50ffcd84 tab correction 2014-05-07 19:29:25 +02:00
Sven M. Hallberg
4a90a0be66 fix h_read_bits path for BYTE_LITTLE_ENDIAN 2014-05-07 19:24:58 +02:00
Sven M. Hallberg
5f920b29f8 add h_with_endianness() 2014-05-07 19:24:26 +02:00
fbz
4f188340be replaced man page as asciidoc instead of groff, changed to section 3 man page 2014-04-29 11:51:08 -04:00
fbz
c328bff80c a first edit of a man page for hammer 2014-04-25 11:47:30 +02:00
Meredith L. Patterson
f701ec2518 Merge pull request #102 from thequux/ports
Added NetBSD and OpenBSD ports
2014-04-22 15:45:28 +02:00
TQ Hirsch
22d125bfab Added NetBSD and OpenBSD ports 2014-04-22 15:04:26 +02:00
TQ Hirsch
4f9efcd726 Merge pull request #101 from abiggerhammer/master
Make HHashTable resizeable and improve benchmarking output
2014-04-20 21:50:59 +02:00
Meredith L. Patterson
27f08df1d3 fix infinite loop in isValidCF with indirect 2014-04-20 21:40:09 +02:00
Meredith L. Patterson
bab376cab7 fix non-resizable hashtable 2014-04-20 21:00:50 +02:00
Meredith L. Patterson
eb04842d85 slightly nicer benchmark output 2014-04-20 17:31:21 +02:00
Meredith L. Patterson
1d12f9ffac regex_compile should return -1 if not a regular grammar; give backends names 2014-04-20 17:23:25 +02:00
Meredith L. Patterson
c9419f4c34 CF backends weren't checking whether a grammar is CF; they are now. Also, brace-fixing. 2014-04-20 16:57:01 +02:00
Meredith L. Patterson
d947c6aede Merge branch 'master' of http://github.com/UpstandingHackers/hammer 2014-04-20 00:46:37 +02:00
Meredith L. Patterson
6cf41c6408 Merge pull request #100 from thequux/openbsd
Ported to OpenBSD.
2014-04-14 00:55:56 +02:00
TQ Hirsch
cc4ded8914 Ported to OpenBSD. 2014-04-13 22:30:48 +00:00
Meredith L. Patterson
2c405f40a9 Merge pull request #99 from thequux/nbsd
Make build work on NetBSD
2014-04-14 00:01:52 +02:00
TQ Hirsch
849178d60b Ported to NetBSD (2/2): Add casts for character class detection
NetBSD's character class test macros are defined such that they produce
a compiler warning when given a char argument. Adding a cast to the call
fixes this.
2014-04-13 14:36:38 -07:00
TQ Hirsch
426a3f8468 Ported to NetBSD (1/2): Replaced Linux-specific timer call
CLOCK_THREAD_CPUTIME_ID is a linux-specific timer. On NetBSD, the best
way to get timer information appears to be getrusage, which happens to
be fairly cross-platform.
2014-04-13 14:36:38 -07:00
Meredith L. Patterson
5270484839 Merge pull request #97 from thequux/freebsd
Made mono tool only get loaded when the dotnet bindings are getting built
2014-04-13 12:30:07 +02:00
TQ Hirsch
2f479a010d Made mono tool only get loaded when the dotnet bindings are getting built 2014-04-12 21:44:10 -07:00
Meredith L. Patterson
70da67adb5 Merge pull request #94 from pesco/fix-49-stringmap-segfault
Fix #49 stringmap segfault
2014-04-10 23:40:28 +02:00
fbz
f95dc6cd7d Merge pull request #93 from pesco/fix-left-recursion
Fix left-recursion with packrat
2014-04-10 22:54:19 +02:00
Meredith L. Patterson
9be91f3b33 Merge pull request #95 from thequux/freebsd
Added FreeBSD port
2014-04-04 01:25:34 +02:00
TQ Hirsch
20f909ec91 Added FreeBSD port 2014-04-03 06:41:01 +00:00
Sven M. Hallberg
6875dc3e53 retab 2014-03-24 17:30:23 +01:00
Sven M. Hallberg
797bdb7224 copy source stringmap as necessary in stringmap_merge 2014-03-24 17:22:52 +01:00
Sven M. Hallberg
0970b15034 add function h_stringmap_copy 2014-03-24 17:22:32 +01:00
Sven M. Hallberg
2b31fb0f33 assert: stringmap_merge's arguments should use the same memory arena 2014-03-24 15:49:36 +01:00