Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
The format for the spec examples has changed from
.
markdown
.
html
.
to
```````````````````````````````` example
markdown
.
html
````````````````````````````````
One advantage of this is that `spec.txt` becomes a valid
Markdown file.
`tests/spec_test.py` has been changed to use the new format.
The old `tools/makespec.py` has been replaced by a lua
program, `tools/make_spec.lua`, which uses the `lcmark` rock
(and indirectly libcmark). It can generate
html, latex, and commonmark versions of the spec.
Pandoc is no longer needed for the latex/PDF version.
And, since the new program uses the cmark API and operates
directly on the parse tree, we avoid certain bad results we
got with the regex replacements done by the python script.
|
|
Closes #353.
|
|
|
|
|
|
The C and JS implementations are being split off into
different repositories.
This repository will just have the spec itself.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Updated LICENSE, renamed to COPYING.
|
|
|
|
This update clarifies the provenance and license of buffer.h,
buffer.c, chunk.h, utf8.h, utf8.c.
@vmg certifies by merging this PR that the license and copyright
information are accurate.
|
|
|
|
|
|
|
|
Moved HTML generation out of Makefile.
|
|
Better to only require python, not python and perl.
|
|
|