Commit Graph

1659 Commits

Author SHA1 Message Date
renovate[bot]
ecef9946e7
chore(deps) Update Tauri API Definitions (#2265)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 20:28:04 -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
renovate[bot]
3574a911e6
chore(deps) Update Tauri JS CLI (#2266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:14:59 -03:00
renovate[bot]
df01358fb3
chore(deps) Update Rust crate zeroize to 1.4 (#2267)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:14:52 -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
renovate[bot]
eba7813e8a
chore(deps) Update dependency @rollup/plugin-commonjs to v20 (#2350)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:13:34 -03:00
dependabot[bot]
4d69a445f3
chore(deps): bump tar from 6.1.1 to 6.1.6 in /tooling/create-tauri-app (#2365)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 17:48:53 -03:00
Sanket Chaudhari
7fcd991aab
Fix import path for getCurrent and WebviewWindow in docs (#2364) 2021-08-08 17:41:27 -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 Nogueira
fee3c5820b
fix(api): unused @ts-expect-error 2021-08-04 10:41:50 -03: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
Michael E. Snowden
2eed5b5e97
Update Rust example in cli.md (#2337)
* Update cli.md

Updating the example Rust code with an example graciously provided by @amrbashir . This is also in response to a [docs issue](https://github.com/tauri-apps/tauri/issues/2332) that I had raised earlier.

* Update docs/usage/guides/cli.md

* Update cli.md

* Update cli.md

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-08-02 13:13:44 -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
Ikko Ashimine
807b8625b7
fix(cli.rs): typo in input.rs (#2326)
existance -> existence
2021-08-01 23:59:21 -03:00
Zoe
58472d4ed2
chore(docs) fix typo of the example code (#2315) 2021-08-01 23:54:49 -03:00
renovate[bot]
b6e9b46989
chore(deps) Update dependency @rollup/plugin-sucrase to v4 (#2307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-01 23:54:34 -03:00
chip
4b2aa35684
Add back WebDriver support (#2324) 2021-08-01 23:54:10 -03:00
Pauan
af3cc7d7f7
Adding in Dominator recipe (#1912)
* Adding in Dominator recipe

* Running prettifier

* add dominator to cta tests

* update postinit message

* add `src-tauri` as a worksapce member

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-01 23:47:31 -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
ilukinov
4678144e22
fix(create-tauri-app): Change script name in App.tsx from 'App.js' to 'App.tsx' (#2333) 2021-08-01 23:44:11 -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
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 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
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
Joaquín
3f84381ea9
fix[docs]: Fix import in the Plugin example (#2224) 2021-07-23 07:44:17 -04:00