Commit graph

614 commits

Author SHA1 Message Date
Chris Wong
52bd1e4189 Release 0.2.0 2015-02-07 12:29:34 +13:00
Chris Wong
f080ee7da1 Epic refactor of doom, redux 2015-02-06 16:26:35 +13:00
Chris Wong
47e73c4bca Use fancy new range syntax 2015-02-06 14:50:47 +13:00
Chris Wong
e01af11eaa Update Rust 2015-02-02 20:53:47 +13:00
Chris Wong
110930a558 Epic refactor of doom
* Use `&ExtCtxt` instead of `&mut ExtCtxt`

* Take statements vector by value instead of by reference

* Make control structures easier to write
2015-01-30 18:48:29 +13:00
Chris Wong
9ee1c76e93 Rename std::io => std::old_io
The iopocalypse begins
2015-01-30 18:00:22 +13:00
Chris Wong
6f08b62922 Abandon all hope of getting doc uploads to work 2015-01-29 14:57:28 +13:00
Chris Wong
9abc8003f3 Update Rust CI token (again) 2015-01-28 21:54:34 +13:00
Chris Wong
21a68c305c Silence "unnecessary parentheses" warnings 2015-01-29 13:56:55 +13:00
Chris Wong
dca0400692 Implement toggleable boolean attributes
Closes 
2015-01-29 13:47:11 +13:00
Chris Wong
d8ee991da2 Rename [render, render_to] -> [to_string, render]
It's more consistent with existing conventions
2015-01-27 11:16:22 +13:00
Chris Wong
dd9679fa89 Release 0.1.1 2015-01-26 12:41:42 +13:00
Chris Wong
16994b5618 Add regression test for 2015-01-26 12:31:11 +13:00
Chris Wong
8eb655207e Take inner closure by value instead of by reference
Closes 
2015-01-26 12:20:49 +13:00
Chris Wong
af60d7c3ec Edit docs again!
Exclamation marks!
2015-01-25 17:45:08 +13:00
Chris Wong
30a8dccfb0 Release 0.1.0 2015-01-25 15:23:55 +13:00
Chris Wong
17a447d898 Mention Display trait in docs 2015-01-25 15:12:00 +13:00
Chris Wong
9b1402101d Add some more docs 2015-01-24 23:42:38 +13:00
Chris Wong
205cc59849 Remove deprecated .slice_from() call 2015-01-25 20:05:43 +13:00
Chris Wong
7056661a3a Update Rust 2015-01-24 20:37:04 +13:00
Chris Wong
a455b4c987 Add documentation links to Cargo.toml 2015-01-22 22:39:52 +13:00
Chris Wong
f1ec5b79e8 Update Rust CI token 2015-01-19 17:07:53 +13:00
Chris Wong
ced8d50092 Document Markup a bit more 2015-01-19 16:38:38 +13:00
Chris Wong
5265e420c3 Document the whole thing
Like woah
2015-01-19 16:20:08 +13:00
Chris Wong
2250c2e961 Make splices a bit nicer to use 2015-01-18 20:18:21 +13:00
Chris Wong
40424e283c Use the Escaper struct directly
It's internal anyway, so meh
2015-01-17 22:21:27 +13:00
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