Commit graph

3733 commits

Author SHA1 Message Date
9714028cf3 Merge pull request #838 from matthiasbeyer/clap-recommend-versions
Clap version bump
2016-11-21 12:16:38 +01:00
d0c94bb921 libimagentrytag: Set clap version to >= 2.17 2016-11-21 08:49:12 +01:00
d9ee3cbbec imag-view: Set clap version to >= 2.17 2016-11-21 08:49:12 +01:00
f8ced99b90 imag-store: Set clap version to >= 2.17 2016-11-21 08:49:12 +01:00
0310c2176f Merge pull request #818 from rnestler/libimagdiary/refactor_from_store_id
[WIP] Use Result for from_storeid
2016-11-20 17:08:18 +01:00
Raphael Nestler
c4b1f7ac8d Rename ParseError to IdParseError 2016-11-20 16:45:50 +01:00
Raphael Nestler
a676f4c148 Use into_error() 2016-11-19 23:18:09 +01:00
Raphael Nestler
2c16171d65 Use trace_error 2016-11-19 23:08:02 +01:00
Raphael Nestler
c8710a4d13 Use map_err_into 2016-11-19 23:08:02 +01:00
Raphael Nestler
24c7bbc835 Refactor fetching of next component into function 2016-11-19 23:08:02 +01:00
Raphael Nestler
42b0dd6083 Return Result from component_to_str 2016-11-19 23:08:02 +01:00
Raphael Nestler
841c82b950 Use Result for from_storeid 2016-11-19 23:08:02 +01:00
4ca560af7f Merge pull request #837 from matthiasbeyer/travis-use-old-rustc
Add older compilers for CI jobs
2016-11-17 10:55:59 +01:00
920b931f55 Brake down to oldest working compiler 2016-11-16 19:11:26 +01:00
8c520bcf55 Remove not working, 0.10 -> 1.10 2016-11-16 18:23:10 +01:00
b4378661c7 Try to build with all compilers, to see which one is the oldest compatible 2016-11-16 17:30:06 +01:00
d33ea27698 Add older compilers for CI jobs 2016-11-16 13:35:52 +01:00
fe1c577963 Merge pull request #835 from matthiasbeyer/libimagstore/extract-toml-functionality
libimagstore: extract toml functionality
2016-11-15 19:35:33 +01:00
ecfe78d87b Move tests to new module 2016-11-14 15:28:57 +01:00
847b65f3b0 We dont need to clone() here 2016-11-14 15:01:24 +01:00
6f79e6e007 Add helper trait for extracting from Array/Table 2016-11-14 15:00:11 +01:00
bdc9318a41 Remove unreachable statements 2016-11-14 14:52:53 +01:00
a9e4148032 Refactor unpacking into helper fn 2016-11-14 14:52:53 +01:00
6a8273808a Refactor to use try!() instead of match{}ing 2016-11-14 14:52:51 +01:00
79f68a1b79 Prettify codebase 2016-11-14 14:52:51 +01:00
35cfb5d651 Use helper fns to prettify error building 2016-11-14 14:52:51 +01:00
dab6ad0f20 Use default parameters from underlying functions 2016-11-14 14:52:51 +01:00
2a04da9b3f Add EntryHeader::delete_with_sep() 2016-11-14 14:52:51 +01:00
7cfff0f0d8 Minify EntryHeader code 2016-11-14 14:52:51 +01:00
5470ffceac Extract TOML extension to own module 2016-11-14 14:52:50 +01:00
b210b0ec3e Merge pull request #833 from matthiasbeyer/libimagstore/entry-eq
Libimagstore/entry eq
2016-11-05 13:23:20 +01:00
002c50a39e Merge pull request #826 from matthiasbeyer/clap-completion
Bake in shell-compl generation
2016-11-05 13:22:55 +01:00
a6a7e43b39 Merge pull request #832 from mario-kr/add_shell-completion
Add shell completion
2016-11-05 13:22:39 +01:00
mario
73b9aa6266 Add comment for &version!()[..] 2016-11-05 11:53:13 +01:00
mario
bb291ca1fa Add comments about functionality,
increase verbosity of some variables
2016-11-05 11:53:00 +01:00
mario
e652e944a8 Add build_subcommand! macro 2016-11-05 11:42:02 +01:00
mario
711810f814 Add additional dependencies 2016-11-05 11:42:02 +01:00
mario
2644739e35 Change from types implementing build_ui to a mod for every binary.
Works with all available binaries.
Code cleanup
2016-11-05 11:41:20 +01:00
mario
bf88a43a59 Add build.rs with basic idea 2016-11-05 11:38:55 +01:00
1db063f334 Merge pull request #834 from Stebalien/master
Don't re-open temporary file.
2016-11-04 11:34:58 +01:00
Steven Allen
c02d7693b2 Don't re-open temporary file.
`Write` is implemented on both `&NamedTemporaryFile` and `&File` so you don't
actually need a mutable reference. I wish there were a better way to do this but
such is life.
2016-11-03 20:21:31 -07:00
303dd30ff2 impl PartialEq for Entry 2016-11-03 18:47:11 +01:00
5d2bc65623 We can derive PartialEq for EntryHeader 2016-11-03 18:47:02 +01:00
dc196793e9 Pass real app name 2016-11-02 14:37:45 +01:00
17f42fd5e4 Update clap to >=2.17
So we have `clap::App::get_name()`.
2016-11-02 14:37:45 +01:00
39304db8ba Clone App here so we can consume it elsewhere 2016-11-02 14:37:45 +01:00
e70fdc63c8 Merge pull request #828 from matthiasbeyer/libimagentrytag/remove-impl-tagable-on-fle
Remove impl Tagable for FileLockEntry, as Deref{Mut,} does this for us
2016-11-01 20:59:31 +01:00
13c57aa0ce Merge pull request #829 from matthiasbeyer/imag-link/reduce-unwraps
Imag link/reduce unwraps
2016-11-01 20:59:08 +01:00
8bacdb49b9 Merge pull request #831 from matthiasbeyer/libimagref/remove-unused
Remove unused variable
2016-11-01 20:59:03 +01:00
9ae091babe Remove impl Tagable for FileLockEntry, as Deref{Mut,} does this for us 2016-11-01 18:01:40 +01:00