Commit graph

2453 commits

Author SHA1 Message Date
Kevin K
be23ec9701
refactor(Suggestions): changes from string slice to owned string for return values
The return value is only used in the error case, and only a single
String allocation, therefore the complexities introduced by using string
slices isn't worth it. clap primarily only needs to be as fast as
possible in the happy path, the error path can afford additional
allocations.
2018-07-29 16:16:45 -04:00
Alena Yuryeva
cc9518b9d4 WIP 2018-07-29 23:20:17 +05:00
Alena Yuryeva
c7131e3ed4 WIP 2018-07-26 20:26:12 +05:00
Alena Yuryeva
e1fb98a0c1 WIP. Big reformat 2018-07-26 20:23:58 +05:00
Alena Yuryeva
7e6d403009 MkeyMap API changes 2018-07-26 20:18:47 +05:00
Alena Yuryeva
98d37c133e WIP changing macros into MKeyMap calls 2018-07-26 20:18:47 +05:00
Kevin K
c22bc3e1fc
depr(SubCommand::with_name): deprecates SubCommand facade to prefer App::new 2018-07-24 16:57:18 -04:00
Kevin K
a9cbf3e5b9
depr(ArgMatches::usage): deprecates ArgMatches::usage in favor of App::generage_usage 2018-07-24 16:46:50 -04:00
Kevin K
8715ac268c
chore: makes some effectively private APIs public for clap_generate to use 2018-07-23 16:27:25 -04:00
Kevin K
b204620dab
refactor: updates deprecation notices for completions functions 2018-07-23 16:16:15 -04:00
Kevin K
94e0d38c2d
chore: makes clap_derive a git dependency 2018-07-23 15:51:57 -04:00
Kevin K
94872e00a5
refactor(Arg): changes Arg::short to accept a char instead of &str
Closes #1303
2018-07-23 15:10:12 -04:00
Kevin K
ab8c97e3f1
chore: relicense under MIT and APACHE 2.0 2018-07-23 14:25:18 -04:00
Kevin K
53b2ca51f4
refactor(Derives): changes the derive traits for the clap_derive crate 2018-07-13 11:36:53 -04:00
Kevin K
683105cdd1
Merge pull request #1313 from kbknapp/v3-dev
V3 dev
2018-06-30 19:36:06 -04:00
Dylan DPC
6a99e638f7 Fix assert_cli url
Even though github redirects to the correct url, it is better to mention the correct one 😄
2018-06-30 19:33:58 -04:00
Simon Egersand
30e6cd192a Fix formatting in README 2018-06-30 19:33:43 -04:00
Kevin K
09de35f208 Fix some broken doc links and formatting. 2018-06-30 19:33:34 -04:00
Kevin K
f27ef3beb4
Merge pull request #1312 from kbknapp/impl-hash
imp: Hash for Arg
2018-06-30 14:05:08 -04:00
Alena Yuryeva
2133bd148b imp: Hash for Arg 2018-06-30 21:03:49 +03:00
Kevin K
cc082a0347
Merge pull request #1311 from kbknapp/extract-trait
refactor: Changed the custom derive traits
2018-06-30 12:21:03 -04:00
Alan K
4492aa5b96 refactor: Changed the custom derive traits 2018-06-30 18:19:29 +02:00
Kevin K
2cad73e955
Merge pull request #1307 from kbknapp/v3-dev
fix(Elvish): fixes the porting from v2 to v3 for the Elvish shell com…
2018-06-26 22:04:42 -04:00
Kevin K
37546c653a
fix(Elvish): fixes the porting from v2 to v3 for the Elvish shell completions 2018-06-26 22:03:46 -04:00
Kevin K
1ab5e39756
Merge pull request #1306 from kbknapp/v3-dev
V3 dev
2018-06-26 21:20:19 -04:00
Dylan DPC
580ad94df2 fixed typo for coveralls key 2018-06-26 21:19:02 -04:00
ZhouQD
694582fb48
fix(Elvish): ports changes from v2 to v3 about Elvish completion generation 2018-06-26 21:18:04 -04:00
Kevin K
3d3d4b1e9a feat(Completions): adds completion support for Elvish. 2018-06-26 21:15:48 -04:00
Tobias Bucher
4b5ba7d750 chore: Update pinned nightly so compiling works again
The nightlies of 2018-06-22 don't work
(https://github.com/rust-lang/rust/issues/51699,
https://twitter.com/RustStatus/status/1010240719527739392?s=19).
2018-06-26 21:12:13 -04:00
Tobias Bucher
159169ae94 fix(OsValues): Add ExactSizeIterator implementation
It seems like an oversight that this was omitted.
2018-06-26 21:12:06 -04:00
Alan K
714b8a5df8
Merge pull request #1300 from kbknapp/update-yaml-rust
Update yaml rust
2018-06-22 12:54:09 +01:00
Alan K
29fb2166aa refactor(arg_group): Change from folder mod to a file module 2018-06-22 13:51:48 +02:00
Alan K
eb68480b3b tests(yaml): Added future test for 2 space yaml 2018-06-22 13:50:44 +02:00
Alan K
8a7ac8f543 imp(yaml): Updated yaml-rust to 0.4
Closes #747, #1110
2018-06-22 13:32:13 +02:00
Kevin K
05c8ab8646
Merge pull request #1296 from kbknapp/v3-dev
refactor(Modules): moves the modules around into a more logical order…
2018-06-12 11:47:26 -04:00
Kevin K
e5def030d3
refactor(Modules): moves the modules around into a more logical order to make contribution easier 2018-06-12 11:44:40 -04:00
Kevin K
b7704575f7
Merge pull request #1295 from kbknapp/v3-dev
updates v3 to latest v2 changes and fixes
2018-06-12 10:26:15 -04:00
Kevin K
b033bb5abc
chore: ordermap to indexmap 2018-06-12 10:22:18 -04:00
Kevin K
b7e38fb62a
chore: update deps 2018-06-12 10:18:16 -04:00
Kevin K
c010a9d445
chore: removes doc profile 2018-06-12 10:10:03 -04:00
Kevin K
746640fafb
imp(Help): always uses long about with the main help message in subcommands. Thanks to @savish 2018-06-12 10:09:34 -04:00
Alan K
df35813d17
fix: fixes compilation errors form cherry picked commits 2018-06-12 10:04:24 -04:00
Kevin K
24d5fb3202 test: Added regression tests for Issue 897 2018-06-12 10:01:42 -04:00
Kevin K
b4b4ab629d chore: forgot pre html tag 2018-06-12 09:55:44 -04:00
Kevin K
af3264d559 Merge pull request #1272 from bspeice/patch-1
examples: Method rename
2018-06-12 09:54:19 -04:00
Kevin K
4ebede6d9a Merge pull request #1271 from stevepentland/wasm-windows-fix
Include guards around os-specific string elements.
2018-06-12 09:53:22 -04:00
Kevin K
abd7be3362 Merge pull request #1247 from tormol/osstringext_cleanup
Remove unused or unnecessary methods from osstringext
2018-06-12 09:51:07 -04:00
Kevin K
b46297ef65
Merge pull request #1279 from zayenz/fix-compilation-error
fix(benches): Fix compilation error
2018-05-30 14:59:15 -04:00
Mikael Zayenz Lagerkvist
d83debd745 fix(benches): Fix compilation error 2018-05-29 18:24:40 +02:00
Kevin K
3b633e68b1
Merge pull request #1258 from little-dude/warnings
Fix compilation warnings
2018-05-22 09:43:31 -04:00