Lucas Fernandes Nogueira
cc2f39a29f
feat(core): add on_event
hook on the Plugin
trait ( #2656 )
2021-09-26 01:25:45 -03:00
Lucas Fernandes Nogueira
8599313a0f
feat(cli.rs): env vars for beforeDev/beforeBuild commands, closes #2610 ( #2655 )
2021-09-26 01:25:35 -03:00
Bill Avery
bb00d5bd6c
Replace winapi with windows crate and use webview2-com instead of webview2 ( #2615 )
...
* Switch to webview2-com version of tao and wry
* Pick up latest branch of TAO and WRY
* Let WRY pick the branch for TAO instead of patch
* Add comment for wry next branch pending merge
* Add changelog
* Revert wry redirect in Cargo.toml
* Use pinned rev for matching PR merge commit
2021-09-24 17:40:22 +08:00
Lucas Fernandes Nogueira
205b0dc8f3
feat(cli.js): add CommonJS dist files ( #2646 )
2021-09-23 23:48:02 -03:00
Lucas Fernandes Nogueira
0f321ac08d
fix(api): do not ship TS files, closes #2598 ( #2645 )
2021-09-23 23:41:55 -03:00
Lucas Fernandes Nogueira
8d630bc8c4
fix(cli.rs): fix workspace detection, fixes #2614 , closes #2515 ( #2644 )
2021-09-23 23:37:27 -03:00
Adilson Schmitt Junior
cc8b1468c8
Fix(api): Window size and position returning wrong class ( fix : #2599 ) ( #2621 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 18:57:23 -03:00
David D
71ea86a443
feat(cta): add SolidJS recipe ( #2619 )
...
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-09-22 10:42:58 -03:00
Amr Bashir
fe381a0bde
fix: join
no longer cares if path doesn't exist, closes #2499 ( #2548 )
2021-09-21 16:22:23 -03:00
Robert Buchanan
2be1abd112
fix(bundler) wix template escape character ( #2608 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 12:43:51 -03:00
Lucas Fernandes Nogueira
d5f07d14f3
feat(cli.rs): build tools info ( #2618 )
2021-09-21 10:24:48 -03:00
Ngo Iok Ui (Wu Yu Wei)
84f6e3e84a
Switch to next branch of wry ( #2574 )
2021-09-09 13:05:03 -03:00
Lucas Nogueira
c1494b3532
refactor: return Weak<Window> on create_tao_window
2021-08-31 15:50:40 -03:00
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