Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-30 | Fix waitForProcess errors when configuration is recompiled | Ulrik de Muelenaere | |
Previously, xmobar would ignore SIGCHLD, but only when the configuration is recompiled. This means child processes would not leave zombies, so that waiting for them to exit (either directly by calling waitForProcess, or indirectly through another function from System.Process, like system or readProcessWithExitCode) would produce an error. This breaks the Alsa, Com (#657) and NotmuchMail plugins, as well as the <action> tag (#687) and low battery action (#688). As far as I can tell, bracketing the recompilation in uninstallSignalHandlers and installSignalHandlers was inherited from xmonad. In xmonad, SIGPIPE and SIGCHLD are always ignored (installSignalHandlers is called at the start of xmonad and launch), so the bracket is necessary to be able to wait for the compiler or build script to exit. Since xmobar does not otherwise ignore the signals, it is not necessary to change signal handlers at all during recompilation. Removing it leaves the default action for SIGCHLD, which fixes the issues described above. Fixes #657, #687 and #688. | |||
2024-03-30 | Fix zombie processes left by <action> tag and low battery action | Ulrik de Muelenaere | |
This effectively reverts c54d93e and 991a168. While those fix #687 and #688 respectively in the case where the configuration is recompiled, in all other cases they leave zombie processes, since they undo the fix for #181. However, instead of reverting to the deprecated system function, we use the newer spawnCommand and waitForProcess. And like with 991a168, the low battery action now runs in the background to avoid blocking the bar. | |||
2024-03-21 | changelog &co. for kbd monitor | jao | |
2024-03-17 | Make the Kbd monitor clickable, with click selecting the next layout | Enrico Maria De Angelis | |
2024-03-06 | copyright years | jao | |
2024-03-06 | readme: more broken links | jao | |
2024-03-06 | readme.org: absolute links (fixes #694) | jao | |
2024-03-03 | changelog | jao | |
2024-02-18 | battery: spawnCommand instead of system when running actions0.47.4 | jao | |
should fix for real #688 this time | |||
2024-02-07 | version tag and changelog0.47.3 | jao | |
2024-02-05 | actions: spawnCommand instead of deprecated system | jao | |
This should address the problems reported in issue #688 | |||
2024-02-01 | readme.org: author list | jao | |
2024-02-01 | documentation for with_shared and changelog | jao | |
2024-01-31 | Bump base dependency | Vekhir | |
Builds and tests fine | |||
2024-01-31 | Add `with_shared` flag to build using shared libraries | Vekhir | |
Adds the `with_shared` flag, which is off by default. Setting the new flag enables building with shared libraries. By default, `xmobar` is built with static linking. | |||
2024-01-31 | Enable use of shared libraries | Vekhir | |
Haskell libraries can be linked statically or dynamically. Either way, all packages must be linked the same way. This means that if all dependencies of `xmobar` are shared libraries, then `xmobar` itself must be built using dynamic linking. Therefore, to compile the individual `xmobar` executables, add the `-dynamic` flag to signal that they are built with shared libraries. This flag is put behind an #ifdef to easily configure static vs dynamic linking. To use shared libraries, define SHARED_LIBRARIES | |||
2024-01-19 | using-haskell.org: broken links | jao | |
2024-01-19 | quick-start.org: broken links | jao | |
2024-01-19 | plugins.org: broken links | jao | |
2024-01-19 | plugins.org: broken links | jao | |
2024-01-19 | readme.org: broken links | jao | |
2024-01-19 | readme.org: broken links | jao | |
2023-11-12 | fix: dependendecy on mtl to allow GHC 9.60.47.2 | jao | |
2023-11-12 | fix: dependendecy on base to allow GHC 9.6 | jao | |
2023-11-11 | compatibility with GHC 9.6 | jao | |
2023-09-02 | typo | jao | |
2023-09-02 | docs and changelog on libmpd0.47.1 | jao | |
2023-09-01 | allow requesting explicitly libmpd with with_mpd for any ghc version | jao | |
2023-08-30 | woodpecker: pipeline -> steps | jao | |
2023-08-30 | changelog and copyright years0.47 | jao | |
2023-08-30 | version bump | jao | |
2023-08-30 | .drone.yml -> .woodpecker.yml | jao | |
2023-08-28 | exclude libmpd for ghc 9.4 or greater | jao | |
2023-07-11 | Add FreeBSD installation instruction | Jaroslaw Jantura | |
2023-06-02 | center middle section for templates of the form "}M{" (fixes #677) | jao | |
2023-03-26 | docs: comment on use of X11 fonts (fixes #658) | jao | |
2023-03-22 | Handle SocketError when attempting to connect to dbus | Corey Halpin | |
Extends the solution from 8a53271cd6 to also handle SocketError, so that the process will not terminate. See also issue #537. | |||
2023-01-17 | stack dependencies for cairo/pango (fixes #666) | jao | |
2023-01-05 | typo | jao | |
2023-01-05 | testing with ghc 9.2 for now (again)0.46 | jao | |
2023-01-05 | testing with ghc 9.2 for now (again) | jao | |
2023-01-05 | testing with ghc 9.2.5 for now | jao | |
2023-01-05 | testing with ghc 9.2 for now | jao | |
pango seems to be incompatible with ghc 9.4.4 because it needs text < 2. | |||
2023-01-05 | trying to fix deps for ghc 9.4.4 | jao | |
2023-01-05 | base 4.17 (ghc 9.4.x) and version bump | jao | |
2023-01-04 | relative link fixes | jao | |
2023-01-04 | docs: bar sections and new alignment behaviour | jao | |
2022-12-31 | layout: special case for empty left segment (see #655) | jao | |
2022-12-23 | Fix for #663: honour explicit bg/fg colors for icons | jao | |
2022-12-10 | off by ones | jao | |