Commit Graph

33 Commits

Author SHA1 Message Date
Michael Snoyman
a1ea34f196 Remove old dispatch method 2014-09-07 16:55:37 +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
e61c98507b Workaround for some meaningless warnings 2014-04-09 21:34:36 +03:00
Michael Snoyman
5cb02e2a9b Minor tweaks 2014-03-04 15:02:01 +02:00
Michael Snoyman
c19088d569 Switch yesod-core to use simpler dispatch 2014-03-04 13:46:03 +02:00
Michael Snoyman
750bc9c9ac All simpler dispatch tests pass 2014-03-04 13:41:16 +02:00
Michael Snoyman
9fad1071fc Incomplete changes 2014-02-24 14:20:17 +02:00
Michael Snoyman
16260f3e37 RouteAttrs (fixes #531) 2013-04-21 17:14:40 +03:00
Michael Snoyman
64ef26104d Route attributes/appcache example #518 2013-04-11 17:07:22 +03:00
Michael Snoyman
029fc7166d Fix some warnings 2013-03-20 12:45:35 +02:00
Michael Snoyman
fb4045ea45 Warning cleanup 2013-03-20 11:46:32 +02:00
Michael Snoyman
56e9432393 Add an underscore 2013-03-19 15:17:59 +02:00
Michael Snoyman
4d8c19becd yesod-routes: parsing included 2013-03-19 15:13:56 +02:00
Michael Snoyman
bca0d24533 Route parsing 2013-03-17 13:28:17 +02:00
Michael Snoyman
2aefef4414 YesodSubDispatch 2013-03-13 08:48:28 +02:00
Michael Snoyman
9a53092be7 Remove yreRoute 2013-03-13 07:20:20 +02:00
Michael Snoyman
815e185a4b Slight simplification to YesodDispatch typeclass 2013-03-13 07:12:19 +02:00
Michael Snoyman
04a034770b Beginning of a dispatch overhaul 2013-03-12 10:21:26 +02:00
Michael Snoyman
01eae3351a Avoid the annoying "y shadowed" GHC warnings 2012-10-12 10:22:18 +02:00
Michael Snoyman
ebc737a5cb conduit 0.5 2012-06-22 15:28:14 +03:00
Michael
0e0880dfe4 Hierarchy dispatching 2012-06-13 10:00:20 +03:00
Michael
255d71171c Beginning of hierarchichal routes, not done 2012-06-13 09:26:21 +03:00
Piyush P Kurur
4676331db3 some documentation fixes to mkDispatchClause 2012-03-17 05:34:15 +05:30
Piyush P Kurur
9c26f86f91 added mkRenderRouteInstance' a more general version of mkRenderRouteInstance 2012-03-09 15:34:00 +05:30
Michael Snoyman
e16ed57849 Overlap checking (and addresses #174) 2012-01-10 13:42:35 +02:00
Michael Snoyman
1e8b15acff Move route parsing to yesod-routes 2012-01-05 05:38:31 +02:00
Michael Snoyman
c499e880b6 yesod-core compiles with yesod-routes (tests fail) 2012-01-03 20:33:51 +02:00
Michael Snoyman
fa4fd5690f Updated yesod-routes docs 2012-01-03 13:41:41 +02:00
Michael Snoyman
09750605a8 Dispatching works! (w00t) 2012-01-03 12:55:08 +02:00
Michael Snoyman
c946fd2068 Disaptch TH code mostly written 2012-01-03 12:34:34 +02:00
Michael Snoyman
dc8f7946dc Better dispatch sample code 2012-01-03 11:35:16 +02:00
Michael Snoyman
a14851d956 Get it to build again 2012-01-03 08:37:23 +02:00
Michael Snoyman
666e242ee9 yesod-routes refactor 2012-01-03 08:33:44 +02:00