Skip to content

Commit

Permalink
www/hackernews-tui: update to 0.8.0
Browse files Browse the repository at this point in the history
Breaking changes
-remove allow_unicode config option. Rendering unicode characters by default.
-remove scroll_offset config option. Use a constant value 3.
-change the default value for url_open_command from xdg-open to open
-remove client.lazy_loading_comments config options
-remove reload_comment_view command

Changes
-implement a smarter comment loading function (in #47)
-rewrite search view module in view/search_view.rs(#48)
-add file logger (in #47)
-simplify key parser (in #49)
-and many other improvements and refactoring
  • Loading branch information
0323pin committed Dec 13, 2021
1 parent 3c114f4 commit d5d3217
Show file tree
Hide file tree
Showing 4 changed files with 230 additions and 206 deletions.
6 changes: 3 additions & 3 deletions www/hackernews-tui/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.13 2021/08/05 08:48:28 pin Exp $
# $NetBSD: Makefile,v 1.14 2021/12/13 14:12:03 pin Exp $

DISTNAME= hackernews-TUI-0.7.3
DISTNAME= hackernews-TUI-0.8.0
PKGNAME= ${DISTNAME:tl}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=aome510/}
Expand All @@ -20,7 +20,7 @@ INSTALLATION_DIRS= bin share/examples/hackernews-tui
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/hackernews_tui \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/hackernews_tui/src/hn-tui-default.toml \
${INSTALL_DATA} ${WRKSRC}/examples/hn-tui.toml \
${DESTDIR}${PREFIX}/share/examples/hackernews-tui

.include "../../lang/rust/cargo.mk"
Expand Down
4 changes: 2 additions & 2 deletions www/hackernews-tui/PLIST
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@comment $NetBSD: PLIST,v 1.2 2021/06/12 17:14:24 pin Exp $
@comment $NetBSD: PLIST,v 1.3 2021/12/13 14:12:03 pin Exp $
bin/hackernews_tui
share/examples/hackernews-tui/hn-tui-default.toml
share/examples/hackernews-tui/hn-tui.toml
106 changes: 56 additions & 50 deletions www/hackernews-tui/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# $NetBSD: cargo-depends.mk,v 1.7 2021/07/11 05:22:25 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.8 2021/12/13 14:12:03 pin Exp $

CARGO_CRATE_DEPENDS+= ahash-0.6.3
CARGO_CRATE_DEPENDS+= aho-corasick-0.7.18
CARGO_CRATE_DEPENDS+= ansi_term-0.11.0
CARGO_CRATE_DEPENDS+= anyhow-1.0.42
CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
CARGO_CRATE_DEPENDS+= anyhow-1.0.51
CARGO_CRATE_DEPENDS+= array-macro-1.0.5
CARGO_CRATE_DEPENDS+= atty-0.2.14
CARGO_CRATE_DEPENDS+= autocfg-1.0.1
CARGO_CRATE_DEPENDS+= base64-0.13.0
CARGO_CRATE_DEPENDS+= bitflags-1.2.1
CARGO_CRATE_DEPENDS+= bumpalo-3.7.0
CARGO_CRATE_DEPENDS+= cc-1.0.68
CARGO_CRATE_DEPENDS+= bitflags-1.3.2
CARGO_CRATE_DEPENDS+= bumpalo-3.8.0
CARGO_CRATE_DEPENDS+= cc-1.0.72
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= chrono-0.4.19
CARGO_CRATE_DEPENDS+= chunked_transfer-1.4.0
CARGO_CRATE_DEPENDS+= clap-2.33.3
CARGO_CRATE_DEPENDS+= clap-2.34.0
CARGO_CRATE_DEPENDS+= crossbeam-0.8.1
CARGO_CRATE_DEPENDS+= crossbeam-channel-0.5.1
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.0
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.1
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.9.5
CARGO_CRATE_DEPENDS+= crossbeam-queue-0.3.2
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.5
Expand All @@ -37,31 +37,30 @@ CARGO_CRATE_DEPENDS+= doc-comment-0.3.3
CARGO_CRATE_DEPENDS+= either-1.6.1
CARGO_CRATE_DEPENDS+= enum-map-0.6.4
CARGO_CRATE_DEPENDS+= enum-map-derive-0.4.6
CARGO_CRATE_DEPENDS+= env_logger-0.8.4
CARGO_CRATE_DEPENDS+= fnv-1.0.7
CARGO_CRATE_DEPENDS+= form_urlencoded-1.0.1
CARGO_CRATE_DEPENDS+= getrandom-0.2.3
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.18
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.19
CARGO_CRATE_DEPENDS+= htmlescape-0.3.1
CARGO_CRATE_DEPENDS+= humantime-2.1.0
CARGO_CRATE_DEPENDS+= ident_case-1.0.1
CARGO_CRATE_DEPENDS+= idna-0.2.3
CARGO_CRATE_DEPENDS+= instant-0.1.9
CARGO_CRATE_DEPENDS+= instant-0.1.12
CARGO_CRATE_DEPENDS+= interpolation-0.2.0
CARGO_CRATE_DEPENDS+= itoa-0.4.7
CARGO_CRATE_DEPENDS+= js-sys-0.3.51
CARGO_CRATE_DEPENDS+= itoa-0.4.8
CARGO_CRATE_DEPENDS+= js-sys-0.3.55
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= libc-0.2.97
CARGO_CRATE_DEPENDS+= lock_api-0.4.4
CARGO_CRATE_DEPENDS+= libc-0.2.111
CARGO_CRATE_DEPENDS+= lock_api-0.4.5
CARGO_CRATE_DEPENDS+= log-0.4.14
CARGO_CRATE_DEPENDS+= matches-0.1.8
CARGO_CRATE_DEPENDS+= memchr-2.4.0
CARGO_CRATE_DEPENDS+= memoffset-0.6.4
CARGO_CRATE_DEPENDS+= mio-0.7.13
CARGO_CRATE_DEPENDS+= matchers-0.1.0
CARGO_CRATE_DEPENDS+= matches-0.1.9
CARGO_CRATE_DEPENDS+= memchr-2.4.1
CARGO_CRATE_DEPENDS+= memoffset-0.6.5
CARGO_CRATE_DEPENDS+= mio-0.7.14
CARGO_CRATE_DEPENDS+= miow-0.3.7
CARGO_CRATE_DEPENDS+= ntapi-0.3.6
CARGO_CRATE_DEPENDS+= num-0.3.1
CARGO_CRATE_DEPENDS+= num-bigint-0.3.2
CARGO_CRATE_DEPENDS+= num-bigint-0.3.3
CARGO_CRATE_DEPENDS+= num-complex-0.3.1
CARGO_CRATE_DEPENDS+= num-integer-0.1.44
CARGO_CRATE_DEPENDS+= num-iter-0.1.42
Expand All @@ -70,65 +69,72 @@ CARGO_CRATE_DEPENDS+= num-traits-0.2.14
CARGO_CRATE_DEPENDS+= num_cpus-1.13.0
CARGO_CRATE_DEPENDS+= once_cell-1.8.0
CARGO_CRATE_DEPENDS+= owning_ref-0.4.1
CARGO_CRATE_DEPENDS+= parking_lot-0.11.1
CARGO_CRATE_DEPENDS+= parking_lot_core-0.8.3
CARGO_CRATE_DEPENDS+= parking_lot-0.11.2
CARGO_CRATE_DEPENDS+= parking_lot_core-0.8.5
CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.27
CARGO_CRATE_DEPENDS+= quote-1.0.9
CARGO_CRATE_DEPENDS+= pin-project-lite-0.2.7
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.33
CARGO_CRATE_DEPENDS+= quote-1.0.10
CARGO_CRATE_DEPENDS+= rayon-1.5.1
CARGO_CRATE_DEPENDS+= rayon-core-1.9.1
CARGO_CRATE_DEPENDS+= redox_syscall-0.2.9
CARGO_CRATE_DEPENDS+= redox_syscall-0.2.10
CARGO_CRATE_DEPENDS+= redox_users-0.4.0
CARGO_CRATE_DEPENDS+= regex-1.5.4
CARGO_CRATE_DEPENDS+= regex-automata-0.1.10
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.25
CARGO_CRATE_DEPENDS+= ring-0.16.20
CARGO_CRATE_DEPENDS+= rustls-0.19.1
CARGO_CRATE_DEPENDS+= ryu-1.0.5
CARGO_CRATE_DEPENDS+= rustls-0.20.2
CARGO_CRATE_DEPENDS+= ryu-1.0.9
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= sct-0.6.1
CARGO_CRATE_DEPENDS+= sct-0.7.0
CARGO_CRATE_DEPENDS+= send_wrapper-0.5.0
CARGO_CRATE_DEPENDS+= serde-1.0.126
CARGO_CRATE_DEPENDS+= serde_derive-1.0.126
CARGO_CRATE_DEPENDS+= serde_json-1.0.64
CARGO_CRATE_DEPENDS+= serde-1.0.131
CARGO_CRATE_DEPENDS+= serde_derive-1.0.131
CARGO_CRATE_DEPENDS+= serde_json-1.0.72
CARGO_CRATE_DEPENDS+= sharded-slab-0.1.4
CARGO_CRATE_DEPENDS+= signal-hook-0.1.17
CARGO_CRATE_DEPENDS+= signal-hook-0.3.9
CARGO_CRATE_DEPENDS+= signal-hook-0.3.12
CARGO_CRATE_DEPENDS+= signal-hook-registry-1.4.0
CARGO_CRATE_DEPENDS+= smallvec-1.6.1
CARGO_CRATE_DEPENDS+= smallvec-1.7.0
CARGO_CRATE_DEPENDS+= spin-0.5.2
CARGO_CRATE_DEPENDS+= stable_deref_trait-1.2.0
CARGO_CRATE_DEPENDS+= strsim-0.8.0
CARGO_CRATE_DEPENDS+= strsim-0.9.3
CARGO_CRATE_DEPENDS+= substring-1.4.5
CARGO_CRATE_DEPENDS+= syn-1.0.73
CARGO_CRATE_DEPENDS+= termcolor-1.1.2
CARGO_CRATE_DEPENDS+= syn-1.0.82
CARGO_CRATE_DEPENDS+= textwrap-0.11.0
CARGO_CRATE_DEPENDS+= thread_local-1.1.3
CARGO_CRATE_DEPENDS+= time-0.1.43
CARGO_CRATE_DEPENDS+= tinyvec-1.2.0
CARGO_CRATE_DEPENDS+= tinyvec-1.5.1
CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.0
CARGO_CRATE_DEPENDS+= toml-0.5.8
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.5
CARGO_CRATE_DEPENDS+= tracing-0.1.29
CARGO_CRATE_DEPENDS+= tracing-attributes-0.1.18
CARGO_CRATE_DEPENDS+= tracing-core-0.1.21
CARGO_CRATE_DEPENDS+= tracing-log-0.1.2
CARGO_CRATE_DEPENDS+= tracing-subscriber-0.3.3
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.7
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.19
CARGO_CRATE_DEPENDS+= unicode-segmentation-1.7.1
CARGO_CRATE_DEPENDS+= unicode-width-0.1.8
CARGO_CRATE_DEPENDS+= unicode-segmentation-1.8.0
CARGO_CRATE_DEPENDS+= unicode-width-0.1.9
CARGO_CRATE_DEPENDS+= unicode-xid-0.2.2
CARGO_CRATE_DEPENDS+= untrusted-0.7.1
CARGO_CRATE_DEPENDS+= ureq-2.1.1
CARGO_CRATE_DEPENDS+= ureq-2.3.1
CARGO_CRATE_DEPENDS+= url-2.2.2
CARGO_CRATE_DEPENDS+= vec_map-0.8.2
CARGO_CRATE_DEPENDS+= version_check-0.9.3
CARGO_CRATE_DEPENDS+= wasi-0.10.2+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.74
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.74
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.74
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.74
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.74
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.78
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.78
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.78
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.78
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.78
CARGO_CRATE_DEPENDS+= wasmer_enumset-1.0.1
CARGO_CRATE_DEPENDS+= wasmer_enumset_derive-0.5.0
CARGO_CRATE_DEPENDS+= web-sys-0.3.51
CARGO_CRATE_DEPENDS+= webpki-0.21.4
CARGO_CRATE_DEPENDS+= webpki-roots-0.21.1
CARGO_CRATE_DEPENDS+= web-sys-0.3.55
CARGO_CRATE_DEPENDS+= webpki-0.22.0
CARGO_CRATE_DEPENDS+= webpki-roots-0.22.1
CARGO_CRATE_DEPENDS+= winapi-0.3.9
CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= winapi-util-0.1.5
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= xi-unicode-0.3.0
Loading

0 comments on commit d5d3217

Please sign in to comment.