Devin Torres
925c12afec
Merge pull request #59 from jmendeth/update-readme
...
Update README instructions
2014-02-08 19:35:07 -06:00
Xavier Mendez
9047dc6efd
README: Mention additional features
2014-02-07 15:34:30 +01:00
Xavier Mendez
8a1749440c
README: Remove references to specific files
2014-02-07 15:29:45 +01:00
Devin Torres
234354e4ad
Merge pull request #53 from jmendeth/examples-error-checking
...
Properly check errors in executables
2014-02-06 12:12:16 -06:00
Xavier Mendez
c8b2a166ff
Report write errors the same way as reading errors
2014-02-03 19:29:37 +01:00
Devin Torres
fab9fcd98e
Merge pull request #52 from jmendeth/remove-max-size
...
Remove BUFFER_MAX_ALLOC_SIZE
2014-02-03 10:27:55 -08:00
Xavier Mendez
791dd19724
Let executables check and report errors properly
2014-02-03 19:25:59 +01:00
Xavier Mendez
ca829ff835
Remove BUFFER_MAX_ALLOC_SIZE
2014-02-03 18:44:58 +01:00
Devin Torres
6938e267bd
Merge pull request #47 from craigbarnes/permfix
...
Remove execute permissions from src/html.c
2014-01-23 17:48:18 -08:00
Craig Barnes
e3236b562d
Remove execute permissions from src/html.c
2014-01-24 01:38:32 +00:00
Devin Torres
b927b7fcb6
Merge pull request #46 from craigbarnes/pipemode
...
Set permissions of named pipes created by the test runner to 0600
2014-01-23 16:54:20 -08:00
Craig Barnes
0dcf6d9156
Set permissions of named pipes created by the test runner to 0600
2014-01-24 00:24:10 +00:00
Devin Torres
83556da918
Merge pull request #45 from craigbarnes/pipetrap
...
Make test runner clean up named pipes, even on early/forced termination
2014-01-23 12:34:20 -08:00
Craig Barnes
97a04e604f
Make test runner clean up named pipes, even on early/forced termination
2014-01-23 20:06:41 +00:00
Devin Torres
4b4e70d4e9
Merge pull request #44 from craigbarnes/testrunner
...
Shell test runner
2014-01-23 11:57:16 -08:00
Craig Barnes
f6338a2006
Use mktemp(1) to generate temporary filenames used by the test runner
2014-01-23 19:30:09 +00:00
Craig Barnes
7b94616304
Return non-zero exit code from test runner if any tests fail
2014-01-23 16:54:21 +00:00
Craig Barnes
d3e36c51d6
Fix portability issues in test runner script
2014-01-23 06:36:48 +00:00
Craig Barnes
6621d8ef36
Add Bash test runner
2014-01-23 03:30:46 +00:00
Devin Torres
e3d177ae67
Same for html_smartypants.c
2014-01-22 18:46:30 -06:00
Devin Torres
ab16c82cc7
Explicity declare the escape tables as size UINT8_MAX+1
2014-01-22 18:38:19 -06:00
Devin Torres
242d3397d9
Define HTML escape table values as uint8_t instead of char
...
Thanks @craigbarnes!
Closes #42 .
2014-01-21 17:10:31 -06:00
Devin Torres
d9c32382f1
Merge pull request #41 from craigbarnes/makefix
...
Fix object compilation target in Makefile
2014-01-21 13:03:19 -08:00
Craig Barnes
fce375b1f1
Fix object compilation target in Makefile
2014-01-21 20:47:56 +00:00
Devin Torres
46de884e43
Remove unused variables
2014-01-19 20:51:08 -06:00
Devin Torres
2845a8cd13
New instructions for reporting security vulnerabilities
...
Closes #37 .
2014-01-19 20:33:42 -06:00
Devin Torres
a7e72d2c72
Merge pull request #38 from jmendeth/language-classes
...
Simplify and harden fenced code blocks
2014-01-16 14:52:38 -08:00
Xavier Mendez
88711351ad
markdown: let parse_fencedcode put text if there's no end fence
2014-01-16 23:38:42 +01:00
Xavier Mendez
0c8ca0d568
markdown: more precision on codefences
...
- is_codefence is now able to return width and character of the rule.
- parse_codefence accepts pointers passed to is_codefence
- parse_codefence now returns width of the codefence
- fenced code blocks MUST now be ended with the same character,
width and lenght as the starting rule.
2014-01-16 23:38:42 +01:00
Xavier Mendez
e1676d0537
html: Remove PRETTIFY feature; instead output language classes
2014-01-16 23:38:42 +01:00
Xavier Mendez
3d803eafd1
markdown: refactor codefence methods
...
prefix_codefence -> is_codefence
--- Used for checking presence of a valid codefence line
is_codefence -> (bool) parse_codefence
--- Expects single line, tries to parse it and extract language
Uses have been modified accordingly. Also, since
parse_codefence now requires single lines, the parse_fencedcode
method has been rewritten and simplified.
2014-01-16 23:35:31 +01:00
Xavier Mendez
0b93aed508
markdown: just parse a language in code fences!
...
stop that special {} block syntax.
just take the first token (minus whitespace) and use that as language.
if line has more tokens, ignore them and return valid.
2014-01-16 23:35:31 +01:00
Devin Torres
80df1df75f
Merge pull request #39 from js/fix-warning
...
Use size_t to avoid warning
2014-01-08 13:05:12 -08:00
Johan Sørensen
08def6f2ff
Use size_t to avoid warning
2014-01-08 21:46:59 +01:00
Devin Torres
30976be4d7
Make the HTML renderer state public again
2014-01-07 10:21:25 -06:00
Devin Torres
0a67a5f484
Release 2.0.0
2013-11-15 20:55:58 -06:00
Devin Torres
262f4a353b
Consistent style
2013-10-30 15:25:30 -05:00
Devin Torres
c0ba3a73e5
Merge pull request #31 from jmendeth/the-big-refactor
...
The Big Refactor
2013-10-09 13:44:36 -07:00
Xavier Mendez
7ef947dd17
examples: hoedown_markdown was typedef'ed for some reason!
2013-10-09 15:02:24 +02:00
Xavier Mendez
78811e7420
refactor: changes in html
...
- the struct `hoedown_html_renderopt` was renamed to `rndr_state`
2013-10-09 15:01:19 +02:00
Xavier Mendez
eec02ac178
refactor: changes in markdown
...
- stick to `md` for `hoedown_markdown` variable names
2013-10-08 20:53:57 +02:00
Xavier Mendez
95ec2c854d
refactor: changes in markdown
...
- the `cb` member in `hoedown_markdown` is now called `rndr`.
- the `rndr_*` local utilities are now unprefixed.
2013-10-08 20:40:35 +02:00
Xavier Mendez
a5f93518b2
refactor: minor changes in markdown's public API
...
- the `callbacks` argument is now named `renderer`
2013-10-08 20:34:09 +02:00
Xavier Mendez
49ce138a40
small changes in comments
2013-10-08 20:21:19 +02:00
Xavier Mendez
950ed960a1
refactor: changes in html
...
- Let "options" be named "state".
2013-10-08 19:57:42 +02:00
Devin Torres
9880e2d0cc
Merge pull request #26 from jmendeth/prototype-api-v2
...
[prototype] API v2
2013-10-08 10:30:57 -07:00
Xavier Mendez
bb6471277a
Solve conflicts from master
...
Conflicts:
src/html.h
src/html.c
2013-10-08 18:05:08 +02:00
Devin Torres
8af2b139b7
Merge pull request #30 from jmendeth/buffer-h
...
Some details at buffer
2013-10-08 08:54:33 -07:00
Xavier Mendez
0fbc9c996d
Let buffer.h have parameter names, like the rest
2013-10-08 16:18:31 +02:00
Xavier Mendez
ae741c6f35
buffer_putc should accept an uint8_t ( closes #29 )
2013-10-08 16:15:33 +02:00