Commit graph

169 commits

Author SHA1 Message Date
Manuel Ebert
3b9610f5f4 Fixes a bug where encryption or decryption without target file would just bring up writing mode. 2012-05-31 11:43:20 +02:00
Manuel Ebert
2f8a95f553 Strips blank lines at the end of Entry bodies when prettyprinting. 2012-05-31 11:37:02 +02:00
Manuel Ebert
6c1e3f2351 Suppress empty bodies in prettyprinting 2012-05-31 11:33:28 +02:00
Manuel Ebert
084e956d16 Use Entry.pprint for display, str(Entry) for writing. 2012-05-31 11:22:54 +02:00
Manuel Ebert
cc786e5376 Refactors prettyprinting into the pprint method, __str__ will only produce journal-file-ready strings again. 2012-05-31 11:22:34 +02:00
Manuel Ebert
08b7624513 New style display of posts 2012-05-30 18:12:10 +02:00
Manuel Ebert
0d19f1790f Fixes highlighting 2012-05-30 17:58:26 +02:00
Manuel Ebert
dd824c4f8d Using string.format instead of % 2012-05-30 17:50:37 +02:00
Manuel Ebert
bfcdb2928f Linewrap support documented 2012-05-30 17:45:52 +02:00
Manuel Ebert
f7eee0fa76 Adds word wrap support. 2012-05-30 17:43:55 +02:00
Manuel Ebert
56c974f1dd Version bump to 0.3.0 2012-05-24 18:18:05 +02:00
Manuel Ebert
4a1312a70b Fixes time parsing, closes #32 2012-05-24 18:14:12 +02:00
Manuel Ebert
4850828e07 Error message when journal is corrupted, closes #22 2012-05-24 17:04:10 +02:00
Manuel Ebert
8ec7c51d89 Metavars on encrypt and decrypt options 2012-05-24 17:03:35 +02:00
Manuel Ebert
3c05edde25 New Changelog format 2012-05-24 16:58:17 +02:00
Manuel Ebert
386d813eeb Opens journal file before allowing user to compose entry, closes #21 2012-05-24 16:51:09 +02:00
Manuel Ebert
99e8679b48 Merge pull request #33 from maebert/folders
Restructures folders
2012-05-24 07:44:45 -07:00
Manuel Ebert
e8f346242e Version bump to 0.2.5 2012-05-24 13:43:48 +02:00
Manuel Ebert
32b691f938 Added an entry point so we don't have to make an bash alias anymore. 2012-05-24 13:30:37 +02:00
Manuel Ebert
4b354bd40e removed necessity to create bash alias 2012-05-24 13:28:50 +02:00
Manuel Ebert
19ed9a6cf8 Experimental new directory structure 2012-05-24 13:23:46 +02:00
Manuel Ebert
5bee8ff1e1 Added note for Windows users, closes #29 2012-05-22 17:36:47 +03:00
Manuel Ebert
945ee4145b Merge pull request #30 from dedan/fix_dateparsing
Fix dateparsing and add testing scaffold
2012-05-22 04:21:27 -07:00
Stephan Gabler
59049a87f0 add testing scaffold, #28 2012-05-22 09:02:17 +02:00
Stephan Gabler
19a1db7038 fix date parsing when text body contains colon.
The problem was appeared when no date was specified and the text body contained a colon. All the text before the colon was discarded and lost.

This commit changes the code to first extract the first line as a title and then only look whether this title contains a valid date.
2012-05-22 09:02:17 +02:00
Manuel Ebert
cd48d4e41d License, readme and changelog renamed 2012-05-21 12:25:54 +02:00
Manuel Ebert
5d3070ddd7 License, readme and changelog renamed 2012-05-21 12:25:02 +02:00
Manuel Ebert
44333a5330 Makes pycrypto optional, closes #23 2012-05-21 12:20:24 +02:00
Manuel Ebert
4ec53e1b69 Makes encryption optional. 2012-05-21 12:14:36 +02:00
Manuel Ebert
4e39ab2821 Adds version string and more 2012-05-21 11:50:49 +02:00
Manuel Ebert
f8a8cdf24b Print-statement Python 3-compatible 2012-05-21 11:42:52 +02:00
Manuel Ebert
7dcd78f3ff Decrypt and Encrypt into new files, closes #23 2012-05-21 11:41:28 +02:00
Manuel Ebert
e9063e1336 Version bump to 0.2.4 2012-05-21 11:25:28 +02:00
Manuel Ebert
3e07ef5fe4 Uses \n instead of os.linesep (http://stackoverflow.com/questions/454725/python-get-proper-line-ending), closes #27 #26 2012-05-21 11:21:42 +02:00
Manuel Ebert
432997969b Merge pull request #26 from dedan/fix_parsing
Fix parsing of newlines, closes #15
2012-05-15 02:58:03 -07:00
Stephan Gabler
7c3a6d0222 don't ignore the blank lines #15 2012-05-14 21:57:58 +02:00
Stephan Gabler
448f56473d simplify date parsing
and remove some whitespace
2012-05-14 21:44:30 +02:00
Manuel Ebert
d4bd93779a Updated .gitignore 2012-05-10 14:26:43 +02:00
Manuel Ebert
e4eef0fa81 Formatted tag count line 2012-05-10 11:27:02 +02:00
Manuel Ebert
e238d88225 Commented on a nested list comprehension, following f96d73d2 2012-05-09 21:49:55 +03:00
Manuel Ebert
f96d73d2e1 Modernised tag count syntax, Python 3 idioms galore! 2012-05-08 13:04:35 +02:00
Manuel Ebert
cfbfcbc50b Bump to 2.3 2012-05-04 16:39:19 +02:00
Manuel Ebert
bd834e7863 Added readme on -short option 2012-05-03 14:27:24 +03:00
Manuel Ebert
b14493eea5 Update CHANGELOG.md 2012-05-03 14:26:04 +03:00
Manuel Ebert
0710411cde Merge pull request #24 from dedan/short_option
add short option like discussed in #20, closes #20
2012-05-03 04:24:16 -07:00
Stephan Gabler
d5b931c4a1 add short option like discussed in #20
a -short option, which only outputs the titles of the entries, not the entire entries. So jrnl @maebert will display the full entries, but jrnl -short @maebert will output all lines containing the tag. jrnl -short without a search tag will display all titles
2012-05-03 11:42:24 +02:00
Manuel Ebert
46a7bea4b4 Merge pull request #20 from dedan/tag_search
highlight only the tags someone searched for in the tag search #16
2012-05-03 02:30:51 -07:00
Stephan Gabler
a79f094fd8 highlight only the tags someone searched for in the tag search #16 2012-04-26 17:29:53 +02:00
Manuel Ebert
0cc57bab49 Update CHANGELOG.md 2012-04-26 14:55:51 +03:00
Manuel Ebert
5a096ccd54 Merge pull request #19 from dedan/fix_editor_not_saved
don't crash if editor file was not saved (treat it as read mode) close #12
2012-04-26 04:52:16 -07:00