Commit Graph

146 Commits

Author SHA1 Message Date
Bodil Stokke 670fb934fb IntoIterator implementation for elements and boxed elements.
Closes #12.
2018-11-29 15:28:09 +00:00
Bodil Stokke b3ecb54ed8
Merge pull request #14 from jonathanKingston/handle-bool
Handle bool attributes. Fixes #13
2018-11-29 14:28:11 +00:00
Jonathan Kingston 7cb9441820 Support allow list of self-closing tags. Fixes #15 2018-11-24 16:17:03 +00:00
Jonathan Kingston 460681b5ec Formatting fixes 2018-11-24 16:13:58 +00:00
Jonathan Kingston b74e8e5bc1 Handle bool attributes. Fixes #13 2018-11-24 13:21:41 +00:00
Bodil Stokke 28bc92ebc7
Merge pull request #9 from egeriis/rep-expand-wasm-example
Add instructions and web server to wasm example
2018-11-20 14:28:17 +00:00
Bodil Stokke 9ec74ad153
Merge pull request #4 from dtolnay/ui
Update ui test goldens
2018-11-20 14:23:37 +00:00
Ronni Egeriis Persson 13a9828776 Add instructions and web server to wasm example 2018-11-19 23:28:05 +01:00
David Tolnay 1f9fcf408b
Update ui test goldens
The PR that added ui testing and the PR that changed the compiler output
were merged in parallel. This resolves the conflict.
2018-11-19 09:27:56 -08:00
Bodil Stokke 445a3af904
Merge pull request #3 from dtolnay/ui
Add ui tests
2018-11-19 16:48:31 +00:00
Bodil Stokke a1a4f8fadd
Merge pull request #1 from dtolnay/stable
Stable support
2018-11-19 16:37:50 +00:00
David Tolnay 73b447a762
Add ui tests 2018-11-19 01:12:52 -08:00
David Tolnay 345b844885
Test stable support in Travis 2018-11-18 02:51:18 -08:00
David Tolnay 0e4123f927
Stable still requires lifetimes here 2018-11-18 02:51:16 -08:00
David Tolnay 0ec3be89cc
Support nested invocations of html macro 2018-11-18 02:45:07 -08:00
David Tolnay 893566118d
Remove proc_macro_hygiene feature 2018-11-18 02:45:06 -08:00
David Tolnay 54f35aae28
Remove proc_macro_span feature 2018-11-18 02:45:06 -08:00
David Tolnay dcda57c8af
Remove proc_macro_diagnostic feature 2018-11-18 02:45:04 -08:00
David Tolnay 78f0e9b1e6
Remove proc_macro_quote feature 2018-11-17 23:38:39 -08:00
Bodil Stokke c036b7c7c5 Fix doc typo. 2018-11-17 23:06:48 +00:00
Bodil Stokke 43550de7b8 Prepare for initial release. 2018-11-17 22:37:19 +00:00
Bodil Stokke ce0b876c50 We have tests now, we don't need bin/main.rs 2018-11-17 21:50:26 +00:00
Bodil Stokke bc94387213 Toplevel docs. 2018-11-17 21:49:45 +00:00
Bodil Stokke 2c53d5d2ca Implement Metadata + HTTPEquiv types for meta elements. 2018-11-17 21:49:38 +00:00
Bodil Stokke 5a72616f97 Remove need to enable feature(try_from). 2018-11-17 21:49:04 +00:00
Bodil Stokke 276ba31432 Documentation++. 2018-11-17 20:38:07 +00:00
Bodil Stokke c0d9d679db Reorganise examples. 2018-11-17 19:39:57 +00:00
Bodil Stokke 28513b93e9 Docs and cleanups. 2018-11-17 14:25:32 +00:00
Bodil Stokke 001a7ba016 Parameterise nodes etc on output type, so we can type event handlers based on it.
With this, Node<String> only accepts event handlers implemented
for String, etc. No danger of trying to stringify functions and vice versa.
2018-11-16 23:33:11 +00:00
Bodil Stokke 2b95530637 Better event handler conversion. 2018-11-16 00:34:13 +00:00
Bodil Stokke a9dc58da9c Event handlers! 2018-11-15 23:25:38 +00:00
Bodil Stokke ca77a12599 Rocket example. 2018-11-14 19:00:29 +00:00
Bodil Stokke cc8e7219a2 Reorganise, docs, HTML escaping. 2018-11-14 18:25:05 +00:00
Bodil Stokke 7d1e95f262 Completely transitioned to LALRPOP and new declare macro. 2018-11-14 16:22:07 +00:00
Bodil Stokke cb7e148310 A mess of LALRPOP. 2018-11-14 00:30:59 +00:00
Bodil Stokke d25c4d5624 Improve parser error reporting. 2018-11-13 14:31:44 +00:00
Bodil Stokke 0db3bfb8bc All HTML elements added, I think. 2018-11-13 00:48:29 +00:00
Bodil Stokke 22e334f414 A wasm test. 2018-11-12 23:21:27 +00:00
Bodil Stokke 16f0be33a4 I'm halfway through the HTML spec. 2018-11-12 23:20:15 +00:00
Bodil Stokke 73344d0dbf Build a virtual DOM structure. 2018-11-12 16:29:48 +00:00
Bodil Stokke 2806bde178 Such work. 2018-10-28 00:48:34 +01:00
Bodil Stokke 858b16cf34 Drop the bad Rust 2018 Cargo forces on you. Rewrite to work with actual native proc_macros. 2018-10-27 19:49:52 +01:00
Bodil Stokke f7ce896ca3 Autobox everything. 2018-10-27 17:28:57 +01:00
Bodil Stokke dee331c5eb Cleanup, reorg, data attributes. 2018-10-27 17:00:43 +01:00
Bodil Stokke 4f8b4e2b20 The nastiest element declaration macro. 2018-10-27 03:11:00 +01:00
Bodil Stokke 3bc444068c Make it so. 2018-10-26 22:02:21 +01:00