LGUG2Z
af6529851e
chore(dev): begin v0.1.24-dev
2024-04-07 14:18:29 -07:00
LGUG2Z
bea3d1fcbc
chore(release): v0.1.23
2024-04-07 13:34:18 -07:00
dependabot[bot]
77eaddca1e
chore(deps): bump reqwest from 0.11.27 to 0.12.2
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.27 to 0.12.2.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.27...v0.12.2 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-01 12:10:08 -07:00
dependabot[bot]
d0bab4280a
chore(deps): bump heck from 0.4.1 to 0.5.0
...
Bumps [heck](https://github.com/withoutboats/heck ) from 0.4.1 to 0.5.0.
- [Changelog](https://github.com/withoutboats/heck/blob/master/CHANGELOG.md )
- [Commits](https://github.com/withoutboats/heck/commits )
---
updated-dependencies:
- dependency-name: heck
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-25 17:27:02 -07:00
LGUG2Z
24ac0c4cd3
refactor(cli): avoid http reqs for sample configs
...
re #716
2024-03-24 21:07:10 -07:00
LGUG2Z
45a3f2a6b5
chore(dev): begin v0.1.23-dev
2024-03-15 18:48:28 -07:00
LGUG2Z
40e77fddfe
chore(release): v0.1.22
2024-03-03 21:00:37 -08:00
LGUG2Z
d730c3c72d
feat(config): support parsing json w/ comments
...
This commit switches out the serde_json crate with the
serde_json_lenient crate, forked by Google, which allows for JSON files
with comments to be parsed properly.
Users can set the format of komorebi.json to "jsonc" in their editors in
order to write // comments without being faced with lint errors.
The expected file extension remains the same (json). komorebi and
komorebic will not look for files with the "jsonc" file extension or any
other JSON-variant file extension.
resolve #693
2024-02-29 17:35:47 -08:00
dependabot[bot]
b32bce8713
chore(deps): bump miette from 5.10.0 to 7.1.0
...
Bumps [miette](https://github.com/zkat/miette ) from 5.10.0 to 7.1.0.
- [Release notes](https://github.com/zkat/miette/releases )
- [Changelog](https://github.com/zkat/miette/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zkat/miette/compare/miette-derive-v5.10.0...miette-derive-v7.1.0 )
---
updated-dependencies:
- dependency-name: miette
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 22:51:28 -08:00
dependabot[bot]
c3e39311c1
chore(deps): bump which from 5.0.0 to 6.0.0
...
Bumps [which](https://github.com/harryfei/which-rs ) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/harryfei/which-rs/releases )
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/harryfei/which-rs/compare/5.0.0...6.0.0 )
---
updated-dependencies:
- dependency-name: which
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-25 11:02:19 -08:00
LGUG2Z
549500887f
chore(dev): begin v0.1.22-dev
2024-02-16 13:04:51 -08:00
LGUG2Z
17a45804b4
chore(release): v0.1.21
2024-02-15 17:56:06 -08:00
LGUG2Z
380971edee
chore(dev): begin v0.1.21-dev
2024-02-15 14:05:49 -08:00
LGUG2Z
52122c401d
chore(release): v0.1.20
2024-02-15 12:55:01 -08:00
dependabot[bot]
8f30612220
chore(deps): bump sysinfo from 0.29.11 to 0.30.5
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.29.11 to 0.30.5.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-08 11:51:29 -08:00
LGUG2Z
ddfcf8b76f
feat(config): add rudimentary config syntax checks
...
This commit attempts to introduce miette to provide users with quick
feedback when there may be syntax errors such as trailing commas in
their komorebi.json configuration file.
The lines and columns reported by serde_json don't actually line up with
the visualization of where we want to indicate a syntax error on the
miette Report. Some hackery has been done, but this should be improved
upon. Notably, this hackery does not accurately reflect the location of
a syntax error when the syntax error is a missing comma after a string
value.
2023-12-03 12:56:40 -08:00
amrbashir
b39e65642b
refactor(rust): cleanup path handling
...
- Avoids unnecessary string allocation when tracing paths
- Replaces `mut path & path.push()` with `path.join()`
- Avoids unncessary cloning of paths where applicable
- Use `dunce` crate to remove `UNC` prefix
- Improve performance of resolving `~` by avoiding unnecessary string allocations
- Resolve `~`, `$Env:USERPROFILE` and `$HOME` consistenly between different code paths
- Use `PathBuf` instead of `String` for paths in CLI args
I may have missed a couple of places but I think I covered 90% of path handling in the codebase
2023-11-26 15:25:43 -08:00
LGUG2Z
ef61239580
chore(release): v0.1.19
2023-11-10 16:23:53 -08:00
dependabot[bot]
6ffdc1e90e
chore(deps): bump which from 4.4.2 to 5.0.0
...
Bumps [which](https://github.com/harryfei/which-rs ) from 4.4.2 to 5.0.0.
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/harryfei/which-rs/commits )
---
updated-dependencies:
- dependency-name: which
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 11:11:35 -08:00
LGUG2Z
0ed732d085
chore(release): v0.1.18
2023-07-14 14:58:58 -07:00
LGUG2Z
f73d1bf0da
chore(release): v0.1.17
2023-07-13 08:58:38 -07:00
LGUG2Z
4510cccc3e
feat(config): add static json loader and whkd flag
...
This commit is an implementation of a static JSON configuration loader.
An example komorebi.json configuration file has been added.
The application-specific configurations can be loaded directly from a
file, and workspace configuration can be defined declaratively in the
JSON. Individual rules etc. can also be added directly in the static
configuration as one-offs.
A JSONSchema can be generated using komorebic's static-config-schema
command. This should be added to something like SchemaStore later.
Loading from static configuration is significantly faster on startup, as
the lock does not have to be reacquired for every command that is sent
over the socket.
When loading configuration from a static JSON file, a hotwatch instance
will automatically be created to listen to file changes and apply any
updates to both the global and window manager configuration state.
A new --whkd flag has been added to the komorebic start command to
optionally start whkd in a background process.
A new komorebic command 'generate-static-config' has been added to help
existing users migrate to a static JSON config file. Currently, custom
layout file path information can not be automatically populated in the
output of this command and must be added manually by the user if
required.
A new komorebic command 'fetch-asc' has been added to help users update
to the latest version of the application-specific configurations
in-place.
resolve #427
2023-07-13 08:12:43 -07:00
LGUG2Z
096729c2bd
chore(release): v0.1.16
2023-05-08 08:58:16 -07:00
dependabot[bot]
294c14e6a6
chore(deps): bump sysinfo from 0.28.4 to 0.29.0
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.28.4 to 0.29.0.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-08 08:48:24 -07:00
dependabot[bot]
b9a9d20c66
chore(deps): bump dirs from 4.0.0 to 5.0.0
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
---
updated-dependencies:
- dependency-name: dirs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-17 08:44:42 -07:00
LGUG2Z
e68cf6fa91
chore(deps): bump windows crates from 0.44 to 0.48
2023-04-15 21:47:37 -07:00
dependabot[bot]
72d20d5745
chore(deps): bump sysinfo from 0.27.7 to 0.28.0
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.27.7 to 0.28.0.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases )
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-20 08:29:10 -08:00
LGUG2Z
6d01e53ef3
chore(release): v0.1.15
2023-02-19 07:57:31 -08:00
dependabot[bot]
a6e0fa2ca9
chore(deps): bump windows from 0.43.0 to 0.44.0
...
Bumps [windows](https://github.com/microsoft/windows-rs ) from 0.43.0 to 0.44.0.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.43.0...0.44.0 )
---
updated-dependencies:
- dependency-name: windows
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-19 08:32:22 -08:00
dependabot[bot]
fa87a8ca88
chore(deps): bump sysinfo from 0.26.8 to 0.27.0
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.26.8 to 0.27.0.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases )
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-12 08:02:52 -08:00
LGUG2Z
6308414129
chore(release): v0.1.14
2022-11-09 13:38:57 -08:00
dependabot[bot]
438bfc86ff
chore(deps): bump windows from 0.42.0 to 0.43.0
...
Bumps [windows](https://github.com/microsoft/windows-rs ) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.42.0...0.43.0 )
---
updated-dependencies:
- dependency-name: windows
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-31 09:23:01 -07:00
dependabot[bot]
acaee5595d
chore(deps): bump clap from 3.2.22 to 4.0.15
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.22 to 4.0.15.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.22...v4.0.15 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-20 14:21:27 -07:00
LGUG2Z
611e4cc4a8
chore(deps): bump windows from 0.40 to 0.42
2022-09-27 09:53:43 -07:00
dependabot[bot]
27490de0d1
chore(deps): bump windows from 0.39.0 to 0.40.0
...
Bumps [windows](https://github.com/microsoft/windows-rs ) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.39.0...0.40.0 )
---
updated-dependencies:
- dependency-name: windows
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-20 08:28:02 -07:00
dependabot[bot]
83a502f199
chore(deps): bump sysinfo from 0.25.3 to 0.26.0
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.25.3 to 0.26.0.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases )
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-29 07:50:20 -07:00
LGUG2Z
748c389b34
chore(release): v0.1.13
2022-08-27 15:12:23 -07:00
LGUG2Z
d3dc193d29
feat(tcp): add listener + export socket schema
...
This commit adds a TCP listener that can be optionally exposed on a port
provided by the user using the --tcp-port flag. If the flag is not
provided, the TCP listener will not be started.
Client state is tracked using the connecting address, and clients are
purged if they send unrecognised messages.
A JSON Schema of the SocketMessage enum can be exported via komorebic
and be used to generate type definitions in various programming
languages.
This commit also makes some improvements to the handling of 'komorebic
start'.
The previous backoff approach was not working as once the Windows API
denies access to the process for any call, no amount of retries with the
same process id will result in approval.
Therefore, 'komorebic start' now checks if the process has been started,
and if it hasn't (ie. it has errored out because of an access denied
error), it will continue to restart the process until all the komorebi
startup calls to the Windows API succeed.
resolve #176
2022-08-15 09:35:08 -07:00
LGUG2Z
52b7b8d03d
fix(wm): ensure await-configuration is opt-in
2022-08-11 20:02:45 -07:00
LGUG2Z
f669231517
chore(release): v0.1.11
2022-08-11 13:35:47 -07:00
dependabot[bot]
67b00fd06d
chore(deps): bump serde_yaml from 0.8.26 to 0.9.2
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.8.26 to 0.9.2.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.26...0.9.2 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-01 17:43:52 -07:00
LGUG2Z
1c7a5ccb42
chore(deps): bump windows-rs from 0.38 to 0.39
2022-07-21 06:53:29 -07:00
LGUG2Z
876439b96b
chore(release): v0.1.10
2022-07-19 09:58:03 -07:00
LGUG2Z
39971774ea
chore(deps): bump windows-rs from 0.37 to 0.38
2022-06-23 08:42:44 -07:00
dependabot[bot]
7cef7b53b5
chore(deps): bump powershell_script from 0.3.2 to 1.0.2 ( #140 )
...
Bumps [powershell_script](https://github.com/cfsamson/powershell-script ) from 0.3.2 to 1.0.2.
- [Release notes](https://github.com/cfsamson/powershell-script/releases )
- [Commits](https://github.com/cfsamson/powershell-script/commits )
---
updated-dependencies:
- dependency-name: powershell_script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-26 10:29:26 -07:00
LGUG2Z
bc22ab699f
chore(deps): bump windows-rs from 0.36 to 0.37
2022-05-26 09:46:49 -07:00
LGUG2Z
b43f03ce83
chore(release): v0.1.9
2022-05-17 16:23:08 -07:00
LGUG2Z
957588f60d
chore(deps): bump windows-rs from 0.35 to 0.36
2022-04-26 12:05:20 -07:00
LGUG2Z
93edcfaa2f
Merge branch 'master' into feature/config-generation
2022-04-13 19:40:37 -07:00
LGUG2Z
02a3220cbd
chore(deps): bump windows-rs from 0.34 to 0.35
2022-04-13 19:39:26 -07:00