Commit Graph

16 Commits

Author SHA1 Message Date
Michael Snoyman
e6eae8ee5a Merge remote-tracking branch 'origin/master' into yesod-1.4
Conflicts:
	yesod-routes/Yesod/Routes/Parse.hs
	yesod-routes/test/Hierarchy.hs
	yesod-routes/yesod-routes.cabal
2014-07-26 21:20:31 +03:00
Michael Snoyman
e23c78f2ce Better overlap rules #779
We now have the concept that either an entire route is overlap checked
or not. This is essentially what we had before, except there was code
littered everywhere on the mistaken assumption that just one component
could be overlap checked. This also allows us to mark parent routes or
multipiece components as non-overlapped checked.

In addition, if you put a bang at the beginning of the pattern, the
entire route is not overlap checked. The previous syntax is kept for
backwards compatibility.
2014-07-23 12:40:24 +03:00
Michael Snoyman
4c31714a25 Special support for key-value pairs in route attributes #762 2014-06-24 08:46:08 +03:00
Michael Snoyman
4858f0837b Attributes can be set on parent routes #762 2014-06-18 19:51:27 +03:00
Michael Snoyman
47d136b057 Allow !# as well as #! #652 2014-01-11 19:51:04 +02:00
Michael Snoyman
1429ae83eb Improved overlap checking for nesting #632 2013-12-18 08:24:32 +02:00
Michael Snoyman
48ea50ac93 Filter out blank lines in route parsing #629 2013-12-11 17:00:03 +02:00
Felipe Lessa
3fa327c662 Use qAddDependentFile on parseRoutesFile*. 2013-06-06 12:52:40 -03:00
Michael Snoyman
42943deab9 Better route type parsing (fixes #471) 2013-04-22 15:01:52 +03:00
Michael Snoyman
64ef26104d Route attributes/appcache example #518 2013-04-11 17:07:22 +03:00
Michael
255d71171c Beginning of hierarchichal routes, not done 2012-06-13 09:26:21 +03:00
Greg Weber
0eb62a92c3 fix typo 2012-02-05 08:50:02 -06:00
Greg Weber
eaa3eb8ac3 slightly DRY code 2012-02-04 18:27:33 -06:00
Michael Snoyman
e16ed57849 Overlap checking (and addresses #174) 2012-01-10 13:42:35 +02:00
Michael Snoyman
5321bd0dfa Fix warnings 2012-01-05 15:47:24 +02:00
Michael Snoyman
1e8b15acff Move route parsing to yesod-routes 2012-01-05 05:38:31 +02:00