Commit graph

1405 commits

Author SHA1 Message Date
Homu
b735f44ba0 Auto merge of #291 - kbknapp:v1.4.3, r=Vinatorul
chore: increase version
2015-10-01 03:46:09 +09:00
Kevin K
76cad54fa4 chore: increase version 2015-09-30 14:42:41 -04:00
Homu
01daf939b0 Auto merge of #289 - kbknapp:issue-277, r=Vinatorul
fix(Help Message): required args no longer double list in usage

Closes #277
2015-10-01 02:57:16 +09:00
Alexander Kuvaev
ed0d30c66d Merge branch 'master' into issue-277 2015-09-30 20:57:03 +03:00
Homu
42ab5ef1b8 Auto merge of #290 - kbknapp:new-contribs, r=Vinatorul
New contribs
2015-10-01 02:47:12 +09:00
Kevin K
7aabaa19f7 chore: fixes broken clog link 2015-09-30 13:04:51 -04:00
Kevin K
9a81d8f2c2 chore: adds new contributors 2015-09-30 13:04:34 -04:00
Kevin K
1412e639e0 fix(Help Message): required args no longer double list in usage
Closes #277
2015-09-30 12:54:00 -04:00
Homu
5d7ce3e87b Auto merge of #288 - kbknapp:issue-287, r=sru
fix(Possible Values): possible value validation is restored

Closes #287
2015-09-30 23:55:49 +09:00
Kevin K
f121ae749f fix(Possible Values): possible value validation is restored
Closes #287
2015-09-30 10:23:26 -04:00
Homu
1c5f4f20f4 Auto merge of #286 - grossws:patch-1, r=kbknapp
docs: use links to examples instead of plain text

Replaced plain text `example/` and `example/xx_some_example.rs` by links to examples dir and appropriate examples.
2015-09-30 07:02:00 +09:00
grossws
bb4fe23785 docs: use links to examples instead of plain text
Replaced plain text `example/` and `example/xx_some_example.rs` by links to examples dir and appropriate examples.
2015-09-29 23:25:15 +03:00
Homu
93521171d1 Auto merge of #283 - kbknapp:issue-279, r=kbknapp
Issue 279

Allows accessing values by group name, and checking presence of any arg in a group in matches.
2015-09-29 06:50:03 +09:00
Alexander Kuvaev
e102c1be3f tests: minor test improvements 2015-09-28 23:28:46 +03:00
Kevin K
af8bfb1610 tests(ArgGroups): adds tests for ArgGroups
closes #279
2015-09-28 12:29:57 -04:00
Kevin K
c92a4b9eff feat: allows accessing arg values by group name 2015-09-28 12:22:09 -04:00
Homu
5943ec026a Auto merge of #276 - Vinatorul:dev, r=@james-darkfox
chore: update .travis.yml to upload docs with YAML features
2015-09-24 02:48:42 +09:00
Alexander Kuvaev
4737a0809f chore: update .travis.yml to upload docs with YAML features 2015-09-23 20:27:50 +03:00
Homu
58c2c741d2 Auto merge of #273 - kbknapp:inc-ver, r=sru
chore: increase version
2015-09-23 11:18:18 +09:00
Kevin K
203dfcadc1 chore: increase version 2015-09-22 22:05:47 -04:00
Homu
9af30f0b15 Auto merge of #272 - kbknapp:issue-271, r=kbknapp
fix(Conflicts): fixes bug with conflicts not removing required args

Closes #271
2015-09-23 10:15:41 +09:00
Kevin K
e17fcec53b fix(Conflicts): fixes bug with conflicts not removing required args
Closes #271
2015-09-22 15:38:04 -04:00
Homu
b096c4b51f Auto merge of #268 - kbknapp:inc-ver, r=Vinatorul
chore: increase version
2015-09-23 03:04:02 +09:00
Kevin K
f21ecf8535 chore: increase version 2015-09-22 13:28:32 -04:00
Homu
313d46abeb Auto merge of #265 - kbknapp:issue-262, r=james-darkfox
Issue 262 - Result and Lossy options for invalid Unicode

This allows not `panic!`ing on invalid unicode characters, and the option of returning lossy results. This does **not** turn all results into an `OsStr` preserving invalid unicode.

