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
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
Lucas Fernandes Nogueira
3657ad82f8
feat(core): allow defining permissions for the app commands ( #9008 )
...
* feat(core): allow defining permissions for the app commands
* global scope
* command scope
* write to disk
* lint
* fix path
* get autogenerated commands from generate_handler macro
* revert
* remove cli
* use const instead of empty str
2024-02-28 08:45:28 -03:00
Lucas Fernandes Nogueira
edb11c138d
feat(build): support plugins that are defined in app crate ( #8781 )
...
* feat(build): support plugins that are defined in app crate
* dx
2024-02-16 08:24:40 -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
e1eb911f5e
fix(menu): ensure init & drop is done on main thread ( #8582 )
...
* fix(menu): ensure init & drop is done on main thread
* move macros back
* fix doctests
* fix macos doctests
* generate inner types and add drop implementation on inner
* clippy
* fix leftoever merge conflicts
* fix doctests
* update api example
* add missing change file
* move macro
* fix tray import
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-01-31 12:01:05 -03:00
Lucas Fernandes Nogueira
00e1567584
refactor(core): exit() and restart() triggers ExitRequested and Exit ( #8708 )
...
* refactor(core): exit() and restart() triggers ExitRequested and Exit
* update docs
* update doc
2024-01-30 12:10:22 -03:00
Lucas Fernandes Nogueira
049ca2d54f
fix(examples): deadlock on api example unit test ( #8671 )
2024-01-24 21:52:28 -03:00
Lucas Fernandes Nogueira
c77b40324e
refactor(core): add support to multiple webviews on a Tauri window ( #8280 )
...
* feat: update to latest wry
* wry dev branch [skip ci]
* fix linux [skip ci]
* refactor(runtime): split webview and window types
* split dispatch
* implement create_webview
* move webview message
* wip webview mod
* create webview manager, finish webview struct and builder
* fix tests and docs
* rename WindowUrl to WebviewUrl
* update examples
* event refactor
* update JS API
* fix events
* update example
* add WebviewWindow class on JS
* fix macos build
* allow creating window+webview on the same runtime call
* rename tauri://window-created to tauri://webview-created
* Window::add_child
* use inner_size from webview on macOS
* add multiwebview example
* automatically resize webviews on window resize
* fix tests
* set_position, set_size
* position, size getters
* set_focus
* add close fn
* update mock runtime
* lint [skip ci]
* fix inner_size getter [skip ci]
* import hwnd [skip ci]
* update webview bound ratios on set_size/set_position
* add auto_resize option
* fix android
* fix build on windows
* typo
* with_webview isnt desktop only
* add WebviewWindow rust struct (and builder)
* fix build on android
* license header
* fix macos/windows
* fix macos build
* resolve todo
* handle window not found
* hide unstable features
* document unstable feature [skip ci]
* webview plugin permissions
* hide more stuff
* fix doctests
* typos
* add change files
* fix examples
* rename hook
2024-01-24 11:05:18 -03:00
Lucas Fernandes Nogueira
ebc3e78e68
feat: update to latest wry ( #8213 )
...
Co-authored-by: amrbashir <amr.bashir2015@gmail.com >
2023-11-21 12:32:06 -03:00
Amr Bashir
f93148eac0
feat: add tray and menu javascript APIs and events, closes #6617 ( #7709 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-11-19 08:38:24 -03:00
Lucas Fernandes Nogueira
74d2464d0e
refactor(core): implement on_page_load event using wry hook ( #8116 )
2023-10-27 10:00:59 -03:00
Olivier Lemasle
9ed400a85c
chore(ci): Replace unmaintained actions-rs GH actions, closes #8078 ( #8093 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-10-26 15:27:52 -03:00
Lucas Fernandes Nogueira
198abe3c2c
feat(plugins): typed invoke arguments for mobile plugins ( #8076 )
2023-10-23 14:09:42 -03:00
Lucas Fernandes Nogueira
68e7319305
fix(core): update scope usage following #7944 ( #7946 )
2023-10-03 08:44:25 -03:00
Lucas Fernandes Nogueira
0d63732b96
refactor(core): allow custom protocol handler to resolve async ( #7754 )
2023-09-06 15:53:03 -03:00
Amr Bashir
7fb419c326
refactor: move to muda and tray_icon crates ( #7535 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-08-13 22:25:50 -03:00
Lucas Fernandes Nogueira
fbeb5b9185
refactor(core): use webview's URI schemes for IPC ( #7170 )
...
Co-authored-by: chip <chip@chip.sh >
2023-08-10 10:12:38 -03:00
Lucas Fernandes Nogueira
7bbc626cc3
Merge remote-tracking branch 'origin/dev' into next ( #7212 )
2023-06-15 09:52:33 -03:00
Flysoft
aa6c9164e6
fix(cli): don't build library when building desktop targets, closes #7007 ( #7014 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-05-22 11:32:20 -03:00
Amr Bashir
e1e85dc2a5
chore: fix ci and cleanup leftovers ( #6925 )
...
* chore: fix ci and cleanup leftovers
1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api
* remove leftover updater structs
* move updater under bundle and remove uneeded options
* fix cli on linux
* remove create_proxy
* clippy
* more clippy
* clippppy
* readd path api
* fix api example
* remove window allowlist
* remove window from allowlist config
* remove `all` allowlist option
* remove file_move
* lint
* fix windows build
* remvoe unused deps
* remvoe allowlist config option, move protocol to `security > asset_protocol`
* fix diffing features
* fmt and test
* fix scope alias
* change files
* android lint
* simplify allow_file impl
* Revert "simplify allow_file impl"
This reverts commit b8882f2fd0 .
* expose scopes
* remove unused error variants
* protocol-asset on docs.rs
* ignore reqwest on udeps
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-05-13 13:48:28 +03:00
Lucas Fernandes Nogueira
9a79dc0858
refactor(core): remove window endpoints ( #6947 )
2023-05-12 08:18:00 -03:00
Amr Bashir
c4171152c1
fix: enable shadows by default, closes #6909 ( #6916 )
2023-05-09 15:56:13 +03:00
Lucas Fernandes Nogueira
2d5378bfc1
refactor(core): move dialog API to its own plugin ( #6717 )
2023-04-18 22:18:22 -03:00
Lucas Fernandes Nogueira
e6e586ad75
chore(examples): update API example plugin usage ( #6715 )
2023-04-16 09:31:38 -03:00
Lucas Fernandes Nogueira
09376af594
refactor(core): remove cli feature ( #6704 )
2023-04-14 15:33:53 -03:00
Lucas Fernandes Nogueira
be941b9719
feat(core): add path plugin, implement mobile APIs ( #6339 )
2023-04-07 12:48:14 -03:00
Lucas Fernandes Nogueira
5d94eaa3bc
feat(core): update swift-rs ( #6355 )
...
* feat(core): update swift-rs
* update tauri-plugin-log
* use env var for min iOS version
* test x86_64-apple-ios
* Revert "test x86_64-apple-ios"
This reverts commit 3ae6b79e5f .
* chore: swift min version 5.3 [skip ci]
* fix build [skip ci]
* fix cgrect usage
* test CI
* Revert "test CI"
This reverts commit 76ce0c5992 .
* update swift-rs to 1.0.1
* lint
* lint [skip ci]
2023-03-16 09:34:41 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next
2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year ( #6311 )
2023-02-19 10:17:49 -03:00
Amr Bashir
f6c3ea6faa
chore: simplify windows_subsystem attribute ( #6273 )
2023-02-18 16:23:09 -03:00
Lucas Fernandes Nogueira
897a1547a1
feat(cli): update plugin template including trait to access mobile APIs ( #6293 )
2023-02-17 12:12:05 -03:00
Lucas Fernandes Nogueira
6aaba83476
refactor(plugin): add PluginApi and PluginHandle, expose on setup hook ( #6291 )
2023-02-16 13:33:50 -03:00
Lucas Fernandes Nogueira
bce87c1a67
feat(android): implement plugin permissions and startActivityForResult ( #6272 )
2023-02-14 21:36:44 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next
2023-02-14 10:58:46 -03:00
Lucas Fernandes Nogueira
bfb2ab24e0
feat: add API to call iOS plugin ( #6242 )
2023-02-11 19:45:51 -03:00
Lucas Fernandes Nogueira
9feab904bf
feat(core): add API to call Android plugin ( #6239 )
2023-02-10 16:32:01 -03:00
Amr Bashir
a81750d779
feat(core): add shadow APIs ( #6206 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-02-07 19:38:10 -03:00
Lucas Fernandes Nogueira
17f26764c8
feat: initial work for Android plugins ( #6167 )
2023-02-06 08:56:00 -03:00
Lucas Nogueira
553a81f48c
feat(examples): add tauri-plugin-log to API example
2023-01-30 12:04:42 -03:00
Lucas Fernandes Nogueira
630a7f4b18
refactor: remove mobile log initialization, ref #6049 ( #6081 )
2023-01-17 13:13:53 -03:00
Amr Bashir
c94e1326a7
feat(bundler): add nsis, closes #4450 , closes #2319 ( #4674 )
...
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-01-03 14:29:20 -03:00
luofei
2265e09718
feat(windows): implement with_tooltip ( #5938 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-12-31 13:24:39 -03:00
Lucas Nogueira
864dfe4de5
fix(examples): use new MessageDialogButtons variant name
2022-12-30 20:15:45 -03:00
Bo
00e1efaa9b
feat: customize button texts of message dialog ( #4383 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-12-27 18:15:53 -03:00
Amr Bashir
4ab5545b7a
feat: add content protection api, closes #5132 ( #5513 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-12-13 01:04:22 -03:00
Lucas Fernandes Nogueira
fa6d10e39c
refactor(core): remove window APIs on mobile ( #5713 )
2022-11-30 10:30:25 -03:00
Lucas Fernandes Nogueira
6dcb7fbb81
fix(core): manage mobile logs, fix Android logcat filtering ( #5659 )
2022-11-20 10:55:38 -03:00
Lucas Nogueira
d0ad0d2f48
Merge remote-tracking branch 'origin/dev' into next
2022-10-31 10:13:57 -03:00