Commit Graph

214 Commits

Author SHA1 Message Date
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