Commit Graph

51 Commits

Author SHA1 Message Date
Amr Bashir
4b75834a41
chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
Amr Bashir
b9e6a01879
refactor(cli): use tauri/custom-protocol instead of relying on user having custom-protocol in their cargo features (#8937)
* refactor(cli): use `tauri/custom-protocol` instead of relying on user having `custom-protocol` in their cargo features

* tauri-build dev cfg

* pass build-feature when building apk

* run beforeBuildCommand before first build for plugins

* clippy

* fix

* mut

* enhance dev/prod checks

* lint [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-26 15:17:45 -03:00
Amr Bashir
8de308d1bf
feat(core): implement new config structure (#8723)
* feat(core): implement new config structure

RFC#5 f3e82a6b0c/texts/0005-tauri-config-restructure.md

* fixes

* remove tauri-plugin copy [skip ci]

* move platform specific configs

* fix build

* fix cli

* doctests

* change files

* read updater plugin config on CLI

* doctests

* remove env var from docs

* fix getting pubkey

* add migrations

* clippy

* update change file [skip ci]

* rename frontendDist to prodFrontend?

* Revert "rename frontendDist to prodFrontend?"

This reverts commit ef7394f085.

* fix all_features check

* fix field name

* single license getter on bundler

* readd msiexec_args

* remove unused fixture

* update template

* Update .changes/tauri-bundle-settings-rfc-5.md

* Update .changes/config-restructure-rfc-5.md

* lint bundler, fix change file

* rename AppUrl to FrontendDist, add explicit variants for docs

* fix build

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-02-03 00:39:48 -03:00
Fabian-Lars
c2ad4d28c4
refactor(api)!: Rename primitives mod to core (#8273) 2023-11-20 17:53:13 -03:00
Olivier Lemasle
fec89434d8
fix(ci): Fix bench job (#8045)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-22 11:13:32 -03:00
Lucas Fernandes Nogueira
880266a7f6
chore: bump MSRV to 1.70 (#8031) 2023-10-17 11:08:15 -03:00
Lucas Fernandes Nogueira
d5074af562
fix: custom protocol on Windows, change scheme on Android, closes #7801 (#7808) 2023-09-11 12:25:06 -03:00
Lucas Fernandes Nogueira
4cb51a2d56
refactor(core): custom protocol on Windows now uses the http scheme (#7779) 2023-09-07 19:57:16 -03:00
Lucas Fernandes Nogueira
fbeb5b9185
refactor(core): use webview's URI schemes for IPC (#7170)
Co-authored-by: chip <chip@chip.sh>
2023-08-10 10:12:38 -03:00
Lucas Fernandes Nogueira
e63111b65a
chore: remove v1 references on documentation and benchmark (#7258)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-19 09:47:51 -03:00
Amr Bashir
e1e85dc2a5
chore: fix ci and cleanup leftovers (#6925)
* chore: fix ci and cleanup leftovers

1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api

* remove leftover updater structs

* move updater under bundle and remove uneeded options

* fix cli on linux

* remove create_proxy

* clippy

* more clippy

* clippppy

* readd path api

* fix api example

* remove window allowlist

* remove window from allowlist config

* remove `all` allowlist option

* remove file_move

* lint

* fix windows build

* remvoe unused deps

* remvoe allowlist config option, move protocol to `security > asset_protocol`

* fix diffing features

* fmt and test

* fix scope alias

* change files

* android lint

* simplify allow_file impl

* Revert "simplify allow_file impl"

This reverts commit b8882f2fd0.

* expose scopes

* remove unused error variants

* protocol-asset on docs.rs

* ignore reqwest on udeps

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Lucas Fernandes Nogueira
b072daa3bd
refactor(core): move updater to a plugin (#6919) 2023-05-09 16:43:31 -07:00
Lucas Nogueira
4585a1cbb0
Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
Lucas Fernandes Nogueira
3188f37649
feat: update MSRV to 1.65 (#6883) 2023-05-06 17:16:52 -03:00
Amr Bashir
6ff801e27d
chore: rename config-schema to tauri-config-schema (#6250)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-07 12:11:05 -03:00
Zeeshan Ali Khan
5fdc616df9
feat: Use the zbus-backed of notify-rust (#6332)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-03-31 12:36:59 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Amr Bashir
f6c3ea6faa
chore: simplify windows_subsystem attribute (#6273) 2023-02-18 16:23:09 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf
Update gtk to 0.16 (#6155)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:08:27 -03:00
Fabian-Lars
b08ae637a0
fix(cli): remove default features from template (#6074) 2023-01-16 21:43:29 -03:00
Lucas Nogueira
873b9aee90
chore: run yarn format 2022-11-03 09:27:43 -03:00
Amr Bashir
a178f95d68
feat: config schema generator (#5193)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-28 10:44:37 -03:00
я котик пур-пур
60bf067913
chore(examples): remove the legacy X-UA-Compatible meta (#5394) 2022-10-17 11:05:31 -03:00
Lucas Fernandes Nogueira
7d9aa3987e
feat: bump MSRV to 1.59 (#5296) 2022-09-28 14:33:35 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Lucas Nogueira
23a049c593
chore: fix clippy warnings, remove license template
The license template has been removed from rustfmt nightly :(
2022-06-24 22:01:13 -03:00
Amr Bashir
f48b1b0b3b
feat(bundler): cache bundling tools in a common dir for all projects (#4305)
* feat(bundler): cache bundling tools in a common dir for all projects

* fix changefile

* fix linux

* linux again

* again

* again

* omg I could've reboot into my linux system

* I rebooted into my linux

* fix linux one more time

* finally

* -nc

* cleanup gitignores

* Revert "-nc"

This reverts commit 8d821c6c37.

* use -N on appimage's wget calls

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-09 16:16:33 -03:00
Robin van Boven
5c20c84701
fix: benchmark build error (#4246) 2022-05-31 11:22:40 -03:00
Ryan Russell
62ce02f6b5
docs(various): Improve Readability (#4225) 2022-05-27 10:06:11 +02:00
Lucas Fernandes Nogueira
bad85a1f11
feat(build): find .ico in config instead of default icons/icon.ico (#4115) 2022-05-13 10:39:04 -03:00
Lucas Fernandes Nogueira
715cbde384
feat(config): add $schema to tauri.conf.json, closes #3464 (#4031) 2022-05-03 12:26:16 -03:00
Lucas Fernandes Nogueira
8e00f0904c
fix: files_transfer benchmark (#3944) 2022-04-22 14:37:10 -03:00
Lucas Fernandes Nogueira
6a5ff08ce9
refactor: remove bootstrapper, closes #3786 (#3832) 2022-03-31 14:51:17 -03:00
Lucas Fernandes Nogueira
c81534ebd8
feat(cli): use default macOS minimum system version when it is empty (#3658) 2022-03-13 11:20:11 -03:00
Lucas Fernandes Nogueira
49546c5269
feat(build): print error context (#3644) 2022-03-09 21:01:26 -03:00
Lucas Fernandes Nogueira
b571c249dc
chore(deps): update to wry v0.13.2 (#3503) 2022-02-18 10:39:10 -03:00
Lucas Nogueira
675d171eed
fix(core): tests, lint 2022-02-04 14:03:27 -03:00
Lucas Nogueira
c80e8b6886
fix: fs-read-file allowlist usage 2022-01-26 16:47:42 -03: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
Lucas Nogueira
4fa5ec9606
chore: cleanup repo lockfiles and gitignores 2022-01-09 15:18:14 -03:00
Amr Bashir
4143ffd427
fix(cli.js): detect CARGO_TARGET_DIR for local run (#3147)
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run

* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Lucas Fernandes Nogueira
a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 (#2789) 2021-10-22 10:04:42 -03:00
david
b9a9de6b64
fix(benchmarks): pure virtual method called (#2377)
* remove bench test lock

Signed-off-by: David Lemarier <david@lemarier.ca>

* use tauri commands to close the app

Signed-off-by: David Lemarier <david@lemarier.ca>
2021-08-10 11:18:16 +08:00
Amr Bashir
66916b739f
chore: add .prettierrc in repo root (#2145) 2021-07-03 19:48:04 -03:00
david
f729b5ef03
feat(bench): add tauri_3mb_transfer test (#1895) 2021-06-23 14:27: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
ec88e30617
feat(examples): add sidecar example (#1999) 2021-06-16 22:18:24 -03:00
nothingismagick
463fd00d06
fix(csp): add wss and tauri to conf template (#1974)
* fix(csp): add wss and tauri to conf template

* add change file, update examples/docs

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-15 13:37:24 -03:00