Commit Graph

6911 Commits

Author SHA1 Message Date
openharmony_ci
6b4a9f849a
!6 修改软件名
Some checks failed
CI / Test (default, default, ubuntu-latest, stable) (push) Has been cancelled
CI / Test (linux, full, ubuntu-latest, stable) (push) Has been cancelled
CI / Test (mac, full, macos-latest, stable) (push) Has been cancelled
CI / Test (minimal, minimal, ubuntu-latest, stable) (push) Has been cancelled
CI / Test (next, next, ubuntu-latest, stable) (push) Has been cancelled
CI / Test (windows, full, windows-latest, stable) (push) Has been cancelled
CI / Check (debug, debug, stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / Check (msrv, full, 1.64.0, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / Check (release, release, stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / Check (wasm, wasm, stable, wasm32-unknown-unknown) (push) Has been cancelled
CI / Check (wasm-wasi, wasm, stable, wasm32-wasi) (push) Has been cancelled
CI / UI Tests (default) (push) Has been cancelled
CI / UI Tests (next) (push) Has been cancelled
CI / Docs (push) Has been cancelled
CI / rustfmt (push) Has been cancelled
CI / clippy (push) Has been cancelled
CI / cffconvert (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
CI / CI (push) Has been cancelled
Merge pull request !6 from archane/master
2024-11-05 10:48:09 +00:00
zhaipeizhe
3ab83ad450 update Version in README.OpenSource
Signed-off-by: zhaipeizhe <zhaipeizhe@huawei.com>
Change-Id: I54be49b8dd99ff0bc50cce8158ea25da48161787
2024-10-31 17:30:23 +08:00
openharmony_ci
19625d8c74
!5 clap 4.1.4升级至4.1.13
Merge pull request !5 from Future/master
2024-04-08 15:02:30 +00:00
徐未来
a85e791e75 clap 4.1.4升级至4.1.13
Signed-off-by: 徐未来 <xuweilai2@huawei.com>
2024-04-02 20:06:53 +08:00
openharmony_ci
4871ecbd72
!4 回退 'Pull Request !3 : clap4.1.4升级至4.1.13'
Merge pull request !4 from openharmony_ci/revert-merge-3-master
2024-04-02 03:40:01 +00:00
openharmony_ci
230593f526
回退 'Pull Request !3 : clap4.1.4升级至4.1.13' 2024-04-02 03:33:24 +00:00
openharmony_ci
df21791253
!3 clap4.1.4升级至4.1.13
Merge pull request !3 from Future/master
2024-04-02 01:45:02 +00:00
徐未来
0c63a5caa1 4.1.4升级至4.1.13
Signed-off-by: 徐未来 <xuweilai2@huawei.com>
2024-03-11 19:50:59 +08:00
openharmony_ci
bd9c9382e3
!2 Add OAT.xml and README.OpenSource
Merge pull request !2 from fangting/master
2023-04-14 08:10:32 +00:00
fangting
9f8a466eb0 Add OAT.xml and README.OpenSource
Signed-off-by: fangting <fangting12@huawei.com>
2023-04-14 14:14:43 +08:00
openharmony_ci
cffee15518
!1 [clap]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from lubinglun/master
2023-04-13 11:34:02 +00:00
lubinglun
3441742a9a Add GN Build Files and Custom Modifications
Issue:https://gitee.com/openharmony/build/issues/I6UFTP
Signed-off-by: lubinglun <lubinglun@huawei.com>
2023-04-12 17:25:53 +08:00
Ed Page
a59a53503e chore: Release 2023-01-24 16:41:52 -06:00
Ed Page
4348f43b21 docs: Update changelog 2023-01-24 16:41:45 -06:00
Ed Page
7c4c6586d0
Merge pull request #4673 from epage/arg
perf: Speed up compiling `arg!` macro
2023-01-24 16:40:50 -06:00
Ed Page
bbe5eaa709 perf: Speed up compiling arg! macro
To "append" calls, we were passing in a more and more complex expression
on each recursive invocation.  We now pass in a fixed amount of data on
each iteration, reducing how much the macro machinery needs to parse,
speeding up builds.

Fresh builds went from 39s to 32s on my machine.

Inspired by #4670
2023-01-24 16:23:44 -06:00
Ed Page
b3c4b4016c
Merge pull request #4672 from epage/help
fix(help): Respect `disable_colored_help` for `arg_required_else_help`
2023-01-24 16:22:12 -06:00
Ed Page
dc89379ff6 fix(help): Respect disable_colored_help for arg_required_else_help
Fixes #4671
2023-01-24 15:53:00 -06:00
Ed Page
10a87c662d chore: Release 2023-01-23 16:00:15 -06:00
Ed Page
8ee9242a0e docs: Update changelog 2023-01-23 16:00:10 -06:00
Ed Page
125dbe0cfd
Merge pull request #4667 from corneliusroemer/fix-4666
fix: Add plural s to context in suggestions
2023-01-23 15:58:37 -06:00
Ed Page
401d86fb9c
Merge pull request #4668 from corneliusroemer/fix-4660
fix(suggestions): Replace wrong Jaro-Winkler
2023-01-23 15:55:59 -06:00
Cornelius Roemer
f5540d2646 fix(suggestions): Replace wrong Jaro-Winkler
Implementation of Jaro-Winkler similarity in the dguo/strsim-rs crate
is wrong, causing strings with common prefix >=10
to all be considered perfect matches

Using Jaro instead from the same crate fixes this issue
Benefit of favoring long prefixes exists for matching common names
But not for typo detection
Hence use of Jaro instead of Jaro-Winkler is acceptable

Confidence threshold adjusted so that `bar` is still suggested for `baz`
since Jaro is strictly < Jaro-Winkler
such an adjustment is expected. This is acceptable.
While exact suggestions may change, the net change will be positive
Suggestions are purely decorative and should thus not breaking change

Fixes #4660
Also see https://github.com/dguo/strsim-rs/issues/53
2023-01-23 22:43:48 +01:00
Cornelius Roemer
5dcc5c9509 fix: Add plural s in suggestions
Old: `note: subcommand 'test', 'temp' exist`
New: `note: subcommands 'test', 'temp' exist`
Fixes #4666
2023-01-23 22:16:50 +01:00
Ed Page
90c042eeae chore: Release 2023-01-23 13:05:20 -06:00
Ed Page
4f638b5c75 docs: Update changelog 2023-01-23 13:05:15 -06:00
Ed Page
930a40c1df
Merge pull request #4663 from fredrik-jansson-se/master
fix: Make cmd variable (bash completion) local
2023-01-23 13:04:09 -06:00
Fredrik Jansson
3426310d8e fix: Bash test cases 2023-01-23 19:20:09 +01:00
Fredrik Jansson
8b455d28e7 fix: Make cmd a local var in bash completion 2023-01-23 19:07:15 +01:00
Ed Page
3591dc7e84 test: Remove extraneous to_owned's 2023-01-23 10:33:47 -06:00
Ed Page
098a7007bb
Merge pull request #4664 from epage/suggest
test: Verify suggestions
2023-01-23 10:17:12 -06:00
Ed Page
cf970e6d0e test: Very best-fit for suggestions
Inspired by #4660
2023-01-23 09:58:03 -06:00
Ed Page
39fc252196 test: Re-enable suggestion tests 2023-01-23 09:55:14 -06:00
Ed Page
9f4f341604 chore: Release 2023-01-23 09:37:47 -06:00
Ed Page
faee38f59d docs: Update changelog 2023-01-23 09:37:06 -06:00
Ed Page
a493bb54f4
Merge pull request #4659 from epage/flag
docs: Prefer `get_flag` over `get_one::<bool>`
2023-01-23 09:36:21 -06:00
Ed Page
9d1de20787 docs: Prefer get_flag over get_one::<bool>
Inspired by #4654
2023-01-23 09:23:38 -06:00
Ed Page
2a984ab777
Merge pull request #4640 from MariaSolOs/documentation-typo
docs: Typo in tab tag
2023-01-14 19:20:21 -06:00
Maria José Solano
bbf9b9c2f5
docs: Typo in tab tag 2023-01-14 13:05:17 -08:00
Ed Page
74a82d7085 chore: Release 2023-01-13 21:44:17 -06:00
Ed Page
06f392a0d2 docs: Update changelog 2023-01-13 21:44:12 -06:00
Ed Page
4d913fa4d1
Merge pull request #4639 from epage/error
fix(error): Try to soften unexpected argument/value errors
2023-01-13 21:42:45 -06:00
Ed Page
162a556dba fix(error): Try to soften unexpected argument/value errors
Adding "found" might seem minor but I feel it has a slight softening on the message.  It also maintains scanability as it is at the end and short.

As this is a one-off message change and not a styling issue to be consistent with, I think this is safe to put in a patch release.
2023-01-13 21:29:49 -06:00
Ed Page
34d856b449 chore: Release 2023-01-13 09:27:31 -06:00
Ed Page
889ca7a537 chore: Bump versions for 4.1 2023-01-13 09:24:37 -06:00
Ed Page
2bafb9b75d docs(contrib): Define a compatibility policy for help/error output 2023-01-13 07:19:30 -06:00
Ed Page
a41ca2edb0 docs: Update changelog 2023-01-13 07:13:28 -06:00
Ed Page
523adc20e7
Merge pull request #4635 from epage/stablize
feat: Stablize `ArgMatches::get_occurrences`
2023-01-13 06:52:30 -06:00
Ed Page
b4f111a978 feat: Stablize ArgMatches::get_occurrences
This let's you get an arguments values, grouped by the occurrence of the
argument.

Note: this does not stablize derive support.  That requires a blocking
change and can be enabled via `unstable-v5` flag.  See #4626 for an
exploration of how we can make this easier in the future.

Fixes #2924
2023-01-12 21:37:19 -06:00
Ed Page
72749a3a09
Merge pull request #4630 from eguiraud/patch-1
Prefer ok_or to ok_or_else in README example
2023-01-11 16:43:11 -06:00