Commit Graph

675 Commits

Author SHA1 Message Date
George Wilson
9973e0f937 Add new-build artifacts to .gitignore 2018-02-27 11:09:39 +10:00
Huw Campbell
b8265a401c
Merge pull request #290 from pcapriotti/topic/0.14.2
Prepare for release
2018-02-26 20:39:42 +11:00
Huw Campbell
e4adf04cff Prepare for release 2018-02-26 19:47:20 +11:00
Huw Campbell
135ee525b5
Merge pull request #289 from gwils/transformers-compat-0.6
Bump upper bound to support transformers-compat 0.6
2018-02-26 19:45:15 +11:00
George Wilson
d1ae2179dd Bump upper bound to support transformers-compat 0.6 2018-02-26 13:35:46 +10:00
Huw Campbell
411087e693
Merge pull request #287 from pcapriotti/topic/0.14.1
Bump QuickCheck and prepare for release
2018-02-24 09:58:07 +11:00
Huw Campbell
d0f5c6bac2 Bump QuickCheck and prepare for release 2018-02-12 13:49:03 +11:00
Huw Campbell
ff58895437
Merge pull request #285 from chris-martin/pr/mod-semigroup-since
add @since 0.13.0.0 to Mod Semigroup instance doc
2017-12-30 14:03:19 +11:00
Chris Martin
a6329d0c79 add @since 0.13.0.0 to Mod Semigroup instance doc 2017-12-29 21:10:42 -05:00
Huw Campbell
7cf1fd0cae
Merge pull request #282 from pcapriotti/topic/has-exports
Topic/has exports
2017-12-04 09:18:43 +11:00
Huw Campbell
a288617fd7 Export top level Has* classes 2017-12-02 18:57:33 +11:00
Huw Campbell
78a6c96fe2 tidy up Show instance for OptProperties 2017-12-02 18:57:33 +11:00
Huw Campbell
0195956be2 Add info about zsh and fish to readme 2017-12-02 18:57:33 +11:00
Huw Campbell
806569aa04 Merge pull request #277 from damncabbage/topic/redundant-existential
Removes redundant ExistentialQuantification on Options.Applicative.Internal.
2017-10-17 21:28:22 +11:00
Rob Howard
2ad3c12d75 Removes redundant ExistentialQuantification on Options.Applicative.Internal 2017-10-04 15:47:27 +11:00
Huw Campbell
ff29b85db0 Merge pull request #276 from gxmas/fix-eitherReader-example
Fix type signature in eitherReader example
2017-09-24 17:58:26 +10:00
Geoffrey Noel
33027f77b4 Fix type signature in eitherReader example 2017-09-24 03:04:21 -04:00
Huw Campbell
c308887235 Merge pull request #275 from pcapriotti/topic/travis-ghc-8.2.1
Add ghc 8.2.1 to travis build
2017-07-24 10:57:22 +10:00
Huw Campbell
64fe5225b7 Add ghc 8.2.1 to travis build 2017-07-24 10:05:38 +10:00
Huw Campbell
483232bb3d Merge pull request #274 from psibi/fix-readme
fix readme typo
2017-07-07 17:19:42 +10:00
Sibi
0ca0468350 /s/FilsePath/FilePath 2017-07-07 11:34:43 +05:30
Huw Campbell
f122eebf1d Merge pull request #264 from pcapriotti/topic/prepare-0.14.0
Start preparing for 0.14
2017-06-09 17:07:45 +10:00
Huw Campbell
a9cd003eeb Prepare for 0.14 2017-06-09 16:39:48 +10:00
Huw Campbell
9c4df8db5f Merge pull request #268 from pcapriotti/topic/explicit-exports
Explicitly export all functions and types, instead of the modules
2017-06-08 18:03:33 +10:00
Huw Campbell
67b49fe31c Be explicit about public API 2017-06-08 11:12:22 +10:00
Huw Campbell
8a292a16fc Export everything from the top 2017-06-06 13:08:02 +10:00
Huw Campbell
eeec349594 Merge pull request #267 from pcapriotti/topic/eitherReader
Back out eitherReader polymorphism
2017-06-06 13:03:59 +10:00
Huw Campbell
2a63441f21 Back out eitherReader polymorphism
A somewhat common usecase for eitherReader and maybeReader is
```
a = eitherReader $ \case
      "this" -> Right This
      "that" -> Right That
      _      -> Left "Must be this or that"
```
And there's not a lot we can do for type inference if overloaded
strings is on. If we were to release with this change, then cases
like this would be a bit more challeging.
2017-05-28 17:48:58 +10:00
Huw Campbell
eddbd418fb Merge pull request #266 from hvr/pr/wcompat
Make `optparse-applicative` forward-`-Wcompat`ible
2017-05-27 18:51:33 +10:00
Herbert Valerio Riedel
1c64ad5d0c Make optparse-applicative forward--Wcompatible
See also
https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
2017-05-26 15:05:17 +02:00
Huw Campbell
742880d8b1 Revert "Apply same change to suggestions"
This reverts commit 6acd34d64e.

