Commit Graph

101 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
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
a83971c273 Add some yesod-routes benchmarks 2014-03-04 14:09:12 +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
47d136b057 Allow !# as well as #! #652 2014-01-11 19:51:04 +02:00
Michael Snoyman
b018c5d7aa Allow persistent 1.3 2013-12-26 12:13:10 +02:00
Greg Weber
20efbebe4e test cases for multiple method routes 2013-12-22 17:10:17 -08:00
Michael Snoyman
304d5d101e Version bump 2013-12-18 09:07:21 +02: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
Michael Snoyman
ce71775067 Version bump 2013-12-11 17:26:47 +02:00
Michael Snoyman
48ea50ac93 Filter out blank lines in route parsing #629 2013-12-11 17:00:03 +02:00
Greg Weber
f88c927875 failing test case for a space under nesting 2013-12-10 19:47:25 -08:00
Michael Snoyman
853e7ad7b5 Remove text upper bounds 2013-12-04 15:01:07 +02:00
Felipe Lessa
6163049028 yesod-routes: Bump version to 1.2.0.1. 2013-06-06 12:53:06 -03:00
Felipe Lessa
3fa327c662 Use qAddDependentFile on parseRoutesFile*. 2013-06-06 12:52:40 -03:00
Michael Snoyman
04f23c740a Not experimental 2013-04-23 22:23:02 +03: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
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
2a719941ca Some parsing fixes (not complete) 2013-03-17 13:35:30 +02:00
Michael Snoyman
bca0d24533 Route parsing 2013-03-17 13:28:17 +02:00
Michael Snoyman
f063074ac4 Fixed yesod-routes tests 2013-03-13 11:32:54 +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
d167842839 Version bumps, http-types 0.8 2013-01-29 10:33:14 +02:00
Michael Snoyman
617c1d724e Removed some FIXMEs 2013-01-02 14:26:56 +02:00
Michael Snoyman
21090b9314 Version bumps 2012-11-11 10:08:37 +02:00
Michael Snoyman
a1aadc49ad Removed another upper bound 2012-11-09 09:34:35 +02:00
Michael Snoyman
1c7e4c6f1a Version bumps 2012-11-07 12:07:32 +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 Snoyman
01eae3351a Avoid the annoying "y shadowed" GHC warnings 2012-10-12 10:22:18 +02:00
Michael Snoyman
45e54ff2bb vector 0.10 2012-10-04 16:44:13 +02:00
Michael Snoyman
df5018a94c hspec 1.3 2012-08-03 15:40:36 +03:00
Michael Snoyman
014732dac8 hspec 1.2 2012-06-26 10:56:50 +03: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