Commit graph

2064 commits

Author SHA1 Message Date
de4c700d6e Impl remove() 2016-07-14 21:08:46 +02:00
e773294b2c Impl add() 2016-07-14 21:08:46 +02:00
f5b046181d Add initial main() code 2016-07-14 21:08:46 +02:00
05f9243164 Add commandline specification 2016-07-14 21:08:46 +02:00
5f04981c91 Add dependencies 2016-07-14 21:08:46 +02:00
a75419f048 Initial import 2016-07-14 21:08:46 +02:00
76601c8fa8 Merge pull request #521 from matthiasbeyer/libimagbookmark/init
libimagbookmark/init
2016-07-14 21:08:20 +02:00
295374e1bd Merge pull request #532 from jsirois/jsirois/issues/499
Add a `fold_ok` utility.
2016-07-14 18:29:32 +02:00
John Sirois
7f57e5e234 Move from a helper function to a typeclass.
This introduces the `FoldResut` trait to move from `func(receiver, ...)`
style to `receiver.func(...)` style. Also add a means to pass the
default result explicitly.
2016-07-14 07:28:54 -06:00
John Sirois
2c40b8734e Add a fold_ok utility.
Add a utility that folds an iterator into a result and uses it to reduce
boilerplate in the codebase.
2016-07-13 12:43:04 -06:00
3a2010c35b Merge pull request #528 from matthiasbeyer/update-versions
Update all version strings: 0.1.0 -> 0.2.0
2016-07-12 20:09:53 +02:00
9337a14cdd Update all version strings: 0.1.0 -> 0.2.0 2016-07-12 11:51:20 +02:00
437b3133cc impl From<&'a str> for Link 2016-07-08 21:43:17 +02:00
91e3b58f3e Implement BookmarkCollection::remove_link() 2016-07-08 16:54:27 +02:00
d5c6af884b Remove unneeded import 2016-07-08 16:54:05 +02:00
2c93c8b98f fixup! Impl BookmarkCollection::get_links_matching() 2016-07-08 16:41:37 +02:00
2e49947013 Impl BookmarkCollection::get_links_matching() 2016-07-08 16:40:28 +02:00
ee53a28c9a Impl From<String> for Link 2016-07-08 16:40:09 +02:00
749f08ca66 fixup for 9231cf5f 2016-07-08 16:30:50 +02:00
2ed07d4f7d Impl BookmarkCollection::add_link() 2016-07-08 16:30:11 +02:00
db21fa9dd4 Add IntoUrl trait for Link type
With this we can translate a Link type into an URL type from url::Url
2016-07-08 16:29:48 +02:00
3b82311dfd Add more specific linking error kinds 2016-07-08 16:29:06 +02:00
22e07d171b fixup! Add depenndency: regex 2016-07-08 16:21:24 +02:00
3b485febe4 fixup! Add Link type 2016-07-08 16:20:35 +02:00
923a4c51b5 Merge pull request #519 from matthiasbeyer/ignore-out
Ignore /out
2016-07-08 00:30:52 +02:00
9231cf5fb7 Add interface for working with BookmarkCollection
Oh my god I'm so drunk right now.
It's 0030 and I had dinner at around 1800 yesterday and then I just
drank like... two Mate and maybe 1L of water... and now I drank 0.33L
beer and I'm drunk as fuck... just wanted to share.

I hope this commit still makes sense... I'm not sure, I should
definitively review this tomorrow.

So... maybe I can do some more.

Btw., I just saw "The Martian" - the movie, you know. Oh my god, I love
Matt Damon - I think he's a really nice actor, actually.

I probably shouldn't put this into the commit message, I know... Just
wanted to have some fun here.. sorry.
2016-07-08 00:27:45 +02:00
ee51de088a Add Link type 2016-07-08 00:27:35 +02:00
eb47f08479 Add depenndency: regex 2016-07-08 00:23:56 +02:00
5fa189fb4e Impl BookmarkCollection::delete() 2016-07-08 00:12:05 +02:00
ed1eea053a Impl BookmarkCollection::get() 2016-07-08 00:11:54 +02:00
f2cc233c37 Add error kind if collection cannot be found 2016-07-08 00:11:27 +02:00
0714d58db0 Add initial codebase 2016-07-08 00:01:44 +02:00
63d2f56a88 Add dependencies 2016-07-07 23:46:06 +02:00
5a0720e3bb Initial import 2016-07-07 23:46:06 +02:00
b55789578c Ignore /out 2016-07-07 23:44:04 +02:00
c6f9d91599 Merge pull request #513 from matthiasbeyer/libimagstore/hooks/optionally-deny-mutable-hooks
Libimagstore/hooks/optionally deny mutable hooks
2016-07-07 21:52:08 +02:00
cda50e4cdb Merge pull request #518 from matthiasbeyer/imag-view/remove-unneeded-dep
Remove unused dependency: rustbox
2016-07-07 21:18:48 +02:00
cbf636960e Merge pull request #517 from matthiasbeyer/libimaginteraction/fix-nl-bug
Fix bug when newline is in the input
2016-07-07 20:43:11 +02:00
44f36090e0 Merge pull request #512 from matthiasbeyer/libimagstore/remove-aborting-error-catching
Remove checking for aborting errors
2016-07-07 20:29:40 +02:00
7818b523b9 Deny mutable access for hooks if the config says so 2016-07-07 20:29:24 +02:00
453fdc2e0e Remove unused dependency: rustbox 2016-07-07 20:08:37 +02:00
426fe45577 Fix bug when newline is in the input 2016-07-07 18:46:15 +02:00
eb31da70d1 Remove import: trace_error() function 2016-07-07 17:03:20 +02:00
7f14639c1e Add configuration parsing/getter for denying of mutable hooks 2016-07-06 19:10:17 +02:00
b4b719b753 Add error kind for denied hooks 2016-07-06 19:09:58 +02:00
8adfe7443e Add optional setting for denying mutable hooks 2016-07-06 19:09:40 +02:00
d18766b4b4 Remove checking for aborting errors
As the Aspect execution catches the aborting hooks and returns them, we
cannot have a non-aborting error here, so there is no point in checking
for aborting errors.
2016-07-06 18:01:00 +02:00
4ec3e29459 Merge pull request #481 from matthiasbeyer/imag-ref/init
Imag ref/init
2016-07-06 14:42:24 +02:00
dd4349f24f Merge pull request #503 from matthiasbeyer/libimagstore/storeid-display-fix
Fix Display impl for StoreId by using lossy string rep if PathBuf::to…
2016-07-05 15:25:23 +02:00
5bfdd5a827 Impl remove() 2016-07-05 13:50:00 +02:00