Age | Commit message (Collapse) | Author |
|
Also tools/make_entities_h.py -> tools/make_entitis_inc.py.
|
|
This reverts commit e113185554c4d775e6fca0596011b405fa1700a5.
|
|
|
|
|
|
The primary advantage is a big reduction in the size of
the compiled library and executable (> 100K).
There should be no measurable performance difference in
normal documents. I detected a slight performance
hit (around 5%) in a file containing 1,000,000 entities.
* Removed `src/html_unescape.gperf` and `src/html_unescape.h`.
* Added `src/entities.h` (generated by `tools/make_entities_h.py`).
* Added binary tree lookup functions to `houdini_html_u.c`, and
use the data in `src/entities.h`.
|
|
|
|
* We now return an error status if anything in the loop fails.
* We now check --smart and --normalize options.
|
|
|
|
|
|
Eventually this should be pythonized and put in
the cmake test routine.
|
|
re2c 0.14.2 fixed the issue we were hitting.
|
|
|
|
|
|
Also add a compact test case. As far as I understand, a good test case
should exercise many code paths while being as small as possible.
There's probably still room for improvement.
The variable $AFL_PATH must point to the directory containing the AFL
binaries. It can be set as an environment variable or passed to make on
the command line.
|
|
`make asan` will link against ASan; the resulting
executable will do checks for memory access issues.
Thanks @JordanMilne for the suggestion.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PROG is overridable, CMARK is not.
Slight adjustment to #297.
|
|
SRCDIR, DATADIR, and PROG should not be overridable.
|
|
There's no need to reconfigure if html_unescape.h or case_fold_switch.inc
were changed.
|
|
cmake doesn't (re)build the project if the tests are run. This change
allows to run "make test" without having to run "make" before, for
example after modifying source files or from a clean tree.
|
|
This allows to install to a location other than /usr/local without
invoking cmake manually.
|
|
|
|
Since $(BUILDDIR) depended on the phony target "check", it was always
considered out-of-date. So it was always rebuilt resulting in running
the "cmake" command again even if it was already run.
Add a new phony target "cmake_build" that always triggers the cmake build
and make $(PROG) depend on it.
Running "make" a second time now doesn't run cmake again.
|
|
|
|
|
|
|
|
This reverts commit 5ddf8743f02132f07aad4bb27e0b84c530a706d7.
|
|
|
|
|
|
|
|
|
|
|
|
We now simply use git archive (which is also what github would
use on their releases page).
This is possible because we now include some generated files in
the repository.
The fact is that this is what people are going to use anyway,
so instead of testing two different setups (our hand-crafted
archive and the git repo), it's better just to use one.
|
|
|
|
Concatenate all languages for progit book.
|
|
Don't store length of UTF-8 string. It can be computed by
NULL-terminating strings shorter than 4 bytes and using strnlen.
Use gperf's string pool option. This allows to use an 'int' index into the
string pool instead of a pointer and is helpful on 64-bit systems.
Shaves about 75 KB off the 32-bit binaries on Linux and 128 KB off the
64-bit binaries on OS X.
|
|
This fixes a problem with some parallel builds.
|
|
* Use -j2, esp. for testarchive, so we can test parallel builds.
* Improved dependencies for cmark.3.
|
|
|
|
|
|
|
|
Instead, print the test log if any tests fail.
|
|
It simplifies the build if python and the cmark library aren't
needed to build the man page.
The top level Makefile has a rule to regenerate this when src/cmark.h
changes.
Updated Makefile.nmake for recent changes.
Added case folding data file to archive, since otherwise make fails.
|