Tony
7a37355e17
fix(window-state): deadlock when trying to restore window states on initial load ( #1787 )
...
* Fix deadlock when trying to restore window the size on initial load
* Typo
2024-09-15 18:01:27 -03:00
Tony
204e5aacad
fix(window-state)!: saving minimized state ( #1743 )
...
* Fix saving minimized state again
* Add change file
* Fix saving minimized size
* Add change file
* Fix missing .md
* Remove window-shadows
2024-09-13 06:29:38 +03:00
Tony
17e8014b69
fix(window-state): saving a minimized window's state changes its position to -32000 ( #1702 )
...
* Don't store position on minimized
* Add change file
* ?
2024-09-02 15:58:25 +08:00
Andrew Ferreira
f1372adc9d
feat(window-state): add Builder::map_label method ( #1497 )
2024-06-26 06:46:02 +03:00
Amr Bashir
d9de5b19d1
feat(positioner, window-state): impl WindowExt for WebviewWindow ( #1283 )
...
closes #1281
2024-05-03 13:16:40 +02:00
Tony
44e47fe98b
fix(window-state): restore window state for stubbed zerord state ( #1259 )
...
* Restore window state for default state
* Add change file
2024-04-29 19:33:33 +03:00
Amr Bashir
0e9541fe89
feat(window-state): support using a custom filename ( #1138 )
...
* feat(window-state): support using a custom filename
ref: https://github.com/tauri-apps/plugins-workspace/pull/1079
* generate api
* fmt
2024-04-03 21:29:48 +02:00
thewh1teagle
c013fa52cd
refactor(window-state)!: use json instead of bincode ( #1078 )
...
* feat(window-state): add option to use json
* feat(window-state): change state file from bincode to serdejson
* change file
* fmt
2024-03-29 02:41:42 +02:00
Lucas Fernandes Nogueira
a04ea2f382
refactor: only inject API IIFE script when withGlobalTauri is true ( #1071 )
...
* refactor: only inject API IIFE script when withGlobalTauri is true
* fmt
* update tauri
2024-03-19 15:03:20 -03:00
FabianLars
14f5961569
chore: merge v1 into v2 for the last time
2024-02-03 20:16:36 +01:00
Tillmann
d198c01486
feat: update to tauri beta, add permissions ( #862 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-02-03 15:14:41 -03:00
Lucas Fernandes Nogueira
5de23e79f9
chore: update deps, make mobile script paths relative ( #649 )
2023-10-19 14:31:42 -03:00
Lucas Fernandes Nogueira
d74fc0a097
feat: update to alpha.11 ( #555 )
2023-08-14 14:51:20 -03:00
Simon Hyll
5fd597ddaf
docs: added banners and icons ( #443 )
...
* added banners and icons
* fix: formatting
2023-06-20 14:55:14 +03:00
Amr Bashir
84b3612393
fix(window-state): port fixes from v1 ( #436 )
...
* fix(window-state): correctly set decoration state if no saved state exists, fixes #421 (#424 )
* fix(window-state): propagate promise (#435 )
closes #432
* fix(window-state): manual default implentation (#425 )
* fix(window-state): manual default implentation, closes #421
* Update lib.rs
* change file
* generated files
* fix symlinks?
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2023-06-13 23:30:39 +03:00
Lucas Fernandes Nogueira
b131bc8f7c
feat(plugins): inject API on window.__TAURI__ ( #383 )
2023-05-23 14:20:14 -03:00
Lucas Fernandes Nogueira
5914fb9f36
chore: add license headers ( #384 )
...
* feat: check for license headers
* add headers
* format
2023-05-21 16:56:10 -03:00
Lucas Fernandes Nogueira
d677f73495
feat(ci): test mobile targets ( #378 )
2023-05-19 09:46:06 -07:00
FabianLars
fad6edab71
Merge remote-tracking branch 'origin/dev' into next
2023-04-26 16:56:03 +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
Lucas Fernandes Nogueira
bbdccefa2d
chore(deps): update to tauri alpha.8 ( #303 )
2023-04-14 08:02:48 -03: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
Lucas Fernandes Nogueira
22f987bf24
feat: update setup hook to new syntax ( #257 )
2023-02-16 13:42:26 -03: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
eb3495fb72
copy plugin sources
2022-12-14 18:43:39 +01:00