slotThe
feee11a0ba
X.H.DynamicLog: Fix xmobarProp example
...
In [1] we changed the return type to not be an IO action and hence this
example can't work, even with an otherwise correct configuration.
[1]: 168cb6a6c3
(Removed unnecessary IO)
2021-11-06 11:40:13 +01:00
slotThe
3bc06447d2
X.H.TaffybarPagerHints: Rename defaultConfig to def
...
The former was removed in [1], so only the latter is valid code right
now.
[1]: 5140f5b5d0
(Remove things deprecated by Data.Default)
2021-11-06 11:40:13 +01:00
Tomáš Janoušek
52998657ef
Merge pull request #639 from liskin/ghc92
...
Test against GHC 9.2.1; fix new warnings
2021-11-05 10:30:22 +00:00
Tomas Janousek
d67df574cf
ci: Run hlint with 9.0.1, not 9.2.1
...
cabal-3.6.2.0: Could not resolve dependencies:
[__0] trying: hlint-3.3.4 (user goal)
[__1] next goal: ghc-lib-parser (dependency of hlint +/-ghc-lib)
[__1] rejecting: ghc-lib-parser-9.2.1.20211030 (conflict: hlint +/-ghc-lib =>
ghc-lib-parser>=9.0 && <9.1)
[__1] trying: ghc-lib-parser-9.0.1.20210324
[__2] next goal: base (dependency of hlint)
[__2] rejecting: base-4.16.0.0/installed-4.16.0.0 (conflict: ghc-lib-parser =>
base>=4.13 && <4.16)
[__2] skipping: base-4.16.0.0 (has the same characteristics that caused the
previous version to fail: excluded by constraint '>=4.13 && <4.16' from
'ghc-lib-parser')
[__2] rejecting: base-4.15.0.0, base-4.14.3.0, base-4.14.2.0, base-4.14.1.0,
base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0, base-4.11.0.0,
base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0,
base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0,
base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0,
base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1,
base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1
(constraint from non-upgradeable package requires installed instance)
[__2] fail (backjumping, conflict set: base, ghc-lib-parser, hlint)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: hlint (536), ghc-lib-parser (335),
base (219)
2021-11-05 10:14:20 +00:00
Tomas Janousek
4b4f7f2dd6
ci: Test against GHC 9.2
2021-11-05 10:14:20 +00:00
Tomas Janousek
8623c29dd5
ci: Update haskell-ci
2021-11-05 10:14:20 +00:00
Tomas Janousek
5aff766a4c
Apply hlint 3.3 hints
2021-11-05 10:14:20 +00:00
Tomas Janousek
e7f102bc9a
Revert "Fix -Wdeprecations warnings (time 1.11)"
...
This doesn't work with the version of time shipped with GHC 8.4 and 8.6.
This reverts commit f2db7bcaa6367bc7db6b49c30e029f10534a99a2.
2021-11-05 10:14:20 +00:00
Tomas Janousek
8197cd9105
Fix -Wincomplete-uni-patterns warnings
...
I am not proud of this.
2021-11-05 10:14:20 +00:00
Tomas Janousek
5f3a6210a2
Fix -Wincomplete-record-updates warnings
...
(undefined has `HasCallStack =>` so this will give a useful error
message if anyone ever makes the code fail)
2021-11-05 10:14:20 +00:00
Tomas Janousek
b83f49d90b
Fix -Wdeprecations warnings (time 1.11)
2021-11-05 10:14:20 +00:00
Tomas Janousek
850a3c245e
Fix -Woperator-whitespace-ext-conflict warnings
2021-11-05 10:14:20 +00:00
Tomas Janousek
e252cc75b1
Fix -Wnoncanonical-monad-instances warnings
2021-11-05 10:14:20 +00:00
Tomas Janousek
d8faed6ad2
Fix -Wnoncanonical-monoid-instances warnings
2021-11-05 10:14:20 +00:00
slotThe
d2f0a0586c
Merge pull request #641 from slotThe/prompt-C-t
...
X.Prompt: Add transposeChars
2021-11-05 08:36:50 +01:00
slotThe
c30e406cfd
X.Prompt: Add transposeChars
...
This is an analogue to Emacs's `transpose-chars` function (expect that
it does not take a universal argument), bound to its default keybinding.
2021-11-03 21:11:05 +01:00
Yecine Megdiche
0973107b29
X.L.CenteredIfSignle: Update CHANGES.md
2021-10-31 10:01:58 +01:00
Yecine Megdiche
f6bcf094e1
Merge pull request #634 from elkowar/centered-if-single
...
Add XMonad.Layout.CenteredIfSingle
2021-10-30 22:27:09 +02:00
elkowar
eeb36e0d08
Add XMonad.Layout.CenteredIfSingle
2021-10-30 22:11:45 +02:00
Tomas Janousek
2b98286ba3
Bump version to 0.17.0.9 and prepare CHANGES.md sections
...
We need to bump the version early to avoid overwriting
https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.17.0/
2021-10-28 17:58:18 +01:00
Tomas Janousek
f5f6ef41cb
stack: Bump default resolver to 18.14
...
No impact on CI, just makes it easier for contributors to use the latest
8.10 GHC.
2021-10-28 17:22:54 +01:00
Tomas Janousek
4a356cfc7c
ci: Reenable testing against released X11, xmonad
...
This was temporarily disabled in 229d52ff07
and 086db3123b
because we
couldn't keep xmonad-contrib backwards compatible with xmonad 0.15 any
more, but xmonad 0.17.0 is out now and we can try to stay compatible for
a while.
2021-10-28 17:19:32 +01:00
Tomas Janousek
0fde4c8848
Fix Haskell2010 incompatibilities
v0.17.0
2021-10-27 18:06:41 +01:00
Tomas Janousek
991dc6dfac
xmonad-contrib.cabal: Specify default-language
...
Required for cabal-version >= 1.10
2021-10-27 17:57:10 +01:00
Tomas Janousek
805de214d8
Bump cabal-version in xmonad-contrib.cabal
...
Hackage won't accept the release otherwise.
2021-10-27 17:49:44 +01:00
Tomas Janousek
585558bfb0
Bump version number (0.17.0), update date in changelog
2021-10-27 17:00:33 +01:00
Tomáš Janoušek
a7ccfe61f3
Merge pull request #605 from TheMC47/pp-predicates
...
`ppPrinters` for custom workspace types, `copiesPP` fix
2021-10-27 10:16:46 +01:00
Yecine Megdiche
16b9f0f96d
X.A.CopyWindow: fix copiesPP
...
Related: https://github.com/xmonad/xmonad-contrib/issues/557
Co-authored-by: Tomáš Janoušek <tomi@nomi.cz >
2021-10-27 10:15:29 +01:00
Yecine Megdiche
2d849cc0b7
X.H.SB.PP: ppPrinters
and custom workspace types
...
Using `ppPrinters` with `WorkspacePredicate` and `WorkspaceFormatter`
allows users to define custom workspace types, beyond the ones
integrated in PP (i.e. urgent, current, visible, visible with no
windows, hidden, and hidden with no windows). `WorkspacePredicate`s are
added for these predicates (`isType`) with unsafe versions that assume
that predicates with a higher precedence already faield `isType'`.
`WorkspacePredicate`s can also be combined and modified with `notWP`,
`andWP`, and `orWP`.
Related: https://github.com/xmonad/xmonad-contrib/issues/557
Co-authored-by: Tomáš Janoušek <tomi@nomi.cz >
2021-10-27 10:15:29 +01:00
Aleksei Pirogov
8b6f17ba66
X.H.ManageHelpers: Add new operators ( #633 )
...
Closes : #628
2021-10-26 21:53:52 +02:00
Tomáš Janoušek
e1f4f77346
Merge pull request #632 from Targuinia/patch-1
...
Minor documentation fixes to `XMonad.Hooks.FadeWindows`
2021-10-26 18:43:34 +01:00
Targuinia
9824b57d12
Corrected a comment in XMonad.Hooks.FadeWindows
2021-10-26 17:03:12 +02:00
Targuinia
a335809767
Fix Haddock comments in XMonad.Hooks.FadeWindows
...
Some Haddocks comments were for the wrong declaration (-- ^ instead of -- |)
2021-10-26 16:52:29 +02:00
slotThe
719c8ecfe9
X.D.Developing: Refer to cabal instead of runhaskell
2021-10-25 18:40:05 +02:00
slotThe
bc5d4f18e2
X.D.Developing: Refer to CONTRIBUTING for style
...
The CONTRIBUTING.md file for xmonad now has style guidelines [1]. Since
X.D.Developing does not add anything new here and we direct new
contributors to CONTRIBUTING.md anyways, simply refer to the relevant
section.
[1]: bc8f7ff133
2021-10-25 14:40:26 +02:00
slotThe
5d9a599c9f
X.D.Developing: Update Haddock introduction
...
* The Haddock documentation is a very good resource for the general
markup syntax.
* Since we are very biased in favour of stack, document how to build
Haddock docks with it.
2021-10-25 14:40:26 +02:00
Tomas Janousek
7a4dc29418
X.L.Fullscreen: Silence deprecation warning temporarily
...
Deprecation warnings are now shown to users via xmessage when xmonad
recompiles, and this may include warnings in xmonad(-contrib) itself if
people have a build script that invokes stack/cabal without --silent,
and they then may get confused. The deprecation warning in that case
won't be shown every recompile but only once whenever xmonad(-contrib)
needs to be rebuilt, but it's still annoying.
This silences the warning. We intend to refactor this part of the code
so this is a temporary measure.
Fixes: f666cf4e4e
("X.H.EwmhDesktops: Deprecate standalone hooks")
2021-10-25 10:45:51 +01:00
Tomas Janousek
c51353c6c6
Merge branch 'packdeps'
2021-10-24 13:56:53 +01:00
Tomas Janousek
046f3c3871
Bump lower bound for base
...
We only test with GHC 8.4+ so it's unlikely this builds with older base
(Semigroup stuff …).
2021-10-24 13:55:19 +01:00
Tomas Janousek
8edc8ab789
Bump upper bounds for bytestring, time
...
I've tested these manually by adding them to extra-deps. Hopefully
they'll soon be available in a release of GHC or Stackage, so I'm not
adding an extra stack.yaml to test this.
2021-10-24 13:55:19 +01:00
Tomas Janousek
5cc26aaa21
ci: Check package bounds using packdeps once a week
...
This was a part of the release procedure but we should do it proactively
instead.
Related: https://github.com/xmonad/xmonad-contrib/issues/393
2021-10-24 13:55:02 +01:00
Tomas Janousek
d6b4f174d6
ci: Add Stackage LTS 18 to Stack test matrix
2021-10-24 11:17:41 +01:00
Tomas Janousek
0be6780559
ci: Avoid caching GHC
...
We install GHC using apt, so stack shouldn't install it, but should it
ever end up installing it anyway (version mismatch, version unavailable
in hvr/ghc ppa, …), we don't want it wasting valuable cache space.
2021-10-24 11:11:48 +01:00
slotThe
f39218ddb5
X.D.Developing: Drop confusing "or freer" part
...
Currently, all contrib modules are licensed under a 3-clause BSD license
anyways. The term "freer" is quite confusing and may even refer to
several (non-BSD) licenses, depending on the authors sensibilities.
2021-10-24 08:04:38 +02:00
slotThe
9b840a1189
Merge pull request #631 from liskin/readme
...
README: Improve badges, Installation/Contributing sections; CHANGES prep
2021-10-23 09:38:39 +02:00
Tomas Janousek
c71756095e
CHANGES: Almost final prep
2021-10-23 00:41:27 +01:00
Tomas Janousek
32028915a3
README: Improve Installation/Contributing sections further
...
(Copy&paste from https://github.com/xmonad/xmonad/pull/340 mostly.)
2021-10-23 00:34:39 +01:00
Tomas Janousek
4560abd1e6
README: Tweak badges a bit
2021-10-22 23:24:15 +01:00
Tomáš Janoušek
2c01279d1c
Merge pull request #630 from liskin/readme
...
README: Long overdue update
2021-10-22 22:12:20 +01:00
Tomas Janousek
33ccf910a6
Add CONTRIBUTING.md
...
This makes GitHub show a link to it when opening issues/PRs.
2021-10-22 22:11:56 +01:00