Commit graph

638 commits

Author SHA1 Message Date
Chris Wong
4da9272494 Finally make splicing variables work 2015-01-17 22:21:27 +13:00
Chris Wong
b984ef19cd Mark rt module as #[doc(hidden)] 2015-01-17 11:53:40 +13:00
Chris Wong
e4a804a365 Give Markup type one lifetime instead of two 2015-01-15 10:16:43 +13:00
Chris Wong
e4e80b7ee5 Update documentation link 2015-01-14 17:35:28 +13:00
Chris Wong
f328843a02 Autodocification 2015-01-14 17:33:24 +13:00
Chris Wong
4bd68641e1 Make tests significantly more sexy 2015-01-14 13:48:48 +13:00
Chris Wong
e3752b72e6 Make Renderer::write() private
It's pretty much an implementation detail anyway
2015-01-13 16:47:14 +13:00
Chris Wong
e047b3fbb3 Add syntax for empty attributes 2015-01-13 16:46:37 +13:00
Chris Wong
e0f11ac9e3 Punctuate "HTML5 rocks" for emphasis 2015-01-12 17:01:32 +13:00
Chris Wong
77fa50fdef Remove the boolean dance 2015-01-12 16:46:12 +13:00
Chris Wong
270781b255 Show error on unexpected end of input
Without this error, rustc would treat our dummy result as a real one,
causing much pain.
2015-01-12 16:24:53 +13:00
Chris Wong
75dffff135 Remove redundant lifetime constraints
It compiles fine without them, so meh
2015-01-12 16:02:30 +13:00
Chris Wong
33c487c5e4 Refer to std::fmt types directly instead of using aliases 2015-01-12 15:56:33 +13:00
Chris Wong
663247aef3 Use an opaque Markup type instead of a bare closure 2015-01-12 15:52:11 +13:00
Chris Wong
f8b37e5496 HTML5 rocks 2015-01-11 15:05:42 +13:00
Chris Wong
fba6d68cb8 Add self-closing elements 2015-01-11 12:51:35 +13:00
Chris Wong
b826788be4 Simplify parser a bit 2015-01-11 11:50:52 +13:00
Chris Wong
6a8ce2cf34 Move Escape type to render module 2015-01-11 11:01:39 +13:00
Chris Wong
b1aa300884 Don't use different escaping rules for attributes 2015-01-11 10:58:27 +13:00
Chris Wong
0b531572cf Mute unstable warnings 2015-01-10 21:35:38 +13:00
Chris Wong
905edd0ae0 Rewrite parser again
Now it's some one-pass monstrosity oh noes
2015-01-10 21:29:58 +13:00
Chris Wong
4a03e09cbb Update Rust 2015-01-08 11:27:40 +13:00
Chris Wong
81cbfb9267 Use shiny new slicing syntax 2015-01-07 17:54:43 +13:00
Chris Wong
05c68067dd Rewrite the parser yay 2015-01-07 17:43:37 +13:00
Chris Wong
8a8ae3a5a3 Update Rust 2015-01-04 21:34:10 +13:00
Chris Wong
d8a2aedbd7 Parse semicolons 2014-12-21 16:47:40 +13:00
Chris Wong
f8a8e89a30 Fix the build 2014-12-20 21:27:55 +13:00
Chris Wong
0b34339f76 Make parser more epic
It's so sexy now, it's kind of disturbing
2014-12-20 20:41:53 +13:00
Chris Wong
65db994b92 Change render_value to return a Expr, not a Stmt 2014-12-19 21:28:05 +13:00
Chris Wong
8b199d1c03 Generate closures rather than bare fns 2014-12-19 18:25:44 +13:00
Chris Wong
2ec018b00d Upload docs to rust-ci 2014-12-19 12:44:03 +13:00
Chris Wong
b40103d66f Fix Travis 2014-12-19 12:41:16 +13:00
Chris Wong
31ae7fd4aa Clean up runtime package 2014-12-19 12:33:02 +13:00
Chris Wong
225fee6681 Add escaping 2014-12-19 12:33:02 +13:00
Chris Wong
9e8e2f652e Rename htmlthing to maud
rocks
2014-12-18 19:49:49 +13:00
Chris Wong
6a4709315b Scaffold syntax extension thing 2014-12-18 18:57:55 +13:00
Chris Wong
34031b2f95 Add Travis 2014-12-17 21:33:52 +13:00
Chris Wong
4f83580714 First commit 2014-12-17 21:11:56 +13:00