Subject: CVS commit: pkgsrc/wm/leftwm
From: pin
Date: 2023-11-16 09:00:24
Message id: 20231116080024.44A46FA3D@cvs.NetBSD.org

Log Message:
wm/leftwm: update to 0.5.0

[0.5.0]

Breaking Change

- The `layouts` and `workspace.layouts` in `config.ron` must be declared as
  Strings because they are no longer backed by an enum. (ie. use `layouts:
  ["CenterMain"]` instead of `layouts: [CenterMain]`)
- The `max_window_width` config was removed without direct replacement. The
  "always fill entire screen" behavior can now be addressed by \ 
creating a custom
  layout with an appropriate `Reserve` property.
- LeftWM now depends on `lefthk` ^0.2.0, which has been refactored (thanks to
  @blackdragon2447 in #1154)

Deprecated

- The commands `IncreaseMainWidth` / `DecreaseMainWidth` were deprecated in
  favor of `IncreaseMainSize` and `DecreaseMainSize`

Removed

- The `max_window_width` config option was removed

Added

- Implemented the new [leftwm-layouts](https://github.com/leftwm/leftwm-layouts)
  library (via #1000 by @hertg)
- Added `IncreaseMainSize` / `DecreaseMainSize` as a replacement for the
  deprecated `IncreaseMainWidth` / `DecreaseMainWidth` (closes #545 via #1000
  by @hertg)
- Added `ToggleMaximized` command (closes #973 via #1121 by @bksalman)
- Added `ToggleAbove` command (closes #1094 via #1160 by @Eskaan)
- Add support for multiple main windows on all layouts that have a main column,
  new commands are `IncreaseMainCount` and `DecreaseMainCount` (closes #516
  via #1000 by @hertg)
- use `unwrap_newtypes` extension in ron deserializer (via #1000 by @hertg)
- Improved error and documentation for external commands using leftwm-command
  (thanks to @Silicasandwhich in #1098, resolves #1096)
- General improvements to leftwm-log, including a nicer matching solution and
  feature-gates functions (thanks to @Eskaan in #1109)
- `leftwm-command -l` has been parameterized using the `leftwm-macros` library
  (thanks to @Mautamu in #1115; closes #1095)
- Added `disable_cursor_reposition_on_resize` option to config (thanks to
  @BKSalman in #1123)
- Fullscreen ordering/resizing changes and other optimizations (from @Eskaan
  and @bksalman in #1136, #1164, #1158, #1159)
- Commented example configuration (by @VuiMuich in #1133)
- The currently supported MSRV is 1.70.0

Fixed

- Changing main width now works on all layouts that have a main column
  (fixes #96 via #1000 by @hertg)
- Fixed a bug where windows would sometimes spawn on the last tag (fixes #1065
  via #1093 by @Silicasandwhich)
- `basic_lemonbar` theme now works if the user has only one workspace, the clock
  is independent of leftwm-state, the tags are now clickable and have better
  naming (thanks to @simtd in #1101)
- Ron option checking by `leftwm-check` has been corrected when
  `#![enable(implicit_some)]` is not present (thanks to @samuelabreu in #1110)
- `output` field has been returned to `leftwm-state` (thanks to @Eskaan
  in #1116, resolves #1111)
- Maximized windows no longer hide dock and desktop (thank to @BkSalman
  in #1126)
- Readme typos and changelog rename in #1113 thank to @Chudson16 and #1091
  thanks to @Eskaan; various code formatting changes (thanks to Eskaan in #1117,
  #1120)
- Dialog windows now obey application-defined sizes (thanks to @Silicasandwhich
  in #1166; closes #1118)
- Nixos flake rewritten to use flake-parts (#1122 by @vesdev)
- Moved windows no longer switch to the first tag (closes #1054 via #1161
  by @Eskaan)
- Clippy fixes and updates which results in MSRV=1.70.0 (by @VuiMuich,
  @cyril-marpaud, and @Mautamu in #1137, #1130, #1151)

Files:
RevisionActionfile
1.9modifypkgsrc/wm/leftwm/Makefile
1.3modifypkgsrc/wm/leftwm/PLIST
1.7modifypkgsrc/wm/leftwm/cargo-depends.mk
1.10modifypkgsrc/wm/leftwm/distinfo