If this helps with #262 we can merge (after review), otherwise we'll continue to discuss if there's a better way to handle this issue.
2015-09-22 14:02:52 +09:00
Kevin K
87ba54451d docs: properly names Examples section for rustdoc 2015-09-21 22:06:15 -04:00
Kevin K
8b1b261616 tests(Unicode): adds safe unicode tests 2015-09-21 21:58:41 -04:00
Kevin K
c5bf7ddc8c feat(Unicode): allows non-panicing on invalid unicode characters 2015-09-21 21:58:25 -04:00
Homu
3d0199da88 Auto merge of #263 - Vinatorul:dev, r=kbknapp
fix(ArgGroup) added asserts to help users to configure clap properly

Also I've added tests for this change

Now you will get 
```
ArgGroup %Your_ArgGroup_Name% doesn't contain any args
```
instead of
```
thread '<main>' panicked at 'arithmetic operation overflowed'
```
And 
```
ArgGroup %Your_ArgGroup_Name% can not have same name as arg inside it
```
instead of 
```
thread '<main>' has overflowed its stack
```
2015-09-22 07:56:09 +09:00
Alexander Kuvaev
4ed03cde73 Merge branch 'master' into dev 2015-09-21 23:11:40 +03:00
Homu
b8e47f151b Auto merge of #264 - Vinatorul:chore, r=Vinatorul
chore: add new contributors to list
2015-09-22 05:01:20 +09:00
Alexander Kuvaev
760615e01f chore: add new contributors to list 2015-09-21 22:49:31 +03:00
Alexander Kuvaev
a87c5cd660 fix(ArgGroup) added asserts to help users to configure clap properly
Also I've added tests for this change
2015-09-21 22:33:55 +03:00
Homu
5b7a4a03bb Auto merge of #261 - kbknapp:issue-254, r=kbknapp
docs(Arg): unhides fields of the Arg struct
2015-09-21 12:43:29 +09:00
Kevin K
931aea8842 docs(Arg): unhides fields of the Arg struct 2015-09-20 20:34:20 -04:00
Homu
398b46756b Auto merge of #260 - nelsonjchen:typo_fixes, r=kbknapp
Various typo fixes

Some various typo fixes and commas and stuff.

I did change one thing though. The portion in the README that's affected by 34b6eb2 still refers to `clap` as a sub 1.0 library. I took that out, but if that is stepping over the line, I can take it out.
2015-09-21 09:03:13 +09:00
Nelson Chen
7bf65c1bf7 Add Contributor 2015-09-20 17:01:51 -07:00
Nelson Chen
f85640f9f6 docs: fixes various typos and spelling 2015-09-20 16:59:32 -07:00
Alexander Kuvaev
40104afe9d Merge pull request #257 from alex-gulyas/fix-missing-flush
fix(App): flush the buffer in App::print_version()
2015-09-19 16:29:40 +03:00
Alex Gulyás
cbc42a37d2 fix: flush the buffer in App::print_version() 2015-09-18 23:58:05 +02:00
Alexander Kuvaev
320209c952 Merge pull request #255 from Vinatorul/tests
Some new tests for positionals
2015-09-18 07:45:19 +03:00
Alexander Kuvaev
eb65a07a91 tests: some new tests for positionals 2015-09-17 22:20:56 +03:00
James McGlashan
f9efb54c1d Merge pull request #253 from daboross/patch-1
Replace crate_version!() macro with simpler call; r=james-darkfox
2015-09-13 13:58:47 +10:00
Dabo Ross
ffe1458882 Replace crate_version!() macro with simpler call
As of https://github.com/rust-lang/cargo/pull/1094, cargo publishes the full crate version as `CARGO_PKG_VERSION`, rather than *just* the parts of it.

This replaces the more complicated call with simply `env!("CARGO_PKG_VERSION").to_owned()`.
2015-09-12 20:22:01 -07:00
James McGlashan
f76e4fd833 Merge pull request #250 from kbknapp/new-benches
PRs accepted out of order
2015-09-11 14:58:47 +10:00
James McGlashan
1316d211c2 Merge branch 'master' into new-benches 2015-09-11 14:50:09 +10:00
Kevin K.
091f096066 Merge pull request #248 from james-darkfox/new-benches
fix: Macro benchmarks
2015-09-10 14:37:46 -04:00
Kevin K.
400af3ca3a Merge pull request #246 from kbknapp/new-benches
New benches
2015-09-10 14:22:36 -04:00
James McGlashan
13712da1d3 fix: Macro benchmarks 2015-09-10 22:23:58 +10:00
Kevin K
cf99d7aad0 Merge branch 'master' into new-benches 2015-09-09 22:19:14 -04:00