Commit Graph

140 Commits

Author SHA1 Message Date
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
Poly
74714177e8 feat(core) Use rfd for message dialogs (#1887) 2021-05-21 15:44:29 -03:00
Lucas Fernandes Nogueira
4aeb936e9b fix(api): WebviewWindow constructor is public (#1888) 2021-05-21 13:25:10 -03:00
Lucas Fernandes Nogueira
d1f650edd3 chore(docs): improve manage API examples on interior mutability (#1875) 2021-05-20 10:40:18 -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
renovate[bot]
eeb2bde464 chore(deps) Update Tauri Core (#1865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 01:50:58 -03:00
Lucas Fernandes Nogueira
17c7c4396f refactor(core): use attohttpc by default (#1861) 2021-05-19 01:06:08 -03:00
Noah Klayman
f237435093 feat(macros/generate_handler): add doc comment (#1860)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-18 22:42:34 -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
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
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]
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
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
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
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
1df16b7011 chore: breaking change notice (#1772) 2021-05-11 01:02:19 -03:00
Lucas Fernandes Nogueira
21ce355c48 chore: rename M: Params to P: Params (#1771) 2021-05-10 22:26:18 -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
d06e1de46b fix(core): dialog freezing regression on macOS (#1768) 2021-05-10 15:02:50 -03:00
Lucas Fernandes Nogueira
22676df57a refactor(core): menu and system-tray feature flags (#1765) 2021-05-10 13:27:42 -03:00
Lucas Fernandes Nogueira
5edda4ba08 fix(core): system tray icon path resolution (Linux) (#1763) 2021-05-10 00:27:43 -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
b6b4128885 chore(deps): wry 0.9.1 (#1761) 2021-05-09 22:50:16 -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
34b6032df7 feat(core): add on_window_event (global) API to app::Builder (#1759) 2021-05-09 22:22:06 -03:00
Lucas Fernandes Nogueira
455c550f34 refactor(core): Settings serialization using bincode (#1758) 2021-05-09 22:09:32 -03:00
Lucas Fernandes Nogueira
8d2e4c63c7 fix(core): do not reattach window on rpc/file_drop (#1757) 2021-05-09 21:33:40 -03:00
Lucas Fernandes Nogueira
45a7a111e0 feat(core): add tauri-wry crate (#1756) 2021-05-09 18:43:50 -03:00
chip
f190f11f13 fix(core): allow !Sync futures to be used with #[command] (#1755) 2021-05-09 18:03:27 -03:00
chip
2f4fca7567 refactor(core): clearer case conversion + docs (#1754) 2021-05-09 18:02:26 -03:00
Lucas Fernandes Nogueira
665ec1d4a1 refactor: move runtime to tauri-runtime crate (#1751) 2021-05-09 15:19:37 -03:00
chip
e84949524c fix(core): convert command arguments to camel case (#1753) 2021-05-09 15:14:48 -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