aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_source_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "error: improved parser error reporting"Rafael G. Martins2016-07-031-21/+7
| | | | | | this will not work properly for unicode chars This reverts commit 3968529cad2baec099acff5fee47b5fe24624b03.
* error: improved parser error reportingRafael G. Martins2016-07-031-7/+21
| | | | | | now it shows a visual indicator '^' pointing to the position of the error, in the line after the error message. should be helpful for users writing templates, if any.
* remove squareball for goodRafael G. Martins2016-04-271-1/+1
|
* moved squareball back to blogc source tree.Rafael G. Martins2016-04-271-1/+1
| | | | | | | i don't have enough time to maintain a separated library at this point, and worry about soname bump, library stability, etc. all the code is trivial enough to be copied around, and all the utils are implemented as single file now, to make it easier to copy.
* Revert "*: use squareball error infrastructure"Rafael G. Martins2016-04-271-61/+61
| | | | This reverts commit a2b3551dfb9460470bd79f5648bf597c517c40d4.
* content-parser: extract post description from contentRafael G. Martins2016-04-201-4/+42
| | | | | | | | | description is the first line of the first paragraph parsed from content file. users can override it declaring DESCRIPTION variable in source file itself. this also fixes a bug with line endings when using single line blockquotes.
* *: use squareball error infrastructureRafael G. Martins2016-03-131-61/+61
|
* build: replace src/utils with squareballRafael G. Martins2016-02-261-71/+71
|
* fixed copyrightRafael G. Martins2016-01-081-1/+1
|
* Revert "build: removing src/utils and replacing with squareball"Rafael G. Martins2015-12-231-71/+71
| | | | This reverts commit 950e6c9148eca244a89d18a21d4ae4e5c3d1c646.
* build: removing src/utils and replacing with squareballRafael G. Martins2015-12-231-71/+71
| | | | | squareball is a new general purpose library for C99, based on the code removed from src/utils
* error: improved error reporting for parsersRafael G. Martins2015-10-241-7/+11
| | | | it will now report the line and the approximate position of the error.
* source-parser: handle \r\n line endings properlyRafael G. Martins2015-10-221-0/+32
|
* content-parser: added id attributes to headersRafael G. Martins2015-10-121-6/+6
| | | | the id is a slugified version of the (unparsed) header content.
* source-parser: fixed error messageRafael G. Martins2015-09-191-1/+1
|
* source-parser: forbid BLOGC_VERSION variable in source filesRafael G. Martins2015-08-141-0/+18
|
* content-parser: implemented excerpt, and now for good!Rafael G. Martins2015-06-131-2/+52
|
* Revert "added content excerpt support"Rafael G. Martins2015-06-121-84/+5
| | | | This reverts commit 1851274f9524c462806d6ab64e024effb0392231.
* added content excerpt supportRafael G. Martins2015-06-111-5/+84
|
* source-parser: fixed reserved variablesRafael G. Martins2015-05-281-0/+90
|
* fixed copyrightRafael G. Martins2015-05-251-1/+1
|
* source-parser: fixed reserved variablesRafael G. Martins2015-05-181-0/+72
|
* content-parser: more random stuffRafael G. Martins2015-05-071-2/+8
|
* source parse: improved, added testsRafael G. Martins2015-04-211-0/+153
|
* error: added testsRafael G. Martins2015-04-191-0/+1
|
* remove specific type used to store sourcesRafael G. Martins2015-04-191-12/+12
|
* added loader, error handling and cli. tests neededRafael G. Martins2015-04-181-2/+7
|
* replaced leg-based parser with handmade parser for source filesRafael G. Martins2015-04-171-0/+77