Commit graph

602 commits

Author SHA1 Message Date
Chris Wong
71709edc51 Tweak CSS 2019-03-16 16:29:31 +13:00
Chris Wong
00a38a32b3 Add files from existing book 2019-03-16 16:29:31 +13:00
Chris Wong
f8b19960dd Rewrite .md links to .html 2019-03-16 16:29:31 +13:00
Chris Wong
65849b051e Rewrite the book! 2019-03-16 16:29:31 +13:00
Chris Wong
65874efb98 Remove redundant closures 2019-02-21 21:22:22 +13:00
Chris Wong
6de2cf1998 Release 0.20.0 2019-01-17 16:01:55 +13:00
likewhatevs
51a0243c40 bump rocket to 0.4 ()
* Update Cargo.toml

bump rocket ver to 0.4

* Update maud/Cargo.toml

accept rocket >= 0.3, < 0.5

Co-Authored-By: likewhatevs <12107998+likewhatevs@users.noreply.github.com>
2018-12-17 21:06:41 +13:00
Joe Taber
892aaac383 Set content-type and charset for actix feature 2018-12-15 16:33:50 +13:00
Chris Wong
9fc9ea5c60 Use clippy instead of clippy-preview 2018-12-09 11:54:21 +13:00
Chris Wong
b1dd7b729f Merge branch 'keyword_warn_compiletest' 2018-12-09 11:49:50 +13:00
Chris Wong
4b2707c51e Remove #![feature(tool_lints)] 2018-12-09 11:38:27 +13:00
Chris Wong
c70bd98656 Skip Clippy if it is missing 2018-12-09 11:37:52 +13:00
Chris Wong
6d9aa86506 Fix formatting 2018-12-09 11:21:23 +13:00
Chris Wong
2e41db8c70 Run all the tests at the beginning 2018-12-09 10:46:05 +13:00
Isaac van Bakel
59d9ec9620 Moved compiletests into the maud crate 2018-11-05 23:31:36 +00:00
Isaac van Bakel
19bb1b351b Remove redundant warning comment in UI test 2018-11-04 16:47:30 +00:00
Isaac van Bakel
ccf54ad6eb Try to change travis build ordering to fix compiletests
Multiple versions of the maud base crate get built, so compiletest
doesn't know which one to use in the same way that cargo would.
A possible solution is to build a canonical version of the crate first
(no features) and then explicitly run the compiletest tests. After, we
run builds and tests as normal, excluding the compiletest tests.
2018-10-24 17:34:00 +01:00
Chris Wong
0ccb2829c9 Release 0.19.0 2018-10-20 17:15:57 +13:00
Chris Wong
61e5f9d954
Merge pull request from ivanbakel/warn_on_keyword_names
Added warning when elements have keyword names
2018-10-20 16:49:01 +13:00
Isaac van Bakel
f1f67e5aac Added compile tests to check keyword warning
compiletest_rs is now used to check that elements which have keyword
names are now warned against in a UI test.
compiletest_rs has been added as a build dependency.
2018-10-19 22:39:11 +01:00
Isaac van Bakel
485ee13afb Corrected formatting on keyword element warning
The formatting argument is now only passed once.
2018-10-14 12:10:24 +01:00
Chris Wong
365d0ab956 Update to rustc 1.31.0-nightly (77af31408 2018-10-11) 2018-10-12 19:26:16 +13:00
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