Xavier Mendez
af11a53df4
Merge pull request #72 from jmendeth/small-fixes
...
Small fixes
2014-05-11 10:17:32 +02:00
Xavier Mendez
523118e3a5
Revert .gitignore
...
This reverts commit b751c17089
.
2014-04-17 13:24:11 +02:00
Xavier Mendez
8ab482af91
html: Remove SKIP_{STYLE,IMAGES,LINKS} flags (see #62 )
...
Even with these flags active, injections and XSS are still easily possible.
Providing full attribute checking, HTML validation, ... is out of the
scope of Hoedown, therefore this "security" features only create
a false sense of security rather than actually providing it.
2014-04-17 12:53:55 +02:00
Xavier Mendez
9b29045c11
Merge branch 'master' into small-fixes
2014-04-09 13:46:30 +02:00
Xavier Mendez
08b0f2c3c7
Simplify some code regarding fenced blocks
2014-04-09 13:45:17 +02:00
Xavier Mendez
f62c5a79bb
Remove wrong grow()s in escape
...
They assume the buffer is empty, which is wrong.
Even if they took that into account, these small grows
are useless most of the time (the unit is big).
2014-04-09 13:18:07 +02:00
Xavier Mendez
238c4d57cc
Talk about client-side attacks
2014-04-07 17:20:12 +02:00
Devin Torres
4ad239da28
Merge pull request #71 from clemensg/gitignore_mac
...
Improve hoedowns gitignore file for Mac users
2014-04-06 15:48:00 -05:00
Clemens Gruber
b751c17089
Improve hoedowns gitignore file for Mac users.
2014-04-06 22:18:08 +02:00
Xavier Mendez
c69b7fa409
Merge pull request #70 from clemensg/fix_conversion_loss_warning
...
Fix implicit conversion loss compiler warning in parse_codefence
2014-04-05 17:19:49 +02:00
Clemens Gruber
50564c5b9e
Fix implicit conversion loss compiler warning in parse_codefence
2014-04-05 17:11:37 +02:00
Devin Torres
a4a1f64e0a
Merge pull request #67 from clemensg/master
...
Add a note about CocoaPods to the README
2014-03-29 13:46:08 -05:00
Clemens Gruber
b0290abb67
Update README.md
...
Add a note about installing hoedown via CocoaPods.
2014-03-29 17:15:58 +01:00
Xavier Mendez
4d4cac2313
README: Remove incorrect statement
...
Anything can run out of memory, it's a normal thing.
What's important is to handle things correctly when
you run out of memory (i.e. don't crash).
Saying Hoedown will never run out of memory is
like saying dd-rescue will never get I/O errors.
I think the author meant "memory leak"
rather than "run out of memory".
2014-03-29 14:17:24 +01:00
Xavier Mendez
cc768b16e5
Remove useless HTML_TOC flag
...
It's redundant. A zero `nesting_level` already means "disable TOC"
and a nonzero `nesting_level` enables it.
Having a TOC flag only complicates the code unnecessarily.
2014-03-29 14:10:08 +01:00
Devin Torres
d7de540376
Merge pull request #65 from jmendeth/option-parsing-final
...
Improve executables (mainly option parsing)
2014-03-25 12:58:13 -05:00
Xavier Mendez
b6f7a30cdb
Small correction
2014-03-23 21:06:01 +01:00
Xavier Mendez
ea8446f6b8
Rename examples/ to bin/
2014-03-23 20:17:02 +01:00
Xavier Mendez
51291eb3d3
Add option parsing to smartypants.c too
2014-03-23 20:14:19 +01:00
Xavier Mendez
77392bf350
Rewrite hoedown.c (option parsing and lots of features :)
2014-03-23 19:58:47 +01:00
Xavier Mendez
8bc7aadbff
Correct extension category
2014-03-23 19:56:05 +01:00
Xavier Mendez
6e7624195a
correct small typo in previous PR
...
Signed-off-by: Xavier Mendez <jmendeth@gmail.com>
2014-03-04 22:48:58 +01:00
Devin Torres
f51f204f6f
Merge pull request #57 from jmendeth/organize-extensions
...
Organize flags
2014-02-13 15:58:46 -06:00
Xavier Mendez
4cb9c5b9e3
"Expand" table alignment values
2014-02-13 21:30:50 +01:00
Xavier Mendez
9882e5dd6d
Export flag categories
2014-02-13 21:27:55 +01:00
Xavier Mendez
6cae51067a
Sort extension flags
2014-02-13 21:25:37 +01:00
Devin Torres
23685b2f65
Merge pull request #58 from jmendeth/api-v3
...
API v3
2014-02-13 13:22:00 -06:00
Xavier Mendez
64655781c6
api_v3: let document_new accept the renderer as first argument
2014-02-13 19:04:08 +01:00
Xavier Mendez
813e018013
api_v3: inheritance: add state object to html renderer
2014-02-10 09:57:01 +01:00
Xavier Mendez
b0cd583e19
api_v3: consistency: always use unsigned int for flags
2014-02-09 12:49:32 +01:00
Devin Torres
925c12afec
Merge pull request #59 from jmendeth/update-readme
...
Update README instructions
2014-02-08 19:35:07 -06:00
Xavier Mendez
fa99c71554
api_v3: consistency: flags should go first
2014-02-08 20:02:36 +01:00
Xavier Mendez
4496e88b27
api_v3: consistency: all flags must live in enums, at "flags" section
2014-02-08 19:55:29 +01: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
Xavier Mendez
a782137cd2
api_v3: consistency: instance should always be the first parameter
2014-02-07 15:01:29 +01:00
Xavier Mendez
0b0519e076
api_v3: document: put version stuff into its own pair
2014-02-06 20:38:21 +01:00
Xavier Mendez
1cc59936dc
api_v3: document: actually rename the API
2014-02-06 20:16:23 +01:00
Xavier Mendez
419422bd9a
api_v3: document: begin by renaming pertinent files
2014-02-06 19:40:41 +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