Commit graph

67 commits

Author SHA1 Message Date
a4c2c04c61 Use cargo feature to specify both version and path
Thanks to reddit user /u/TimNN for suggesting this.
2017-08-27 11:25:43 +02:00
1c37703c32 Update version strings for next release: 0.3.0 -> 0.4.0 2017-08-26 13:27:32 +02:00
297c552335 Update chrono: 0.2 -> 0.4 2017-07-17 11:39:40 +02:00
fad981a40f Update toml-query: 0.2.0 -> 0.3.0 2017-07-09 21:43:58 +02:00
992bba86d9 Remove unused macro import 2017-06-21 10:08:35 +02:00
87cab6dbb9 Remove unused dependency: lazy_static 2017-06-21 10:08:34 +02:00
820037bba6 dependency: toml-query: 0.1.0 -> 0.2.0 2017-06-07 12:29:57 +02:00
4ca6f4c386 Update version strings: 0.2.0 -> 0.3.0 2017-05-30 21:23:33 +02:00
50c4c16aaf Fix libimagdiary for new toml interface 2017-05-30 21:05:13 +02:00
5817109279 Update TOML dependency string in Cargo.toml 2017-05-30 20:32:59 +02:00
80fb6cc2bd Revert "Remove stuff for the focus-shift"
This reverts commit 63a7f0d8a9.
2017-05-30 20:25:00 +02:00
63a7f0d8a9 Remove stuff for the focus-shift 2017-01-21 13:05:50 +01:00
mario
8df5519f34 Move [profile.dev] codegen-units = 2 to top-level Cargo.toml
lower level (=package/crate level) definitions for profiles are ignored
2017-01-19 20:08:51 +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
0a04081599 Merge pull request #656 from matthiasbeyer/cargo-rustc-codegen-units
Cargo rustc codegen units
2016-10-31 23:39:38 +01:00
a64320c3f5 libimagdiary/Cargo.toml: Update dependencies 2016-10-24 14:30:54 +02:00
b51a119417 Add codegen-units = 2 in ./libimagdiary/Cargo.toml 2016-10-24 13:52:09 +02:00
b5bfc1978c Fix: Cargo.toml does not know "website", but "homepage" 2016-10-20 14:14:18 +02:00
f9115073f1 Add meta-info in libimagdiary/Cargo.toml 2016-10-18 10:56:12 +02:00
e8ae4c0da7 Create symlinks to documentation files in libimag*/README.md 2016-10-13 12:04:36 +02:00
e30d774670 Move all libimag*/README.md to doc/src/05100-* 2016-10-13 12:04:36 +02:00
fbd6e790c7 Increment header levels in the README.md files of the libraries 2016-10-13 12:04:36 +02:00
5182d8e2ad libimagdiary: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
8e331f1f08 Move viewer implementation for imag-diary to libimagdiary 2016-09-21 16:58:21 +02:00
f98afd4b01 Move dependencies 2016-09-21 16:58:21 +02:00
f8db1273e7 Export MapErrInto as well here 2016-09-05 16:15:54 +02:00
ccffeb91a2 Remove StoreId::is_in_collection(), add StoreId::local()
Having a ::is_in_collection() is a nice thing, though it is _way_ better
if we just give the user of the `StoreId` object access to the local
part of the ID.

Using this new function, one can do all the actions one might need on
the Path for the actual entry without nasty copying or such.

`StoreId::is_in_collection()` can be replaced by
`StoreId::local().starts_with()` and everything is fine, as we do not
have to move a `PathBuf` object into the function anymore.
2016-09-04 10:40:38 +02:00
3c31854e66 Use new StoreId::is_in_collection() interface 2016-09-02 17:17:41 +02:00
8563e0d4fc Reimplement IsInDiary for StoreId with StoreId::is_in_collection() 2016-08-31 09:21:06 +02:00
82f08c6021 Remove version argument from module_entry_path_mod!() macro 2016-08-30 11:40:56 +02:00
ff89111d47 Fix libimagdiary::{diaryid, diary, is_in_diary}::* for new StoreId interface 2016-08-28 18:41:56 +02:00
47588dc2f3 Add README.md for libimagdiary 2016-08-24 14:22:20 +02:00
4614b9d430 Use libimagentryedit instead of libimagrt 2016-08-09 15:47:56 +02:00
Kai Sickeler
a2bf99d591 Upgrade toml dependency to 0.2 2016-08-06 17:13:31 +02:00
99612b4ecc Replace unwrap with match 2016-08-04 14:15:34 +02:00
669b5a936a Replace unwrap() with match 2016-08-04 14:13:09 +02:00
1872dcd5e6 Replace unwrap() with match 2016-08-04 14:12:42 +02:00
9337a14cdd Update all version strings: 0.1.0 -> 0.2.0 2016-07-12 11:51:20 +02:00
4a134144d1 Add debugging in lib-iter 2016-06-09 15:41:42 +02:00
c5beb34614 Add dependencies 2016-06-09 15:41:42 +02:00
b68bd7ef8e Impl Display for DiaryId 2016-06-08 19:36:13 +02:00
de9d933a6b Add DiaryId::now(name) to create DiaryId at current time 2016-06-08 13:59:41 +02:00
857daa1c99 Add Diary::name() getter 2016-06-08 13:59:41 +02:00
ecba4e670f Add Diary::new_entry_by_id()
to generate a new entry from a DiaryId object.

Rewrite Diary::new_entry_today() to use this new functionality for more
DRY code.
2016-06-08 13:59:41 +02:00