Commit graph

5663 commits

Author SHA1 Message Date
2017874a8b Add debug output 2018-04-08 20:29:14 +02:00
c5c9c7b9ba Fix: Editor commands should be split at whitespace
This fixes the following problem:

If the editor setting was "vim " instead of "vim", the editor was called
with `"vim" " "`, which resulted in unexpected behaviour.

The patch fixes this.
2018-04-08 20:28:11 +02:00
7c401dc380 Add changelog entry for libimagentrygrep 2018-04-08 10:22:25 +02:00
8b29e9d748
Merge pull request #1379 from matthiasbeyer/libimagstore/iter-lifetimes-less-restricting
libimagstore: Make iterator lifetimes less restricting
2018-04-07 14:50:48 +02:00
a769186cd7 Make iterator lifetimes less restricting 2018-04-07 13:55:54 +02:00
644473acba Add changelog entry for libimagstore iterator lifetime fix 2018-04-07 12:46:20 +02:00
7549cc209a
Merge pull request #1370 from matthiasbeyer/minor
Minor
2018-04-07 10:51:21 +02:00
2f47becef4
Merge pull request #1378 from matthiasbeyer/imag-view/ids-from-stdin
imag-view: Add support for piping entry ids into command
2018-04-07 10:51:10 +02:00
a14ab7b635
Merge pull request #1377 from matthiasbeyer/imag-contact/find-id
imag-contact: Add functionality to find contacts and print the storeid/file path
2018-04-07 10:51:02 +02:00
5061faaa74 Add support for piping entry ids into command 2018-04-06 16:16:22 +02:00
1d5171d770
Merge pull request #1376 from matthiasbeyer/imag-view/multiple-ids
imag-view: Add support for viewing multiple entries
2018-04-06 16:15:32 +02:00
5cd4678ff6 Add script to check which imag commands changed since they were last installed 2018-04-06 16:12:57 +02:00
3dfb17aabd Add functionality to find contacts and print the storeid/file path 2018-04-06 15:42:15 +02:00
bfb9124185 Add changelog entry or "imag view -I" 2018-04-06 15:41:22 +02:00
2cee4ba90f
Merge pull request #1375 from matthiasbeyer/imag-contact/find-format
imag-contact: Add format argument
2018-04-06 15:32:15 +02:00
3cc045f437
Merge pull request #1374 from matthiasbeyer/imag-contact/format-lists-seperated
imag-contact: Fix formatted output, use seperator for lists
2018-04-06 15:32:09 +02:00
0b40b3d9ab Add changelog entry for imag-view viewing multiple entries 2018-04-06 15:30:48 +02:00
f1cdb21430 Add support for viewing multiple entries 2018-04-06 15:30:12 +02:00
431bbfd2fd Add changelog entry for "imag contact find --id / --full-id" 2018-04-06 14:46:15 +02:00
8965411816 Add changelog for ", " seperator in "imag contact" output 2018-04-06 14:28:31 +02:00
4b88dd549c Add changelog for "--format" in "imag contact find" 2018-04-06 14:28:13 +02:00
c6d0e37629 Fix formatted output, use seperator for lists
The formatted output should use ", " as seperator for lists of values
2018-04-06 14:26:46 +02:00
14fc6c7c7f Add format argument 2018-04-06 14:24:30 +02:00
73722c372b Update rustc 2018-04-05 09:37:17 +02:00
2c1967d4fa Add script for generating changelog from git-notes 2018-04-05 09:37:17 +02:00
0249302e52 Add changelog for imag-link-list table output 2018-04-05 09:37:17 +02:00
9c3e63a94a Add changelog entry for imag-init store dir creating fix 2018-04-05 09:37:03 +02:00
8492f149be
Merge pull request #1373 from matthiasbeyer/libimagrt/handle-unknown-subcommand
libimagrt: Handle unknown subcommand
2018-04-05 09:36:31 +02:00
8c1b4124c0 Handle unknown subcommands in binaries with Runtime::handle_unknown_subcommand 2018-04-04 19:34:13 +02:00
140624ec52 Add changelog entry for unknown subcommand handling helper 2018-04-04 19:34:13 +02:00
93195b3bad Default clap app builder: Allow external subcommands 2018-04-04 19:34:13 +02:00
cb8b5a0cf6 Add helper for handling unknown subcommands 2018-04-03 18:23:01 +02:00
4e3101f5f3 Add guide on how to write modules 2018-03-31 13:19:35 +02:00
348389f745
Merge pull request #1366 from matthiasbeyer/libimagstore/entry-to-str-result
Fix: Entry::to_str() should return Result<_>
2018-03-26 15:37:08 +02:00
e61ccc9561 Fix: Entry::to_str() should return Result<_>
Because serializing might fail.

Also fixes all usages of the API.
2018-03-26 14:24:42 +02:00
ec2f87afad
Merge pull request #1372 from matthiasbeyer/libimagrt/edit-stdin-devtty
libimagrt: Pass /dev/tty as stdin to editor
2018-03-24 08:26:36 +01:00
7429754665 Rewrite edit_in_tmpfile() for new Runtime::editor() signature 2018-03-23 23:55:11 +01:00
ea38f2ffbf Fix: Pass /dev/tty as stdin for editor
This fixes the issue that spawning the editor trashes the terminal.

The signature of the Runtime::editor() function changed, which has to be
fixed in using code.
2018-03-23 23:55:06 +01:00
0600f1d5f9
Merge pull request #1371 from matthiasbeyer/revert-1361-travis-do-not-cargobuild
Revert "Remove "build" job to speed up travis builds"
2018-03-23 22:20:52 +01:00
2d95a952a3
Revert "Remove "build" job to speed up travis builds" 2018-03-23 21:33:43 +01:00
7907ed96c7
Merge pull request #1368 from matthiasbeyer/imag-link/list-output-table
imag-link: Do table output by default
2018-03-23 19:37:13 +01:00
3416cf247b
Merge pull request #1361 from matthiasbeyer/travis-do-not-cargobuild
Remove "build" job to speed up travis builds
2018-03-23 19:28:15 +01:00
96b6beff5d
Merge pull request #1365 from matthiasbeyer/libimagentryedit/edit-header
imag-edit / libimagentryedit: edit header support
2018-03-23 19:26:54 +01:00
f627d22057 Add header editing support 2018-03-23 17:16:40 +01:00
13af364b76 Add header editing support 2018-03-23 17:16:40 +01:00
ed41922c2e
Merge pull request #1367 from matthiasbeyer/libimagstore/entry-replace-from-buffer
Add Entry::replace_from_buffer()
2018-03-23 16:46:00 +01:00
9c13c276fb Do table output by default 2018-03-23 15:58:45 +01:00
9e0d0d9f6c Add Entry::replace_from_buffer() 2018-03-23 15:44:34 +01:00
fd91662ed9
Merge pull request #1363 from matthiasbeyer/imag-init/create-store-dir
Fix: Create store directory as well
2018-03-23 13:41:10 +01:00
e93cf199ec
Merge pull request #1350 from matthiasbeyer/minor
Minor
2018-03-23 13:41:02 +01:00