Commit Graph

4593 Commits

Author SHA1 Message Date
Rajaniraiyn R
aaecb6a72e
refactor: rename tauri::dev to is_dev and mark as constant fn (#9890)
* refactor: made `tauri::dev` as constant function

this enables the `tauri::dev()` can be used as const or static

* is_dev && change files

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-05-27 19:03:48 +03:00
Tony
27fd8cc56c
nsis_tauri_utils::download -> NSISdl::download (#9887) 2024-05-26 17:59:13 +03:00
Amr Bashir
9e4b2253f6
feat(cli): add tauri bundle subcommand (#9734)
* feat(cli): add `tauri bundle` subcommand

closes #8734

* license header

* log application path after building

* fix no-bundle check

* typo

* enhance error with deep causes

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-25 11:46:55 -03:00
Amr Bashir
5462e5cadc
feat(nsis): support installer hooks (#9731)
* feat(nsis): support installer hooks

closes #9668

* update change files

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-25 10:23:08 -03:00
Amr Bashir
418d72d72d
feat(bundler/nsis): add /UPDATE flag (#9559)
* feat(bundler/nsis): add `/UPDATE` flag

* typo

* typo

* skip webview2 installation on updating
2024-05-25 09:41:09 -03:00
Lucas Fernandes Nogueira
80aa504987
chore(cli): update Android target SDK to 34 (#9870) 2024-05-25 07:46:34 -03:00
Amr Bashir
c4410daa85
feat(tray): add enter, move and leave events (#9777)
* feat(tray): add `enter`, `move` and `leave` events

closes #8584

* update api example

* check button state [skip ci]

* fix enum [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-24 14:56:32 -03:00
Amr Bashir
276c4b1438
fix(Windows): sync menubar theme with the window theme (#9832)
* fix(Windows): sync menubar theme with the window theme

ref: https://github.com/tauri-apps/muda/issues/170

* fix moc runtime

* muda 0.13.4

* missing change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-24 14:23:54 -03:00
Jonas Kruckenberg
9ac930380a
chore: emit rustc-check-cfg for nightly (#9850)
* fix: emit cargo cfg alias using new syntax too

* Update lib.rs

* fixes for other crates

* clippy

* readd clone

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-24 13:12:51 -03:00
Mariotaku
fd2d7cf8b3
feat(android): aware of version info from tauri config (#9856)
* feat(android): versionName and versionCode support

* formatted code and updated schema

* fix config, cleanup generation

* update docs

* mention default version for android

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-24 10:56:21 -03:00
Amr Bashir
d6d3efbd12
feat(bundler): support custom sign command on Windows (#9865)
* feat(bundler): support custom sign command on Windows

closes #7188
closes #9578

* fix double quotes

* fix build

* fix build

* clippy

* Update sign.rs

* clippy && replace `winreg` with `windows-registry`

* remove log [skip ci]

* Apply suggestions from code review

* tweak arg so path with spaces work on macOS

* create nsis toolset paths

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-24 10:25:13 -03:00
Amr Bashir
fc1543c65e
refactor!: remove skip_webview_install option (#9864) 2024-05-24 10:13:55 -03:00
Jason Tsai
1df5cdeb06
refactor!: use tauri.conf.json > identifier as package name and bundle id, close #9851 (#9858)
* fix(android): use identifier as Android package name

* update android_binding and android_fn interface

* chore: rename TAURI_ANDROID_PACKAGE_PREFIX to TAURI_ANDROID_PACKAGE_NAME

* revert back to split prefix and app_name

* rename `domain` to `identifier`

* add change log

* simplify reverse config identifier

* Update .changes/mobile-use-identifier-as-id.md

* Update core/tauri-build/src/lib.rs

* lint

* cargo-mobile2 0.12

* fmt

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-24 09:22:41 -03:00
Lucas Fernandes Nogueira
8a1ae2deaf
feat(plugin): add option to use a Xcode project for iOS (#9843)
* wip

* add option to use xcode project

* configuration

* clear env

* add change file

* remove xcuserdatad

* delete xcuserstate
2024-05-24 08:23:41 -03:00
github-actions[bot]
51b5d581b5
Apply Version Updates From Current Changes (#9752)
* apply version updates

* fix tests

* fix tests

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-22 23:20:59 -03:00
Tillmann
d950ac1239
Merge pull request from GHSA-57fm-592m-34r7
* only allow tauri-initialized frames to call the ipc

* dont regenerate the invoke key

* return early if the invoke key does not match

* add change file

* wry 0.40

* update change file

* trigger ci

---------

Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-22 17:49:08 -03:00
Fabian-Lars
beda18bce9
fix(cli/add): Fix handling of more rust-only and non cross platform plugins (#9855) 2024-05-22 19:57:57 +03:00
Tony
ae6b13dfc0
feat(core): add app-region: drag to data-tauri-drag-region (#9789) 2024-05-22 19:45:39 +03:00
Amr Bashir
0b690f242f
fix(core): export UriSchemeResponder (#9845) 2024-05-21 20:13:40 +03:00
wackbyte
f4d67818f8
docs: fix typo in WebviewBuilder (#9847) 2024-05-21 20:01:52 +03:00
Fabian-Lars
781d74799a
fix(bundler/rpm): Reduce compression level to gzip/6 (#9840) 2024-05-21 19:03:47 +03:00
Lucas Fernandes Nogueira
5d20530c91
feat(core): add AppHandle::set_activation_policy (#9842) 2024-05-21 11:45:08 -03:00
Amr Bashir
d0d974fa5e
fix(bundler/nsis): fix registering deep-link protocols (#9833)
* fix(bundler/nsis): fix registering deep-link protocols

* Update bundler-nsis-deep-links.md

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-05-21 11:01:37 +02:00
ryoichi
0c61784efb
fix(example/state): correct invoke method path to __TAURI__.core.invoke() (#9817) 2024-05-19 11:16:23 +02:00
ryoichi
fe90a2925e
fix(examples/parent-window): fix typo in import (#9816) 2024-05-19 10:54:51 +02:00
Angel S. Moreno
c4bacce2c2
docs: update events emitTo @since JSDoc tag (#9811)
* Update event.ts 

EmitTo is new to v2 and was not in v1

* replaced @since instead of removing
2024-05-18 01:10:15 +03:00
Jason Tsai
86250a476e
ci: fix typo in android test workflow (#9800) 2024-05-16 18:44:48 +02:00
Lucas Fernandes Nogueira
be95d8d37c
fix(utils): incorrect ToTokens impl for Capability (#9782) 2024-05-15 03:52:05 +03:00
Lucas Fernandes Nogueira
e713ceb75d
chore(cli): remove unused iOS app icon (#9783) 2024-05-15 03:51:17 +03:00
Siddharth
ec0e092ecd
feat: adds monitor_from_point method (#9770) 2024-05-14 19:48:51 +03:00
Tony
31aa90f514
chore(example): fix duplicated windows implement and update deps (#9772) 2024-05-14 13:25:15 +02:00
Tillmann
67ea20999b
ci: Fix cargo vet command typo (#9771)
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
2024-05-14 12:39:12 +02:00
Lucas Fernandes Nogueira
4a33bc6a62
fix(cli): pnpm detection on mobile init and xcode-script (#9553)
* fix(cli): pnpm detection on mobile init

* small outputFiles fix

* same check for xcode-script

* Discard changes to tooling/cli/node/index.js

* Discard changes to tooling/cli/node/index.d.ts

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-05-11 23:32:05 -03:00
Amr Bashir
bd64982fe6
ci: pull .crate file from workspace target directory (#9733) 2024-05-10 02:32:25 +03:00
Amr Bashir
caec19fce3
chore(deps): remove unused deps from cli (#9711)
* chore(deps): remove unused deps from cli

* fix mac build

* clippy
2024-05-09 23:35:02 +03:00
github-actions[bot]
6968c40053
Apply Version Updates From Current Changes (#9722)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-09 15:22:54 -03:00
Lucas Fernandes Nogueira
5a85ee2826
Revert "Apply Version Updates From Current Changes" (#9723)
This reverts commit 1bee4f279f.
2024-05-09 14:02:22 -03:00
github-actions[bot]
1bee4f279f
Apply Version Updates From Current Changes (#9693)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-05-09 12:28:30 -03:00
Lucas Fernandes Nogueira
c0bcc6c0b7
fix(tauri-runtime-wry): window draw span not closing (#9717)
* fix(tauri-runtime-wry): window draw span not closing

* use .retain
2024-05-09 10:09:41 -03:00
Lucas Fernandes Nogueira
fedca73860
fix(core): IPC tracing field incompatibility (#9720) 2024-05-09 15:41:41 +03:00
Tillmann
e78bfa722e
fix: Only provide cargo-vet suggestions for now (#9714)
As the workflow is failing because of a larger number of unvetted dependencies I transform this to suggestions only until we have a better vetting workflow and resources to audit available.
2024-05-09 09:04:35 -03:00
Amr Bashir
6f281b2e30
ci: pin cross to a commit before they bumped msrv (#9712)
* ci: pin `cross` to a commit before they bumped msrv

bump commit: 7129d5ab15
pre-bump commit: 1b8cf50d20

* Update test-core.yml
2024-05-09 08:58:45 -03:00
Amr Bashir
a813caf2e4
chore(examples/parent-window): fix import closes #9704 (#9705)
* chore(examples/parent-window): fix import

closes #9704

* lock file
2024-05-08 19:06:07 +03:00
Tillmann
82e1c75594
chore: Update cargo-vet entities and update lockfile (#9702)
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
2024-05-08 16:01:49 +03:00
Golden Water
78839b6d2f
feat(macos): Expose tao event Event::Reopen, closes #3084 (#4865)
* feat: expose tao event Event::Reopen

* Update .changes/event-reopen.md

* deps(core::tauri-runtime-wry): update tao to 0.28
2024-05-07 21:36:48 +03:00
Amr Bashir
783ef0f2d3
refactor!(core): return result in Webview/WebviewWindow::url getter (#9647)
* refactor!(core): return result in `Webview/WebviewWindow::url` getter

* clippy

* Apply suggestions from code review
2024-05-07 17:16:17 +03:00
Fabian-Lars
d2fc48f0e6
fix: rename kill-children.sh to tauri-stop-dev-processes.sh (#9669) 2024-05-07 16:45:37 +03:00
Lucas Fernandes Nogueira
a5205f179e
fix(utils): wrong ToTokens impl of the window proxy_url config (#9691) 2024-05-07 15:59:58 +03:00
Tony
5529c5ab69
’ -> ' (#9686) 2024-05-07 11:22:36 +02:00
Tony
5ce0737e9a
Update denpendencies (#9688) 2024-05-07 11:22:05 +02:00