summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2020-05-13Add lint target to MakefileJohn MacFarlane
2020-05-13New lint target using clang-tidy.John MacFarlane
2020-03-20Add uninstall target to Makefile.John MacFarlane
2019-04-07For afl target, don't build tests.John MacFarlane
2017-06-29Makefile: add libFuzzer to phonyJohn MacFarlane
2017-06-27Add Makefile target and harness to fuzz with libFuzzerPhil Turnbull
This can be run locally with `make libFuzzer` but the harness will be integrated into oss-fuzz for large-scale fuzzing.
2017-06-27Move fuzzing dictionary into single filePhil Turnbull
This allows AFL and libFuzzer to use the same dictionary
2017-05-05Remove normalize as an option per #190 (#194)Yuki Izumi
2016-12-06Added 'make newbench'.John MacFarlane
2016-12-05Makefile: use warnings with re2c.John MacFarlane
2016-12-03Update CaseFolding to latest (#168)Kevin Wojniak
1. Downloaded CaseFolding.txt from http://unicode.org/Public/UCD/latest/ucd/CaseFolding.txt 2. Deleted src/case_fold_switch.inc 3. Ran `make src/case_fold_switch.inc`
2016-11-18Improve afl target. Use afl-clang by default. Set default for path.John MacFarlane
2016-10-11'make format': don't change order of includes.John MacFarlane
2016-07-16Use $(MAKE) in Makefile for recursive makesTobias Kortkamp
On some system namely OpenBSD/FreeBSD GNU Make is called gmake and calling make directly from the Makefile leads to strange results. See https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html#MAKE-Variable
2016-07-11Makefile: have leakcheck stop on first error...John MacFarlane
instead of going through all the formats and options and probably getting the same output.
2016-02-06Require re2c >= 1.14.2.John MacFarlane
Version <= 1.13.7 don't allow the `-8` option. Closes #102.
2015-12-28'make format' - reformat tests as well.John MacFarlane
2015-12-20Made roundtrip test part of the test suite run by cmake.John MacFarlane
2015-12-19Improved benchmark. Use longer test.John MacFarlane
2015-12-19Removed need for sudo in make bench.John MacFarlane
2015-12-19Removed outdated targets from Makefile.John MacFarlane
2015-08-07Use -10 priority with renice.John MacFarlane
Negative numbers are higher priority!
2015-07-27Use clang-format, llvm style, for formatting.John MacFarlane
* Reformatted all source files. * Added 'format' target to Makefile. * Removed 'astyle' target. * Updated .editorconfig.
2015-07-15make bench: allow overriding BENCHFILE.John MacFarlane
Previously if you did this, it would clopper BENCHFILE with the default bench file.
2015-07-15Improved clang-check target.John MacFarlane
2015-07-14Added clang-check target.John MacFarlane
2015-07-13afl target: removed '-m none', added CMARK_OPTS.John MacFarlane
2015-07-05Added LaTeX renderer.John MacFarlane
* New exported function in API: `cmark_render_latex`. * Added src/latex.hs. * Updated README and man page. * Closes #31.
2015-07-03Use utf-8 aware re2c.John MacFarlane
2015-06-17Renamed entities.h -> entities.inc.John MacFarlane
Also tools/make_entities_h.py -> tools/make_entitis_inc.py.
2015-06-16Revert "Rebuild src/entities.h when the generating python program changes."John MacFarlane
This reverts commit e113185554c4d775e6fca0596011b405fa1700a5.
2015-06-16Rebuild src/entities.h when the generating python program changes.John MacFarlane
2015-06-16Added explanatory note about entities.h in Makefile.John MacFarlane
2015-06-16Replace gperf-based entity lookup with binary tree lookup.John MacFarlane
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`.
2015-05-29Added Ubsan build target, to check for undefined behavior.John MacFarlane
2015-05-04Improved 'make leakcheck'.John MacFarlane
* We now return an error status if anything in the loop fails. * We now check --smart and --normalize options.
2015-04-18make afl: use afl_dictionary, raise timeout for hangs.John MacFarlane
2015-04-14Added afl to .PHONY in Makefile.John MacFarlane
2015-03-29Added roundtrip_test Makefile target.John MacFarlane
Eventually this should be pythonized and put in the cmake test routine.
2015-03-27Update list of buggy re2c versionsNick Wellnhofer
re2c 0.14.2 fixed the issue we were hitting.
2015-03-25Warn about buggy re2c versionsNick Wellnhofer
2015-03-21leakcheck with all formatsJohn MacFarlane
2015-02-23Add Makefile target to fuzz with AFLNick Wellnhofer
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.
2015-02-19Added 'Asan' build type.John MacFarlane
`make asan` will link against ASan; the resulting executable will do checks for memory access issues. Thanks @JordanMilne for the suggestion.
2015-02-16Don't require python3 to make cmark.3 man page.John MacFarlane
2015-01-28Added Profile build type, 'make prof' target.John MacFarlane
2015-01-24Makefile: Removed spec- and website- related parts.John MacFarlane
2015-01-24Makefile: Added update-spec target.John MacFarlane
2015-01-24Moved spec.txt to test/ directory.John MacFarlane
2015-01-24Removed obsolete PACKAGEDIR in Makefile.John MacFarlane