Commit Graph

259 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
5cc4b11f5d
feat(cli.rs): add context to errors (#1674) 2021-05-01 22:02:45 -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
5c1fe52c2b
feat(cli.rs): allow using cross instead of cargo, add target triple arg (#1664) 2021-04-30 15:16:14 -03:00
Lucas Fernandes Nogueira
894643cdcd
feat(bundler): use armhf as Debian package architecture on arm CPUs (#1663) 2021-04-30 12:32:07 -03:00
Lucas Fernandes Nogueira
fcee4c25fc
refactor(bundler): finish initial documentation, reorganize modules (#1662) 2021-04-30 11:39:50 -03:00
Lucas Fernandes Nogueira
4f1e87f87b
refactor(core): change drag element detection to data attr, fixes #1656 (#1659) 2021-04-29 20:38:19 -03:00
Lucas Fernandes Nogueira
df8bdcf063
feat(cli.rs): add support to string and table dependency, closes #1653 (#1654) 2021-04-29 12:17:46 -03:00
Jacob Bolda
c3acbd68ec
chore: shift CTA from bin to .ts (#1651)
* chore: shift CTA from bin to .ts

* add change file

* fix rollup build
2021-04-29 08:55:09 -05:00
Lucas Fernandes Nogueira
c31f0978c5
refactor: update to wry 0.9 (#1630) 2021-04-28 19:56:05 -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
chip
a755d23e1b
refactor(core): more bounds for better errors from #1623 (#1632) 2021-04-27 20:14:51 -03:00
Lucas Fernandes Nogueira
181e132aee
refactor(core): simplify usage of app event and window label types (#1623)
Co-authored-by: chip reed <chip@chip.sh>
2021-04-27 11:52:12 -03:00
Jacob Bolda
af6411d5f8
feat: setup testing for CTA (#1615)
* feat: setup testing for CTA

* install with yarn

* build before test

* add yarn to npm runs for install / test start

* add dev mode to link cli.js and api locally

* remove fixtures

* run tests serially

* cli.js build-release avoids webpack error

* assert on package.json contents as first check

* run tauri build and split out custom asserts

* add changefile

* shorten workflow name

* too short

* exclude npm@6 on node@16

* increase timeout, tauri build takes a bit of time

* only assert that the tauri script exists
2021-04-27 09:14:24 -05: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]
0f86bc4071
Apply Version Updates From Current Changes (#1620)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-25 17:54:41 -03:00
Lucas Fernandes Nogueira
f575aaad71
fix: change files not referencing core packages (#1619) 2021-04-25 17:42:38 -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
Lucas Fernandes Nogueira
a868cb7176
refactor(core): clear uri_scheme_protocol registration function names (#1617)
* refactor(core): clear `custom_protocol` registration function names

* fix

* fix clippy

* improve docs

* clippy

* renames
2021-04-25 13:00:03 -03:00
Lucas Fernandes Nogueira
d623d95fcb
fix(cli.rs): inliner dialoguer & console until they publish, fixes #1492 (#1610)
* fix(cli.rs): inliner dialoguer & console until they publish, fixes #1492

* fix tests

* change file

* fix: tests & fmt

* chore: add fork note

* fix: windows deps

* chore(licensing): add note for console & dialoguer

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

Co-authored-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-25 11:34:33 -03:00
Lucas Fernandes Nogueira
9e87fe6a69
feat(bundler): allow including custom files on debian package, fix #1428 (#1613) 2021-04-25 01:46:04 -03:00
Lucas Fernandes Nogueira
d13afec204
feat(bundler): add option to skip webview2 runtime installation, closes #1606 (#1612) 2021-04-24 19:01:50 -03:00
Downtime
ebe755ac5c
feat: #1528 wix supports custom templates (#1529)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-24 18:32:28 -03:00
Lucas Fernandes Nogueira
941585c0c5
fix(cli.js): skip installing deps when --ci is passed on tauri init (#1603) 2021-04-23 15:31:45 -03:00
Lucas Fernandes Nogueira
69ea51ec93
feat(bundler): implement wix fragments, closes #1528 (#1601) 2021-04-23 15:30:44 -03:00
Lucas Fernandes Nogueira
7471e347d3
feat(core): add error message on error::CreateWebview (#1602) 2021-04-23 15:30:02 -03:00
Lucas Fernandes Nogueira
1e0b41e155
refactor(cli.js): tauri icon with positional arg for icon path (#1600) 2021-04-23 11:10:49 -03:00
Lucas Fernandes Nogueira
cfa74ebf68
feat(core): validate dialog default_path (it must exist) (#1599) 2021-04-23 03:17: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
Lucas Fernandes Nogueira
9490b257d2
fix(cli.rs): enable the updater feature on cli (#1597) 2021-04-23 01:41:51 -03:00
Lucas Fernandes Nogueira
fbf73f3ab5
fix(bundler): find icon for AppImage, define .DirIcon, closes #749 (#1594) 2021-04-23 00:25:50 -03:00
Lucas Fernandes Nogueira
8a32d0ec39
fix(cli.js): remove cli file if the download fails or process is killed (#1592) 2021-04-22 23:10:45 -03:00
Lucas Fernandes Nogueira
5e65b768e5
fix(core): expose PageLoadPayload struct (#1590) 2021-04-22 20:35:50 -03:00
Lucas Fernandes Nogueira
0012782e43
fix(cli.rs): info command npm_package_version parsing beta-rc (#1587) 2021-04-22 19:14:15 -03:00
Lucas Fernandes Nogueira
a670d3a457
fix(cli.rs): check if distDir exists after running beforeDevCommand (#1586) 2021-04-22 16:28:41 -03:00
Lucas Fernandes Nogueira
99307d02c3
fix(core): sidecar command path (#1584) 2021-04-22 16:01:56 -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
8fd1baf69b
fix(core): pull package info from tauri.conf.json if set (#1581)
* fix(core): pull package info from tauri.conf.json if set

* fix: codegen
2021-04-22 12:28:18 -03:00
Lucas Fernandes Nogueira
5f033db41c
feat(core): use bundle identifier on user data path (#1580) 2021-04-22 11:05:03 -03:00
david
5909c1e014
Make sure custom protocol is handled as secure context on macOS (#1551) 2021-04-22 10:09:42 -03:00
Lucas Fernandes Nogueira
422dd5e2a0
fix(core): command name on plugin invoke handler (#1577) 2021-04-21 23:31:27 -03:00
Lucas Fernandes Nogueira
d3fdeb4518
feat(core): expose async_runtime module (#1576) 2021-04-21 22:09:24 -03:00
Lucas Fernandes Nogueira
508eddc784
refactor(core): plugin initialization return value (#1575) 2021-04-21 21:44:18 -03:00
Amr Bashir
f708ff824e
fix(CTA): #1569, manually set tauri script for compatability with older npm (#1572) 2021-04-21 21:26:49 -03:00
Lucas Fernandes Nogueira
938fb624f5
feat(core): expose custom protocol handler APIs (#1553) 2021-04-21 15:43:11 -03:00
Lucas Fernandes Nogueira
be65f04db7
fix(core): make window.__TAURI__.invoke context free, fixes #1547 (#1565) 2021-04-21 15:42:52 -03:00
Lucas Fernandes Nogueira
07eb6cec8b
fix(cli.js): use cargo search on crate latest version detection (#1563) 2021-04-21 12:43:46 -03:00
Lucas Fernandes Nogueira
1f089fb4f9
chore: update minimum nodejs version to 12.13.0 (#1562) 2021-04-21 11:50:24 -03:00
Lucas Fernandes Nogueira
ceadf2f556
fix(core): macos shortcut modifiers, closes #1542 (#1560) 2021-04-21 09:12:18 -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
Jacob Bolda
2e39880582
chore: covector config tweaks, remove tauri -> api dep (#1541) 2021-04-19 14:04:44 -05:00