Commit Graph

728 Commits

Author SHA1 Message Date
Lucas Nogueira
dbe0d21b6f
fix(core): initialize system tray before app windows 2021-08-31 14:53:27 -03:00
Kris Scott
e706df7d03
Fix svelte recipe packageManager ternary (#2534)
* refactor: custom protocol (#2503)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* Apply Version Updates From Current Changes (#2513)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* fix(api): revert ES2021 target

* Apply Version Updates From Current Changes (#2520)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* docs: webdriver guide (#2461)

Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>

* fix(core): `Notification.requestPermission()` deadlock regression

* Fix packageManager ternary

Co-authored-by: david <david@lemarier.ca>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
2021-08-26 10:36:10 -03:00
Barry Simons
2026134f47
fix(cli.rs): pnpm tauri info exits with error (fix #2509) (#2510)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 13:01:16 -03:00
edgex004
97edb3ac49
Fix: #2508. Update dominator recipe description. (#2514)
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
2021-08-24 11:58:08 -03:00
Elvinas Predkelis
3b33d67aa4
fix: re-adding focus/blur events for linux and macos (fix #2485) (#2489)
* fix: re-adding focus/blur events for linux and macos, closes #2485

* add change files [skip ci]

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 11:47:54 -03:00
renovate[bot]
1f98853573
chore(deps) Update Tauri Core (#2480)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
2021-08-24 11:40:10 -03:00
Lucas Nogueira
1a28904b8e
fix(core): resource path resolution on Linux, closes #2493 2021-08-22 20:41:26 -03:00
Ngo Iok Ui (Wu Yu Wei)
994b5325dd
fix: missing asset protocol path (#2484) 2021-08-22 16:12:45 -03:00
edgex004
0391ac3dc9
fix: Update cli.yml to pass clap ArgSettings::MultipleValues assertion. (#2506) (#2507)
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
2021-08-22 16:08:31 -03:00
github-actions[bot]
431e9e44e4
Apply Version Updates From Current Changes (#2467)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-17 10:41:30 -03:00
Lucas Fernandes Nogueira
aecdfaf76f
fix(core): raw-window-handle dependency, closes #2460 (#2465) 2021-08-17 10:27:18 -03:00
Lucas Fernandes Nogueira
8d1fe0ea05
feat(cli.js): readd ESM distribution (#2468) 2021-08-17 10:27:02 -03:00
Lucas Fernandes Nogueira
a54bba6c86
fix(core): cleanup app before exit, closes #2464 (#2466) 2021-08-17 09:29:32 -03:00
github-actions[bot]
81d245f687
apply version updates (#2458)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-16 20:19:59 -03:00
Lucas Fernandes Nogueira
01ad29257c
fix(cli.js): revert ESM distribution (#2457) 2021-08-16 20:15:49 -03:00
github-actions[bot]
80f16d35f9
Apply Version Updates From Current Changes (#2246)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-16 17:59:06 -03:00
Lucas Fernandes Nogueira
50ffdc06fb
feat(core): panic when a dispatcher getter is used on the main thread (#2455) 2021-08-16 17:28:15 -03:00
Lucas Fernandes Nogueira
c76f4b7d39
feat(core): set parent window on ask and message dialog APIs (#2454) 2021-08-16 17:25:45 -03:00
Lucas Nogueira
60b1e260f5
chore: adjust change file 2021-08-16 15:39:12 -03:00
Lucas Fernandes Nogueira
9bfdeb42ef
feat(bundler): add config for WiX dialog image path (#2449) 2021-08-16 12:03:00 -03:00
Ngo Iok Ui (Wu Yu Wei)
cd55d67149
doc: update tauri documentations (#2446) 2021-08-16 11:32:37 -03:00
Lucas Fernandes Nogueira
13003ec761
feat(bundler): add config for WiX banner path, closes #2175 (#2448) 2021-08-16 11:17:29 -03:00
Lucas Fernandes Nogueira
537ab1b6d5
feat(core): inject src-tauri/Info.plist file on dev and merge on bundle, closes #1570 #2338 (#2444) 2021-08-15 21:36:43 -03:00
Lucas Fernandes Nogueira
1635798a66
feat(core): improve HeaderValue compatibility, closes #2162 (#2438) 2021-08-15 18:14:40 -03:00
Lucas Fernandes Nogueira
6be3f43391
feat(core): add Resumed and MainEventsCleared events, closes #2127 (#2439) 2021-08-15 18:14:26 -03:00
david
28c6b7adfe
feat: add Event::Ready (#2433) 2021-08-15 17:10:22 -03:00
Lucas Fernandes Nogueira
397710b2c5
refactor(bundler): use linuxdeploy instead of appimagetool, closes #1986 (#2437) 2021-08-15 17:09:55 -03:00
Ngo Iok Ui (Wu Yu Wei)
12642a1ad4
doc: update doc in tauri-utils and tauri (#2435)
* Update several documentations in tauri-utils

* Update a few documentation in tauri

* Add change file

* Update macro usage
2021-08-15 23:06:46 +08:00
Lucas Fernandes Nogueira
a539471609
chore: update rust to 1.54.0 (#2434) 2021-08-15 10:47:15 -03:00
Lucas Fernandes Nogueira
2088cd0f24
refactor(core): handle dialog threading internally, closes #2223 (#2429)
* refactor(core): handle dialog threading internally, closes #2223

* thread spawn
2021-08-14 16:00:23 -03:00
Lucas Fernandes Nogueira
dd5e1ede32
fix(bundler): AllowSameVersionUpgrades on WiX, closes #2211 (#2428) 2021-08-14 14:44:30 -03:00
Lucas Fernandes Nogueira
9acd83017f
fix(core): percent decode asset protocol URL (#2427) 2021-08-14 10:02:20 -03:00
Lucas Fernandes Nogueira
e2a0704c6c
refactor(core): remove salt APIs (#2426) 2021-08-14 09:30:13 -03:00
Lucas Fernandes Nogueira
fbf8caf5c4
fix(core): ESM detection when using export async function (#2425) 2021-08-14 09:02:54 -03:00
Lucas Fernandes Nogueira
5ebf389f6c
feat(bundler): check target arch at runtime, closes #2286 (#2422) 2021-08-13 18:05:18 -03:00
Lucas Fernandes Nogueira
4a031add69
feat(core): expose set_activation_policy, closes #2258 (#2420)
* feat(core): expose `set_activation_policy`, closes #2258

* fix change file [skip ci]

* Update .changes/runtime-set-activation-policy.md [skip ci]

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>

* clippy

* allow unused mut on example

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-08-13 13:25:31 -03:00
Lucas Fernandes Nogueira
c544cea8c9
fix(cli.js): force version update on Cargo manifest (#2419) 2021-08-13 11:41:06 -03:00
Ngo Iok Ui (Wu Yu Wei)
f81ebddfcc
feat: remove menu feature flag (#2415)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-13 10:23:32 -03:00
Ngo Iok Ui (Wu Yu Wei)
88382fe147
chore(api): update protocol url path with wry 0.12.1 on Windows (#2409) 2021-08-12 13:56:07 -03:00
Lucas Fernandes Nogueira
9aeb04faf4
feat(core): async_runtime handle API, spawn returns JoinHandle (#2399) 2021-08-11 21:49:09 -03:00
Lucas Fernandes Nogueira
5f6e135f23
refactor(cli.js): package as ES module, closes #2256 (#2392) 2021-08-11 14:00:35 -03:00
Lucas Fernandes Nogueira
fa9341ba18
feat(core): implement Debug on public API structs/enums, closes #2292 (#2387) 2021-08-11 02:07:39 -03:00
Lucas Fernandes Nogueira
3f039cb8a3
fix: keep original productName for .desktop Name field, closes #2295 (#2384) 2021-08-10 16:02:46 -03:00
Lucas Fernandes Nogueira
8b2cc2615d
fix(core): dialog's defaultPath behavior on Linux, closes #2232 (#2382) 2021-08-10 15:28:24 -03:00
Lucas Fernandes Nogueira
9c4032ba10
fix(cli.js): usage with HTTPS_PROXY, closes #2237 (#2381) 2021-08-10 11:31:48 -03:00
FabianLars
b2b36cfe8d
fix(core): fixes ES Module detection for default imports with relative paths or scoped packages (#2380) 2021-08-10 10:55:23 -03:00
Lucas Fernandes Nogueira
8e48029790
feat(api): improve EventName type definition (#2379) 2021-08-10 10:54:42 -03:00
Lucas Fernandes Nogueira
737da87244
fix(core): random shell command output order, closes #2184 (#2376) 2021-08-09 10:56:21 -03:00
Lucas Fernandes Nogueira
1ecb8651a7
fix(core): listen receiving past events, closes #2323 (#2371) 2021-08-09 00:10:25 -03:00
Lucas Fernandes Nogueira
9b32b93996
fix(core): fs-all feature not including base64 crate, closes #2336 (#2368) 2021-08-08 21:16:03 -03:00
Wouter Buckens
892c63a053
feat(#2287): Add ExitRequested event to let users prevent app from exiting (#2293)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 21:12:32 -03:00
david
44f6ee4cfd
chore(ci): add step to detect code signing (#2245)
* chore(ci): add step to detect code signing

* fix variable name and add changefile
2021-08-08 18:19:45 -03:00
david
c576119013
fix(updater): Run elevated task only if server tell us (#2357)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 18:13:54 -03:00
Pankaj Patil
97bc52ee03
Tooling: [API] Changed target in tsconfig to es6 (#2362)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 18:13:46 -03:00
Jacob Bolda
c410e034f7
convert jest tests to child_process run script (#2308)
* convert jest tests to child_process run script

* remove vuecli (it freezes), add angular

* run cargo build in correct dir

* add in asserts on fs

* normalize assert for node14

* fix installing empty dependencies

* add messages to asserts

* use test dir to check if running local cli

* try running in parallel

* run in parallel and log output serially

* avoid parallel, skip yarn for now

* add change file

* disable running with npm6 due to vite fail

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-08 03:13:05 -05:00
Ngo Iok Ui (Wu Yu Wei)
63ad303903
chore(linux): bump gtk to v0.14 (#2361)
* Bump gtk to v0.14

* Switch back to rfd
2021-08-06 18:15:22 +02:00
Amr Bashir
235e0f6785
feat(CTA): add official support for pnpm package manager (#2348)
* feat(CTA): add official support for `pnpm` package manager

* adjust post-message formatting [skip ci]

* optimize package managers checks
2021-08-06 23:35:39 +08:00
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
c0f42ad0e3
feat(cta): prompt users to install @tauri-apps/api package (#2251) 2021-07-29 09:34:29 -03:00
Amr Bashir
718d9513ce
refactor(cta): update vite recipe to use their new npm package (#2220) 2021-07-29 09:31:04 -03:00
FabianLars
aa498e7261
fix: unlisten removes all listeners, closes #2264 (#2302) 2021-07-28 19:56:47 -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
71d687b787
feat(cli.rs): platform-specific conf.json (#2309) 2021-07-28 12:55:32 -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
Ben Briggs
83786ce8a4
fix(#2230) - Unable to uninstall when using Skip UAC task (#2231) 2021-07-23 07:43:17 -04:00
Kris Scott
151c3157be
Add svelte recipe to create-tauri-app (#2276) (#2279) 2021-07-22 15:26:57 -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
Amr Bashir
4f88c3fb94
fix(api.js): bundle now exports clipboard mod, closes #2243 (#2244) 2021-07-19 08:30:28 -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
Epsilon_02
489fad5524
Angular create tauri app [#1934] (#2203) 2021-07-14 16:36:46 -04:00
david
caa8fcc93e
fix(windows): use random Guid for uninstaller (wix) (#2208)
* use random `Guid` for uninstaller

* add changefile

* better naming structure for the component
2021-07-14 21:38:31 +08:00
Friedel Ziegelmayer
7ee2dc8b69
feat(cli.rs): add release argument to the dev command (#2192) 2021-07-12 12:59:02 -03: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
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
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
Amr Bashir
3e6f34160d
fix(cli.rs): run powershell kill command without profile (#2130) 2021-06-30 15:12:37 -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
LisiurDay
fd0334645b
fix: tauri init may failed with no error message. (fix #2079) (#2117)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-30 09:26:49 -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
Lucas Fernandes Nogueira
1a41e9f040
feat(cli.rs): improve error message on app rename, closes #2101 (#2114) 2021-06-28 21:25:18 -03:00
Amr Bashir
8b7ac1ad14
feat: double-click tauri-drag-region to maximize, closes #1839 (#2106) 2021-06-28 20:14:36 -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
628a53eb61
fix(cli): properly detect target architecture, closes #2040 (#2102)
* fix(cli): properly detect target architecture, closes #2040

* clippy
2021-06-28 10:17:43 -03:00
Lucas Fernandes Nogueira
8e23870189
fix(cli.rs): fix out dir detection when target arg is set, closes #2040 (#2098) 2021-06-27 21:21:05 -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 Fernandes Nogueira
a61572127d
fix(bundler): resources bundling on Windows with nested folder structure (#2081) 2021-06-25 21:15:45 -03:00
github-actions[bot]
df95fb6aaa
Apply Version Updates From Current Changes (#2068)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-24 09:47:49 -03:00
Roojay
394b6e0572
fix(api): http ResponseType export type error (#2065)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-24 09:38:29 -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
dee71ad583
fix(workflows): update docs workflow syntax (#2054) 2021-06-23 15:24:23 -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
Lucas Nogueira
c22e5a7c2e
fix(covector): keep tauri-driver version as alpha 2021-06-23 14:20:14 -03:00
chip
be76fb1dfe
WebDriver support (#1972)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-23 13:59:47 -03:00
Lucas Fernandes Nogueira
f0603fccb3
feat(bundler): desktop shortcut on Windows (#2052) 2021-06-23 13:02:28 -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
034c26013b
feat(core): add accelerator method to CustomMenuItem (#2043) 2021-06-22 12:53:13 -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
b769c7f7da
feat(bundler): windows installer license, closes #2009 (#2027) 2021-06-21 10:36:13 -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
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
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
Lucas Fernandes Nogueira
4791961981
feat(bundler): allow setting wix language, closes #1976 (#1988) 2021-06-15 21:12:34 -03:00
nothingismagick
463fd00d06
fix(csp): add wss and tauri to conf template (#1974)
* fix(csp): add wss and tauri to conf template

* add change file, update examples/docs

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-15 13:37:24 -03:00
Lucas Fernandes Nogueira
49fb3b7225
fix(core): build without dialog Cargo features (#1973) 2021-06-09 22:22:26 -03:00
Lucas Fernandes Nogueira
cd1a299a7d
chore(core): hide phf, closes #1961 (#1964) 2021-06-09 19:04:31 -03:00
Lucas Fernandes Nogueira
5cba6eb4d2
feat(core): add window center API, closes #1822 (#1954) 2021-06-05 18:20:16 -03:00
Lucas Fernandes Nogueira
6a95d7acc3
fix(cli.rs): info version checks not striping \r on Windows (#1952) 2021-06-05 09:23:09 -03:00
Lucas Fernandes Nogueira
dc6b0d8522
feat(core): set .rc values from tauri.conf.json, closes #1849 (#1951) 2021-06-05 01:16:54 -03:00
Lucas Fernandes Nogueira
9bf82f0d92
fix(core): run_on_main_thread now wakes the event loop (#1949)
* fix(core): `run_on_main_thread` now wakes the event loop

* chore: simplify code
2021-06-04 22:23:03 -03:00
Oleg Shilov
07fd9a92de
fix(core): add hash symbol in uri parse, closes #1943 (#1947)
* fix(core): add hash symbol in uri parse

* chore: add changelog

Co-authored-by: Evgeniy Abramov <i@kio.ninja>
2021-06-04 18:37:23 -03:00
Lucas Fernandes Nogueira
f7e9fe8f3f
refactor(core): new system tray and window menu APIs, closes #1898 (#1944) 2021-06-04 13:51:15 -03:00
Lucas Fernandes Nogueira
8f29a260e6
fix(cli.rs): copy resources and binaries on dev, closes #1298 (#1946) 2021-06-04 01:58:15 -03:00
Lucas Fernandes Nogueira
8be35ced78
fix(cli.rs): tauri.conf.json > tauri > bundle > targets being ignored (#1945)
* fix(cli.rs): `tauri.conf.json > tauri > bundle > targets` being ignored

* fix: cli.ts run
2021-06-04 00:57:00 -03:00
Lucas Fernandes Nogueira
c021968eb8
fix(core): asset loading not decoding percent-encoded path, closes #1879 (#1938) 2021-06-01 15:49:24 -03:00
Lucas Fernandes Nogueira
40b717edc5
feat(core): set window icon on Linux, closes #1922 (#1937) 2021-06-01 13:07:48 -03:00
Lucas Fernandes Nogueira
df21ffc61f
fix(core): command mpsc usage, closes #1935 (#1936) 2021-06-01 11:11:22 -03:00
Lucas Fernandes Nogueira
4bdc406679
feat(core): kill sidecar child processes on App drop, closes #1896 (#1932) 2021-06-01 00:09:44 -03:00
Lucas Fernandes Nogueira
21a971c3b7
feat(cli.rs): infer devPath/distDir/appName from package.json (#1930) 2021-05-31 19:37:53 -03:00
Amr Bashir
3c21ddc73c
fix(cta): use correct beforeDevCommand for vite recipe (#1931)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-31 19:37:16 -03:00
Lucas Fernandes Nogueira
6ec54c53b5
feat(core): allow dev_path, dist_dir as array of paths, fixes #1897 (#1926)
* feat(core): allow `dev_path`, `dist_dir` as array of paths, fixes #1897

* fix: clippy
2021-05-31 11:42:10 -03:00
Lucas Nogueira
e06aa27738
feat(core): add set_skip_taskbar API 2021-05-30 22:09:12 -03:00
Lucas Nogueira
5525b03a78
feat(core): add skip_taskbar API to the WindowBuilder/WindowOptions 2021-05-30 18:43:28 -03:00
Lucas Nogueira
36506c967d
feat(core): add is_visible API 2021-05-30 18:06:24 -03:00
Lucas Nogueira
5f351622c7
feat(core): add focus API to the WindowBuilder and WindowOptions, #1737 2021-05-30 17:41:28 -03:00
Lucas Nogueira
bb6992f888
feat(core): add set_focus window API, fixes #1737 2021-05-30 17:30:26 -03:00
Lucas Nogueira
1e8af280c2
feat(core): add is_resizable Window getter 2021-05-30 17:23:52 -03:00
Lucas Nogueira
f58a2114fb
feat(core): add is_decorated Window getter 2021-05-30 17:21:05 -03:00
Laegel
23707764dc
Drag region attribute check (#1907) 2021-05-30 17:04:17 -03:00
Amr Bashir
277f5ca5a8
feat(api): export BaseDirectory in path module (#1885) 2021-05-30 16:59:46 -03:00
imspace
3bf853d782
feat(cli.rs): support tauri build on M1 chip (#1915) 2021-05-29 01:21:24 -03:00
Lucas Fernandes Nogueira
abf78c5860
fix(core): set parent window handle on dialogs, closes #1876 (#1889) 2021-05-21 16:53:46 -03:00
Lucas Fernandes Nogueira
8c0d0739ee
feat(core): add run_iteration, parent_window and owner_window APIs, closes #1872 (#1874) 2021-05-21 16:16:05 -03:00
Lucas Fernandes Nogueira
35a2052771
fix(bundler): windows resources bundling with nested folders (#1878)
* fix(bundler): windows resources bundling with nested folders

* fix: change file
2021-05-21 13:35:55 -03:00
Lucas Fernandes Nogueira
4aeb936e9b
fix(api): WebviewWindow constructor is public (#1888) 2021-05-21 13:25:10 -03:00
Lucas Fernandes Nogueira
aab3e1f18b
refactor(core): move api modules behind allowlist feature flags (#1864)
* refactor(core): move api modules behind allowlist feature flags

* run fmt
2021-05-19 09:21:57 -03:00
Lucas Fernandes Nogueira
17c7c4396f
refactor(core): use attohttpc by default (#1861) 2021-05-19 01:06:08 -03:00
Lucas Fernandes Nogueira
1be37a3f30
refactor(core): remove image dependency (#1859) 2021-05-18 21:46:21 -03:00
Lucas Fernandes Nogueira
95d518afa1
feat(core): expose AppHandle, add create_window API (#1855) 2021-05-18 16:49:01 -03:00
chip
3d8dcbbf81
fix(core): allow wry to be an optional dep again (fix #1841) (#1854) 2021-05-18 00:42:02 -03:00
Lucas Fernandes Nogueira
e97846aae9
feat(core): validate devPath and distDir values (#1848)
* feat(core): validate `devPath` and `distDir` values

* fix tests
2021-05-17 14:47:05 -03:00
aida.t
e08065d7fe
fix: deb installation error (#1844) 2021-05-17 14:18:33 -03:00
Lucas Fernandes Nogueira
612cd8ecb8
feat(api): finalize export type usage (#1847) 2021-05-17 12:54:56 -03:00
Lucas Fernandes Nogueira
7616e6cc7b
feat(api): validate window API size and location arguments (#1846)
* feat(api): validate window API `size` and `location` arguments

* fmt
2021-05-17 11:47:11 -03:00
Ngo Iok Ui (Wu Yu Wei)
c1f8e11342
chore: remove unnecessary anonymous lifetimes (#1829) 2021-05-14 10:29:54 -03:00
Ngo Iok Ui
9a60c1053f Add change file 2021-05-14 15:13:02 +08:00
Lucas Fernandes Nogueira
6ec8e84d91
feat(cli.rs): add features arg to dev/build (#1828) 2021-05-13 18:10:48 -03:00
crapStone
2b814e9c93
added cargo features to tauri config (#1824)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-13 17:01:15 -03:00
Sporesirius
9a662d2601
fix: Monitor if --isolatedModules is enabled (#1825)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-13 16:53:10 -03:00
crapStone
86a23ff30b
added support for cargo workspaces for dev command (#1827)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-13 16:45:46 -03:00
chip
754c2e766a
feat(core): finish mutable getters for Context (#1814) 2021-05-13 12:50:45 -03:00
chip
39f8f26916
refactor(macros): explicitly pass idents (#1812) 2021-05-13 10:18:15 -03:00
github-actions[bot]
64dd434b03
Apply Version Updates From Current Changes (#1811)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-05-13 10:17:03 -03:00
Lucas Nogueira
22f83c4706
fix(covector): cli.rs has no dependency on cli.js, api or core 2021-05-13 10:10:36 -03:00
Dominik Schenk
66b6136e06
Disable version check with semver for now (#1810) 2021-05-12 19:33:17 -03:00
github-actions[bot]
a68b4ee827
Apply Version Updates From Current Changes (#1799)
Co-authored-by: jbolda <jbolda@users.noreply.github.com>
2021-05-12 16:31:52 -03:00
Jacob Bolda
8a164d0a1f
fix: CTA cache and vite build (#1806)
* use file as version for local links

this also makes it closer to the production version and less likely to accidentally introudce an issue

* always install latest without asking

* work around issues with esbuild installing properly

* test shouldn't run build-release on the cli

* build cli.js and api outside of the test

* try test on windows

* change file

* switch back to linux test

* -y prompt not available on npm@6, remove

* pipe
2021-05-12 14:25:44 -05:00
Lucas Fernandes Nogueira
ab1ea96478
chore(api): add package.json to the exports field (#1807)
* chore(api): add `package.json` to the `exports` field

* move exports to package.json
2021-05-12 14:56:14 -03:00
chip
0b87532706
fix(macros): fix rest of command collisons (#1805)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-12 12:56:16 -03:00
chip
7862ec562f
fix(macros): change invoke binding in generate handler (#1804) 2021-05-12 12:22:05 -03:00
Lucas Fernandes Nogueira
144d6b9d4d
feat(core): add mutable config getter on the Context struct (#1803) 2021-05-12 11:17:52 -03:00
Lucas Fernandes Nogueira
d36b726926
fix(macros): collision when command is named cmd (#1802) 2021-05-12 11:17:33 -03:00
Lucas Fernandes Nogueira
1ab8dd93e6
fix(core): system-tray cargo feature usage, fixes #1798 (#1801) 2021-05-12 10:55:21 -03:00
Lucas Fernandes Nogueira
f5a480fea3
fix(core): window transparency (#1800) 2021-05-12 10:55:12 -03:00
nothingismagick
12268e6e69
fix(csp): add 'self' (#1794)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-12 09:45:39 -03:00
Noah Klayman
71f6a5ed44
fix(cli.rs/build): fix typo getting bundle arg (#1783) 2021-05-12 09:32:31 -03:00
Lucas Nogueira
d03c98b0e6
fix(ci): covector errorOnVersionRange config 2021-05-11 16:57:04 -03:00
github-actions[bot]
7c7a0777ca
Apply Version Updates From Current Changes (#1629)
* apply version updates

* fix metadata.json [skip ci]

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-11 16:20:35 -03:00
chip
27a7810767
feat(core): add default Args to all types exposing Params (#1777) 2021-05-11 14:32:11 -03:00
Jacob Bolda
b5f8912122
going beta release (#1779) 2021-05-11 14:16:40 -03:00
chip
55423590dd
refactor(core): Context fields now private, Icon used on all platforms (#1774) 2021-05-11 08:38:08 -03:00
Lucas Fernandes Nogueira
72b8048b5a
feat(cli.rs): fill debian depends with tauri dependencies (#1767) 2021-05-10 14:10:09 -03:00
Lucas Fernandes Nogueira
08c1c5ca5c
fix(api): missing transparent flag on WindowOptions (#1764) 2021-05-10 00:30:01 -03:00
Lucas Fernandes Nogueira
7bb7dda752
refactor(core): resolve resource_dir using the package info (#1762) 2021-05-10 00:01:12 -03:00
Lucas Fernandes Nogueira
4687538987
refactor(core): drop Option payload type on event::emit (#1760) 2021-05-09 22:50:08 -03:00
Lucas Fernandes Nogueira
455c550f34
refactor(core): Settings serialization using bincode (#1758) 2021-05-09 22:09:32 -03:00
Lucas Fernandes Nogueira
45a7a111e0
feat(core): add tauri-wry crate (#1756) 2021-05-09 18:43:50 -03:00
Lucas Fernandes Nogueira
665ec1d4a1
refactor: move runtime to tauri-runtime crate (#1751) 2021-05-09 15:19:37 -03:00
Jacob Bolda
ea28d01691
create-tauri-app welcome prompt and recipes links (#1748)
* CTA welcome prompt and recipes links

* fix tests for new recipe names

* check that package file exists before build

* change file

* turn off vuecli tests until we can get them to pass
2021-05-09 09:31:01 -05:00
Dominik Schenk
908b703246
feat(cli.js): package managers interface, add pnpm support (#1743)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-09 09:03:44 -03:00
chip
bb8dafbe1e
feat(core): #[command] return with autoref specialization workaround fix #1672 (#1734)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-09 08:52:20 -03:00
Lucas Fernandes Nogueira
c090927021
feat(core): system tray, closes #157 (#1749) 2021-05-09 08:15:37 -03:00
Lucas Fernandes Nogueira
41d5d6aff2
feat(core): window menus (#1745) 2021-05-08 12:11:40 -03:00
Lucas Fernandes Nogueira
dbd9b078aa
refactor(core): create_window API signature on the Window struct (#1746) 2021-05-08 09:37:06 -03:00
Lucas Fernandes Nogueira
79feb6a918
fix(cli.rs): cargo build failed due to cache issue, closes #1543 (#1741) 2021-05-07 16:31:52 -03:00
Lucas Fernandes Nogueira
56e74ccf74
feat(core): ensure window.print()works on macOS (#1738) 2021-05-07 10:58:44 -03:00
Amr Bashir
cea3ba9f97
feat(cta): add support for all vite templates (#1670)
* feat(cta): add support for all vite templates

* vite template dir removed, ignore template step for now

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-05-07 00:29:55 -05:00
Lucas Fernandes Nogueira
8e0d4f666c
fix(bundler): debian package Installed-Size value (#1735) 2021-05-07 00:46:50 -03:00
Lucas Fernandes Nogueira
e37e187d4a
fix(bundler): dmg volume icon (#1730) 2021-05-06 13:54:15 -03:00
Lucas Fernandes Nogueira
f1aa12075f
fix(bundler): update create-dmg, fixes #1571 (#1729) 2021-05-06 12:57:08 -03:00
Lucas Fernandes Nogueira
9c10ccf8d3
feat(core) window events, closes #1523 (#1726) 2021-05-06 00:43:02 -03:00
Lucas Fernandes Nogueira
e087f0f937
feat: add #[non_exhaustive] attribute (#1725) 2021-05-05 22:22:45 -03:00