Commit graph

  • 43e4e17e84
    Fix test Félix Saparelli 2022-06-29 01:48:59 +12:00
  • 72148ec572
    Update deps Félix Saparelli 2022-06-28 03:11:53 +12:00
  • 66a14d0c7c
    Polish up new secure options Félix Saparelli 2022-06-28 03:09:04 +12:00
  • 4bc16863e0
    Format -> formats Félix Saparelli 2022-06-28 02:40:16 +12:00
  • 401fa8772c
    Merge pull request #194 from NobodyXu/fix/blocking Félix Saparelli 2022-06-28 03:14:27 +12:00
  • 9d70e33337
    Merge pull request #193 from NobodyXu/fix/macos-target-detection Félix Saparelli 2022-06-28 03:10:18 +12:00
  • 9a63a801ee
    Bump miette from 4.7.1 to 5.1.0 dependabot[bot] 2022-06-27 02:01:34 +00:00
  • 4aff0ffa1e
    Bump strum_macros from 0.24.0 to 0.24.2 dependabot[bot] 2022-06-27 02:01:27 +00:00
  • 14c606d72b
    Simplify BinFile::link_dest Jiahao XU 2022-06-23 23:27:16 +10:00
  • 43238e39a3
    Use atomic_symlink_file in install_link Jiahao XU 2022-06-23 23:26:46 +10:00
  • 77ce57815c
    Impl new fn helpers::symlink_file Jiahao XU 2022-06-23 23:26:30 +10:00
  • e9c86dfad4
    Rm set_permissions in BinFile::install_bin Jiahao XU 2022-06-23 22:51:50 +10:00
  • d4105585db
    Fix atomic_install: Copy permissions of src Jiahao XU 2022-06-23 22:50:30 +10:00
  • 97bfeb7bd8
    Use atomic_install in install_bin Jiahao XU 2022-06-23 21:27:30 +10:00
  • 7616546a61
    Impl new fn atomic_install for atommically installing a file Jiahao XU 2022-06-23 21:27:15 +10:00
  • e18ac6e117
    Run Manifest parsing in block_in_place mode Jiahao XU 2022-06-23 19:55:09 +10:00
  • 60caa9ee17
    Run load_manifest_path in block_in_place mode Jiahao XU 2022-06-23 19:50:25 +10:00
  • a35db557ea
    Run "Install binaries" step in block_in_place mode Jiahao XU 2022-06-23 19:48:03 +10:00
  • cc8144e06d
    Merge pull request #192 from NobodyXu/optimize/parallelize-target-detection Félix Saparelli 2022-06-23 21:41:15 +12:00
  • 536f3b2c6f
    Fix macos detection: Use super::TARGET as fallback Jiahao XU 2022-06-23 19:39:36 +10:00
  • ee4cbaa3d5
    Merge pull request #191 from NobodyXu/feature/target-detection-windows Félix Saparelli 2022-06-23 21:34:37 +12:00
  • f25f6d2ce7
    Merge pull request #189 from NobodyXu/feature/https-only-mode Félix Saparelli 2022-06-23 21:23:08 +12:00
  • 68d111f946
    Use get_desired_targets in entry Jiahao XU 2022-06-23 14:47:59 +10:00
  • be4b3ead97
    Add new fn get_desired_targets & newtype DesiredTargets Jiahao XU 2022-06-23 14:46:53 +10:00
  • 8bc0f11569
    Detect *-pc-windows-gnu targets in targets Jiahao XU 2022-06-23 13:59:53 +10:00
  • c36f1fe08a
    Add dep guess_host_triple v0.1.3 for windows Jiahao XU 2022-06-23 13:43:13 +10:00
  • 691bc18dd0
    Set min TLS ver to 1.2 for https only mode Jiahao XU 2022-06-23 13:03:50 +10:00
  • 9b62ebdae1
    Fix https only mode: It should not be http2 only Jiahao XU 2022-06-22 19:28:34 +10:00
  • b03ec6fb93
    Fix run_tests_unix.sh: Add --no-confirm Jiahao XU 2022-06-22 19:27:35 +10:00
  • 423fb0e373
    Test https-only-mode & min-tls-ver in run_tests_unix.sh Jiahao XU 2022-06-22 19:16:39 +10:00
  • 087d544331
    Initialize REQWESTGLOBALCONFIG in main::entry Jiahao XU 2022-06-22 19:14:32 +10:00
  • a3ab3ec502
    Add new static var REQWESTGLOBALCONFIG Jiahao XU 2022-06-22 19:12:32 +10:00
  • 0423f54b53
    Add new dep once_cell v1.12.0 Jiahao XU 2022-06-22 19:03:32 +10:00
  • 64f468acd6
    Add new opt https_only_mode & min_tls_version Jiahao XU 2022-06-22 19:01:40 +10:00
  • eb7d460a9a
    Add new enum TLSVersion which impl ArgEnum Jiahao XU 2022-06-22 19:00:02 +10:00
  • 8e92db3dc6
    Refactor: Extract new_reqwest_client(_builder) Jiahao XU 2022-06-22 16:01:05 +10:00
  • a747edffd5
    Merge pull request #183 from ryankurte/dependabot/cargo/semver-1.0.10 Félix Saparelli 2022-06-23 10:36:13 +12:00
  • a90d1328ea
    Merge pull request #190 from ryankurte/dependabot/cargo/clap-3.2.6 Félix Saparelli 2022-06-23 07:11:56 +12:00
  • ba114fceae
    Bump semver from 1.0.9 to 1.0.10 dependabot[bot] 2022-06-22 18:46:13 +00:00
  • d8ad005800
    Bump clap from 3.1.18 to 3.2.6 dependabot[bot] 2022-06-22 18:42:49 +00:00
  • 43511690f4
    Add tbz2 to readme Félix Saparelli 2022-06-23 06:37:43 +12:00
  • 0998439312
    Merge pull request #181 from qryxip/add-pkgfmt-tbz2 Félix Saparelli 2022-06-23 06:37:02 +12:00
  • ae9e0bdd77
    Merge branch 'main' into add-pkgfmt-tbz2 Félix Saparelli 2022-06-23 06:36:43 +12:00
  • 7baadebba3
    Merge pull request #182 from ryankurte/dependabot/cargo/strum-0.24.1 Félix Saparelli 2022-06-23 06:35:03 +12:00
  • c042ccfaa5
    Merge pull request #187 from ryankurte/dependabot/cargo/reqwest-0.11.11 Félix Saparelli 2022-06-23 06:20:21 +12:00
  • ad091f7976
    Merge pull request #188 from NobodyXu/remove-unused-dep Félix Saparelli 2022-06-23 06:15:46 +12:00
  • 27c0a379d4
    Enable bzip2/static Ryo Yamashita 2022-06-13 00:30:29 +09:00
  • 1b9f8c0ffc
    Add PkgFmt::Tbz2 Ryo Yamashita 2022-06-12 23:37:19 +09:00
  • 127d7045d5
    Rm unused dep cargo_metadata Jiahao XU 2022-06-22 15:12:01 +10:00
  • 3b5ea35182
    Merge pull request #180 from NobodyXu/refactor-and-optimize/AsyncExtracter Félix Saparelli 2022-06-22 15:25:39 +12:00
  • 2f38925ee4
    Refactor From<io::Error> for BinstallError Jiahao XU 2022-06-21 14:10:27 +10:00
  • c5a2a89361
    Rm the duplicate debug! in main.rs:214 Jiahao XU 2022-06-21 13:52:27 +10:00
  • 74a6e137be
    Refactor: Mv debug! into create_request Jiahao XU 2022-06-21 13:47:00 +10:00
  • ad41756daa
    Rename fmt.rs to format.rs Jiahao XU 2022-06-21 13:45:56 +10:00
  • 23bad39ba8
    Refactor:Mv mod visitor vfs under crates_io Jiahao XU 2022-06-21 13:44:12 +10:00
  • b6f15f2e5e
    Refactor: Extract fetch_crate_cratesio out into mod Jiahao XU 2022-06-21 13:42:39 +10:00
  • c916814e7e
    Refactor: Extract find_version into mod Jiahao XU 2022-06-21 13:40:36 +10:00
  • 5d79af545b
    Add doc for Vfs Jiahao XU 2022-06-21 13:38:24 +10:00
  • 1c9ec8d25c
    Bump reqwest from 0.11.10 to 0.11.11 dependabot[bot] 2022-06-20 01:25:13 +00:00
  • 19cc39be9c
    Bump clap from 3.1.18 to 3.2.5 dependabot[bot] 2022-06-20 01:25:02 +00:00
  • f955abd2d5
    Optimize fn log using Arguments::as_str Jiahao XU 2022-06-19 23:53:01 +10:00
  • d79f30e897
    Treat failure to read input as UserAbort Jiahao XU 2022-06-19 18:41:48 +10:00
  • 5b0a97f380
    Fix UIThread stopping runtime from shutdown Jiahao XU 2022-06-19 02:07:43 +10:00
  • d4eb56d017
    Do not lock stderr in UIThreadInner Jiahao XU 2022-06-19 01:46:13 +10:00
  • f5514c834b
    Fix UIThreadLogger: Add newline for each logging Jiahao XU 2022-06-19 01:40:06 +10:00
  • b283908bd5
    Enable feature std of dep log Jiahao XU 2022-06-19 01:39:10 +10:00
  • 9bea1619b3
    Rm dep simplelog Jiahao XU 2022-06-19 01:37:33 +10:00
  • 9e232a4051
    Update main::entry to use UIThread's logger Jiahao XU 2022-06-19 01:37:07 +10:00
  • 72cf83bcbc
    Init UIThreadLogger in UIThread::new Jiahao XU 2022-06-19 01:36:50 +10:00
  • 584b61144e
    Fix clippy suggestion in UIThreadInner::new Jiahao XU 2022-06-19 01:31:58 +10:00
  • d0129b3bef
    Print Error & Warn msg to stderr in UIThreadLogger Jiahao XU 2022-06-19 01:30:57 +10:00
  • dfea96821f
    Update UIThreadLogger to use std::sync::mpsc Jiahao XU 2022-06-19 01:28:16 +10:00
  • af6a307a13
    Use std::sync::mpsc for request_tx in UIThreadInner Jiahao XU 2022-06-19 01:27:33 +10:00
  • 670bfcc1bc
    Impl new type UIThreadLogger Jiahao XU 2022-06-19 01:20:46 +10:00
  • b541cdecff
    Add derive(Debug) for UIRequest Jiahao XU 2022-06-19 01:00:24 +10:00
  • 417a10ca5d
    Always create UIThreadInner in UIThread Jiahao XU 2022-06-19 00:46:46 +10:00
  • ac492e6d8b
    Add stdout/stderr printing support to UIThread Jiahao XU 2022-06-19 00:45:31 +10:00
  • 784a24577b
    Refactor: Rm extract_impl Jiahao XU 2022-06-18 18:37:50 +10:00
  • db22d7d041
    Fix codestyle in async_extracter Jiahao XU 2022-06-18 18:35:01 +10:00
  • 53bf76104b
    Revert refactor: Put fetch_crate_cratesio back to drivers Jiahao XU 2022-06-18 18:27:08 +10:00
  • b14b71135e
    Revert refactor: Put find_version back to drivers Jiahao XU 2022-06-18 18:25:50 +10:00
  • a5879e3d65
    Rm unnecessary to_owned call in extract_* Jiahao XU 2022-06-18 18:24:01 +10:00
  • 9de8a4841f
    Update doc of mod async_extracter Jiahao XU 2022-06-18 18:12:48 +10:00
  • b152358175
    Rm unused trait bound in extract_impl Jiahao XU 2022-06-18 18:12:13 +10:00
  • 621a641529
    Rm unused items in mod helpers Jiahao XU 2022-06-18 18:10:22 +10:00
  • c15d99c6f0
    Run downloader & extracter on the same thread Jiahao XU 2022-06-18 18:07:46 +10:00
  • aba1ba7b6d
    Manually impl From<io::Error> for BinstallError Jiahao XU 2022-06-18 18:02:42 +10:00
  • 1161a60968
    Simplify create_tar_decoder: Ret io::Result Jiahao XU 2022-06-18 17:56:17 +10:00
  • 0480e99460
    Impl newtype StreamReadable Jiahao XU 2022-06-18 17:29:50 +10:00
  • 39ab334da5
    Add a simple optimization to normalize_path Jiahao XU 2022-06-15 17:52:49 +10:00
  • 30b9a78520
    Optimize normalize_path: Avoid copy if possible Jiahao XU 2022-06-15 17:45:50 +10:00
  • 282805c3ac
    Add reference to the src of path_ext Jiahao XU 2022-06-15 17:23:00 +10:00
  • 9eb1128f9f
    Rm unused DummyVisitor in extract_tar_based_stream Jiahao XU 2022-06-13 19:32:55 +10:00
  • 1c1945b88c
    Bump strum_macros from 0.24.0 to 0.24.1 dependabot[bot] 2022-06-13 01:30:03 +00:00
  • 6578b67225
    Bump strum from 0.24.0 to 0.24.1 dependabot[bot] 2022-06-13 01:29:47 +00:00
  • 2091345ce0
    Refactor: Mv TarEntriesVisitor to mod async_extracter Jiahao XU 2022-06-13 01:14:22 +10:00
  • 467f7f6834
    Refactor: Call create_tar_decoder directly Jiahao XU 2022-06-13 01:12:21 +10:00
  • 9584c8d35e
    Refactor: Extract create_tar_decoder Jiahao XU 2022-06-13 01:06:12 +10:00
  • 8ef1e56fcc
    Take Receiver by value in ReadableRx::new Jiahao XU 2022-06-13 01:05:07 +10:00
  • b4e61161f2
    Derive strum_macros::Display on TarBasedFmt Jiahao XU 2022-06-13 00:53:08 +10:00