Commit Graph

77 Commits

Author SHA1 Message Date
Matt Parsons
26a195b8c7
Support GHC 9.4 (#1769)
* Support GHC 9.4

* tidy it on up

* ok tests pass again

* weird

* woo

* Changelog, cabal files

* fix for older cabal

* Drop MacOS from older resolvers

https://github.com/bravit/hid-examples/issues/7#issuecomment-781308838

* oops
2022-09-07 11:49:14 -06:00
James Burton
4699479bbb Removed unused imports 2021-02-09 17:52:55 +00:00
James Burton
818e8e3781 Parser now requires that both cert/key be provided or neither 2021-02-09 17:38:50 +00:00
James Burton
8a4fb790cf Revert "Fixed indentation"
This reverts commit 52cf633993.
2021-02-09 12:07:56 +00:00
James Burton
52cf633993 Fixed indentation 2021-02-08 22:42:26 +00:00
James Burton
9f72790df9 Added options to pass SSL certificate and key to yesod devel 2021-02-08 17:59:49 +00:00
ncaq
b3ed4613e7 fixed: yesod-bin: when C-c, kill yesod-bin and children process
* deleted: `setDelegateCtlc True`
* added: `setCreateGroup True`

When you use a group,
the child process will be terminated when the parent process is terminated.
2020-06-29 17:14:52 +09:00
Michael Snoyman
347ea6775b
Support for Cabal 3.0 2019-11-11 09:47:05 +02:00
Michael Snoyman
e041ff4da9
Cabal 2.2 support in yesod-bin (fixes #1511) 2018-05-13 15:14:04 +03:00
Michael Snoyman
bc4ecd7dc8
Fix broken http-reverse-proxy < 0.6 support 2018-04-26 12:17:00 +03:00
Michael Snoyman
e87c9b5bf0
Support for http-reverse-proxy 0.6.0 2018-04-26 11:20:04 +03:00
Michael Snoyman
a210ce59d7
Get it all compiling again 2018-01-15 17:08:55 +02:00
Michael Snoyman
103c098cf8
Catch up with Data.Conduit.Combinators 2018-01-10 12:16:31 -08:00
Michael Snoyman
5a5cd81276
Support typed-process-0.2.0.0 (fixes #1467) 2017-12-19 11:53:41 +02:00
Michael Snoyman
3b8ca1d3d1
Bad CPP 2017-08-04 08:12:55 +03:00
Michael Snoyman
a4eee30930
Cabal 2.0 support 2017-07-31 09:55:19 +03:00
Sibi Prabakaran
67eb728703
Make updateAppPort as a single STM transaction 2017-04-27 17:08:12 +05:30
Sibi Prabakaran
37c9d25990
Add Debug flag 2017-04-26 20:56:58 +05:30
Sibi Prabakaran
706de89156
Change logic to use TVar 2017-04-26 19:37:59 +05:30
Sibi Prabakaran
62d7a19149
Fix warnings 2017-04-24 21:51:13 +05:30
Sibi Prabakaran
878534a272
Fix race condition in yesod-bin
Stack build process emittles line even after successful build process
which leads to the overwriting of the appPortVar with -1. This leads
it to a compile mode again. Pressing Return Key and rebuilding it
again makes it go, but that's just a workaround I have to do every now
and then to solve the actual issue.

I'm using a `MVar` based locking solution for fixing the race
condition introduced.
2017-04-24 20:33:52 +05:30
Michael Snoyman
039046e355
Another Nix workaround (fixes #1359) 2017-03-15 06:42:12 +02:00
Michael Snoyman
4f30dfca1e
Use --no-nix-pure #1357 2017-03-05 19:12:14 +02:00
Michael Snoyman
705b52f7eb Add --host option to yesod devel (fixes #975) 2016-12-21 14:27:52 +02:00
Michael Snoyman
58407c292e Fix a build failure 2016-11-29 13:51:02 +02:00
Michael Snoyman
3883063ec2 Devel server indicates when recompilation is occurring
Pinging @amitaibu
2016-11-28 09:58:48 +02:00
Michael Snoyman
b1f1e4e222 Revert to runghc 2016-11-26 17:57:32 +02:00
Michael Snoyman
f3fc735a25 README.md, and some minor code cleanups 2016-11-24 07:51:54 +02:00
Michael Snoyman
ab4d6540ca Workaround for compatibility with older fsnotify 2016-11-23 15:59:58 +02:00
Michael Snoyman
6048a2c9bf Got my logic backwards :( 2016-11-23 15:34:14 +02:00
Michael Snoyman
db3beff4f3 Some CPP for Cabal API changes 2016-11-23 15:19:27 +02:00
Michael Snoyman
83d3a12a23 Rewrite yesod devel based on Stack #1304
Please see ChangeLog for explanation.
2016-11-23 13:59:56 +02:00
Michael Snoyman
1fb697ff0d Add a workaround for yesodweb/wai#478 2015-12-06 13:29:17 +02:00
Michael Snoyman
32dbad23d3 s/127.0.0.1/localhost yesodweb/yesod-scaffold#114 2015-12-06 12:55:16 +02:00
Michael Snoyman
af00b76a18 Set X-Forwarded-Proto correctly yesodweb/yesod-scaffold#114 2015-12-06 12:54:36 +02:00
Bryan Richter
9fbfb62e68
Warning cleanup
Note that configCompilerEx was added in Cabal-1.18.0, not 1.22.
2015-07-22 13:10:50 -07:00
Michael Snoyman
46fbb1a615 Have to type quit to quit 2015-07-20 01:29:46 +03:00
Michael Snoyman
a7cccf2a7c yesod devel support for stack 2015-06-29 08:14:04 +03:00
Michael Snoyman
2d8507cbee Be slightly more verbose for #992 2015-05-17 10:31:40 +03:00
Njagi Mwaniki
58a07b0ea3
Added conditional compilation so that yesod-bin/Devel.hs can pass travis-ci tests.
Signed-off-by: Njagi Mwaniki <mwanikibusiness@gmail.com>
2015-04-15 18:50:05 +03:00
Njagi Mwaniki
c3a05d1f7b
Updated yesod-bin/Devel.hs
Replaced deprecated function `configCompiler` with `configCompilerEx`
  Removed unused argument "_opts" from function `lockFile`
  Added newline before guards which I think makes it more beginner friendly.

Signed-off-by: Njagi Mwaniki <mwanikibusiness@gmail.com>
2015-04-15 17:14:45 +03:00
Arne Link
91829fc82a Add support for GHC 7.10.1 2015-04-03 16:34:08 +02:00
Michael Snoyman
c2e836bf3a Some user-facing TLS info (pinging @chrisdone @DanBurton) 2015-03-31 09:30:53 +03:00
Dan Burton
85f16d0e9f Used race_ for clarity 2015-03-30 13:10:02 -07:00
Dan Burton
6562e6067c Second reverseproxy now handles incoming https requests 2015-03-30 12:57:07 -07:00
Dan Burton
2e573f440a Add a second reverse proxy for tls 2015-03-26 13:41:50 -07:00
Paul Rouse
5281d7aa3e Remain compatible with pre-0.4.7 http-client 2015-03-01 11:20:19 +00:00
Paul Rouse
761e7dd374 Disregard proxy environment variables in yesod devel 2015-02-28 21:38:11 +00:00
Harold Lee
f8fb6d3dc3 Improve error message when "yesod devel" complains about the GHC version.
I hit this problem and the fix was to reinstall yesod-bin (because I'd
upgraded my version of ghc):

    cabal install --reinstall yesod-bin

See issue #476.
2015-02-22 13:35:13 -08:00
Michael Snoyman
fb42a6d4bb Allow devel.hs in subdirs 2014-11-19 21:11:49 +02:00