Commit Graph

322 Commits

Author SHA1 Message Date
Lucas Nogueira
696dca58a9
refactor(core): remove BaseDirectory::Current variant 2022-01-26 16:48:31 -03:00
chip
10314cd5cf
feat(core): add argument parsing on shell scope (#44)
* feat: initial implementation

* feat: arg parser

* refactor: move codegen to context struct

* feat: regex validation

* fix tests

* fix: support magic argument value `-`

* feat: support value regex starting with `-`

* refactor: shell_scope mod, add happy path tests

* wip: scope command arguments

* wip: commands

* add better scoped errors and pattern matching

* add documentation to scoped command items

* support using the new shell scope for open

* use the proper items in tauri::scope during codegen

* shell-open uses ScopeError::Validation also

* use shell scoping for sidecar commands

* fix: cli.rs build

* fix: validation when arg list is empty

* require args in a non-fixed, non-empty config list

Co-authored-by: Chip Reed <chip@chip.sh>
2022-01-26 16:43:24 -03:00
Lucas Nogueira
efa1970db5
fix(api): type definition for http > Part, closes #3268 2022-01-23 16:51:35 -03:00
Edqe
18aab872a9
chore(docs): fix minor typo #3264 (#3265) 2022-01-23 16:43:29 -03:00
Lucas Nogueira
28a67fdb60
chore(docs): update platform-specific documentation notes 2022-01-22 14:35:36 -03:00
Lorenzo Lewis
b928a6edaf
tauri-studio JS doc generation (#3249)
* Add `generate-docs` command to JS tooling

* Stop generating Rust docs, update JS docs generation

* Change target folder for js copy

* Add recursive to copy

* Add in ARCHITECTURE.md copy

* Add in guides copy

* Change architecture output dir, fix guides destination

* Revert back to GitHub.workspace path

* Change cp to rsync to be able to exclude

* Fix source path

* Change to render title better

* Revert "Change to render title better"

This reverts commit 72b78f3901.

* Fix broken links
2022-01-20 22:32:57 +01:00
chip
d5d6d2abc1
Isolation Pattern (#43)
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-01-17 10:46:14 -03:00
Jonas Kruckenberg
ce03909fb6
[feat] add dialog title option. closes #3232 (#3233) 2022-01-16 19:41:11 +01:00
Jonas Kruckenberg
b5d9bcb402
Consistent event name usage (#3228) 2022-01-15 17:47:15 -03:00
Lucas Nogueira
eae311e6e2
fix(core): ipc and tests 2022-01-09 16:27:57 -03:00
Lucas Nogueira
766c4f2c57
refactor: unify fs read and write cmds for binary/text data [TRI-009] (#34) 2022-01-09 16:24:44 -03:00
Lucas Nogueira
a48b8b18d4
feat(core): validate callbacks and event names [TRI-038] [TRI-020] (#21) 2022-01-09 16:12:29 -03:00
Lucas Nogueira
5687b7fdcd
refactor: use macros to match core commands with allowlist conditionals [TRI-028] (#20) 2022-01-09 15:41:28 -03:00
Lucas Nogueira
63921fada4
refactor: change tauri::api::open with argument to an enum [TRI-022] (#19) 2022-01-09 14:58:38 -03:00
Lucas Fernandes Nogueira
680554de3e
feat: validate window label [TRI-021] (#13) 2022-01-09 14:30:43 -03:00
Lucas Nogueira
7920ff14e6
feat: scope the fs API and the asset protocol [TRI-026] [TRI-010] [TRI-011] (#10) 2022-01-09 14:30:04 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag (#7) 2022-01-09 11:29:29 -03:00
Lucas Fernandes Nogueira
0600099696
feat(api): support unknown types for event emit payload, closes #2929 (#2964) 2022-01-07 16:50:07 -03:00
Lucas Fernandes Nogueira
b7a2345b06
feat(core): add raw headers to HTTP API, closes #2695 (#3053) 2022-01-07 13:53:04 -03:00
renovate[bot]
294bb857c9
chore(deps) Update Tauri API Definitions (#3160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:48:03 -03:00
renovate[bot]
6e4a9f154f
chore(deps) Update Tauri API Definitions (#3128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:15:51 -03:00
Lucas Fernandes Nogueira
2212bd5d75
fix: dialog default path on Linux, closes #3091 (#3123) 2021-12-27 13:03:51 -03:00
Oliver Ford
722d9ede6e
doc(api) XDG user dirs are not env vars, fix: #3090 (#3092) 2021-12-27 10:57:45 -03:00
renovate[bot]
84f9d571d5
chore(deps) Update Tauri API Definitions (#3100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:43 -03:00
renovate[bot]
b41ff93c8f
chore(deps) Update dependency eslint-plugin-promise to v6 (#3104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:04:25 -03:00
renovate[bot]
4445b47c9f
chore(deps) Update Tauri API Definitions (#3069)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:55:54 -03:00
Lucas Fernandes Nogueira
74dff536d4
fix(core): emit tauri://close-requested to JS, closes #2996 (#3041) 2021-12-09 12:22:12 -03:00
Lucas Fernandes Nogueira
151e629ebf
fix(core): streaming of small files using asset://, closes #2854 (#3039) 2021-12-09 01:24:11 -03:00
Amr Bashir
1bfc32a3b2
fix(api.js): add fileDropEnabled to WindowOptions, closes #2968 (#2989) 2021-12-09 01:03:21 -03:00
renovate[bot]
4268cbaeee
chore(deps) Update Tauri API Definitions (#2995)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:02:03 -03:00
Amr Bashir
50c63900c7
fix(api.js): fix http.fetch throwing error if response body is empty, closes #2831 (#3008)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:39:42 -03:00
Lucas Nogueira
508e815247
chore(api): fix documentation tags 2021-12-06 16:49:09 -03:00
renovate[bot]
f813a25da8
chore(deps) Update Tauri API Definitions (#2949)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:22:00 -03:00
renovate[bot]
46f8f2ab4c
chore(deps) Update dependency typescript to v4.5.2 (#2920)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 19:29:35 -03:00
renovate[bot]
c5852da779
chore(deps) Update dependency type-fest to v2.5.4 (#2914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 11:24:51 -03:00
renovate[bot]
21bb8bfe09
chore(deps) Update Tauri API Definitions (#2904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:17 -03:00
Lucas Fernandes Nogueira
15164d930a
feat(core): allow defining a custom invoke system (#2899) 2021-11-16 12:58:18 -03:00
renovate[bot]
348c38db5b
chore(deps) Update dependency eslint-plugin-import to v2.25.3 (#2865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 11:12:26 -03:00
renovate[bot]
930b39e766
chore(deps) Update Tauri API Definitions (#2856)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 08:58:36 -03:00
renovate[bot]
7ae982b8ab
chore(deps) Update Tauri API Definitions (#2834)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:08 -03:00
renovate[bot]
341f803150
chore(deps) Update dependency type-fest to v2.5.2 (#2815)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:49:11 -03:00
renovate[bot]
c2b2d6258c
chore(deps) Update Tauri API Definitions (#2811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 02:41:37 -03:00
renovate[bot]
6c92bb402b
chore(deps) Update Tauri API Definitions (#2771)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 11:01:29 -03:00
Jonas Kruckenberg
39e0da1652
Fix log_dir (#2756) 2021-10-17 08:12:52 -03:00
Jonas Kruckenberg
acbb3ae7bb
feat: add Log directory (#2736)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-16 09:56:23 -03:00
renovate[bot]
b759744999
chore(deps) Update Tauri API Definitions (major) (#2747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:30:24 -03:00
renovate[bot]
7dca44bf41
chore(deps) Update Tauri API Definitions (#2742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:41:08 -03:00
renovate[bot]
1fded9ea65
chore(deps) Update Tauri API Definitions (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:19:01 -03:00
renovate[bot]
040c69d392
chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2722)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:01 -03:00
Lucas Fernandes Nogueira
e98c1af442
feat(core): expose message dialog APIs, fix window.confirm, implement HasRawWindowHandle for Window, closes #2535 (#2700) 2021-10-02 16:13:24 -03:00
Amr Bashir
3924c3d853
fix(api.js): fix os.platform return on macos and windows, closes #2698 (#2699)
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2021-10-02 14:15:20 -03:00
Lucas Fernandes Nogueira
11db96e440
fix(cli.js): .ico icon generation, closes #2692 (#2694)
* fix(cli.js): `.ico` icon generation, closes #2692

* fmt

* chore: cleanup resize logic
2021-10-02 08:42:32 -03:00
Lucas Nogueira
a21f6b212c
docs(api): clarify setSize, setMinSize, setMaxSize and setLocation, closes #2660 2021-09-29 18:00:59 -03:00
renovate[bot]
6aeee67fac
chore(deps) Update Tauri API Definitions (#2679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:03:38 -03:00
Lucas Nogueira
2792531347 chore: apply temporary change to __currentWindow usage 2021-09-27 15:13:01 -03:00
Lucas Nogueira
f68603aee4
chore(docs): simplify event system documentation 2021-09-27 13:07:05 -03:00
Lucas Fernandes Nogueira
0f321ac08d
fix(api): do not ship TS files, closes #2598 (#2645) 2021-09-23 23:41:55 -03:00
dependabot[bot]
c3d49fdcb1
chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /tooling/api (#2638)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 13:09:43 -03:00
renovate[bot]
9e8c571c26
chore(deps) Update dependency rollup to v2.57.0 (#2639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 13:09:35 -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
renovate[bot]
262781d9f7
chore(deps) Update Tauri API Definitions (#2623)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:50:05 -03:00
Manuel Quarneti
a1e40480c1
Typing (api/os) (#2558)
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: 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>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-09-21 16:24:09 -03:00
renovate[bot]
63ff59f049
chore(deps) Update Tauri API Definitions (#2579)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 14:32:33 -03:00
amrbashir
ba9f1a3ceb
docs(api.js): update platform-specific notes size 2021-09-04 17:52:57 +02:00
renovate[bot]
21239962a9
chore(deps) Update Tauri API Definitions (#2524)
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: 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>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 12:17:28 -03:00
renovate[bot]
cb7738bc9b
chore(deps) Update dependency eslint-config-standard-with-typescript to v21 (#2562)
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: 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>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 22:42:52 -03:00
renovate[bot]
dbe88b1658
chore(deps) Update Tauri API Definitions to v4.29.2 (#2479)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 12:26:41 -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
Ngo Iok Ui (Wu Yu Wei)
994b5325dd
fix: missing asset protocol path (#2484) 2021-08-22 16:12:45 -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
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
renovate[bot]
bdda79cfbc
chore(deps) Update dependency tslib to v2.3.1 (#2400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 21:18:29 -03:00
renovate[bot]
99a5435d72
chore(deps) Update Tauri API Definitions (#2390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 04:18:24 -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
8e48029790
feat(api): improve EventName type definition (#2379) 2021-08-10 10:54:42 -03:00
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
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
Lucas Nogueira
fee3c5820b
fix(api): unused @ts-expect-error 2021-08-04 10:41:50 -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
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
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
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
Amr Bashir
9fbcc02454
fix(api.js): fix double window creation, closes #2284 (#2285) 2021-07-23 09:06:12 -04:00
Amr Bashir
785865863e
chore(api.js): better platform-specific notes (#2253) 2021-07-21 12:23:16 +08:00
Amr Bashir
f130a167c5
chore(api.js): copy README.md & CHANGELOG.md to dist (#2252) 2021-07-21 12:22:55 +08:00
Amr Bashir
dd52e738f1
fix(api.js): fix @ts-expect-error usage, closes #2249 (#2250) 2021-07-19 18:19:58 -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
renovate[bot]
8be6755c6a
chore(deps) Update Tauri API Definitions (#2205)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 07:41:33 -03:00
renovate[bot]
7eaf437b7f
chore(deps) Update Tauri API Definitions (#2165)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:44 -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
Amr Bashir
66916b739f
chore: add .prettierrc in repo root (#2145) 2021-07-03 19:48:04 -03:00
Lucas Fernandes Nogueira
51a5cfe4b5
feat(api): add convertFileSrc helper (#2138) 2021-07-02 00:00:30 -03:00
renovate[bot]
df32ff5f4a
chore(deps) Update dependency rollup to v2.52.4 (#2128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 10:38:33 -03:00
renovate[bot]
1b00855af8
chore(deps) Update Tauri API Definitions (#2122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 10:14:30 -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
Thad Guidry
9125affab7
Add note about Toast notifications (#2071)
...in case user's actually search with "toast" a typical word used in web and app development for brief auto-expiring OS window element for notifying user.
2021-06-24 22:28:41 +02: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
renovate[bot]
c57139f16f
chore(deps) Update dependency typedoc-plugin-markdown to v3.10.1 (#2059)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-24 09:39:00 -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
Lucas Nogueira
52f0a934f2
fix(api): install fs-extra 2021-06-23 17:17:35 -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 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
renovate[bot]
c588cc3dcd
chore(deps) Update Tauri API Definitions (#2049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-23 12:06:19 -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
285bf64bf9
feat(core): add clipboard writeText and readText APIs (#2035) 2021-06-21 13:32:22 -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
renovate[bot]
31f2fd3280
chore(deps) Update dependency rollup to v2.52.0 (#1996)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 09:18:33 -03:00
renovate[bot]
50e3f392f6
chore(deps) Update Tauri API Definitions (#1967)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-15 13:20:20 -03:00
Lucas Fernandes Nogueira
5cba6eb4d2
feat(core): add window center API, closes #1822 (#1954) 2021-06-05 18:20:16 -03:00
renovate[bot]
e9749eff97
chore(deps) Update Tauri API Definitions (#1940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 08:56:16 -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
f58a2114fb
feat(core): add is_decorated Window getter 2021-05-30 17:21:05 -03:00
renovate[bot]
65eba71f9d
chore(deps) Update Tauri API Definitions (#1902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 17:00:08 -03:00
Amr Bashir
277f5ca5a8
feat(api): export BaseDirectory in path module (#1885) 2021-05-30 16:59:46 -03:00
Lucas Fernandes Nogueira
4aeb936e9b
fix(api): WebviewWindow constructor is public (#1888) 2021-05-21 13:25:10 -03:00
renovate[bot]
c7dec3179b
chore(deps) Update Tauri API Definitions (#1863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 01:16:01 -03:00
Lucas Fernandes Nogueira
2881ccc329
docs(api): document allowlist for each module (#1853) 2021-05-17 22:33:09 -03:00
Lucas Fernandes Nogueira
de147cd3a9
docs(api): document window.__TAURI__ option on each module [skip ci] (#1852) 2021-05-17 17:56:14 -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
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
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
renovate[bot]
8ef3b7a12f
chore(deps) Update Tauri API Definitions to v7.14.2 (#1808)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 15:46:39 -03: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
renovate[bot]
4a10f5e284
chore(deps) Update Tauri API Definitions (#1786)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 09:49:43 -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
Lucas Nogueira
46ea873311
fix(api): export WebviewWindowHandle type 2021-05-10 21:46:06 -03:00
Lucas Fernandes Nogueira
319cf16a54
fix: prune packages, add license files, closes #1507 (#1769)
Co-authored-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-05-10 20:28:15 -03:00
nothingismagick
afb4f2f896
chore(docs): add root-level ARCHITECTURE.md (#1766)
* chore(docs): add root-level ARCHITECTURE.md

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(readme): cleanup  [skip ci]

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(cli.js): update readme

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): ship both apache and mit

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(remove license): [skip ci]

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(assimilation): we are now the borg

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* cleanup [skip ci]

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-10 20:39:24 +02:00
Lucas Fernandes Nogueira
08c1c5ca5c
fix(api): missing transparent flag on WindowOptions (#1764) 2021-05-10 00:30:01 -03:00
dependabot[bot]
9f9eb503e5
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /tooling/api (#1744)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 09:37:45 -03:00
nothingismagick
45aff87e65
chore(deps): js updates (#1739) 2021-05-07 19:52:20 -03:00
Lucas Fernandes Nogueira
56e74ccf74
feat(core): ensure window.print()works on macOS (#1738) 2021-05-07 10:58:44 -03:00
Lucas Fernandes Nogueira
6bfac866a7
refactor(core): add window getters, physical & logical sizes/positions (#1723) 2021-05-05 20:15:08 -03:00
Lucas Fernandes Nogueira
f7892cf4ff
feat(api): documentation (#1694)
* feat(api): documentation

* more docs [skip ci]
2021-05-05 14:36:40 -03:00
Lucas Fernandes Nogueira
c78db1b399
chore(api): remove unused dependencies (#1719)
* chore(api): remove unused dependencies

* chore: remove eslint-plugin-node

* Revert "chore: remove eslint-plugin-node"

This reverts commit 1b88da8f7b.
2021-05-05 14:29:53 -03:00
renovate[bot]
c273b76799
chore(deps) Update Tauri API Definitions (major) (#1715)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 09:53:36 -03:00
renovate[bot]
f21ce9888d
chore(deps) Update Tauri API Definitions (#1709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:40:45 -03:00
Lucas Fernandes Nogueira
2747bb6c11
fix(core): dialog API deadlock, closes #1695 (#1696) 2021-05-03 22:06:50 -03:00
Lucas Fernandes Nogueira
b0bb796a42
refactor: rename command mod to process, move restart_application (#1667)
* refactor: rename `command` mod to `process`, move restart_application

* refactor(api): move `exit`, `relaunch` APIs to `process` module
2021-04-30 22:43:47 -03:00
Lucas Fernandes Nogueira
c31f0978c5
refactor: update to wry 0.9 (#1630) 2021-04-28 19:56:05 -03:00
renovate[bot]
048771599a
chore(deps) Update Tauri API Definitions (#1647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 19:50:54 -03:00
Lucas Fernandes Nogueira
721e98f175
feat(core): add env, cwd to the command API, closes #1634 (#1635)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-04-28 18:25:44 -03:00
renovate[bot]
2613e75664
chore(deps) Update Tauri API Definitions (#1638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:23:31 -03:00
renovate[bot]
9ada793f7a
chore(deps) Update dependency eslint-plugin-promise to v5 (#1641)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:22:16 -03:00
Amr Bashir
ddcd9233bd
fix(api): export commonjs chunks with .cjs extension, fix #1625 (#1627) 2021-04-26 14:12:00 -03:00
github-actions[bot]
cad5192e31
Apply Version Updates From Current Changes (#1561)
Co-authored-by: nothingismagick <nothingismagick@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-25 16:07:22 -03:00
Amr Bashir
ba208b7e9b
fix(api): correctly merge pkg exports in after-build.js script (#1609) 2021-04-24 09:43:29 -03:00
Lucas Fernandes Nogueira
aa7e2738cc
feat: use rfd::FileDialog#set_file_name if default_path is a file (#1598) 2021-04-23 03:04:47 -03:00
Amr Bashir
94d541d1c9
refactor(api): use a js script to copy necesary files to dist (#1593) 2021-04-22 23:16:53 -03:00
Pablo Singer
ae156e77e0
fix(api): wrong window.setIcon argument type (#1591) 2021-04-22 21:39:18 -03:00
Lucas Fernandes Nogueira
7f998d08e3
fix(api): distribution (#1582)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-04-22 15:39:59 -03:00
Lucas Fernandes Nogueira
1f089fb4f9
chore: update minimum nodejs version to 12.13.0 (#1562) 2021-04-21 11:50:24 -03:00
github-actions[bot]
8fa06ddb6a
Apply Version Updates From Current Changes (#1540)
* apply version updates

* remove cli.rs and cli.js bump

Co-authored-by: jbolda <jbolda@users.noreply.github.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-04-19 14:19:36 -05:00
Laegel
fcb3b4857e
fix: #1512 (#1517)
* fix: Export

* chore(changefile)

* fix: Updated publish step

* fix: Also outputting CommonJS

* fix:`preparePublish` now copies the necessary files

* fix: typo

Co-authored-by: Laegel <valentin.chouaf@laposte.net>

* chore: update `build` script

* chore: add `prepublishOnly script`

* chore: update `api` covector config

* round two, fight!!

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-04-18 22:31:12 -05:00
github-actions[bot]
345f2dbfc5
Apply Version Updates From Current Changes (#1499)
Co-authored-by: nothingismagick <nothingismagick@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-14 20:33:44 -03:00
nothingismagick
b2569a729a
fix(js-api): dist (#1498)
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-15 01:04:20 +02:00
github-actions[bot]
49c450d6fe
Apply Version Updates From Current Changes (#1165)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-14 10:50:15 -03:00
Lucas Fernandes Nogueira
5b6c7bb6ee
feat(examples): showcase basics of multiwindows feature on api example (#1468) 2021-04-12 23:35:57 -03:00
Amr Bashir
186deb43d5
refactor: more consistent js-api docs (#1463) 2021-04-12 22:44:50 -03:00
Laegel
0a5233a316
Added missing deps (#1466) 2021-04-12 22:44:02 -03:00
Lucas Fernandes Nogueira
aea614587b
refactor(repo): add /tooling folder (#1457) 2021-04-12 01:59:25 -03:00