Commit Graph

44 Commits

Author SHA1 Message Date
Amr Bashir 70d99086de fix(window-state): restore window position if the one of the window corners intersects with monitor (#898)
* fix(window-state): restore window positions that matches monitor positions
closes #892

* check for intersections of any window corner instead of only top-left
2024-01-25 01:48:46 +02:00
renovate[bot] 9b99416965 fix(deps): update tauri monorepo (#815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-21 14:19:25 +01:00
FabianLars 46dfb75d92 Revert "fix(deps): update dependency @tauri-apps/api to v1.5.2 (#814)"
This reverts commit 3af968ce8f.
2023-12-12 11:18:20 +01:00
renovate[bot] 3af968ce8f fix(deps): update dependency @tauri-apps/api to v1.5.2 (#814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 11:14:47 +01:00
Fabian-Lars 12900556a0 Revert "chore: Disable workspace inheritance for [package] (#775)" (#776)
This reverts commit 4899ae007a.
2023-11-29 11:08:11 +01:00
Fabian-Lars 4899ae007a chore: Disable workspace inheritance for [package] (#775) 2023-11-29 10:59:04 +01:00
Fabian-Lars 8c9ff2a2a9 chore: Add sponsors section to readme (#758)
* chore: Add sponsors section to readme

* which link style works in nested folders?

* add sponsors to plugin readmes

* use https links as src

* double test it with the pr branch

* revert last commit

* fmt
2023-11-23 17:18:09 +01:00
renovate[bot] 6630e5db75 fix(deps): update tauri monorepo (#665)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 12:50:05 +02:00
renovate[bot] 9b96996b5a fix(deps): update tauri monorepo to v1.5.0 (#626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 11:59:59 +02:00
renovate[bot] dc5a14b6ad chore(deps): update dependency tslib to v2.6.2 (#574)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 18:24:12 +02:00
renovate[bot] 6d8f517148 chore(deps): update dependency tslib to v2.6.1 (#515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 14:04:12 +02:00
renovate[bot] 92514cca47 fix(deps): update rust crate tokio-tungstenite to 0.20 (#513)
* fix(deps): update rust crate tokio-tungstenite to 0.20

* adapt new websocket config struct

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-07-24 12:22:22 +02:00
renovate[bot] 9dba680114 chore(deps): update dependency tslib to v2.6.0 (#483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 14:44:03 +02:00
renovate[bot] 2365c46534 fix(deps): update tauri monorepo to v1.4.0 (#482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 14:39:27 +02:00
Fabian-Lars 6845cefc82 chore: Lock npm deps versions (#477)
* chore: Lock npm deps versions

* lock ws example too

* override optionator
2023-07-11 14:09:35 +02:00
renovate[bot] 0d0ed7b907 chore(deps): update dependency prettier to v3 (#467)
* chore(deps): update dependency prettier to v3

* fmt

* semver override

* update example deps

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-07-06 11:47:41 +02:00
Amr Bashir 417c85a2dd fix(window-state): manual default implentation (#425)
* fix(window-state): manual default implentation, closes #421

* Update lib.rs
2023-06-13 15:48:10 +03:00
Amr Bashir 617cf38069 fix(window-state): propagate promise (#435)
closes #432
2023-06-13 15:47:55 +03:00
Fabian-Lars 0984fc8374 chore: Add branch to install instructions that use git (#433) 2023-06-12 11:20:59 +02:00
Fabian-Lars 523bcdc528 fix(window-state): correctly set decoration state if no saved state exists, fixes #421 (#424) 2023-06-07 15:19:29 +03:00
FabianLars dce0f02bc5 Rename dev branch to v1 and next branch to v2 2023-05-03 08:55:44 +02:00
Fabian-Lars 3fddf476de ci: set up covector (#329)
* ci: set up covector

* remove postpublish

* push new tags to mirrors

* fetch tags of current repo in workflow file

* use our fork of create-pull-request action

* fmt

* use org tokens

* simplify string subst

* fmt again
2023-04-25 17:31:33 +02:00
Fabian-Lars 9e97a55d85 fix(window-state): fix command names 2023-04-25 11:12:46 +02:00
Fabian-Lars 5c79b6ae30 chore(deps): Update all deps. Run pnpm dedupe (#320) 2023-04-17 18:18:44 +02:00
Amr Bashir e5b07f4af2 feat(window-state): add js api, closes #254 (#309)
* feat(window-state): add js api, closes #254

* symlink tsconfig.json

* update symlink

* Update plugins/window-state/package.json

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update Cargo.toml

* move to cmd.rs

* Update plugins/window-state/guest-js/index.ts

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-04-17 17:31:36 +02:00
nya1 aa879c9ac7 chore(window-state): readme typo (#290) 2023-03-25 19:10:44 +01:00
renovate[bot] 58defafd2a fix(deps): update rust crate bitflags to v2 (#277)
* fix(deps): update rust crate bitflags to v2

* derive clone and copy

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-03-13 13:08:11 +01:00
Parker McMullin b49d8addda fix(window-state): Use outer position (#276) 2023-03-10 22:35:09 +02:00
Fabian-Lars 2e090c90cd chore: Add MSRV to all readmes (#255)
* chore: Add MSRV to all readmes

* fix single-instance support matrix

* wording

* wording

* typo
2023-02-15 14:32:17 +01:00
Bryan Lee 61bdf04bc8 docs: fix typo (#117) 2023-01-30 10:43:57 +01:00
Amr Bashir 4c6255d34f fix(window-state): update state before saving (#111)
* fix(windows-state): update state before saving

regression introduced in #104

* update readme

* don't panic on non-existing windows

* Restore Cargo.lock
2023-01-25 18:09:14 +01:00
amrbashir b02c7e15f9 clippy lints 2023-01-23 22:33:29 +02:00
amrbashir 1930a1aa84 cleanup & defer saving state until ClosedRequest 2023-01-23 22:24:36 +02:00
amrbashir 0abe028e88 clippy 2023-01-23 19:48:36 +02:00
amrbashir 47e85ad06d feat(window-state): add flags to control what is saved/restored 2023-01-23 19:46:54 +02:00
Uriel 827bd47db6 fix(window-state): compare position with available monitors bounds (#48)
* remember monitor data

* check only if the position exists

Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-01-09 14:33:53 +02:00
Jonas Kruckenberg a2f0e2eb73 fmt 2023-01-06 18:18:16 +01:00
Jonas Kruckenberg e6cfc80b17 update readmes and package descriptions 2023-01-06 17:42:43 +01:00
Jonas Kruckenberg 5966b7d133 chore: add rust-version field 2023-01-06 17:01:21 +01:00
Jonas Kruckenberg 08f90f0fb4 update readmes 2023-01-06 14:21:57 +01:00
Jonas Kruckenberg 36698d1436 fmt 2022-12-14 20:39:21 +01:00
Jonas Kruckenberg 9a7b7e6423 template readmes and banners 2022-12-14 19:46:22 +01:00
Jonas Kruckenberg e9f90cf8ff add licenses 2022-12-14 18:54:05 +01:00
Jonas Kruckenberg eb3495fb72 copy plugin sources 2022-12-14 18:43:39 +01:00