Commit graph

5665 commits

Author SHA1 Message Date
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
ec9710f1e7 Rewrite external linking handler function to use less unwrap() 2016-11-01 18:01:00 +01:00
35d93ecdd5 Remove unused variable 2016-11-01 16:39:46 +01:00
b90dabaa97 Rewrite internal linking handling to use less unwrap() 2016-10-31 23:56:05 +01:00
a4db420fdb Merge pull request #624 from matthiasbeyer/cargo-workspaces
Add workspace
2016-10-31 23:41:24 +01:00
0a04081599 Merge pull request #656 from matthiasbeyer/cargo-rustc-codegen-units
Cargo rustc codegen units
2016-10-31 23:39:38 +01:00
fa64c2d27d Merge pull request #827 from matthiasbeyer/libimagstore/store-id-cmp-without-base
Impl PartialEq for StoreId
2016-10-31 23:31:03 +01:00
aa0f496474 Impl PartialEq for StoreId 2016-10-31 14:38:05 +01:00
82e61db4f7 Bake in shell-compl generation
Therefor we need to have at least clap 2.16.1.

We bake this into libimagrt::runtime::Runtime, so all binary crates
should automatically have it.
2016-10-28 09:42:44 +02:00
85e95d142c Merge pull request #825 from matthiasbeyer/readme-rewrite
Readme rewrite
2016-10-27 18:43:29 +02:00
9c81f600b7 Fix wording 2016-10-27 16:40:29 +02:00
0c8ee6a3f2 Remove license justification 2016-10-27 16:40:29 +02:00
e94c77f6e4 Rewrite "Documentation" 2016-10-27 16:40:29 +02:00
256f6efcf0 Rewrite "Staying up-to-date" 2016-10-27 14:08:17 +02:00
821f0c75da Rewrite "Running" 2016-10-27 14:08:17 +02:00
e8f61dd03b Rewrite how to build imag 2016-10-27 14:08:17 +02:00
5f15c21d30 Rewrite Goal 2016-10-27 14:08:17 +02:00
9e0c9f41ab Move early-dev note 2016-10-27 11:12:20 +02:00
0404b24333 Merge pull request #822 from matthiasbeyer/update-deps
Update deps
2016-10-25 15:24:17 +02:00