Commit Graph

36 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
bf49604c4c
chore(tauri) version updates (#659) 2020-06-11 21:18:38 +02:00
renovate[bot]
688f4a1e45
chore(deps) Update Rust crate attohttpc to 0.14.0 (#649)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 12:14:28 -03:00
renovate[bot]
bfbd12cac1
chore(deps) Update Tauri API (#484)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-30 09:02:13 -03:00
Wu Yu Wei
c23675b5e5
refactor(tauri) update error handling crate to anyhow+thiserror, close #613 (#621)
* Replace error-chain with thiserror in util crate

* Replace errorchain with anyhow/thiserror in api

* Replace with anyhow/thiserror in updater

* Replace with anyhow/thiserror in tauri

* Fix error handling on windows
2020-05-29 19:22:04 -04:00
nothingismagick
6258d1137e
chore(api): "version updates" (#614)
bump api version
2020-05-23 17:21:42 +02:00
Lucas Nogueira
3c0dfe711b
chore(authors) update email 2020-05-21 19:25:03 -03:00
Lucas Fernandes Nogueira
4b54cc1564
feat(tauri) add httpRequest API (#589) 2020-05-11 17:03:58 -03:00
Lucas Fernandes Nogueira
ff854a4f88
chore(tauri) bump versions to 0.5.0 (#532) version updates
* chore(tauri) bump versions to 0.5.0

* fix(tauri) correct dependency versions
version updates
2020-03-28 12:49:37 -03:00
Tensor-Programming
4d4bfa803a
update tauri, api, bundler and utils. (#528) 2020-03-27 22:21:05 -04:00
Lucas Fernandes Nogueira
b2e28f39fe
feat(tauri) add path API (#513)
* feat(tauri) extend file system API

* chore(deps) pin web-view deps

* feat(tauri) add path API

* feat(tauri.js) add Dir definition and usage

* fix(tauri) correctly determine app_name

* feat(example) add Dir select to the communication example

* chore(tauri) wrap comment line

* fix(tauri) build works
2020-03-17 07:42:59 -03:00
Lucas Fernandes Nogueira
8ac066700a
feat(tauri) extend file system API (#512)
* feat(tauri) extend file system API

* chore(deps) pin web-view deps
2020-03-16 17:04:15 -03:00
Lucas Fernandes Nogueira
37e8e79a04
feat(tauri) add dialog API (#514)
* feat(tauri) add dialog API

* feat(example) add dialog API to the communication example

* fix(dialog) transform backslash so it works on windows
2020-03-15 18:09:44 -03:00
renovate[bot]
5b46bacd46
chore(deps) Update Rust crate serde_json to 1.0.48 (#507)
* chore(deps) Update Rust crate serde_json to 1.0.48

* fix(tauri) resolve clippy warning

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-03-12 13:04:52 -03:00
Lucas Fernandes Nogueira
b95319bd74
feat(tauri.js) improve api module with type defs for each API fu… (#495)
* feat(tauri.js) improve api module with type defs for each API function

* chore(tauri) move endpoint specific modules

* refactor(tauri) move tcp mod to tauri_api

* feat(tauri) improve readDir signature, API features as kebab-case names

* fix(tauri) make event's payload optional

* feat(tauri) if invoke_handler fails, console.error the error message

* chore(api) improve JSDoc

* chore(tauri.js) update template

* chore(tauri) delete empty mod

* fix(tauri) tests and example with latest API signature
2020-03-09 18:44:19 -03:00
Tensor-Programming
6f12a34e6f
Refact(All): (WIP) Cleanup workflow and add Windows Features. (#468)
* use var_os instead of var

* combine both var calls

* Add logic to remove cmd windows.

* fix build.rs

* modify for clippy.

* expose handle and refactor commands.

* add author name

* revert command changes

* little refactor

* add loopback to wix template

* fix custom command
2020-02-29 19:07:26 -05:00
Tensor-Programming
9620eebab6
[version updates] Core create release (#466)
* update tauri module versions

* update bundler

* update node cli

* add minor fix.
2020-02-26 19:17:46 -05:00
Tensor-Programming
1606039554
Revert "[update versions] minor fix (#464)" (#465)
This reverts commit 966390d772.
2020-02-26 19:15:30 -05:00
Tensor-Programming
966390d772
[update versions] minor fix (#464)
* update tauri module versions

* update bundler

* update node cli

* add minor fix.
2020-02-26 19:12:16 -05:00
Tensor-Programming
90497751a4
[version updates] Merge Windows Related Changes (#462)
* update tauri module versions

* update bundler

* update node cli
2020-02-26 18:42:44 -05:00
Tensor-Programming
7b8edd29ea
Fix(All) - Add Edge support to GUIJS (#452)
* fix edge api to use window.external.invoke

* remove tauri-examples

* remove if statement

* add more cases.

* add batch_to_exe script
2020-02-23 18:15:57 -05:00
nothingismagick
43c2f710e4
chore(updates) version updates (#442) 2020-02-21 15:40:42 +01:00
nothingismagick
a84656e037
chore(release): version updates (#404)
* chore(release): version updates

* updater too

* update template
2020-02-09 12:42:23 -03:00
Ty Tracey
b114fb8c38 Adding Clippy/Rust Fmt to the pr workflow #333 (#367)
* Added clippy configuration file, added github action to run clippy, and changed line endings for rust fmt

* fix(cippliy-check-action) install webkit2gtk

* fix(clippy_check) add env variables

* refactor(tauri) fix clippy checks

* chore(tauri) use tauri_includedir_codegen v0.5.2

* fix(tests) dir tests

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 14:18:09 -03:00
Tensor-Programming
cffda68b42 Refactor(All): Update and Format Deps for 2018 (#397)
* remove extern crate and macro_use

* fix test file

* update CLI

* organize imports

* organize core

* update api

* update updater

* update create-react-app

* update gatsby example

* update next-js example

* update svelte example

* update vanilla-js example

* update nuxt example

* update quasar example

* update vue example

* update templates.

* update build.rs

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 13:08:54 -03:00
Lucas Fernandes Nogueira
b7a6bc0f42 feat(bundler&tauri) add wix resource bundling and utils to get the path to the platform resource dir (#352)
* feat(bundler) copy resources to the out dir

* feat(utils) add resource_dir fn

* feat(examples) spawn node with resource JS instead of pkg bin

* feat(bundler) WIP on windows resource bundler

* feat(utils) add windows, macos resource_dir logic

* fix(bundler) resource folder iteration on wix

* chore(bundler) add comments to generate_resource_data fn

* chore(bundler) add comments to the get_wix_data fn

* change minor items.

* run `cargo fmt`

* run `rust fmt` and `clippy` and add fmt.toml

* remove unnessecary rustfmt.toml files.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-01-26 19:57:09 -05:00
Ty Tracey
fcbc261dff Changing web link references from tauri-apps.org to tauri.studio and the wiki, when appropriate (#349) 2020-01-23 11:16:59 +01:00
Tensor-Programming
91bf26c336
Refactor(Updater) Modernize Updater Crate and add Utils Crate (#335)
* update updater

* basic utils refactor.

* fix platform file.

* add errors.

* fix cargo.toml

* Rename cargo.toml to Cargo.toml

* remove warning.
2020-01-17 19:33:17 -05:00
Tensor-Programming
b9f3d9a92c
refactor(Bundler, API) clean up external binary logic (#332)
* refactor external binary logic

* update regex and error.

* refactor bundle_settings external bin

* fix bug

* cleanup api

* cleanup windows deps.

* add windows macro
2020-01-16 22:19:21 -05:00
Lucas Fernandes Nogueira
6225e5d30a feat(bundler) add option to bundle external binaries (#312)
* feat(tauri-cli) add option to bundle external binaries

* feat(tauri-cli) bundle external binaries for OSX

* fix(cargo.toml) external bin path

* feat(bundler) bundle external binaries on MSI/WiX

* feat(tauri) append target triple to external binary name

* call cargo fmt.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2020-01-15 19:39:34 +01:00
renovate[bot]
a0b59c8df6 chore(deps) Update Tauri API (#314)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 00:46:16 -05:00
Tensor-Programming
667d5905f6
Refact(api) Add error chain to Tauri_api. (#311)
* add error chain

* remove verson error

* update file error

* update dir

* fix file_system

* add command error type.

* fix minor inconsistency

* add command tests

* add other tests for cmd.

* add more testing for cmd

* add documentation.

* add walk_dir tests and documentation.

* add list_dir_contents test

* test for with_temp_dir

* add read_string tests and file error type.

* add test_binary and update tests.

* add check_read_binary_fail test

* add os codes for unix based systems.

* add core-tauri-test gh action

* update test-on-pr

* fix test to test all libs.

* fix unix/windows errors
2020-01-14 22:03:59 -05:00
renovate[bot]
6c8f310763 chore(deps): update rust crate quickcheck (#262)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 14:59:22 -05:00
Lucas Nogueira
a56cee76bf
chore(versions) bump tauri and tauri-api crates to 0.3.0 2019-12-31 15:03:01 -03: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
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
Tensor-Programming
e288180104
[WIP] Refactor(Crates) Tauri into individual Crates (#192)
* split tauri into 3 crates

* fix macros

* change builder into lib

* cleanup package paths

* add features back to lib

* make build function public

* add build-deps

* rename and fix.

* correct package name

* move crates to root and refactor names

* fix github action

* move fixture to tauri-build

* remove slash

* add .vscode features

* fix updater

* fix updater mistake

* fix(tauri) refactor buiilds

* fix seperation

* change get back to get

* fix cfg and remove dead code warnings.

* roll #160 into this pr

* add credit

* fix eof

* chore(tauri) move assets to mod, loadAssets cfg outside its definition

* chore(tauri) remove unused deps

* update updater and cfg

* fix(tauri) embedded-server with dead variable

* add review refactors and remove cli form workgroup

* chore(tauri) rename tauri to tauri-api and tauri-bundle to tauri

* fix workspace and updater

* rename update to updater
2019-12-22 14:04:45 -05:00