Commit Graph

348 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
f208a68e40
fix(tauri.js) do not swallow init errors, fix conf inject (#802)
* fix(tauri.js) do not swallow init errors, fix conf inject

* fix(tauri.js) tests
2020-07-10 11:41:31 -03:00
Lucas Fernandes Nogueira
a26cffc575
fix(tauri.js) beforeDevCommand race condition (#801)
* fix(tauri.js) beforeDevCommand race condition

* chore(tauri.js) fix lint, change dev wait time to 30s
2020-07-10 16:17:47 +02:00
chip
e7b495133f
fix(tauri.js) revert nullish coalesce addition (#799) 2020-07-10 08:27:03 -03:00
liusong1111
02cdfdf646
fix: check CheckNetIsolation LoopbackExempt -s output should ignore utf8 chars instead of panic (#798) 2020-07-10 08:03:12 -03:00
github-actions[bot]
70fdc6f699
Apply Version Updates From Current Changes (#792)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-09 22:12:46 -03:00
renovate[bot]
8dae73632f
chore(deps) Update Tauri JS CLI (major) (#762)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-09 22:05:56 -03:00
Lucas Fernandes Nogueira
eda41ec826
chore(Cargo.toml) fill the categories field (#755) 2020-07-09 21:54:35 -03:00
renovate[bot]
cb5cbcc3bb
chore(deps) Update Tauri JS CLI (#761)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-09 21:49:53 -03:00
Lucas Fernandes Nogueira
0967b4291e
fix(windows) properly run the LoopbackExempt command on dev/build/msi, closes #788 (#794) 2020-07-09 21:41:18 -03:00
renovate[bot]
28a333de83
chore(deps) Pin dependencies (#759)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-09 21:27:20 -03:00
Rajiv Shah
466742f542
fix(tauri.js): Bump lodash to 4.17.19 (#764) 2020-07-09 21:14:18 -03:00
github-actions[bot]
c3e5a18f43
Apply Version Updates From Current Changes (#786)
* apply version updates

* Update tauri/CHANGELOG.md

Co-authored-by: jbolda <me@jacobbolda.com>
2020-07-09 09:11:16 -05:00
Lucas Fernandes Nogueira
6a179997b4
fix(tauri.js) default config is invalid closes #777 (#785) 2020-07-09 10:40:31 -03:00
Lucas Fernandes Nogueira
16d39b3c0d
fix(tauri.js) tauri icon with --icon flag, closes #750 (#774) 2020-07-09 10:26:26 -03:00
Lucas Fernandes Nogueira
26635845bf
feat(tauri) use port as number or the "random" string (#784) 2020-07-09 10:20:25 -03:00
Ken Chong
02df2bfea5
to enable custom port (#782)
* to enable custom port

current validator doesn't enable port config, with this patch would have allow the config, however this doesn't include the runner changes... runner might need changes too.

* Update config.schema.json

* Update config.validator.ts
2020-07-09 14:06:04 +02:00
github-actions[bot]
460ac25269
Apply Version Updates From Current Changes (#772)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-08 18:46:35 -03:00
Lucas Fernandes Nogueira
39d264db92
fix(bundler) dmg unbounded variable issue (#770) 2020-07-08 18:45:16 -03:00
github-actions[bot]
fed2641bb7
Apply Version Updates From Current Changes (#758)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-08 14:06:40 -03:00
Lucas Fernandes Nogueira
acd8ceb72c
fix(tauri-bundler) appimage script (#766) 2020-07-08 14:05:34 -03:00
Lucas Fernandes Nogueira
960ad58c12
feat(tauri.js) validate tauri.conf.json schema on runtime (#756) 2020-07-07 15:42:15 -03:00
github-actions[bot]
fa720d5016
Apply Version Updates From Current Changes (#748)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-06 10:37:03 -03:00
Lucas Fernandes Nogueira
6301df660a
fix(tauri.js) transpile TS API and fix cjs/esm export (#752) 2020-07-06 10:16:01 -03:00
Lucas Fernandes Nogueira
c3b5c1fdf8
Fix/includedir (#751)
* fix(tauri) assets embedding regression

* fix(tauri) fix & optimize embedded assets
2020-07-05 01:45:07 -03:00
Lucas Fernandes Nogueira
b12bd40170
chore(bundler) improve "running script" log (#747) 2020-07-04 15:08:06 -03:00
Lucas Fernandes Nogueira
61437b3b3d
fix(tauri.js) event payload type on TS API (#746) 2020-07-04 15:07:45 -03:00
Lucas Nogueira
d871af4083
chore(tauri.js) run rollup with silent flag 2020-07-03 17:50:12 -03:00
Lucas Nogueira
17a047e1bb
chore(tauri.js) update changelog with window.tauri mapper (gist) 2020-07-03 17:45:50 -03:00
github-actions[bot]
d8af70fa95
apply version updates (#721)
Co-authored-by: jbolda <me@jacobbolda.com>
2020-07-03 21:25:48 +02:00
Lucas Fernandes Nogueira
161112ed41
feat(tauri.js) add TS API definition files (.d.ts) (#740)
* feat(tauri.js) build TS API definitions

* chore(tauri.js) organize scripts

* fix(tauri.js) build:typedefs on windows
2020-07-03 20:57:52 +02:00
Lucas Fernandes Nogueira
015474657c
fix(tauri.js) move Notification initialization to tauri.js script (#736) 2020-07-03 13:47:30 -03:00
renovate[bot]
c59eebbced
chore(deps) Update dependency @rollup/plugin-typescript to v5 (#734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-02 19:14:50 -03:00
Lucas Fernandes Nogueira
a5e7249178
chore(bundler) show scripts output (#728) 2020-07-02 18:37:13 -03:00
renovate[bot]
f345b60728
chore(deps) Update Rust crate serde_json to 1.0.56 (#731)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:44:38 -03:00
renovate[bot]
a165404652
chore(deps) Update Tauri Bundler (#732)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:44:18 -03:00
renovate[bot]
9d49fb14f5
chore(deps) Update Tauri JS CLI (#733)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:42:54 -03:00
Lucas Fernandes Nogueira
055d777a42
feat(bundler) bundle all binaries from the project (#726) 2020-06-30 19:06:39 -03:00
Lucas Fernandes Nogueira
522c86a956
refactor(tauri) simplify API functions types usage (#725) 2020-06-30 14:04:36 -03:00
Lucas Fernandes Nogueira
6b097345ed
refactor(tauri) execute_promise String/Serialize management (#724) 2020-06-29 15:39:39 -03:00
Lucas Fernandes Nogueira
6d23b0673e
docs(rust) add rustdocs to the crates (#723) 2020-06-28 10:34:43 -03:00
Lucas Fernandes Nogueira
dd1bffe91e
refactor(api) rewrite readDir API (#722) 2020-06-27 15:40:46 -03:00
nothingismagick
2681ad361b
refactor(tauri.js) rewrite API module in TypeScript, closes #679 #435 (#703)
Co-authored-by: Quentin Goinaud <armaldio@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-06-27 12:20:00 -03:00
renovate[bot]
14cddd404c
chore(deps) Update Rust crate image to 0.23.6 (#709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-26 15:54:31 -03:00
Rajiv Shah
467022f454
fix(bundler): Check if mksquashfs is installed before bundling AppImage, fix: #706 (#717) 2020-06-26 15:09:09 -03:00
renovate[bot]
0067d5a5d2
chore(deps) Pin dependency toml-loader to 1.0.0 (#707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-26 00:58:35 +02:00
renovate[bot]
1fa958ce0e
chore(deps) Update Tauri JS CLI (#710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-26 00:56:00 +02:00
github-actions[bot]
458becce46
Apply Version Updates From Current Changes (#715)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-06-24 22:28:41 -03:00
Ping Chen
622e1d52d2
Support writing binary file to local disk (#580)
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2020-06-20 19:21:41 -03:00
Lucas Nogueira
2874e71820
chore(bundler) msi is no longer experimental
version updates
2020-06-18 14:30:20 -03:00
github-actions[bot]
414ea4b75d
Apply Version Updates From Current Changes (#678)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-06-18 13:55:21 -03:00
Lucas Fernandes Nogueira
ce8a7b8f6a
feat(tauri.js) automatically detect current tauri version for template (#697) 2020-06-18 13:53:41 -03:00
Lucas Fernandes Nogueira
d299a2b94d
feat(tauri) CLI args additions (positional args, bool as value for args with takesValue=false) (#695) 2020-06-18 13:01:47 -03:00
Lucas Fernandes Nogueira
ea74c5cc01
fix(tauri) use appimagetool to build, finish script run, proper AppRun (#682) 2020-06-17 12:49:45 -03:00
renovate[bot]
7464ba7219
chore(deps) Update Tauri JS CLI (#685)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-17 12:26:13 -03:00
Lucas Nogueira
6cc5fc4370
chore(tauri.js) type definitions for Config with proper optional defs 2020-06-15 10:53:29 -03:00
Lucas Fernandes Nogueira
406dea79ed
feat(tauri) add Notifications API (#505) 2020-06-15 01:09:02 -03:00
Lucas Fernandes Nogueira
14a1ddfe18
feat(tauri) add app CLI interface config (#670) 2020-06-14 23:36:35 -03:00
chip
577a044bfa
fix(cli): tell user of missing lockfile or manifest during info (#675) 2020-06-14 19:26:38 -03:00
nothingismagick
6ac410e04d
fix(cli): info get tauri (#674)
* fix(cli): info get tauri

* fix(cli): cargo types

* fix(cli): proper types and detection

* fix(cli): remove unneeded interface
2020-06-14 12:28:49 -03:00
Lucas Fernandes Nogueira
9e7b05dc21
fix(tauri.js) regression on hot reload when Rust doesn't compile (#673) 2020-06-14 08:24:22 -03:00
Lucas Fernandes Nogueira
5e8547be26
fix(tauri.js) kill beforeDevProcess on shutdown (#671) 2020-06-13 20:11:22 -03:00
Lucas Fernandes Nogueira
4975497dad
fix(tauri.js) properly reflect tauri.conf changes on tauri dev (#672) 2020-06-13 20:11:13 -03:00
Lucas Fernandes Nogueira
bf49604c4c
chore(tauri) version updates (#659) 2020-06-11 21:18:38 +02:00
Lucas Fernandes Nogueira
3953662b82
fix(tauri) use web-view fork to fix windows build on SDK 10.0.19041.1 (#657) 2020-06-11 12:12:58 -03:00
renovate[bot]
12a4fea039
chore(deps) Update Tauri Bundler (#652)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-06-11 12:11:52 -03:00
Lucas Fernandes Nogueira
0f55a8f4f7
fix(tauri) dev crashes when server not running, path not found, multiple app instances on HMR (#654) 2020-06-11 12:10:42 -03:00
chip
030f290e1b
use cargo lockfile for tauri dependency during tauri info. close #610 (#655) 2020-06-11 11:19:57 -03:00
chip
69ac1c5228
Don't recurse directories while displaying tree during info command (#656)
The `tauri info` command displays the directories in the application dir. It only
displays 1 directory deep, but the function finding them recurses all subdirectories.
Limiting finding directories to 1 layer deep significantly reduces time to display
the folder from 9900ms to 4ms on my machine.
2020-06-10 23:07:19 -03:00
renovate[bot]
5833f284e4
chore(deps) Update Rust crate serde_json to 1.0.55 (#650)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 11:49:07 -03:00
renovate[bot]
3a962274c2
chore(deps) Update Tauri JS CLI (#653)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 11:48:38 -03:00
Rajiv Shah
a4b291e44c
chore(tauri.js): Resolve eslint errors (#648) 2020-06-09 22:09:43 -03:00
nothingismagick
626cffbbc9
fix(appimage): various fix: #601 (#646)
Closes #601.
2020-06-09 08:42:17 -03:00
renovate[bot]
7c0e7f91fe
chore(deps) Update Rust crate handlebars to 3.1 (#636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-05 00:22:36 -03:00
renovate[bot]
78b98cc7ee
chore(deps) Update Tauri JS CLI (#638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 07:57:10 +02:00
renovate[bot]
edb523dd02
chore(deps) Update dependency imagemin-pngquant to v9 (#639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 07:56:33 +02:00
david
bf1d3c1ffc
fix(bundler): Prevent CI to failed on macos (#592) (#640)
Read `CI` env variable and if equal to true we set the DMG builder in CI mode.

See https://github.com/create-dmg/create-dmg/blob/master/create-dmg#L183

Signed-off-by: David L <david@lemarier.ca>
2020-06-03 19:16:42 -03:00
chip
7a1a3d60d9
move tauri.js injection to <head>. Fixes #625 (#629) 2020-05-31 18:47:58 -03:00
renovate[bot]
d6e82b4f06
chore(deps) Update Tauri JS CLI (#597)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-05-30 08:54:16 -03:00
Tensor-Programming
6ab67ed390
feat(bundler) remove error_chain and add thiserror and anyhow. (#623)
* Publish (#547)

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>

* chore(tauri.js): version updates (#556) (#557)

Co-authored-by: nothingismagick <denjell@sfosc.org>

* Publish (#588)

* hotfix(tauri.js) proxy dev-server websocket connection so HMR works (#591)

* hotfix(tauri.js) proxy dev-server websocket connection so HMR works

* chore(tauri.js) lint fix

* Publish (#606)

* Publish (#608)

* chore(api): "version updates" (#614) (#615)

bump api version

Co-authored-by: nothingismagick <denjell@mailscript.com>

* add anyhow and thiserror to bundler.

* remove error chain

* cleanup

* fix import paths.

* remove bail calls.

* add more consistent error descriptions.

* add cfg for non-linux errors.

* fix linux cfg

* fix maskfile

* add runas and loopback command

* cleanup maskfile clean.

* fix cfg

* export print info and fix cfg.

* fix maskfile's logic

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
Co-authored-by: nothingismagick <denjell@sfosc.org>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: nothingismagick <denjell@mailscript.com>
2020-05-29 19:56:05 -04:00
renovate[bot]
5fc6ea79cf
chore(deps) Update Tauri JS CLI (major) (#598)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-05-29 20:48:57 -03:00
renovate[bot]
974cd3d8ed
chore(deps) Pin dependencies (#620)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-29 20:08:17 -03:00
renovate[bot]
7a26fe8743
chore(deps) Update Rust crate includedir to 0.6.0 (#622)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-29 16:00:51 -03:00
chip
a1be396704
don't remove link attributes on html rewrite when in dev (#624) 2020-05-29 15:30:19 -03:00
Rajiv Shah
5a965a2ec9
fix(bundler): Update missing icon error message (#626) 2020-05-29 15:28:29 -03:00
chip
c6dce8e7e8
Proxy headers during tauri dev (#612) 2020-05-26 11:47:54 -03:00
chip
08f0417175
fix(tauri.js/api/info): detect version shorthand for tauri crate 2020-05-22 14:42:37 -07:00
renovate[bot]
88a915cbf9
chore(deps) Update Rust crate serde_json to 1.0.53 (#596)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-22 07:57:08 -03:00
Lucas Nogueira
3c0dfe711b
chore(authors) update email 2020-05-21 19:25:03 -03:00
Lucas Fernandes Nogueira
5278c8a8f9
chore(versions) update tauri.js to 0.6.2 [version updates] (#607) 2020-05-21 19:24:12 -03:00
Lucas Nogueira
19c14a4c03
fix(tauri.js) add types 2020-05-21 19:16:43 -03:00
Lucas Fernandes Nogueira
fef54ad6e8
Feat/proxy devserver (#603) 2020-05-21 11:48:57 -03:00
Noah Klayman
0c141f4922
fix(tauri.js): exit with code 1 if paths are missing, fixes #594 (#599) 2020-05-19 17:24:08 -07:00
Lucas Fernandes Nogueira
4b54cc1564
feat(tauri) add httpRequest API (#589) 2020-05-11 17:03:58 -03:00
Lucas Fernandes Nogueira
b9277ea53f
chore(tauri) version updates (bundler & tauri.js 0.6.0, tauri 0.5.1) (#587) 2020-05-08 21:19:39 -03:00
renovate[bot]
fd1adc9961
chore(deps) Update Rust crate libflate to v1 (#581) 2020-05-08 10:09:39 -03:00
renovate[bot]
9718034023
chore(deps) Update Tauri JS CLI to v26 (major) (#582) 2020-05-08 10:08:34 -03:00
Lucas Fernandes Nogueira
50dcce8e24
fix(tauri.js) beforeDevCommand an beforeBuildCommand cwd as appDir (#583) 2020-05-08 10:07:45 -03:00
renovate[bot]
aa5d11612e
chore(deps) Update Rust crate serde_json to 1.0.52 (#577) 2020-05-05 10:35:32 -03:00
renovate[bot]
d2cf9c4ea2
chore(deps) Update Tauri JS CLI (#578) 2020-05-05 10:35:03 -03:00
Lucas Fernandes Nogueira
1d792d2a54
feat(tauri.js) add proxy devServer so we can inject tauri.js script, closes #212 #483 (#559) 2020-05-05 09:10:39 -03:00