Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from xmonad:master #174

Merged
merged 106 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
63a7582
build(deps): bump cachix/install-nix-action from 22 to 23
dependabot[bot] Sep 4, 2023
0e2d3c1
Merge pull request #827 from xmonad/dependabot/github_actions/cachix/…
slotThe Sep 4, 2023
000cd14
X.Prelude: Compatibility with base-4.18.0.0
slotThe Sep 17, 2023
b358c90
ci: Drop unnecessary cmd from "Install packdeps"
liskin Jul 16, 2023
51ba23b
build(deps): bump actions/checkout from 3 to 4 (except haskell-ci wor…
dependabot[bot] Sep 4, 2023
c9a096a
ci: Replace deprecated haskell/actions/setup
liskin Sep 17, 2023
ac9265e
ci: Replace deprecated haskell/actions/hlint-*
liskin Sep 17, 2023
32ff4db
cabal: Bump bytestring dependency
slotThe Sep 18, 2023
4f6a9de
Merge pull request #829 from slotThe/ghc/head
slotThe Sep 20, 2023
7bb1f0b
stack: Bump resolver to lts-21.12
slotThe Sep 23, 2023
a379850
XMonad.actions.search: Add NixOS and home-manager searchEngines (#832)
cafkafk Sep 27, 2023
4c0d3ca
X.Prompt: Allow for backwards cycling of completions
slotThe Oct 3, 2023
570bd17
cabal: Bump containers dependency
slotThe Oct 4, 2023
431ba22
X.P.Pass: Clean up code
slotThe Sep 20, 2023
fde30fc
X.P.Pass: Add passOTPTypePrompt
slotThe Sep 20, 2023
7854f77
X.P.Pass: Properly escape backslashes
slotThe Oct 6, 2023
8f8730b
Merge pull request #833 from slotThe/pass-otp-type
slotThe Oct 6, 2023
60867bd
X.L.Cross: Deprecate
slotThe Oct 9, 2023
ba5011b
Merge pull request #834 from slotThe/feat/prompt/cycle-backwards
slotThe Oct 9, 2023
3cd1b06
Merge pull request #835 from slotThe/deprecate-cross
slotThe Oct 10, 2023
8c0ca8b
X.Prompt: Add isModifier
slotThe Oct 11, 2023
c8c8147
X.A.CycleWindows: Move rot{Up,Down} to X.A.RotSlaves
slotThe Sep 19, 2023
52a40f3
Replace tail with drop 1
slotThe Sep 19, 2023
8ee1294
X.U.Stack: Add zipperFocusedAtFirstOf
slotThe Sep 19, 2023
7599c89
X.Prelude: Add infinite stream type
slotThe Oct 15, 2023
c3d16bf
X.L.Groups: Rewrite gen using infinite streams
slotThe Oct 15, 2023
7680ebb
Import X.Prelude unqualified if necessary
slotThe Oct 15, 2023
46a2648
Reduce head usage
slotThe Oct 15, 2023
9c4325f
Merge pull request #836 from slotThe/wx-partial
slotThe Oct 20, 2023
105cbe0
X.U.NamedScratchpad: Add nsSingleScratchpadPerWorkspace
philib Oct 18, 2023
e1dc2a3
X.U.NamedScratchpad: Extract common parts of ns{HideOnFocusLoss,Singl…
slotThe Oct 24, 2023
f654082
Merge pull request #837 from philib/master
slotThe Oct 24, 2023
d668e4c
X.Prelude: Add takeS
slotThe Oct 26, 2023
42179b8
X.U.EZConfig: Make readKeySequence return non-empty list
slotThe Oct 26, 2023
105e529
Fix partial uses of head
slotThe Oct 27, 2023
a9ba19f
ci: Bump GHC patch versions in tested-with
github-actions[bot] Oct 28, 2023
487b6d1
ci: Regenerate haskell-ci
github-actions[bot] Oct 28, 2023
532d64a
ci: Disable x-partial warnings in the testsuite
liskin Oct 24, 2023
c176a75
Merge pull request #838 from xmonad/haskell-ci-update
slotThe Oct 28, 2023
da566d6
X.P.Unicode: Add docs about UnicodeData.txt
jpolchlo Nov 7, 2023
8035db1
Merge pull request #841 from jpolchlo/docs/unicode-prompt
slotThe Nov 8, 2023
e38e19e
ci: Regenerate haskell-ci
github-actions[bot] Nov 11, 2023
192c0da
ci: Only build haddock for hackage with the latest GHC
liskin Nov 12, 2023
ad28ae1
Merge pull request #842 from xmonad/haskell-ci-update
liskin Nov 13, 2023
f9d98e0
ci: Bump GHC patch versions in tested-with
github-actions[bot] Nov 18, 2023
ff8d4eb
ci: Regenerate haskell-ci
github-actions[bot] Nov 18, 2023
45dd674
Merge pull request #844 from xmonad/haskell-ci-update
slotThe Nov 18, 2023
7464b36
NIX.md: Add flakes semi-walkthrough
slotThe Dec 2, 2023
7ce7ddf
build(deps): bump cachix/install-nix-action from 23 to 24
dependabot[bot] Dec 4, 2023
34d55ed
ci: Regenerate haskell-ci
github-actions[bot] Dec 9, 2023
a34287d
Merge pull request #847 from xmonad/haskell-ci-update
slotThe Dec 9, 2023
22372ab
X.U.Ungrab: Deprecate
Nov 16, 2023
5c30cad
Merge pull request #843 from iogrt/ungrab
slotThe Dec 9, 2023
00993d4
X.Prompt: Execute keypress when it has an action associated to it
slotThe Dec 16, 2023
e75eb16
Merge pull request #850 from slotThe/fix/prompt-ignores-left
slotThe Dec 17, 2023
92a7c03
X.L.Renamed: Provide "named" convenience alias
liskin Dec 17, 2023
3c329e0
X.H.{EwmhDesktops,ManageHelpers}: Add _NET_WM_DESKTOP-handling Manage…
liskin Dec 17, 2023
0fe948f
Merge pull request #852 from liskin/renamed-named
slotThe Dec 18, 2023
d54a7e2
Merge pull request #853 from liskin/ewmh-desktop-managehook
slotThe Dec 18, 2023
3613d4d
X.U.Ungrab: Avoid "Ambiguous occurrence" error in user configs
liskin Dec 17, 2023
9609e0e
X.Prompt: handle Return key in vim normal mode
l29ah Dec 19, 2023
75d67cf
Merge pull request #856 from l29ah/prompt-return-normal-vim
slotThe Dec 20, 2023
19edf5a
X.L.CircleEx: Init
portnov Dec 11, 2023
4f2a5c7
X.L.Circle: Deprecate in favour of X.L.CircleEx
portnov Dec 17, 2023
c01cd3a
Merge pull request #848 from portnov/master
slotThe Dec 21, 2023
b1b3c4c
~/.xmonad/xmonad.hs -> xmonad.hs
slotThe Dec 22, 2023
cd32cac
X.L.TwoPane[Persistent]: Add minimum widths for Shrink and Expand
dcousens Dec 22, 2023
5ceaed8
Merge pull request #858 from dcousens/fix-min-width
slotThe Dec 23, 2023
82e4260
Merge pull request #859 from slotThe/kill-dots
slotThe Dec 23, 2023
9f51b2a
Fix example Xmonad.Prompt.Input usage example
dcousens Dec 27, 2023
99b24f3
Merge pull request #860 from dcousens/patch-1
slotThe Dec 28, 2023
385d7e9
X.P: Export {selected,setCurrent,getCurrent}Completion[s]
dcousens Jan 9, 2024
7cb6b0f
Merge pull request #861 from dcousens/patch-1
slotThe Jan 10, 2024
4bb6a2e
X.H.EwmhDesktops: Fix haddock markup
liskin Jan 14, 2024
2272691
build(deps): bump cachix/install-nix-action from 24 to 25
dependabot[bot] Jan 15, 2024
14e80f2
ci: Bump GHC patch versions in tested-with
github-actions[bot] Jan 17, 2024
39310a6
ci: Regenerate haskell-ci
github-actions[bot] Jan 17, 2024
09e3713
Merge pull request #863 from xmonad/haskell-ci-update
liskin Jan 17, 2024
a5fb7e0
X.L.DecorationEx: extensible mechanism for window decorations (#857)
portnov Jan 21, 2024
318ee92
only sink window if actually fullscreened
geekosaur Jan 18, 2024
f3ee628
build(deps): bump actions/cache from 3 to 4
dependabot[bot] Jan 22, 2024
903e50a
X.P: Fix some typos in comments
dcousens Jan 24, 2024
d54d37e
Merge pull request #869 from dcousens/patch-1
slotThe Jan 24, 2024
c65ea8d
Bump version to 0.18.0
slotThe Feb 3, 2024
9217ac1
cabal: Bump xmonad dependency
slotThe Feb 3, 2024
7843d4d
Bump version to 0.18.0.9
slotThe Feb 3, 2024
e6dae98
Fix build-with-cabal.sh when XDG_CONFIG_HOME is defined
gabrielsimoes Feb 12, 2024
e963382
Update CHANGES.md
gabrielsimoes Feb 12, 2024
1d8305d
Merge pull request #872 from gabrielsimoes/patch-1
slotThe Feb 12, 2024
a84cec9
X.*: Fix typos (#871)
dcousens Feb 12, 2024
dda929d
X.L.Hidden: use the modifyWindowSet function
mislavzanic Feb 12, 2024
ae59496
Merge pull request #873 from mislavzanic/mini_refactor_hidden_layout
slotThe Feb 12, 2024
93ad0ef
ci: Adopt the liskin/gh-workflow-keepalive action
liskin Feb 15, 2024
aec2186
X.U.EZConfig: Fix checkKeymap warning that all keybindings are duplicate
ulrikdem Feb 16, 2024
c8dff5e
Merge pull request #874 from ulrikdem/ezconfig-duplicate
slotThe Feb 16, 2024
bfe2f5b
feat: add profiles
mislavzanic Feb 14, 2024
5ce04d6
.mailmap: Update
slotThe Feb 28, 2024
ca8e9ce
ci: Bump GHC patch versions in tested-with
github-actions[bot] Mar 2, 2024
ced5b7a
ci: Regenerate haskell-ci
github-actions[bot] Mar 2, 2024
8219170
Merge pull request #876 from xmonad/haskell-ci-update
slotThe Mar 2, 2024
da5566d
X.H.ManageHelpers: `isNotification` predicate
ilya-bobyr Mar 2, 2024
de5ef6c
Merge pull request #877 from ilya-bobyr/master
liskin Mar 4, 2024
e735339
Update StatusBar library to use the X monad instead of IO.
Chobbes Mar 9, 2024
35ded42
build(deps): bump cachix/install-nix-action from 25 to 26
dependabot[bot] Mar 11, 2024
94bccd3
Merge pull request #879 from xmonad/dependabot/github_actions/cachix/…
slotThe Mar 11, 2024
2b079bf
Merge pull request #878 from Chobbes/dynamic-status-bars-x
TheMC47 Mar 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/haskell-ci-hackage.patch
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,26 @@ set in GitHub repository secrets.
jobs:
linux:
name: Haskell-CI - Linux - ${{ matrix.compiler }}
@@ -31,6 +38,7 @@
compilerVersion: 9.0.2
@@ -33,6 +40,7 @@
compilerVersion: 9.8.2
setup-method: ghcup
allow-failure: false
+ upload: true
- compiler: ghc-8.10.7
- compiler: ghc-9.6.4
compilerKind: ghc
compilerVersion: 8.10.7
@@ -237,7 +237,7 @@
${CABAL} -vnormal check
compilerVersion: 9.6.4
@@ -257,6 +265,10 @@
- name: haddock
run: |
- $CABAL v2-haddock --disable-documentation $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
$CABAL v2-haddock --disable-documentation $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
+ - name: haddock for hackage
+ if: matrix.upload
+ run: |
+ $CABAL v2-haddock $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH --haddock-for-hackage --builddir $GITHUB_WORKSPACE/haddock all
- name: unconstrained build
run: |
rm -f cabal.project.local
@@ -248,3 +248,75 @@
@@ -267,3 +279,75 @@
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
path: ~/.cabal/store
Expand Down
43 changes: 27 additions & 16 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.16.6
# version: 0.18.1
#
# REGENDATA ("0.16.6",["github","cabal.project"])
# REGENDATA ("0.18.1",["github","cabal.project"])
#
name: Haskell-CI
on:
Expand All @@ -35,14 +35,20 @@ jobs:
strategy:
matrix:
include:
- compiler: ghc-9.6.2
- compiler: ghc-9.8.2
compilerKind: ghc
compilerVersion: 9.6.2
compilerVersion: 9.8.2
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.4.5
upload: true
- compiler: ghc-9.6.4
compilerKind: ghc
compilerVersion: 9.6.4
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.4.8
compilerKind: ghc
compilerVersion: 9.4.5
compilerVersion: 9.4.8
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.2.8
Expand All @@ -55,7 +61,6 @@ jobs:
compilerVersion: 9.0.2
setup-method: ghcup
allow-failure: false
upload: true
- compiler: ghc-8.10.7
compilerKind: ghc
compilerVersion: 8.10.7
Expand All @@ -79,20 +84,20 @@ jobs:
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
if [ "${{ matrix.setup-method }}" = ghcup ]; then
mkdir -p "$HOME/.ghcup/bin"
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
chmod a+x "$HOME/.ghcup/bin/ghcup"
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
apt-get update
apt-get install -y libx11-dev libxext-dev libxft-dev libxinerama-dev libxrandr-dev libxss-dev
else
apt-add-repository -y 'ppa:hvr/ghc'
apt-get update
apt-get install -y "$HCNAME" libx11-dev libxext-dev libxft-dev libxinerama-dev libxrandr-dev libxss-dev
mkdir -p "$HOME/.ghcup/bin"
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
chmod a+x "$HOME/.ghcup/bin/ghcup"
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
fi
env:
HCKIND: ${{ matrix.compilerKind }}
Expand All @@ -106,17 +111,19 @@ jobs:
echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV"
HCDIR=/opt/$HCKIND/$HCVER
if [ "${{ matrix.setup-method }}" = ghcup ]; then
HC=$HOME/.ghcup/bin/$HCKIND-$HCVER
HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER")
HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#')
HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#')
echo "HC=$HC" >> "$GITHUB_ENV"
echo "HCPKG=$HOME/.ghcup/bin/$HCKIND-pkg-$HCVER" >> "$GITHUB_ENV"
echo "HADDOCK=$HOME/.ghcup/bin/haddock-$HCVER" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
else
HC=$HCDIR/bin/$HCKIND
echo "HC=$HC" >> "$GITHUB_ENV"
echo "HCPKG=$HCDIR/bin/$HCKIND-pkg" >> "$GITHUB_ENV"
echo "HADDOCK=$HCDIR/bin/haddock" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
fi

HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
Expand Down Expand Up @@ -244,6 +251,10 @@ jobs:
cd ${PKGDIR_xmonad_contrib} || false
${CABAL} -vnormal check
- name: haddock
run: |
$CABAL v2-haddock --disable-documentation $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
- name: haddock for hackage
if: matrix.upload
run: |
$CABAL v2-haddock $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH --haddock-for-hackage --builddir $GITHUB_WORKSPACE/haddock all
- name: unconstrained build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: 'Set up HLint'
uses: haskell/actions/hlint-setup@v2
uses: haskell-actions/hlint-setup@v2
with:
version: '3.5'

- name: 'Run HLint'
uses: haskell/actions/hlint-run@v2
uses: haskell-actions/hlint-run@v2
with:
path: '["XMonad/", "tests/", "scripts/"]'
fail-on: status
4 changes: 2 additions & 2 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
contents: read
steps:
- name: Install Nix
uses: cachix/install-nix-action@v22
uses: cachix/install-nix-action@v26
with:
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Clone project
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
# "nix build" builds with full optimization and includes a profiling
# build, so just the build of xmonad-contrib itself takes 3 minutes.
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/packdeps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ jobs:

steps:
- name: Clone project
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Haskell
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2
with:
# packdeps doesn't build with newer as of 2021-10
ghc-version: '8.8'
- name: Install packdeps
run: |
set -ex
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
cd # go somewhere without a cabal.project
cabal install packdeps
- name: Check package bounds (all)
Expand All @@ -43,10 +42,11 @@ jobs:
*.cabal

workflow-keepalive:
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Re-enable workflow
env:
- uses: liskin/gh-workflow-keepalive@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api -X PUT repos/${{ github.repository }}/actions/workflows/packdeps.yml/enable
6 changes: 3 additions & 3 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Clone project
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install C dependencies
run: |
Expand All @@ -56,13 +56,13 @@ jobs:
date +date=1-%Y-%m >> $GITHUB_OUTPUT

- name: Cache Haskell package metadata
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.stack/pantry
key: stack-pantry-${{ runner.os }}-${{ steps.cache-date.outputs.date }}

- name: Cache Haskell dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.stack/*
Expand Down
5 changes: 3 additions & 2 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ hexago.nl <[email protected]>
lithis <[email protected]>
lithis <[email protected]> <[email protected]>
sam-barr <[email protected]> <[email protected]>
slotThe <[email protected]> <[email protected]>
slotThe <[email protected]> <[email protected]>
Tony Zorman <[email protected]> <[email protected]>
Tony Zorman <[email protected]> <[email protected]>
Tony Zorman <[email protected]>
spoonm <[email protected]>
Loading
Loading