Amr Bashir
8a63ceb4f3
feat(cli): ignore .DS_Store
by default for dev watcher ( #9473 )
...
* feat(cli): ignore `.DS_Store` by default for dev watcher
closes #9451
* Update cli-ds-store-dev-watch.md
2024-04-17 14:51:24 +02:00
Amr Bashir
639d9abfdf
fix(bench): fix bench compilation ( #9474 )
2024-04-17 14:50:58 +02:00
Jingyu
3fe9ae8520
docs(webview): fix doc typo in webview window builder ( #9476 )
...
* fix(webview): typo in webview window builder document
* Update core/tauri/src/webview/webview_window.rs
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-04-16 12:34:09 +02:00
Marc Espin
55bf4eb51c
fix: Remove old links and updated CONTRIBUTING.md ( #9472 )
...
* fix: Remove old links update CONTRIBUTING.md
* update
2024-04-16 00:12:33 +02:00
github-actions[bot]
535691a711
Apply Version Updates From Current Changes ( #9348 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-04-15 09:32:40 -03:00
Lucas Fernandes Nogueira
02eaf07872
fix(tauri-runtime-wry): Window::inner_size crash when the window has no webviews ( #9428 )
2024-04-15 13:28:59 +02:00
Amr Bashir
c8a82ad223
fix(core): fix deadlock when using resources_table in menu/image/tray plugins ( #9379 )
...
* fix(core): fix deadlock when using resources_table in menu/image/tray plugins
closes #9369
* document the resources_table requirement
2024-04-15 12:15:37 +02:00
Amr Bashir
48a7a78f80
fix(api): fix dpi types serialization ( #9376 )
...
* fix(api): fix dpi types serialization
closes #9370
* Update api-position-size-args.md
* lint
* setMinSize and setMaxSize
* Update api-position-size-args.md
2024-04-15 12:04:20 +02:00
Amr Bashir
1d39876f97
fix(cli): add missing closing bracket ( #9466 )
2024-04-15 11:59:23 +02:00
Tony
f22ea29986
fix(core): revert fix visibility change ( #9246 ) ( #9465 )
...
* Revert "fix(windows): changing WebView visibility on hide/show/minimize (#9246 )"
This reverts commit 5bd47b4467
.
* Change files
* change file
* Update revert-fix-visibility-change.md
2024-04-15 11:50:11 +02:00
Fabian-Lars
f1674fce6d
feat(core/windows): Convert UNC paths to simple paths in JS apis. ( #9420 )
2024-04-15 11:41:31 +02:00
Kornel
73c1c2d338
fix(cli/migrate): tolerate non-UTF-8 in migration ( #9457 )
2024-04-15 11:39:53 +02:00
Amr Bashir
9331435a50
fix(cli/info): fix crash when checking node version ( #9412 )
...
closes #9396
2024-04-15 11:39:19 +02:00
Kornel
cd23bb2ca2
fix(cli): clippy warnings on macOS ( #9456 )
2024-04-15 09:22:19 +02:00
Kornel
8f4b1050c4
feat(cli): show full expected path of frontendDist
if not found ( #9459 )
...
* feat(cli): show full expected path of frontendDist
2024-04-15 09:18:46 +02:00
Lucas Fernandes Nogueira
32b213399f
fix(core): deadlock on window create ( #9429 )
...
* fix(core): deadlock on window create
* Update mod.rs
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-04-10 10:49:59 -03:00
Tony
4973d73a23
feat: Add zoom hotkey polyfill for non windows platforms ( #9386 )
2024-04-08 22:42:51 +02:00
Tony
58a7a552d7
feat: Expose webview zoom ( #9378 )
...
* Expose webview zoom
* Add js side support
* Generate bundle script
* Format
* Add change file
2024-04-05 02:10:07 +02:00
dependabot[bot]
b231f4c2e5
chore(deps-dev): bump vite from 4.5.2 to 4.5.3 in /examples/api ( #9377 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-04 03:39:51 +02:00
Tony
9273d7b379
feat(windows): Expose webview2 zoom hotkeys from wry ( #9352 )
...
* Expose webview2 zoom hotkeys from wry
* Add change file
* Apply suggestions from code review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* Regenerate schema files
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-04-03 20:14:17 +02:00
Mariotaku
36b4c12497
feat(bundler): added provides, conflicts and replaces for deb and rpm ( #9331 )
...
* feat(bundler): added provides, conflicts and replaces for deb and rpm packages
* added change file
* update .changes/deb-rpm-provides-conflicts-replaces.md according to review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* inlined provides/conflicts/replaces(obsoletes) variables
* fmt
2024-04-03 18:02:56 +02:00
Fabian-Lars
2f20fdf1d6
fix(core): compile error for 32bit targets ( #9361 )
...
* fix(core): compile error for 32bit targets
* clippy giving me trust issues
2024-04-03 17:19:21 +02:00
Fabian-Lars
6251645acf
fix(core): Update webview metadata on window close ( #9360 )
...
* fix(core): Update webview metadata on window close
* make it multiwebview friendlier
* support webview.close() too -> THIS IS STILL MISSING AN EVENT LIKE tauri://destroyed !!!
2024-04-03 17:18:13 +02:00
Tony
4c2e7477e6
fix(windows) window center doesn't consider taskbar size ( #9309 )
...
* Fix window center doesn't consider taskbar size
* Clean up
* Add change file
* Calculate title bar size on initial creation
* Comment about not adding in rect.bottom
* Tweak comment
* Fix center existing window a bit too high
* us NSWindow::center on macOS
* skip if undecorated
2024-04-02 20:32:30 +02:00
github-actions[bot]
1a58cdf2ed
Apply Version Updates From Current Changes ( #9279 )
...
* apply version updates
* fix bundler version
* fix bundler version
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-04-02 15:15:12 -03:00
Amr Bashir
284eca9ef2
refactor(core): scope JS resources to the webview ( #9272 )
...
* refactor(core): scope JS resources to the webview
* clippy
* change files
* swap args order
* more clippy
* just add them on each type
* clippy
* macro docs
* Update mod.rs
* use random rid
* revert resource table arg change
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-04-02 14:41:47 -03:00
Amr Bashir
8276ab767b
chore(cli/plugin): update plugin template ( #9346 )
...
closes #9342
2024-04-02 13:59:26 -03:00
Amr Bashir
f8fde4f845
fix(cli): disable directory traversal in builtin dev server ( #9344 )
...
* fix(cli): disable directory traversal in builtin dev server
This PR also includes a cleanup refactor of the server
* Update builtin_dev_server.rs
2024-04-02 13:59:16 -03:00
Amr Bashir
dd07a36749
chore(cli/add): clippy, use char instead of str ( #9333 )
2024-04-01 14:22:30 -03:00
amrbashir
93e0e1392e
feat(cli/add): support specifying version
...
closes #9325
2024-04-01 18:22:26 +02:00
Lucas Fernandes Nogueira
06833f4fa8
feat(ipc): enhance request URL checks, update wry, refactor file drop ( #9100 )
...
* feat(ipc): enhance request URL checks
* actually use req url
* fix windows, tests
* wry 0.38, file drop refactor
* wry 0.38.1
* adjust for windows [skip ci]
* wry 0.38.2 [skip ci]
* update to latest tao, wry, muda and tray-icon
* change tag
* serde
* use published crates
* downgrade cargo-platform to 0.1.7
---------
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-04-01 13:03:39 -03:00
Amr Bashir
b78f90bc9c
chore(cli): fix clippy errors ( #9330 )
2024-04-01 12:44:12 -03:00
Lucas Fernandes Nogueira
a804a70a7a
feat(isolation): script now removes itself to hide key from DOM ( #9328 )
2024-04-01 12:43:29 -03:00
Lucas Fernandes Nogueira
7c334cb185
feat(isolation): make encrypt key unextractable ( #9327 )
2024-04-01 12:43:19 -03:00
scottpledger
6703b7cbca
fix: use $CARGO_MANIFEST_DIR to fully specify include_dir paths in tauri-cli ( #9310 )
...
* Allow tauri-cli to work with Bazel.
Signed-off-by: Scott Pledger <scottpledger2005@gmail.com>
* change file
---------
Signed-off-by: Scott Pledger <scottpledger2005@gmail.com>
2024-04-01 16:43:52 +02:00
Tony
5bd47b4467
fix(windows): changing WebView visibility on hide/show/minimize ( #9246 )
...
* Fix not changing visibilty for windows webview
* Add change file
* Move is_visible calculation to the caller
* Rename update to set
2024-03-28 16:25:46 +02:00
Vladimir Stoilov
259d845290
feat(bundler): add post/pre install/remove scripts for linux deb and rpm packages ( #9209 )
...
* feat(cli/add): add post/pre install/remove scripts for linux
* fix(cli): clippy errors
* fix(cli): remove script struct from deb/rpm bundle
* change files and aliases
2024-03-28 05:13:26 +02:00
Fabian-Lars
c33f6e6cf3
fix(core): Announce new webviews and windows ( #9211 )
...
* fix(core): Announce new webviews and windows
fixes #9200
fixes #8144
* fix js import in example
* emit created events to all listeners.
* remove duplicate event
2024-03-28 02:23:19 +02:00
Lucas Fernandes Nogueira
e7cd973123
fix(tauri-runtime-wry): window inner size regression on macOS, closes #9236 ( #9276 )
...
* fix(tauri-runtime-wry): window inner size regression on macOS, closes #9236
* lint
2024-03-26 11:38:57 -03:00
github-actions[bot]
7898b601d1
Apply Version Updates From Current Changes ( #9222 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-20 19:59:04 -03:00
Lucas Fernandes Nogueira
b525ddadf7
fix(cli): openssl is no longer a required macOS dep ( #9237 )
2024-03-20 19:15:58 -03:00
Fabian-Lars
ee028c414d
fix(core): Fix menu.remove trying to remove the item from itself instead of from the menu ( #9225 )
...
follow up to https://github.com/tauri-apps/tauri/pull/9219/
2024-03-20 18:36:51 -03:00
Tillmann
edc9923c5b
Feat: Initial cargo-vet
Support ( #9216 )
...
* add cargo-vet with reasonable trusted entities
* update paths
* license header
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-03-19 11:39:42 -03:00
Fabian-Lars
a799f24f97
fix(bundler): Fix path seperators for deep link registry entries ( #9185 )
...
* fix(bundler): Fix path seperators for deep link registry entries
* Update bundler-deep-link-reg-path.md
2024-03-19 10:41:55 -03:00
Amr Bashir
ac76a22f38
feat(cli/init): allow empty responses non-crucial questions ( #9183 )
...
closes #9181
2024-03-19 10:41:41 -03:00
Fabian-Lars
81b853bc87
fix(core): Set json content type for errors returned from commands ( #9213 )
2024-03-19 10:34:12 -03:00
Fabian-Lars
75f5cb4015
feat(core): Implement HasDisplayHandle for Window ( #9214 )
2024-03-19 09:43:15 -03:00
Tony
43230cb6b7
fix(core): menu remove
js binding not working ( #9219 )
...
* Fix menu `remove` js binding not working
* add change file [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-19 09:40:25 -03:00
Dan
fb146339cc
chore: Readme typo ( #9130 )
2024-03-18 22:47:10 +01:00
Lucas Nogueira
72d9876bc8
chore: update autogenerated file
2024-03-18 10:14:27 -03:00