Tomas Janousek
f2aa84e102
ci: Only build haddock for hackage with the latest GHC
...
Cabal 3.10.2.0 exposes a bug in Haddock shipped with GHC 9.0 and 9.2, so
we need to work around it by bumping the version of GHC/Haddock we use
for building/uploading docs to Hackage, and to prevent build failures we
don't ever try to build haddocks for Hackage with older versions of
GHC/Haddock.
Related: https://github.com/haskell/haddock/issues/1582#issuecomment-1611412223
Related: https://github.com/haskell/cabal/issues/8326
Related: https://github.com/haskell/cabal/issues/9060
Related: https://github.com/haskell/cabal/pull/9073
Related: https://github.com/haskell/cabal/pull/9049
2023-11-12 23:57:40 +00:00
github-actions[bot]
2b7e278f7f
ci: Regenerate haskell-ci
2023-11-11 03:17:55 +00:00
Tomáš Janoušek
bd69d20d01
Merge pull request #477 from xmonad/haskell-ci-update
...
ci: Regenerate haskell-ci
2023-10-24 17:40:39 +01:00
Tomas Janousek
35fa7bf4a2
ci: Disable x-partial warnings in the testsuite
...
Related: https://github.com/xmonad/xmonad/pull/477
2023-10-24 17:27:34 +01:00
github-actions[bot]
a239a00977
ci: Regenerate haskell-ci
2023-10-24 12:30:27 +00:00
github-actions[bot]
afb66dd55c
ci: Bump GHC patch versions in tested-with
2023-10-24 12:30:27 +00:00
Tony Zorman
1b7dea7acc
Merge pull request #476 from xmonad/haskell-ci-update
...
ci: Regenerate haskell-ci
2023-10-24 13:57:11 +02:00
github-actions[bot]
8e820945f4
ci: Regenerate haskell-ci
2023-10-24 11:22:30 +00:00
Tony Zorman
21cc6ebd93
Merge pull request #330 from colonelpanic8/nixRecompilationSupport
...
Add nix recompilation support
2023-10-07 12:00:39 +02:00
Tony Zorman
050ba6420d
Export ifM from X.Core
...
This was added as a local function in
1e17c1c1bc26cdb93e23d4aa75e57fe48ff4c951, but it's actually present in
X.ManageHook already. However, since that module imports X.Core, we
can't use this as-is.
2023-10-07 11:43:27 +02:00
Ivan Malison
67b5510dde
Add nix recompilation support
2023-10-07 11:41:58 +02:00
Tony Zorman
327c2cf0c1
stack: Bump resolver to lts-21.12
...
This also bumps the default GHC version from 9.4.6 to 9.4.7.
2023-09-23 14:19:05 +02:00
Tomas Janousek
96b3628b54
ci: Replace deprecated haskell/actions/hlint-*
...
See https://github.com/haskell/actions/pull/301#issuecomment-1722353522
2023-09-18 15:40:18 +01:00
Tomas Janousek
dc4d304802
Avoid use of partial function (head)
...
GHC 9.8 will produce warnings about it. (And HLS already does.)
Fixes: https://github.com/xmonad/xmonad/issues/468
2023-09-18 00:04:03 +01:00
Tomas Janousek
c264e4cdb3
ci: Replace deprecated haskell/actions/setup
...
See https://github.com/haskell/actions/pull/301 and
https://github.com/haskell/actions/pull/301/files
2023-09-17 23:16:39 +01:00
Tomáš Janoušek
bb895d8415
Merge pull request #467 from rnwst/patch-1
...
Fix typo in TUTORIAL.md
2023-09-17 21:31:01 +01:00
Tomas Janousek
897597463a
ci: Drop unnecessary cmd from "Install packdeps"
...
Not needed since https://github.com/haskell/actions/pull/165 (Jan 2023).
2023-09-17 21:24:00 +01:00
R. N. West
937493256d
Fix typo in TUTORIAL.md
2023-09-17 13:54:24 +01:00
dependabot[bot]
8ec512b437
build(deps): bump actions/checkout from 3 to 4 (except haskell-ci workflow)
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-17 10:56:15 +01:00
Tony Zorman
e563e01a5f
Merge pull request #466 from xmonad/dependabot/github_actions/cachix/install-nix-action-23
...
build(deps): bump cachix/install-nix-action from 22 to 23
2023-09-11 05:51:07 +02:00
dependabot[bot]
0e4c1e6837
build(deps): bump cachix/install-nix-action from 22 to 23
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-11 01:13:39 +00:00
Tony Zorman
5c2ba06902
stack: Bump resolver to 21.6
...
This is the newest lts resolver for 9.4.5.
2023-08-12 14:22:17 +02:00
Tony Zorman
efffa8946a
Merge pull request #463 from slotThe/tut/bits
...
TUTORIAL: Some Bits
2023-07-26 19:00:59 +02:00
Tony Zorman
431bb4b57c
TUTORIAL: Add a subsection about the startupHook
...
This is especially relevant for people who use display managers and thus
probably do not want to use .xinitrc directly.
2023-07-22 11:47:42 +02:00
Tony Zorman
3c80296733
TUTORIAL: Mention the need for a wallpaper
2023-07-22 11:44:08 +02:00
Tony Zorman
f289b3b134
Merge pull request #462 from slotThe/ci/bump
...
Bump cabal/stack CI
2023-07-18 09:35:29 +02:00
Tony Zorman
0932779f15
ci/cabal: Bump GHC versions
2023-07-16 17:24:30 +02:00
Tony Zorman
9138046ec5
ci/stack: Add lts-21 resolver
2023-07-16 17:19:58 +02:00
Tomas Janousek
a24e9b4c7f
ci: Use better github-actions user name/email
...
This one links to the GitHub Actions app.
2023-07-16 14:47:58 +01:00
brandon s allbery kf8nh
1aac6611d8
Correctly cite Conor McBride's paper
...
Per #461 which was brought up on `#haskell` recently after I mentioned our practical discussion of zippers as an alternative to the theoretical and mathematical ones usually brought up.
2023-06-28 14:28:54 -04:00
Tony Zorman
51e507e953
Merge pull request #460 from xmonad/geekosaur-patch-1
...
Update INSTALL.md
2023-06-26 08:38:44 +02:00
brandon s allbery kf8nh
10abd059b7
Update INSTALL.md
...
Patchup for cabal 3.10, which broke environment files: you now have to install `base` and any other dependencies explicitly.
2023-06-25 17:24:43 -04:00
Tony Zorman
d4c607c4f9
Merge pull request #457 from xmonad/dependabot/github_actions/cachix/install-nix-action-22
...
build(deps): bump cachix/install-nix-action from 21 to 22
2023-06-19 07:43:55 +02:00
dependabot[bot]
28bc7dacde
build(deps): bump cachix/install-nix-action from 21 to 22
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-19 01:19:54 +00:00
Tomáš Janoušek
b7a76a5e8c
Merge pull request #456 from xmonad/dependabot/github_actions/cachix/install-nix-action-21
...
build(deps): bump cachix/install-nix-action from 20 to 21
2023-05-29 14:06:07 +02:00
dependabot[bot]
58f3e8c6f1
build(deps): bump cachix/install-nix-action from 20 to 21
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-29 01:33:09 +00:00
Tomáš Janoušek
00045cfc2a
Merge pull request #446 from liskin/floatloc-size-hints
...
X.Operations: Apply size hints in floatLocation
2023-05-20 07:43:02 +01:00
Tomas Janousek
69134f9e8a
X.Operations: Apply size hints in floatLocation
...
This is hopefully harmless with well-behaved clients and ordinary xmonad
configs, and it enables using re-floating to apply size hints to
existing windows. The only visible behaviour change I can foresee is
that tiled windows (which ignore hints by default, unless
X.L.LayoutHints is used) will now snap to size hints whenever they're
floated (either via a keybinding or on mouseMoveWindow), whereas
previously they'd only do so on mouseResizeWindow.
My use-case for this is the following: when I change fonts in my
terminal, it updates its size hints and then sends a
ConfigureRequestEvent to change its size to keep the number of rows and
columns the same, and it also happens to reset the position to 0, 0. If
it's tiled, that request is just ignored and hintsEventHook handles the
layout refresh. If it happens to be floating, I want neither the move to
0, 0 nor the window size change to keep rows/colums, so I have a
handleEventHook that ignores that ConfigureRequestEvent and just
refloats the window, but I need a way to reapply size hints.
I could add a separate function that applies these hints to the floating
RationalRect, but that seems like a lossy operation due to the Doubles
in there. So I'd probably end up replicating most of the code from
floatLocation, and then I might just improve that instead… :-)
(I'll submit that custom ConfigureRequestEvent-ignoring hook to
xmonad-contrib later.)
2023-05-20 08:34:07 +02:00
Tony Zorman
025a78508c
Merge pull request #455 from geekosaur/454-project-file
...
Clarify the use of `cabal.project`
2023-05-14 12:27:25 +02:00
brandon s allbery kf8nh
b03fa7a67b
Clarify the use of cabal.project
...
We've had a user show up in IRC who missed the parenthetical at the
end of the `cabal.project` step and got an error trying to build
from hackage. I've rephrased that part of the instructions to make
it clear that `cabal.project` is only needed when building from git.
2023-05-12 13:19:45 -04:00
brandon s allbery kf8nh
64fbf6a09d
Move willFloat
to 0.17.1
...
Since it's a short doc change, I'm committing directly after verifying the preview is correct.
2023-05-01 10:00:00 -04:00
Tony Zorman
eeac754ac7
Merge pull request #445 from LSLeary/current-wins
...
Let the current screen win in the fight for dupes
2023-04-03 14:48:50 +02:00
L. S. Leary
5ee76ca48f
Let the current screen win in the fight for dupes
...
`windows` generates mappings one screen at a time, starting with the
current. Tracking the windows it's already generated mappings for,
it excludes them from the tiles under consideration, hence supporting
window duplication in a first-biased manner. This allows the current
screen to win against any contenders and keep duplicated tiles within
reach.
However, it neglects to extend this treatment to floats; they end up
mapped in a last-biased manner. Consequently, duplicated floats become
very slippery, escaping to any inactive screen they can. This change
rectifies that issue.
See: xmonad/xmonad-contrib#797
2023-04-04 00:26:44 +12:00
Tony Zorman
aa9dd2696a
cabal: Bump version to 0.17.2.9
2023-04-02 15:18:47 +02:00
Tony Zorman
19cba6b25f
Merge branch 'release-v0.17.2' of https://github.com/xmonad/xmonad into after-0.17.2
2023-04-02 15:17:55 +02:00
Tony Zorman
a09ca446fb
cabal: Update tested GHC versions
...
This syncs the cabal file with the reality of our CI.
v0.17.2
2023-04-02 13:27:59 +02:00
Tomas Janousek
5641038500
CHANGES: Fix typo
2023-04-02 13:26:11 +02:00
Tony Zorman
990555c8ab
Bump version to 0.17.2
2023-04-02 10:39:43 +02:00
Tony Zorman
a207e30751
CHANGES.md: Add changes for 0.17.2
2023-04-02 10:39:43 +02:00
Tony Zorman
970893f556
cabal: Update tested GHC versions
...
This syncs the cabal file with the reality of our CI.
2023-04-01 15:37:47 +02:00