Commit Graph

7028 Commits

Author SHA1 Message Date
Simon Michael
5aafc186b6 make: prefixes no longer removed
[ci skip]
2019-01-26 07:32:29 -08:00
Simon Michael
b1e8233f80 doc: use a project-wide changelog for staging at least
[ci skip]
2019-01-26 07:27:44 -08:00
Simon Michael
ed709d68ca make: new changelog update process
"make changelogs" updates the project-wide and package changelogs,
inserting new commits at the top, formatted as changelog entries.

New commits means commits touching that directory, since the tag
version or commit hash which is the first word in the changelog's
previous top-most heading.

[ci skip]
2019-01-26 07:15:29 -08:00
Simon Michael
cb3f202922 make: comments
[ci skip]
2019-01-25 18:41:46 -08:00
Simon Michael
1e5e30ae87 regen cabal files
[ci skip]
2019-01-25 18:33:39 -08:00
Simon Michael
d517aef702 doc: changelogs: drop unnecessary backslashes before #*_<>$
sed commands:
 s/\\#/#/g;
 s/\\\*/*/g;
 s/\\_/_/g;
 s/\\</</g;
 s/\\>/>/g;
 s/\\\$/$/g;

[ci skip]
2019-01-25 18:30:09 -08:00
Simon Michael
7b67876a80 doc: changelogs: convert to clean pandoc markdown
pandoc options:
  -f markdown-auto_identifiers
  -t markdown-header_attributes-fenced_code_attributes --atx-headers --wrap=preserve

[ci skip]
2019-01-25 18:23:36 -08:00
Simon Michael
01c6f3e665 doc: changelogs: rename to CHANGES.md
These have been an adhoc mixture of plain text, markdown and org, and
used in each mode at different times. They will now have a definite
format, which for now is markdown. Org was another contender.

[ci skip]
2019-01-25 18:12:33 -08:00
Simon Michael
49a6e5715d doc: changelogs: some fixes to markdown markup
[ci skip]
2019-01-25 18:08:24 -08:00
Simon Michael
1525f3b706 doc: ui: typo!
[ci skip]
2019-01-25 17:25:59 -08:00
Dmitry Astapov
f6e5b3d438 lib: make --auto work on --forecast transactions 2019-01-25 12:53:59 -08:00
Dmitry Astapov
f2aaaf3310 lib, cli: merge --show-unbudgeted into --empty 2019-01-25 12:53:09 -08:00
Simon Michael
8d03adc5ad make: include doc files and hpack/cabal files in tags again
[ci skip]
2019-01-25 12:45:21 -08:00
Simon Michael
550e33a558 journal: fix balance assertions/assignments & prices (#824)
Hopefully this is will do it. This restores the past behaviour:

- parsing prices in balance assertions/assignments
- ignoring them in assertions
- using them in assignments
- and printing them

and clarifies tests and docs.
2019-01-25 12:41:10 -08:00
Simon Michael
08c0d83593 close: generated unpriced balance assertion amounts (#824) 2019-01-25 11:55:09 -08:00
Simon Michael
f320345699 close: refactor 2019-01-25 10:23:01 -08:00
Simon Michael
a5eb5bdff9 journal: fix balance assertions test (#824, #958) 2019-01-25 10:09:40 -08:00
Simon Michael
94d5c6f111 journal: allow prices in balance assertions, but ignore (#824, #958) 2019-01-25 08:59:37 -08:00
Simon Michael
b02f81572c lib: comment
[ci skip]
2019-01-25 08:51:45 -08:00
Simon Michael
789e8be280 shake: update required tools list
[ci skip]
2019-01-25 07:04:16 -08:00
Simon Michael
1969a42a72 doc: ui: fix bullet list
[ci skip]
2019-01-24 15:42:23 -08:00
Simon Michael
67dde9d4ae doc: regenerate manuals, removing some smart typography
[ci skip]
2019-01-24 15:37:40 -08:00
Simon Michael
eac15369f2 doc: stop pandoc typography conversions in html manuals (#954)
Eg: -- was being rendered as en-dash.

[ci skip]
2019-01-24 15:29:56 -08:00
Dmitry Astapov
5711cdf9ba cli: added --transpose to "balance" command 2019-01-24 15:06:35 -08:00
Dmitry Astapov
f3366c7256 lib: fix behavior of nested budgets and --show-unbudgeted 2019-01-24 14:56:22 -08:00
Dmitry Astapov
92e7370f1f lib: fix alignment in budget report 2019-01-24 14:56:22 -08:00
Simon Michael
d094138910 api: fix recent build breakage 2019-01-24 14:40:55 -08:00
Dmitry Astapov
56553ede69 cli: if abs(return on investment)<0.01% display it as zero 2019-01-24 13:36:11 -08:00
Simon Michael
ad424e0381 ui: C-z suspend now restores the terminal cleanly 2019-01-23 17:26:27 -08:00
Simon Michael
f7c22f97dc refactor: simplify addonCommandMode 2019-01-23 17:26:27 -08:00
Simon Michael
b2c1e0b0ac close: doc tweaks
[ci skip]
2019-01-23 17:26:27 -08:00
Simon Michael
fcb33c4f0c close: fix ghci build / make build working-dir-independent again 2019-01-23 17:26:27 -08:00
Jakob Schöttl
00253678a9 Add feature documentation 2019-01-23 16:46:17 -08:00
Jakob Schöttl
903fe734e3 Add doc 2019-01-23 16:46:17 -08:00
Jakob Schöttl
3f407a326d Add completions for query filters 2019-01-23 16:46:17 -08:00
Jakob Schöttl
5df9de3abb Remove old file 2019-01-23 16:46:17 -08:00
Jakob Schöttl
f19eb04e8d Update completion script artifact 2019-01-23 16:46:17 -08:00
Jakob Schöttl
1ee13bff66 Fix comments 2019-01-23 16:46:17 -08:00
Jakob Schöttl
13c4235730 Leave out subcommands with only one letter 2019-01-23 16:46:17 -08:00
Jakob Schöttl
43b3fb3cae Bugfix: use proper built-in file completion with support for subfolders 2019-01-23 16:46:17 -08:00
Jakob Schöttl
65ec51c3d9 Apply naming convention for function and variable name
It seems to be convention to start the completion function name with an
underscore. I also prepend an underscore to the global variable.

(I still don't understand why  env  does not show this global variable
defined in the hledger-completion.bash script.)
2019-01-23 16:46:17 -08:00
Jakob Schöttl
ae060d9f13 Refactor Makefile
hledger-completion.bash does not depend on command-options because this
phony target is so slow. Use  make  once and subsequently only
make hledger-completion.bash
2019-01-23 16:46:17 -08:00
Jakob Schöttl
a2dc1289a5 Add doc on adding support for other shells 2019-01-23 16:46:17 -08:00
Jakob Schöttl
84eaf20f9b Add bash completion script (an artifact) 2019-01-23 16:46:17 -08:00
Jakob Schöttl
e491f34ddf Bugfix and remove unused code
Bug was: Account names with spaces were broken into single completion
suggestions, not line by line.
2019-01-23 16:46:17 -08:00
Jakob Schöttl
90257a1729 Fix comments 2019-01-23 16:46:17 -08:00
Jakob Schöttl
db00f5b452 Speed up Makefile script a little bit 2019-01-23 16:46:17 -08:00
Jakob Schöttl
5638c89f53 Update README and .gitignore 2019-01-23 16:46:17 -08:00
Jakob Schöttl
e747b9fa8c Remove useless case 2019-01-23 16:46:17 -08:00
Jakob Schöttl
637ab8855d Bugfix for --file=... case 2019-01-23 16:46:17 -08:00