I don't think the extra complexity is worth it here, and
there's no real harm in showing these suggestions anyway.
2017-05-14 16:54:14 +10:00
Huw Campbell
fa65d8e84c Merge pull request #265 from pcapriotti/topic/completion-after-double-dash
Topic/completion after double dash
2017-05-12 22:41:45 +10:00
Huw Campbell
6acd34d64e Apply same change to suggestions 2017-05-12 14:25:45 +10:00
Huw Campbell
7facbcecd1 Add a test for bash completion after -- 2017-05-12 14:25:45 +10:00
Huw Campbell
c88896c07f Fixup bash completion of options after -- 2017-05-12 14:25:42 +10:00
Huw Campbell
c24d176af2 Add test for rich completions 2017-05-12 14:07:22 +10:00
Huw Campbell
e87562069b Merge pull request #261 from bkase/hello-typo-fix
Fixed typo in README
2017-05-10 17:24:45 +10:00
Brandon Kase
0d73a29ab9
Fixed typo in README
The documentation refered to a long option "hello", but in the example
the option is named "target".
2017-05-10 00:07:38 -07:00
Huw Campbell
df5b49664e Add semigroup instance for Chunk 2017-05-09 13:57:53 +10:00
Huw Campbell
f2db43a316 Merge pull request #256 from pcapriotti/topic/zsh-fish-completions
zsh and fish shell rich completions
2017-05-09 12:29:09 +10:00
Huw Campbell
219379c0f3 Add semigroup instance for Completer 2017-05-09 11:38:18 +10:00
Huw Campbell
cd4ceff999 Add options for customising enriched completions
Given two additional options, the user can customise
the lengths of the flag and option, and command
completions.
2017-05-09 11:30:50 +10:00
Huw Campbell
8067e4b5b2 Don't use -e in fish echo
In obscure occasions it can actually crash fish, bringing
down the whole shell.
2017-05-09 10:30:53 +10:00
Huw Campbell
7d68f2a352 Split command completions and option completions.
Provides a much more idiomatic zsh completion, putting
command on their own lines, with a padded -- comment.

Options appear at the bottom in a list.
2017-05-06 19:58:01 +10:00
Huw Campbell
4b0d15e9e6 Fix fish file and directory completions 2017-05-06 19:58:01 +10:00
Huw Campbell
36ec30520c Add zsh shell completion support.
We also make fish shell's completion quite a lot nicer,
with descriptions coming through well.
2017-05-06 19:58:01 +10:00
Huw Campbell
670e642394 Merge pull request #257 from tmcgilchrist/patch-1
Fix basics link in markdown.
2017-04-12 15:27:26 +10:00
Tim McGilchrist
bb9e387af2 Fix basics link in markdown. 2017-04-12 14:12:28 +10:00
Huw Campbell
788121d4bd Merge pull request #255 from pcapriotti/topic/bash-bugs
Fixup escaping when running compgen.
2017-03-30 00:08:59 +11:00
Huw Campbell
0ecaeb9038 Add test to ensure completions are reachable deeper into the parse 2017-03-29 19:03:42 +11:00