Lucas Fernandes Nogueira
c17532f741
refactor(core): change Plugin initialize
signature, move register t… ( #2347 )
...
* refactor(core): change Plugin `initialize` signature, move register to AppHandle
* clippy
2021-08-03 22:06:05 -03:00
Lucas Fernandes Nogueira
d0142e87dd
fix(core): invoke key injection on regular JS scripts, closes #2342 ( #2344 )
2021-08-03 13:53:38 -03:00
david
6e0dbf639a
fix(core): Expose ClipboardManager
and GlobalShortcutManager
( #2263 )
2021-08-03 12:56:43 -03:00
Lucas Fernandes Nogueira
84a0e04cbe
feat(core): try_state
API on the Manager
trait ( #2341 )
2021-08-02 17:01:53 -03:00
Lucas Fernandes Nogueira
15566cfd64
feat(core): add API to send wry window message to the event loop ( #2339 )
...
* feat(core): add API to send wry window message to the event loop
* expose types
2021-08-02 16:45:24 -03:00
Lucas Fernandes Nogueira
5b7be8133a
feat(core): add plugin register API on the Manager
trait ( #2340 )
2021-08-02 16:06:41 -03:00
Amr Bashir
05b9d81ee6
feat(api.js): add nodejs-inspired functions in path
module ( #2310 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-02 10:58:09 -03:00
Amr Bashir
1a51006673
fix(core): data-tauri-drag-region
didn't respect resizable, closes #2314 ( #2316 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-02 10:43:31 -03:00
chip
4b2aa35684
Add back WebDriver support ( #2324 )
2021-08-01 23:54:10 -03:00
Amr Bashir
d22da650ef
fix(core): fallback to {asset}/index.html
before index.html
, closes #2328 ( #2329 )
2021-08-01 23:46:13 -03:00
Amr Bashir
cf9f6aa148
fix(core): fix typo in notifications, closes #2330 ( #2331 )
...
* fix(core): fix typo in notifications, closes #2330
* Update core-notification-typo.md
* [skip ci]
2021-08-01 23:45:36 -03:00
FabianLars
c2b0fe1ce5
fix(core): fix wrong file drop events ( #2300 )
2021-07-30 18:58:09 -04:00
david
426a6b4996
feat(macOS): Implement tray icon template ( #2322 )
2021-07-29 15:29:59 -04:00
david
8808085541
feat(window): Allow creation of Window without wry
( #2321 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-07-29 14:35:26 -03:00
FabianLars
0f63f5e757
fix(api): Fix monitor functions, closes #2294 ( #2301 )
...
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-07-29 13:44:24 -03:00
Amr Bashir
caa7bf44c9
refactor(core/wry): use is_menu_visible
instead of atomic bool ( #2320 )
2021-07-29 09:50:18 -03:00
FabianLars
aa498e7261
fix: unlisten removes all listeners, closes #2264 ( #2302 )
2021-07-28 19:56:47 -03:00
Lucas Nogueira
e6d9b0bae8
fix(core): export PathResolver and SystemTrayHandle
2021-07-28 15:22:08 -03:00
Lucas Fernandes Nogueira
1792c45592
fix(core): run setup after preparing system tray ( #2312 )
...
* fix(core): run setup after preparing system tray
* change file [skip ci]
2021-07-28 15:13:30 -03:00
Amr Bashir
05e679a6d2
feat(api.js): add os
module ( #2299 )
...
* feat(api.js): add `os` module
* use correct endpoint for version
* return version as a string
* clippy
* cleanup ?!
* [skip ci]
* [skip ci]
2021-07-28 13:17:11 -03:00
Lucas Fernandes Nogueira
268450b132
fix(api): global bundle broken code, closes #2289 ( #2297 )
2021-07-26 11:25:08 -03:00
chip
8216cba13d
App.create_window()
to accept any Into<String>
type (fix #2290 ) ( #2291 )
...
* Fix `App.create_window()` to accept any `Into<String>` type
* Update changefile to show both changed functions
* Reduce changefile level to patch
Co-authored-by: Wouter Buckens <wouter@epicteddy.com>
2021-07-26 08:28:50 -04:00
david
70a1941468
fix(core): Force data_directory on Windows ( #2288 )
2021-07-23 10:29:22 -04:00
Amr Bashir
d832d575d9
fix(windows): use webview events on windows ( #2277 )
2021-07-23 09:31:17 -04:00
FabianLars
a8c1de5547
fix listen_global not listening to events with a window label ( #2272 )
2021-07-23 09:23:38 -04:00
Wouter Buckens
31685c9f9d
fix( #2281 ): Prevent double slashes when joining URLs ( #2282 )
2021-07-23 09:17:28 -04:00
Amr Bashir
9fbcc02454
fix(api.js): fix double window creation, closes #2284 ( #2285 )
2021-07-23 09:06:12 -04:00
Jonathan Dizdarevic
226414d1a5
"cannot find type MenuHash
in this scope" ( #2240 )
2021-07-20 05:37:21 -04:00
Amr Bashir
dd52e738f1
fix(api.js): fix @ts-expect-error
usage, closes #2249 ( #2250 )
2021-07-19 18:19:58 -04:00
FabianLars
e3f9916526
fix(core) minHeight being used as maxHeight ( #2247 )
2021-07-19 13:24:03 -04:00
github-actions[bot]
e48bb3edff
apply version updates ( #2121 )
2021-07-16 09:23:10 -04:00
david
3389bd8180
fix(linux): use glib main context for the updater on linux ( #2222 )
2021-07-16 09:06:56 -04:00
david
f0a8db62e4
core(deps): bump wry
to 0.11
( #2210 )
2021-07-15 11:47:19 -04:00
Ben Briggs
58129e0a95
feat(bundler) Update on Windows without UAC Prompt ( #2155 )
2021-07-15 10:38:03 -04:00
chip
fd8fab507c
refactor(core): remove Params
and replace with strings ( #2191 )
...
* refactor(core): remove `Params` and replace with strings
* add tauri-utils to changelog
* update default runtime macro to accept type and feature
* remove accidental default feature addition
* remove changefile todo items that have no futher action
* fix clippy warning
* update changefile
* finish change file
* fix splashscreen example
* fix markdown typo [skip ci]
* remove final uses of `Params`
* add license header to new runtime module in tauri-macros
* update plugin guide to use runtime instead of params
2021-07-15 18:05:29 +08:00
Lucas Fernandes Nogueira
a410958d45
Revert "fix(wry): resize webview on window move, closes #1911 " ( #2202 )
...
This reverts commit 06abe65569
.
2021-07-12 12:58:49 -03:00
david
456a94f663
fix(macOS): updater EXC_BAD_ACCESS
( #2181 )
...
* fix(ci): updater artifacts
* add temporary macos signature
* add entitlement and notarization credentials
* WIP macos fix
* build version 2.0.0 with macos signature
* [ci skip] revert version to `1.0.0`
* sandbox current app to a directory
* make clippy happy
* [ci skip] disable `Notarization` in CI tests
* [ci skip] add changefile
* remove unwanted `unwrap` and `expect`
* fmt
2021-07-12 12:03:27 -03:00
FabianLars
578610a29d
fix(core): fix drag-region not sending its events correctly ( #2196 )
2021-07-12 12:00:41 -03:00
FabianLars
bc2c331dec
fix: center and focus not being allowed in config ( #2199 )
2021-07-12 11:59:32 -03:00
renovate[bot]
d0f34a3784
chore(deps) Update Rust crate thiserror to 1.0.26 ( #2164 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:06:04 -03:00
Lucas Fernandes Nogueira
8157a68af1
feat(core): allow listening to event loop events & prevent window close ( #2131 )
2021-07-06 13:36:37 -03:00
Lucas Fernandes Nogueira
d69b1cf6d7
feat(api): allow mananing windows created on JS ( #2154 )
2021-07-05 12:16:55 -03:00
Lucas Fernandes Nogueira
5d7626f897
feat(api): WindowManager extends WebviewWindowHandle, add events docs ( #2146 )
2021-07-03 23:38:35 -03:00
Lucas Fernandes Nogueira
acb88929c4
fix(core): export MenuHandle
and MenuEvent
( #2148 )
2021-07-03 23:27:48 -03:00
Lucas Nogueira
2e2dc7c774
fix(core): temporary fix for clippy issue
2021-07-03 20:20:54 -03:00
Amr Bashir
66916b739f
chore: add .prettierrc
in repo root ( #2145 )
2021-07-03 19:48:04 -03:00
Lucas Fernandes Nogueira
e0a8e09cab
feat(core): expose gtk_window
, closes #2083 ( #2141 )
2021-07-02 13:08:51 -03:00
Ngo Iok Ui (Wu Yu Wei)
6569c2bf5c
refactor(wry): remove a few locks requirements ( #2137 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-07-02 00:06:58 -03:00
Lucas Fernandes Nogueira
4b0ec01880
fix(core): improve JS ESM detection ( #2139 )
2021-07-02 00:00:40 -03:00
Lucas Fernandes Nogueira
51a5cfe4b5
feat(api): add convertFileSrc
helper ( #2138 )
2021-07-02 00:00:30 -03:00
Lucas Fernandes Nogueira
06abe65569
fix(wry): resize webview on window move, closes #1911 ( #2135 )
2021-07-02 00:00:05 -03:00
Lucas Fernandes Nogueira
e663bdd593
fix(core): svg mime type ( #2129 )
2021-06-30 13:04:09 -03:00
Ngo Iok Ui (Wu Yu Wei)
a280ee90af
Fix high cpu usage on mac, fix #2074 ( #2125 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-30 10:38:22 -03:00
Ikko Ashimine
8f16c1df7e
refactor(core): fix typo in event.rs ( #2126 )
...
recieved -> received
2021-06-30 10:04:09 -03:00
Lucas Fernandes Nogueira
f03eea9c9b
feat(core): inject invoke key on <script type="module">
( #2120 )
2021-06-29 20:40:41 -03:00
github-actions[bot]
4339b46e4b
Apply Version Updates From Current Changes ( #2113 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 21:57:26 -03:00
Lucas Fernandes Nogueira
99d960841c
fix(core): custom protocol regression ( #2115 )
2021-06-28 21:51:12 -03:00
Amr Bashir
8b7ac1ad14
feat: double-click tauri-drag-region to maximize, closes #1839 ( #2106 )
2021-06-28 20:14:36 -03:00
Lucas Nogueira
a9d031873b
chore: update Bundle
2021-06-28 11:36:18 -03:00
github-actions[bot]
3806b88ee1
Apply Version Updates From Current Changes ( #2069 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 11:03:55 -03:00
Ngo Iok Ui (Wu Yu Wei)
ee60e42422
feat: asset custom protocol to access local file system ( #2104 )
2021-06-28 10:56:20 -03:00
Lucas Fernandes Nogueira
d18b5367a9
feat(core): enfore label uniqueness, closes #2067 ( #2097 )
2021-06-27 21:05:45 -03:00
Lucas Fernandes Nogueira
7765c7fa28
fix(core): invoke key injection on ES module, improve performance ( #2094 )
2021-06-27 19:51:47 -03:00
Lucas Fernandes Nogueira
fe32afcc93
fix(core): Window
must be Send + Sync
on Windows, closes #2078 ( #2093 )
2021-06-27 11:02:17 -03:00
Lucas Fernandes Nogueira
8c13344f8f
fix(core): command events not firing consistently ( #2082 )
2021-06-27 10:00:43 -03:00
Lucas Nogueira
ed5c1cd514
fix: error message on path
API usage when not allowlisted
2021-06-25 00:43:27 -03:00
github-actions[bot]
5353379d15
Apply Version Updates From Current Changes ( #1823 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-23 16:56:16 -03:00
Lucas Nogueira
b4426eda9e
Revert "WebDriver support ( #1972 )"
...
This reverts commit be76fb1dfe
.
2021-06-23 16:30:40 -03:00
Lucas Fernandes Nogueira
ebaa33cb47
fix(core): remove closed window from window.__TAURI__.__windows
( #2057 )
2021-06-23 16:20:19 -03:00
Lucas Fernandes Nogueira
fca976404e
fix(wry): window event listeners being emitted to all windows ( #2056 )
2021-06-23 16:20:09 -03:00
Lucas Fernandes Nogueira
47f7558417
fix(core): resolve HTTP API on non-ok status code, fix binary response, closes #2046 ( #2053 )
2021-06-23 14:22:28 -03:00
chip
be76fb1dfe
WebDriver support ( #1972 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-23 13:59:47 -03:00
renovate[bot]
951f04b9c1
chore(deps) Update Rust crate phf to 0.9 ( #2051 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-23 13:03:28 -03:00
Lucas Nogueira
bef9f2845e
fix: build without menu
feature
2021-06-23 12:05:58 -03:00
Lucas Fernandes Nogueira
c9b11001f1
fix(wry): menu event is now tied to the window ( #2048 )
2021-06-23 11:29:30 -03:00
Lucas Fernandes Nogueira
160fb0529f
feat(core): improve RPC security, closes #814 ( #2047 )
2021-06-22 17:29:10 -03:00
Lucas Fernandes Nogueira
030c9c736c
feat(core): return listener id on Window#on_menu_event ( #2045 )
2021-06-22 14:24:24 -03:00
Lucas Fernandes Nogueira
9f41e5102e
refactor(core): reduce number of command spawned tasks, closes #2042 ( #2044 )
2021-06-22 14:24:13 -03:00
Lucas Fernandes Nogueira
034c26013b
feat(core): add accelerator
method to CustomMenuItem
( #2043 )
2021-06-22 12:53:13 -03:00
Lucas Fernandes Nogueira
842652abe5
chore(deps): update to wry 0.10 ( #2041 )
...
* chore(deps): update to wry 0.10
* fix: cli format
2021-06-22 10:47:45 -03:00
Lucas Fernandes Nogueira
d0bbc6d309
fix(wry): menu must be created on the main thread, closes #2038 ( #2039 )
2021-06-22 01:29:03 -03:00
Lucas Fernandes Nogueira
59784c7e55
feat(core): implement CommandArg
for AppHandle
( #2037 )
2021-06-21 14:00:34 -03:00
Lucas Fernandes Nogueira
1006c1cf3b
fix(core): HTTP headers being overwritten by reqwest, closes #2032 ( #2036 )
2021-06-21 13:47:21 -03:00
Lucas Fernandes Nogueira
285bf64bf9
feat(core): add clipboard writeText and readText APIs ( #2035 )
2021-06-21 13:32:22 -03:00
Lucas Fernandes Nogueira
3280c4aa91
refactor(core): global shortcut is now provided by tao
( #2031 )
2021-06-21 12:29:26 -03:00
Lucas Fernandes Nogueira
9cd10df4d5
feat(core): allow disabling file drop handler, closes #2014 ( #2030 )
2021-06-21 10:55:14 -03:00
Lucas Fernandes Nogueira
7dcca6e928
feat(core): add request_user_attention
API, closes #2023 ( #2026 )
...
* feat(core): add `request_user_attention` API
* fix: api lint
* fix build without window allowlist
2021-06-20 23:42:38 -03:00
Lucas Fernandes Nogueira
08c161c5e8
fix(core): remove window from HashMap on close ( #2024 )
2021-06-20 14:12:28 -03:00
Lucas Fernandes Nogueira
8a7921e5cb
fix(core): fallback to index.html on asset loading, closes #2020 #2021 ( #2022 )
2021-06-20 11:47:15 -03:00
Lucas Fernandes Nogueira
70fc87a7ff
feat(core): add config
and package_info
getters on App and AppHandle ( #2016 )
2021-06-20 09:42:11 -03:00
Ngo Iok Ui (Wu Yu Wei)
94dbc96c97
fix(dialog): modal stuck on Linux ( #2012 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-20 09:37:26 -03:00
Lucas Fernandes Nogueira
5ca462f6cc
feat(core): add path resolver API to the App and AppHandle structs ( #2015 )
2021-06-19 14:47:30 -03:00
Lucas Fernandes Nogueira
86d0aaa021
fix(core): notification panic on Windows, closes #917 ( #2011 )
2021-06-19 13:57:45 -03:00
Lucas Fernandes Nogueira
2a5ba7fe77
feat(core): add error message to HTTP API rejection, closes #2003 ( #2004 )
2021-06-17 11:33:53 -03:00
Lucas Fernandes Nogueira
ab3eb44bac
fix(core): deadlock on window getters, fixes #1893 ( #1998 )
...
* fix(core): deadlock on window getters, fixes #1893
* fix compilation without menu feature
2021-06-16 11:07:41 -03:00
renovate[bot]
8aac641d4b
chore(deps) Update Rust crate tokio to 1.7 ( #1992 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 09:19:41 -03:00
renovate[bot]
c9bf9432e7
chore(deps) Update Rust crate zstd to 0.9 ( #1971 )
...
* chore(deps) Update Rust crate zstd to 0.9
* chore(deps) Update Rust crate zstd to 0.9
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-15 23:11:27 -03:00
renovate[bot]
ac3ddeba26
chore(deps) Update Tauri Core ( #1969 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-15 22:41:18 -03:00
Lucas Fernandes Nogueira
954460c520
feat(core): MenuHandle show
, hide
, is_visible
and toggle
APIs ( #1958 )
2021-06-15 22:04:44 -03:00
Edgar Geier
cca8115d9c
refactor: update wry, simplify script eval ( #1965 )
...
* refactor: simplify `handle_event_loop`
* update wry to git rev
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-15 22:04:06 -03:00