Eugene Hauptmann
f1badb9fb3
fix: fixed typo in menu and submenu tooling ( #9645 )
...
* Update menu.ts
replaced `Platform-spcific` to `Platform-specific`
* Update submenu.ts
replaced `Platform-spcific` to `Platform-specific`
2024-05-02 21:20:34 +03:00
github-actions[bot]
d5775ed6a4
apply version updates ( #9617 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
2024-04-30 19:31:34 +02:00
Zihan Hu
aa080696e0
fix(core): fix incorrect isTauri return type ( #9618 )
2024-04-30 19:03:49 +03:00
github-actions[bot]
108ab9094a
Apply Version Updates From Current Changes ( #9551 )
...
* apply version updates
* update wry to 0.39.3 to prevent dependency version mismatches
---------
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com >
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2024-04-30 16:22:46 +02:00
Amr Bashir
477bb8cd4e
feat: add cursor_position getter ( #9297 )
...
* feat: add `cursor_position` getter
closes #9250
* js api
* Update mod.rs
* fix build on iOS and android
* use existing wrapper
* fmt
* adjust wording
* update docs
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-04-29 18:28:01 +03:00
github-actions[bot]
ac9bfada4a
Apply Version Updates From Current Changes ( #9548 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-04-22 17:09:51 -03:00
Amr Bashir
e22e61af6c
Revert "Apply Version Updates From Current Changes ( #9489 )" ( #9549 )
...
This reverts commit 198f11ae7b .
2024-04-22 15:42:46 -03:00
github-actions[bot]
198f11ae7b
Apply Version Updates From Current Changes ( #9489 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
2024-04-22 19:02:28 +02:00
André Kohn
be7eab209c
fix(api): add type definitions to package.json exports ( #9486 )
2024-04-22 16:18:00 +02:00
Lucas Fernandes Nogueira
35b25f7e5c
fix: optional chaining is not supported on older webviews ( #9530 )
2024-04-22 10:27:45 -03:00
Amr Bashir
70c51371e0
feat(core): add isTauri ( #9539 )
...
* feat(core): add `isTauri`
* generate api
2024-04-22 15:07:11 +02:00
Graham Held
cf615e8e4d
Set internal message ID to nextId after handling pending messages ( #9463 )
...
* Set internal message ID to nextId after handling pending messages
* add change file
* update bundle
* update reference.md
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-04-21 11:21:34 -03: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
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
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
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
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
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
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
github-actions[bot]
f1df6b2c35
Apply Version Updates From Current Changes ( #9162 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-03-18 09:43:47 -03:00
Amr Bashir
379cc2b354
fix(core/path): remove suffix in basename only once ( #9165 )
...
* fix(core/path): remove suffix in `basename` only once
closes #9064
* Update tooling/api/src/path.ts
* remove extra assert
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-03-18 08:40:23 -03:00
Lucas Fernandes Nogueira
ea0242db4a
refactor(image): expose constructor, unify size getters ( #9179 )
2024-03-13 22:02:05 -03:00
Amr Bashir
acdd76833d
feat(api/tray): add TrayIcon.getById/removeById ( #9155 )
...
* feat(api/tray): add `TrayIcon.getById/removeById`
closes #9135
* generate
* add permissions
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-03-12 13:07:51 -03:00
github-actions[bot]
d349558abb
Apply Version Updates From Current Changes ( #9149 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-03-11 15:14:25 -03:00
Lucas Fernandes Nogueira
db0a24a973
refactor(core): use the image crate ( #9132 )
2024-03-11 11:46:34 -03:00
Dimitris Apostolou
26f0f71a40
chore: fix various typos ( #9131 )
2024-03-11 16:25:20 +02:00
renovate[bot]
5deb1202f6
chore(deps) Update dependency rollup to v4.12.1 (dev) ( #9101 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 19:34:29 -03:00
Lucas Fernandes Nogueira
ed48e2b3c7
feat(core): expose the image module ( #9122 )
...
* feat(core): expose the image module
* code review
* fix import
* fix
* fix codegen
* jsimage owned
* fmt
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2024-03-07 19:23:21 -03:00
github-actions[bot]
e7f245e81e
Apply Version Updates From Current Changes ( #9035 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-03-06 19:00:57 -03:00
Lucas Fernandes Nogueira
e62ca4ee95
feat(ipc): preserve channel message order ( #9070 )
2024-03-04 17:03:24 -03:00
renovate[bot]
1b18b7006f
chore(deps) Update Tauri API Definitions (dev) ( #8225 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 10:30:35 -03:00
Amr Bashir
77b9a508a4
feat(api): add Image class ( #9042 )
...
* feat(api): add `Image` class
* clippy
* license headers
* small cleanup
* fixes
* code review
* readd from_png_bytes and from_ico_bytes
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-03-03 04:31:08 +02:00
Amr Bashir
4b75834a41
chore: update license headers 2024 ( #9043 )
2024-03-01 08:29:01 -03:00
Amr Bashir
d1e77acd8d
refactor!(core): remove Icon enum and add Image type ( #9011 )
...
* refactor!(core): remove `Icon` enum and add `Image` type
* clippy
* revert api example config change
* Update image.rs
* fix build
* clippy
* change files
* add back removed methods as setter functions
* simplify error message
* Update .changes/runtime-icon-lifetime.md
* Update .changes/ico-featrue-flags.md
* Update core/tauri/src/image.rs
* update api lockfile
* update api ref
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-02-29 09:05:11 -03:00
i-c-b
9cc014f2df
fix(docs): fix API webview/window class doc example ( #8971 )
...
* fix class doc example
* fix class doc example
2024-02-24 22:36:45 +02:00
github-actions[bot]
0606ab326b
Apply Version Updates From Current Changes ( #8938 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-02-22 18:50:24 -03:00
Lucas Fernandes Nogueira
fdcaf935fa
feat(webview): add reparent API ( #8939 )
...
* feat(webview): add reparent API
* fix build
* fix import
* remove cfg
* fix windows
* clone
* clone value
* ()
2024-02-22 08:52:27 -03:00
github-actions[bot]
af646520cf
Apply Version Updates From Current Changes ( #8918 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-02-21 12:00:32 -03:00
Lucas Fernandes Nogueira
361ec37fd4
chore(deps): update to tao 0.26 ( #8932 )
...
* chore(deps): update to tao 0.26
* fallback to crate name
* move struct to runtime
* tests
2024-02-21 11:25:42 -03:00
github-actions[bot]
18ff84fc81
Apply Version Updates From Current Changes ( #8775 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-02-19 15:49:28 -03:00
Lucas Nogueira
c426c0dca2
merge from 1.x
2024-02-19 08:03:05 -03:00
Marc Espin
dbd525ca64
docs: Update doc comment from normalize function in path plugin to match definition ( #8886 )
...
The doc comment from the normalize function in the path plugin was not matching the actual definition.
Rust definition: 0cb0a15ce2/core/tauri/src/path/plugin.rs (L18)
Typescript definition: 0cb0a15ce2/tooling/api/src/path.ts (L589)
2024-02-18 15:12:46 -03:00
Amr Bashir
16e550ec15
refactor(core): add webview events ( #8844 )
...
* refactor(core): add webview events
* license header
* clippy
* fix doctests
* more doctests
* fix JS `listen` with `EventTarget::Any`
* typo
* update module import
* clippy
* remove console.log
* fix api example
* fix documentation for emiTo [skip ci]
* actually add RunEvent::WebviewEvent
* update migration
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-02-16 08:07:39 -03:00
github-actions[bot]
88a1dd17c3
Apply Version Updates From Current Changes ( #8638 )
...
* apply version updates
* promote to beta
* fix check version
* update dependencies section [skip ci]
* update npm versions
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-03 10:59:09 -03:00
Amr Bashir
8de308d1bf
feat(core): implement new config structure ( #8723 )
...
* feat(core): implement new config structure
RFC#5 f3e82a6b0c/texts/0005-tauri-config-restructure.md
* fixes
* remove tauri-plugin copy [skip ci]
* move platform specific configs
* fix build
* fix cli
* doctests
* change files
* read updater plugin config on CLI
* doctests
* remove env var from docs
* fix getting pubkey
* add migrations
* clippy
* update change file [skip ci]
* rename frontendDist to prodFrontend?
* Revert "rename frontendDist to prodFrontend?"
This reverts commit ef7394f085 .
* fix all_features check
* fix field name
* single license getter on bundler
* readd msiexec_args
* remove unused fixture
* update template
* Update .changes/tauri-bundle-settings-rfc-5.md
* Update .changes/config-restructure-rfc-5.md
* lint bundler, fix change file
* rename AppUrl to FrontendDist, add explicit variants for docs
* fix build
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-02-03 00:39:48 -03:00
time-river
6639a579c7
feat(core): add support to setting a webview proxy, closes #4263 ( #8441 )
...
* feat(wry): support proxy in wry runtime
wry has been supported http/socks5 proxy in
[#1006 ](https://github.com/tauri-apps/wry/pull/1006 ), which has been
merged in [commit
3cc4d79](3cc4d79843 ).
This patch aims to support its feature.
Signed-off-by: lin fu <river@vvl.me >
* Apply suggestions from code review
* Apply suggestions from code review
* Update core/tauri-runtime-wry/src/lib.rs
* Update core/tauri/src/window/mod.rs
* add macos-proxy flag
* add change file
* delete file
* update change file
* use macos-14 runner to test core
---------
Signed-off-by: lin fu <river@vvl.me >
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-02-01 08:53:32 -03:00
Amr Bashir
a093682d2d
refactor(core): refactor and fix event system following multiwebview support ( #8621 )
...
* clippy
* refactor(core): refactor and fix event system following multiwebview support
* update documentation
* update js docs
* lint
* clippy
* update multiwindow example [skip ci]
* enhance event tests
* fix example
* Update .changes/tauri-event-after-multiwebview.md
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
* fix tests
* add diagram
* Add `App/AppHandle` even target
* Discard changes to examples/api/src-tauri/tauri-plugin-sample/permissions/schemas/schema.json
* revert accidental changes
* regenerate schemas
* fix doctests
* add helper methods
* update docs
* update api
* update docs [skip ci]
* update docs [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
2024-02-01 08:06:27 -03:00
Lucas Fernandes Nogueira
af61023273
refactor(core)!: Window::close triggers RunEvent::CloseRequested ( #8710 )
...
* refactor(core): Window::close triggers RunEvent::CloseRequested
* Update .changes/runtime-wry-window-close-event.md
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* add destroy [skip ci]
* change files
* delete files
* fix tests
* fix tests
* fix test impl of the close flow
* fmt
* build bundle
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2024-01-31 14:54:49 -03:00
Amr Bashir
9eaeb5a8cd
refactor: refactor parent APIs on WindowBuilder ( #8622 )
...
* refactor: refactor parent APIs on `WindowBuilder`
closes #8587 #1643
* fix build
* clippy
* support parent in JS and config
* change files
* fix build
* clippy
* fix doctests
* fix linux build
* fix doctests
* update docs
* fix api, update example to use JS API
* fix merge
* lint
* fix tests on windows
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-01-31 13:59:14 -03:00