Commit Graph

1944 Commits

Author SHA1 Message Date
tensor-programming
e7ef0a81ca Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2019-12-31 18:35:39 -05:00
Lucas Nogueira
7ae7c9dfc2
chore(versions) bump to 0.3.1 2019-12-31 19:24:07 -03:00
Lucas Fernandes Nogueira
ddd0e2c3eb
fix(tauri) race condition on onTauriInit and no-server mode (#257) 2019-12-31 19:21:06 -03:00
Lucas Fernandes Nogueira
e17c5f84b1
feat(tauri) read config overriden by the node CLI (#258)
* feat(tauri) read config overriden by the node CLI

* chore(tauri) use option_env macro
2019-12-31 19:20:54 -03:00
tensor-programming
ebbca5a74a Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2019-12-31 14:31:29 -05:00
Lucas Fernandes Nogueira
4416cdbb30 chore(examples) update CSP and tauri-webpack to 0.2.0 (#256)
* chore(examples) update CSP and tauri-webpack to 0.2.0

* chore(updater) update tauri-api to 0.3.0
2019-12-31 20:09:34 +01:00
Lucas Nogueira
91afd43126
chore(versions) bump tauri.js to 0.3.0 2019-12-31 15:05:18 -03:00
Lucas Nogueira
a56cee76bf
chore(versions) bump tauri and tauri-api crates to 0.3.0 2019-12-31 15:03:01 -03:00
Lucas Fernandes Nogueira
8a8fe2cca4
fix(tauri.js) default CSP with the blob modifier (#255) 2019-12-31 14:52:39 -03:00
Jacob Bolda
7ecaee38f0
chore(actions): change cache to hash on .toml (#253)
* source smoke tests to use .toml hash in cache

* prod smoke tests to use .toml hash in cache
2019-12-30 17:07:26 -06:00
nothingismagick
46360cdaec
refactor(.scripts): cleanup sh (#252)
- proper escaping
- use `!#/usr/bin/env sh` for broader compliance
2019-12-30 23:26:14 +01:00
tensor-programming
8be520161b Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2019-12-30 13:59:56 -05:00
nothingismagick
ed266b48c1 chore(templates): remove updater.rs, add build.rs (#251) 2019-12-30 08:04:12 -03:00
Noah Klayman
fbfacb5e44 fix(tauri.js): eslint errors (#250) 2019-12-30 10:27:47 +01:00
tensor-programming
423a1c979f Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2019-12-29 20:25:25 -05:00
Jacob Bolda
232af15a2e use minimal profile for installation (#247)
* use minimal profile for installation

I believe we don't need the full standard install just to run the build.

* set minimal in prod as well
2019-12-30 01:41:03 +01:00
Tensor-Programming
1b3037a519 Refactor(core) remove cargo lock (#249)
* update .gitignore

* remove cargo.lock
2019-12-29 20:41:34 -03:00
tensor-programming
fdd781ade3
remove cargo.lock 2019-12-29 18:35:20 -05:00
tensor-programming
50295300ad
update .gitignore 2019-12-29 18:34:46 -05:00
Tensor-Programming
1daa01e76c
Refactor-feat(core) Refactor the code and add proptesting to the core library (#242)
* fix updater doc test.

* add basic proptest to tauri-core

* add proptest data to gitignore

* add dummy func

* increased regex to all character types

* update vue spa listen/emit API to use Strings.

* add listeners_check_fn test

* fix mispelling.

* add on_event test

* add basic dummy test for spawn.
2019-12-29 18:13:08 -05:00
Lucas Fernandes Nogueira
7cea49a6a9
feat(tauri) whitelist event API, fix whitelist rejections (#248) 2019-12-29 20:01:54 -03:00
nothingismagick
ed946e0069
refactor(tauri.js): manually treeshake lodash (#246)
* refactor(tauri.js): manually treeshake lodash

* Update entry.ts

* Update copy-templates.ts

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2019-12-29 16:38:27 +01:00
nothingismagick
8f66a085c6
chore(deps): manual renovation (#245) 2019-12-29 14:17:59 +01:00
renovate[bot]
a671f26b5f chore(examples) Pin dependencies (#219) 2019-12-29 14:02:54 +01:00
Lucas Fernandes Nogueira
3fbb297064
fix(tauri) run setup hook after init has been eval'd (#243)
* fix(tauri) run setup hook after init has been eval'd

* fix(endpoints) merge conflict
2019-12-29 09:21:11 -03:00
Lucas Fernandes Nogueira
548ab94810
feat(tauri.js) add API endpoint proxy, closes #197 (#241)
* feat(tauri.js) add API endpoint proxy

* feat(tauri.js) always resolve/reject proxy promise

* chore(proxy) wait for onTauriInit to start direct proxy to window.tauri
2019-12-29 09:14:49 -03:00
Rajiv Shah
36aca61572 fix(tauri.js): Fix file paths in tauricon (#240) 2019-12-29 12:24:15 +01:00
Tensor-Programming
83b3fcb8c8
feat(Tauri-core) Add Quicktest to Tauri-API (#239)
* add simple bat and ps1 setup scripts

* add proptest for property testing

* add comments.

* add basic bash script (needs improvement)

* add basic quickcheck tests.

* add more comments.

* add simple is_dir test.

* add support for windows commands; remove returns

* remove print statement

* change prefixes to ch and add script

* fix prefixes.

* move qc script to .scripts folder.

* fix bash path.

* move scripts to root and add if checks.

* update bash script with more logic to check dirs.

* update bash script with more logic to check dirs.

* clean up and verify

* update gitignore for .vscode folder outside root

* add docs

* update docs

* format scripts
2019-12-29 00:45:13 -05:00
Lucas Nogueira
8b17300162
chore(examples) delete Tauri-Phaser git submodule 2019-12-28 17:01:35 -03:00
Lucas Fernandes Nogueira
3ce95d2760
feat(tauri.js) add tauri info command (#236)
* feat(tauri.js) add `tauri info` command

* fix(bug-report): add command information
- thanks @nklayman for the reminder

* fix(tauri-info): add cargo version

* feat(tauri.js) add cargo.toml and tauri.conf.json info

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-27 20:37:21 -03:00
Lucas Fernandes Nogueira
7845ec0e7a
refactor(tauri.js) keep folder structure on /dist (#235) 2019-12-27 20:34:24 -03:00
Rajiv Shah
4bce0df301 fix(tauri.js): Various fixes to tauricon.ts (#237)
* fix(tauri.js): Various fixes to tauricon.ts

- Remove unnecessary awaits
- Fix png2icons import
- Avoid swallowing errors in icon generation

* fix(test): test for correct error message

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-27 12:06:54 +01:00
Lucas Nogueira
5b15552ed5
chore(tauri) better error message for asset_response 2019-12-26 19:47:01 -03:00
Tensor-Programming
b92eee019c
[Refactor] Remove unwraps from tauri (#234)
* remove unwraps from tauri code

* refactor bundler and remove unwraps

* remove errors

* cleaup and add distinctions

* reword panic
2019-12-26 16:09:04 -05:00
Lucas Fernandes Nogueira
a4e229ca10 feat(tauri) use config as JSON (#214)
* feat(tauri.js): move to typescript

* fix(tauri.js): properly export api as commonjs

* feat(tauri.js): convert tauricon to typescript

* fix(tauri.js/tauricon): type error

* chore(tauri.js/package): update yarn.lock

* chore(tauri.js/package): add build/pretest scripts

* refactor(tauri.js/template): remove duplicate types

* feat(tauri.js): use tauri.conf.json instead of .js

* feat(tauri) read config using tauri.conf.json

* fix(tauri) read devPath index.html from distDir

* chore(examples) move to conf.json

* chore(tauri.js) remove todo

* fix(ci) TAURI_DIR env variable

* fix(examples) move svelte-app config to tauri.conf.json

* fix(examples): line endings tauri.conf.json

* addition to previous commit

* fix(test): EOF in tauri.conf.json

Co-authored-by: Noah Klayman <noahklayman@gmail.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-26 15:24:36 +01:00
Rajiv Shah
8489a9a520 fix(examples): Ensure examples use tauri from source instead of crates.io (#232) 2019-12-26 11:35:24 +01:00
Rajiv Shah
65f1bf96ef fix(bundler): Return nonzero exit code when errors occur (#233)
* fix(bundler): Return nonzero exit code when errors occur

* fix(bundler): Always exit with exit code 1 when calling print_error
2019-12-26 11:32:48 +01:00
BenoitRanque
f800daaf44 Fix: #228 invalid JSON (#229) 2019-12-25 18:24:24 +01:00
Jacob Bolda
ea26b0a1ec
chore(examples) add Svelte renovate group (#227) 2019-12-25 09:21:04 -06:00
Rajiv Shah
5cc031830f chore(tauri): Update Cargo.lock (#216) 2019-12-25 01:02:07 +01:00
Rajiv Shah
612d616112 feat(examples): Add Svelte app example (#218)
* feat(examples): Add Svelte app example

Created with `npx degit sveltejs/template svelte-app`

* feat(examples): Copy scripts to Svelte example

* chore(examples): Remove unnecessary dependency

* feature(examples): Run tauri init and copy tauri config

* feature(examples): Copy Readme from examples

* fix(examples): Move svelte to dependencies

* Revert "chore(examples): Remove unnecessary dependency"

This reverts commit 2465e753b2.

* chore(examples): Update Svelte example's Tauri config

* chore(examples): Enable Svelte app smoke tests
2019-12-25 00:13:21 +01:00
Rajiv Shah
afb6386204 chore(tauri.js): Add prepare script (#217) 2019-12-24 18:32:44 -03:00
BenoitRanque
75f032ae52 Make yarn build consistent across examples (#215)
Document changes made in #200
2019-12-24 15:23:16 -06:00
Tensor-Programming
078ae1dfda
[Feature/Bug(#133)] add icon to windows Exe and MSI (#211)
* add icon to msi

* remove print

* make attohttpc windows only

* make attohttpc error windows only

* copy icon files to resource folder in output.

* add ico to template

* remove print

* remove duplicate

* add uninstaller to wix

* fix typos

* fix program flow

* add windows icon logic to template.

* update serde, phf and change includedir to tauri

* update next.js with new tauri setup

* update monolith

* remove unnessecary deps

* remove updater.rs and deps

* update react examples

* update vue example

* Revert "update vue example"

This reverts commit a5d58f55b4.

* Revert "update react examples"

This reverts commit cce215f97e.

* Revert "remove updater.rs and deps"

This reverts commit 8d422294f4.

* Revert "remove unnessecary deps"

This reverts commit 30e023f383.

* Revert "update monolith"

This reverts commit fac097f51a.

* Revert "update next.js with new tauri setup"

This reverts commit caf5f198ea.

* revert smoke-test changes

* revert smoke-test changes

* fix conflicts

* fix conflicts
2019-12-24 14:33:41 -05:00
Lucas Fernandes Gonçalves Nogueira
7dc2036095 test(tauri.js) add tests for --version option 2019-12-24 09:54:04 -03:00
Lucas Fernandes Gonçalves Nogueira
c2b3ac4b05 feat(tauri.js) add --version option 2019-12-24 09:47:15 -03:00
Noah Klayman
fab788b4bd [needs review] Convert tauri.js to typescript (#203)
* feat(tauri.js): move to typescript

* fix(tauri.js): properly export api as commonjs

* feat(tauri.js): convert tauricon to typescript

* fix(tauri.js/tauricon): type error

* chore(tauri.js/package): update yarn.lock

* chore(tauri.js/package): add build/pretest scripts

* refactor(tauri.js/template): remove duplicate types

* chore(tauri.js) lint-fix

* fix(tauri.js) build tauricon.ts

* chore(tauri.js) remove unused code

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2019-12-24 09:40:03 -03:00
Tensor-Programming
95808a5d53
add cfg_attr for windows cmd closed on prod (#210) 2019-12-23 14:52:17 -05:00
nothingismagick
92b71cc173 Update Cargo.toml to allow tests to build (#208) 2019-12-23 16:30:21 -03:00
Lucas Nogueira
d04b15fc90 fix(tauri) salt race condition 2019-12-22 23:31:38 -03:00