aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-24Removed website-specific stuff in Makefile.John MacFarlane
2015-01-24Added spec tests.John MacFarlane
2015-01-24Removed implementation-specific parts of README.md.John MacFarlane
2015-01-24Updated makespec.py to use `cmark` in path.John MacFarlane
2015-01-24New Makefile just for spec operations.John MacFarlane
2015-01-24Removed implementation-specific material from repository.John MacFarlane
The C and JS implementations are being split off into different repositories. This repository will just have the spec itself.
2015-01-24Added note on documentation in man pages.John MacFarlane
2015-01-24Updated changelog.c.txt.John MacFarlane
2015-01-24Updated version in CMakeLists.txt.John MacFarlane
2015-01-24Bump spec version to 0.17, updated changelog for spec.John MacFarlane
2015-01-24Removed obsolete PACKAGEDIR in Makefile.John MacFarlane
2015-01-24Removed JS specific stuff from .editorconfig.John MacFarlane
2015-01-24Removed some old targets from .PHONY.John MacFarlane
2015-01-24Makefile: Removed JS related stuff.John MacFarlane
2015-01-24Makefile: replaced PROG with CMARK and PROG.John MacFarlane
PROG is overridable, CMARK is not. Slight adjustment to #297.
2015-01-24Merge pull request #297 from nwellnhof/makefile_fixesJohn MacFarlane
Makefile fixes
2015-01-24Removed JS implementation, which is moving to its own repo:John MacFarlane
<https://github.com/jgm/commonmark.js>
2015-01-24Prohibit overriding of some Makefile varsNick Wellnhofer
SRCDIR, DATADIR, and PROG should not be overridable.
2015-01-24Remove dependencies from $(BUILDDIR) targetNick Wellnhofer
There's no need to reconfigure if html_unescape.h or case_fold_switch.inc were changed.
2015-01-24Make "test" target depend on "cmake_build"Nick Wellnhofer
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.
2015-01-24Pass INSTALL_PREFIX to cmakeNick Wellnhofer
This allows to install to a location other than /usr/local without invoking cmake manually.
2015-01-24Move message from "all" to "cmake_build" targetNick Wellnhofer
2015-01-24Rework Makefile targetsNick Wellnhofer
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.
2015-01-23Removed unused variable.John MacFarlane
2015-01-23Tweaked uglifyjs options.John MacFarlane
2015-01-23Added target for minified js/dist/commonmark.min.js.John MacFarlane
2015-01-23Put generated commonmark.js in js/dist/ rather than js/.John MacFarlane
2015-01-23Added spec with link break inside pointy braces (no link).John MacFarlane
Closes #295.
2015-01-23Set version in CMakeLists to 0.16.0.John MacFarlane
See #296.
2015-01-23Merge pull request #296 from nwellnhof/version_infoJohn MacFarlane
Improve version information
2015-01-23Add version information to shared libraryNick Wellnhofer
2015-01-23Let cmake update versionNick Wellnhofer
Add a new template cmark_version.h.in to generate cmark_version.h containing version information.
2015-01-23Improve version informationNick Wellnhofer
Add version number and string as macros and symbols. Version numbers can be easily compared, for example in the C preprocessor: #include <cmark.h> #if CMARK_VERSION < 0x020200 #error Requires libcmark 2.2.0 or higher #endif Storing the version in a global variable allows to check the library version at runtime. For example: if (CMARK_VERSION != cmark_version) { warn("Compiled against libcmark %s, but using %s", CMARK_VERSION_STRING, cmark_version_string); } The version should be updated whenever the public API is changed.
2015-01-22Fixed Xcode install example.John MacFarlane
Closes #294.
2015-01-21Avoid free(0) for link titles and URLs.John MacFarlane
2015-01-21Removed unnecessary strbuf_free's.John MacFarlane
2015-01-21Avoid trying to free string_contents for inlines.John MacFarlane
This avoids an unnecessary free(0) -- and perhaps free(???). However, ltrace reveals that there is still a free(0) happening, with some other source.
2015-01-21Adjust lastLineLength before returning.John MacFarlane
2015-01-21Renamed first_nonspace -> next_nonspace.John MacFarlane
2015-01-21Added currentLine property to Parser.John MacFarlane
2015-01-21Moved continuation checks & finalizers into blocks property.John MacFarlane
This is a first step towards keeping the code for each kind of block in a central place, rather than spread all over the code base. This is preparatory for a more modular structure, where each type of block has a record describing how it is parsed and finalized. Eventually this will also contain functions for checking for a block start, and metadata that determines how line data should be handled. There is a small performance penalty (about 3%?) but it seems worth it.
2015-01-21Removed unnecessary check.John MacFarlane
2015-01-21Revert "Reverted addition of offset property to DocParser."John MacFarlane
This reverts commit 16b275eb7b83ccbea6ef18b1c62efa655a1d3759.
2015-01-21Propagate lastLineBlank up through parents.John MacFarlane
Previously we just kept it set on the bottom child. But this will give a quicker determination of lastLineBlank.
2015-01-21Removed unnecessary check.John MacFarlane
2015-01-21Adjust lastLineLength before returning after close fence.John MacFarlane
2015-01-21Merge pull request #293 from robinst/use-void-returnJohn MacFarlane
Remove unnecessary return of value
2015-01-21Merge pull request #292 from robinst/top-property-accessJohn MacFarlane
Remove read of "top" property (always undefined)
2015-01-21Merge pull request #291 from robinst/addChild-call-argumentsJohn MacFarlane
Fix incorrect call to addChild with 3 arguments
2015-01-21Merge pull request #290 from robinst/remove-unused-assignment-lastLineBlankJohn MacFarlane
Dead code: Remove line assigning to Parser's _lastLineBlank property