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
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
47d136b057
Allow !# as well as #! #652
2014-01-11 19:51:04 +02:00
Greg Weber
20efbebe4e
test cases for multiple method routes
2013-12-22 17:10:17 -08:00
Michael Snoyman
1429ae83eb
Improved overlap checking for nesting #632
2013-12-18 08:24:32 +02:00
Greg Weber
5bc9f06959
test case for overlapping routes bug
2013-12-17 14:18:54 -08:00
Greg Weber
f88c927875
failing test case for a space under nesting
2013-12-10 19:47:25 -08:00
Michael Snoyman
42943deab9
Better route type parsing ( fixes #471 )
2013-04-22 15:01:52 +03: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
4d8c19becd
yesod-routes: parsing included
2013-03-19 15:13:56 +02:00
Michael Snoyman
2a719941ca
Some parsing fixes (not complete)
2013-03-17 13:35:30 +02:00
Michael Snoyman
f063074ac4
Fixed yesod-routes tests
2013-03-13 11:32:54 +02:00
Michael Snoyman
04a034770b
Beginning of a dispatch overhaul
2013-03-12 10:21:26 +02:00
Simon Hengel
dfae661878
Adept Hspec tests for forward compatibility
...
* Don't use hspecX, it's deprecated.
* Do not import Test.Hspec.HUnit. It's no longer necessary and may be
removed in the future.
2012-10-16 14:44:58 +02: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
Luite Stegeman
1c3b63b3a1
Make tests work with GHC 7.4.1 again
2012-02-03 14:33:24 +01:00
Michael Snoyman
210856a88b
Fix for GHC 7.0
2012-02-03 14:07:03 +02:00
Luite Stegeman
87c75eddac
Fix for TypeFamilies changes in newer GHC
2012-02-03 06:32:41 +01:00
Michael Snoyman
4d45bfeb13
Fixes to overlapping tests
2012-01-10 14:02:05 +02:00
Michael Snoyman
e16ed57849
Overlap checking (and addresses #174 )
2012-01-10 13:42:35 +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
928f39b795
Manually wrote proper dispatch function, need to translate to TH
2012-01-03 11:11:41 +02:00
Michael Snoyman
666e242ee9
yesod-routes refactor
2012-01-03 08:33:44 +02:00
Michael Snoyman
6d6c4817b2
Simplified Dispatch: do not pass req around
2012-01-03 08:33:44 +02:00
Michael Snoyman
144b215a38
Route is a data family, part of RenderRoute class
2012-01-03 08:33:44 +02:00
Michael Snoyman
d69ee53a17
yesod-routes: removed yesod-core dependency
2012-01-03 08:33:44 +02:00
Michael Snoyman
f909669dd0
Get tests to compile
2012-01-03 08:33:44 +02:00
Michael Snoyman
3e0507d6cd
More incomplete yesod-routes changes
2012-01-03 08:33:44 +02:00
Michael Snoyman
55ac0ac52c
Beginning of dispatch implementation, not yet complete
2012-01-03 08:33:44 +02:00
Michael Snoyman
140a6e6d5f
Added TH module, creates route type and RenderRoute instance
2012-01-03 08:33:44 +02:00
Michael Snoyman
6a325f9e4c
Extensive comments on dispatch code
2012-01-03 08:33:44 +02:00
Michael Snoyman
1a40b16e4c
Switch to Literate Haskell
2012-01-03 08:33:44 +02:00
Michael Snoyman
29a9bfd7e8
Removed some Yesod-specific components (simplified)
2012-01-03 08:33:44 +02:00
Michael Snoyman
fbf58cbc95
Better overlapping support
2012-01-03 08:33:44 +02:00
Michael Snoyman
820adf2971
dynamic test
2012-01-03 08:33:44 +02:00
Michael Snoyman
691abb6823
checkStatics
2012-01-03 08:33:44 +02:00
Michael Snoyman
3178a584d0
Initial yesod-routes, doesn't do much yet
2012-01-03 08:33:44 +02:00