- Nov 08, 2019
-
-
xentrac authored
-
xentrac authored
Also remove a couple of spelling and capitalization nits. I did this because I was reading the document and they bothered me.
-
xentrac authored
It bothers me a little bit that I can't figure out how to free the parser --- surely that is a thing that the bindings for other languages need to do --- but storing a pointer to the parser in a statically-allocated variable, as in base64.c, at least stops valgrind from reporting the parser as a memory leak.
-
xentrac authored
Obviously we don't care if examples/base64.c leaks memory before exiting, but things like that are noise that make it hard to tell if there's a real memory-leak problem somewhere else; it also sets a bad example for code that someone might write modeled on the example. This patch ensures that the example frees its allocations as it should.
-
- Oct 25, 2019
-
-
Andrea Shepard authored
-
Andrea Shepard authored
-
Andrea Shepard authored
Fix segfault in base64 example with DEBUG See merge request hammer/hammer!5
-
Andrea Shepard authored
-
It was trying to dump the parse tree even when it was NULL due to parse failure. This was particularly a problem since earlier in the file it
-
- Oct 09, 2019
-
-
Andrea Shepard authored
Remove bogus HParser * constness and non-portable %lld format string; fixes issue 59 Closes #59 See merge request hammer/hammer!2
-
Andrea Shepard authored
-
Andrea Shepard authored
-
Andrea Shepard authored
-
Andrea Shepard authored
-
Andrea Shepard authored
update to better reflect results of Great Merge and move to SC hosting See merge request hammer/hammer!1
-
Meredith L. Patterson authored
-
- Oct 08, 2019
-
-
Meredith L. Patterson authored
-
Meredith L. Patterson authored
-
Meredith L. Patterson authored
-
- Oct 07, 2019
-
-
Meredith L. Patterson authored
Add support for Python 3.x bindings
-
Meredith L. Patterson authored
add SLOB allocator
-
Meredith L. Patterson authored
-
Meredith L. Patterson authored
-
Meredith L. Patterson authored
Merging master into luajit branch
-
Meredith L. Patterson authored
-
Meredith L. Patterson authored
-
- May 10, 2019
-
-
Alex Willmer authored
-
Alex Willmer authored
In Python 2.x an unprefixed string literal produces a byte string. In Python 3.x an unprefixed string literal produces a textual string. To produce a byte string in both a b prefix is needed, e.g. b'foo'. Since I believe Hammer works predominantly with byte strings I have used b prefixes throughout.
-
Alex Willmer authored
This removes any doubts about what type of string is in use.
-
Alex Willmer authored
This allows the library to be built and tested with a non-default version of CPython, e.g. scons bindings=python python=python3.6 scons bindings=python python=python3.6 testpython
-
Alex Willmer authored
In Python 3.x - int and long types are unified. The unified type is called int. - the text string type (unicode) is renamed to str. - the byte string type (str) is renamed to bytes. - chr returns a text string (i.e. str) - xrange is renamed to range. - dict.has_key() is removed -
-
Alex Willmer authored
These have no effect in Python 3.x, they are the default. Enabling them in Python 2.x, enabling them in Python 2.x allows single source compatiblity.
-
- May 07, 2018
- Jun 27, 2017
-
-
Meredith L. Patterson authored
Change filename in ruby bindings
-
- Dec 07, 2016
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
- Dec 06, 2016
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-