Commit graph

430 commits

Author SHA1 Message Date
Isaac van Bakel
5a74dd0232 Added warning when elements have keyword names
Fixes .
To avoid erroneously preventing elements which are actually meant to be
called `if` from being used, this is only a warning, with a suggestion
of the template syntax.
2018-10-11 22:05:47 +01:00
Chris Wong
d2af7c3f54 Fix benchmarks 2018-10-06 21:44:31 +13:00
Chris Wong
6aee65a6f1 Update to rustc 1.31.0-nightly (fddcd316a 2018-10-05) 2018-10-06 18:03:15 +13:00
Chris Wong
35d5204cab Update to rustc 1.30.0-nightly (9395f0af7 2018-09-02) 2018-09-03 20:01:39 +12:00
Chris Wong
66ddbcac98 Remove maud_lints
It's undocumented, it doesn't do much, and it keeps breaking.
2018-09-03 20:01:39 +12:00
Chris Wong
f3d967c020 Travis: tweak build commands to work around 2018-08-26 20:46:29 +12:00
Chris Wong
540226f1c4 Remove #![feature(macro_vis_matcher)] 2018-08-26 20:27:57 +12:00
Philipp Hansch
e939beb7ac Update actix-web () 2018-08-23 19:36:11 +12:00
Chris Wong
f17e21423e Remove #![feature(use_extern_macros)] 2018-08-18 16:25:15 -07:00
Chris Wong
e273d897cf Parse arbitrary expressions in classes and IDs
Closes 
2018-08-13 16:15:58 -07:00
Chris Wong
8d8d5960a5 Extend AST to allow arbitrary exprs in classes and IDs 2018-08-13 15:44:04 -07:00
Chris Wong
0585df11a5 Fix examples and start testing them 2018-08-13 15:34:08 -07:00
Chris Wong
d8d5af97f8 Span the whole class or ID in duplicate attribute errors 2018-08-12 14:12:59 +12:00
Chris Wong
3847880404 Span the whole attribute in duplicate attribute errors 2018-08-12 14:12:52 +12:00
Chris Wong
5aa0f85ec1 Show errors for a duplicate attribute in source order
* Also disallow multiple IDs
2018-08-12 14:07:31 +12:00
lambdasqd
de9afb408b Fixed benchmarks for liquid 0.15.0 ()
Use of liquid::Object instead of liquid::Context and use of
Value::scalar instead of Value::Str and Value::Num. Changes to how the
parse() method is called.
2018-08-10 20:13:06 +12:00
Chris Wong
ff5c0e769f Tweak duplicate attribute diagnostic () 2018-07-29 21:44:50 +12:00
Chris Wong
059ca8d210 Add benchmarks to Travis build 2018-07-29 21:23:37 +12:00
Tom Pridham
8aa7810dfc Disallow dupe attrs () 2018-07-29 21:21:57 +12:00
Chris Wong
7bcdc27ab8 Reword 0.18.1 changelog entry 2018-07-21 21:20:41 +12:00
Chris Wong
b3474a1784
Merge pull request from YetAnotherMinion/fix_benches
fix: update benchmarks to build with 0.18.x, document required compiler feature flags change
2018-07-21 20:55:52 +12:00
YetAnotherMinion
c47f40c890 fix: update benchmarks to build with 0.18.x, document required compiler feature flags change 2018-07-19 10:36:12 -04:00
Chris Wong
de6f654614 Release 0.18.1 2018-07-18 20:03:44 +12:00
Chris Wong
d7d3eb600e Install Clippy from rustup 2018-07-18 19:52:58 +12:00
Chris Wong
8dbcdab2bf Update to rustc 1.29.0-nightly (1ecf6929d 2018-07-16)
Closes 
2018-07-18 19:41:47 +12:00
Chris Wong
aadc749715 Release 0.18.0 2018-07-15 21:46:16 +12:00
Chris Wong
392279e97c Fix Clippy warning 2018-06-26 19:49:28 +12:00
Chris Wong
a1a0aa0200 Allow omitting the comma on the last match arm 2018-06-22 21:31:08 +12:00
Chris Wong
12282093eb Use diagnostic API everywhere 2018-06-22 21:28:35 +12:00
Chris Wong
1f68ef0526
Merge pull request from lfairy/snaggletooth
Require braces around the body of an element
2018-06-20 19:57:23 +12:00
Chris Wong
41aea5f92c Require braces around element bodies 2018-06-16 21:46:28 +12:00
Chris Wong
b9279f7f3f Add .span() method to derive the span of an AST node 2018-06-16 21:27:57 +12:00
Chris Wong
4b25728efe Add at_span to Let 2018-06-16 20:59:41 +12:00
Chris Wong
0ceb271a50 Add outer_span property to Splice 2018-06-16 20:55:42 +12:00
Chris Wong
bfa15a0081 Rename Block.span to Block.outer_span 2018-06-16 20:49:46 +12:00
Coleman McFarland
8ce98f689f Build features separately.
Compiling rocket and actix-web together presents problems, since ring - a
native dependency - cannot have more than one version linked.
2018-06-15 20:23:21 +12:00
Coleman McFarland
fd59814f8b impl Responder for actix-web framework
It looks similar to the Rocket implementation, and functionally is also similar:
a syncronous response for PreEscaped<String>

Refs 
2018-06-15 20:23:21 +12:00
Chris Wong
9d56ba0bcb Keep spans for semicolons; change element body to a block 2018-06-09 20:51:34 +12:00
Chris Wong
75763dd8a6 Travis: add maud_extras to Clippy invocation 2018-06-09 20:41:36 +12:00
Chris Wong
9763541ca7 Keep the span of the leading @ symbol 2018-06-09 17:59:24 +12:00
Chris Wong
254ac54103 Merge If and Special variants 2018-05-29 19:18:30 +12:00
Chris Wong
ac934bae4e Update to rustc 1.28.0-nightly (5bf68db6e 2018-05-28) 2018-05-29 19:15:40 +12:00
Chris Wong
67b6fb05e9 Release 0.17.5 2018-05-26 11:57:51 +12:00
Chris Wong
2455de589c Update to rustc 1.27.0-nightly (2f2a11dfc 2018-05-16) 2018-05-17 20:55:29 +12:00
Chris Wong
9d90e94c87
Change macro internals to use an explicit AST () 2018-05-17 20:38:44 +12:00
Chris Wong
7c63fc138a Release 0.17.4 2018-05-02 20:49:17 +12:00
Erin
05fb7364c6 maud_lints: replace usage of InternedString by LocalInternedString
refs: https://github.com/rust-lang/rust/pull/49894
2018-05-02 19:57:28 +12:00
Chris Stadler
e606e64ef2 Enable proc_macro_non_items feature flag 2018-04-28 12:59:24 +12:00
Chris Wong
41f7744fe1 Release 0.17.3 2018-04-21 17:20:42 +12:00
Chris Wong
798ed2279d Travis: work around Clippy bug 2018-04-16 20:49:12 +12:00