Permalink
Switch branches/tags
Nothing to show
Commits on May 5, 2011
  1. Do not inline `bufgrow()` and `bufput()`

    vmg committed May 5, 2011
    These two methods are no longer used by the SmartyPants parser, so
    there's no performance benefit when inlining them.
    
    This reverts commit 8a19bdd.
  2. SmartyPants is now smart

    vmg committed May 5, 2011
    SmartyPants is no longer an extension flag for the (X)HTML renderer, but
    a separate method.
    
    The new function `ups_xhtml_smartypants` external method is a
    SmartyPants post-processor that takes an HTML document (e.g. a document
    that has just been rendered with `ups_markdown`) and performs
    SmartyPants substitutions in it.
    
    This is the same approach that the original SmartyPants takes.
    Postprocessing the HTML instead of performing the substitutions at the
    Markdown level allows us to work around many problems of the old
    implementation:
    
    	- Double quotes now properly open/close between different HTML
    	tags and blocks.
    
    	- Support for ``double quoting style'' has been added, and no
    	longer conflicts with Markdown code blocks.
    
    	- The limitations of the Upskirt parser (which was splitting
    	SmartyPants replacements mid-word in some cases because of active
    	character callbacks) no longer apply. All SmartyPants substitutions
    	work in all situations.
    
    	- The new parser is easily extendable with more substitutions.
    
    The new SmartyPants parser is slightly faster than the old one.
  3. Add Contributors to the README

    vmg committed May 5, 2011
  4. Use a two-layer array for active character callbacks

    vmg committed May 5, 2011
    Do not stick 2KB of NULL values inside the `struct render`, use a double
    lookup to character -> ptr. This makes the struct 8 times smaller.
Commits on May 2, 2011
  1. More lax support for Table headers

    vmg committed May 2, 2011
    The separation row can now be separated with spaces from the column
    borders.
Commits on May 1, 2011
  1. Fix the HTML filter flag

    vmg committed May 1, 2011
    Set all the HTML callbacks to NULL instead of escaping inside methods.
    This makes the skipped HTML disappear from the rendered document,
    instead of appear as HTML entities or such.
Commits on Apr 30, 2011
  1. Rename strict emphasis flag again

    vmg committed Apr 30, 2011
    'Cause I can and I like pretty names
  2. More agressive buffer management

    vmg committed Apr 30, 2011
    Use two different buffer queues for span level and block level
    elements, with different step sizes for the buffers in each queue.
  3. Always print header and footer

    vmg committed Apr 30, 2011
    Even on empty Markdown documents
Commits on Apr 29, 2011
  1. Improve language rendering in Code Blocks

    vmg committed Apr 29, 2011
    Language classes are now scaped and properly tokenized for multiple
    spaces, for both normal code blocks and GitHub code blocks.
  2. Much more solid autolinking

    vmg committed Apr 29, 2011
    We now capture links when enclosed in parenthesis and other punctuation
    chars.
Commits on Apr 28, 2011
  1. Lax emphasis is the default

    vmg committed Apr 28, 2011
    With no extension flags, Upskirt now matches the behavior of Gruber's
    Markdown when parsing emphasis without surrounded spaces.
  2. Merged pull request #12 from nono/gitignore.

    vmg committed Apr 28, 2011
    Add a gitignore file
  3. Add a gitignore file

    nono committed Apr 28, 2011
  4. Drop URI escaping

    vmg committed Apr 28, 2011
    It was not being done properly; URI escaping cannot be done
    automatically on a whole URI without user intervention, because we don't
    know why characters are reserved.
Commits on Apr 27, 2011
Commits on Apr 26, 2011
Commits on Apr 25, 2011
  1. 20-25% of CPU time is spent in bufputc() and bufgrow(). Inline for gr…

    bnoordhuis authored and vmg committed Apr 25, 2011
    …eat performance justice.
  2. Merged pull request #8 from schacon/5985563.

    vmg committed Apr 25, 2011
    Fix memory leaks
Commits on Apr 22, 2011
  1. Saner code blocks

    vmg committed Apr 22, 2011
    - The language detection from shebangs has been dropped. Use your
    highlighting library to detect this kind of things.
    
    - New flags XHTML_GITHUB_CODEBLOCKS, which generates safer codeblocks
    without letting the user specify custom CSS classes.
  2. Make autolinking case-insensitive

    vmg committed Apr 22, 2011
  3. Make `put_scaped_char` more sane

    vmg committed Apr 22, 2011
  4. Improve quoting/striking through inner spans

    vmg committed Apr 22, 2011
    - Smart quotes with Smartypants now work across different text spans,
    	e.g. This "[link][foo]" gets quoted properly
    
    - Strikethrough has now its own rendering callback.
Commits on Apr 21, 2011
  1. Allow newlines inside of link declarations

    vmg committed Apr 21, 2011
    This makes parsing more lax to support syntax like:
    
    	* Edit `~/.wmii/config.yaml` to your liking. For a real-life example,
    	see [my personal configuration file](
    		http://github.com/sunaku/wmiirc/blob/personal/config.yaml
    	).
  2. Remove first HTML block lookup pass again

    vmg committed Apr 21, 2011
    Adding it broke the official Markdown test suite
  3. Honor fenced code block standards

    vmg committed Apr 21, 2011
Commits on Apr 20, 2011
  1. Fix mispelled include name

    vmg committed Apr 20, 2011
    <strings.h> is not what we're looking for.
Commits on Apr 19, 2011
  1. Stupid typo in README

    vmg committed Apr 19, 2011
Commits on Apr 18, 2011