Commit Graph

5018 Commits

Author SHA1 Message Date
Simon Michael
2afc955f45 doc: cookbook: fix combined order
[ci skip]
2017-01-26 09:22:57 -08:00
Simon Michael
98d8909bfa site: cookbook: start collecting journal entries
[ci skip]
2017-01-26 09:15:03 -08:00
Simon Michael
6ed238a3d6 doc: regenerate built-in help
[ci skip]
2017-01-26 09:03:30 -08:00
Simon Michael
77c342f6e3 doc: ui, web: better screenshots layout in web manuals
[ci skip]
2017-01-26 09:02:46 -08:00
Simon Michael
ba1599cb97 doc: web: fix extra whitespace after synopsis in text manuals 2017-01-26 08:41:06 -08:00
Simon Michael
aafce634eb doc: fix macro that was hiding screenshots on hledger-ui web manual
[ci skip]
2017-01-26 08:36:29 -08:00
Simon Michael
3e054e4f86 doc: addon list tweaks
Are we done yet ?
[ci skip]
2017-01-26 08:25:03 -08:00
Simon Michael
0247ca9be1 doc: update addons intro
[ci skip]
2017-01-26 08:19:02 -08:00
Simon Michael
4ee496cc98 doc: separate & update addons list
[ci skip]
2017-01-26 07:28:56 -08:00
Simon Michael
60bf39da99 site: docs page cleanups
[ci skip]
2017-01-26 07:00:22 -08:00
Simon Michael
eadc92dd96 site: gitignore
[ci skip]
2017-01-26 07:00:13 -08:00
Simon Michael
e7d459a368 site: begin organising a cookbook 2017-01-26 06:40:50 -08:00
Simon Michael
f0ad41c49a site: drop obsolete manual-all.md 2017-01-26 06:39:37 -08:00
Simon Michael
f1ec6a6647 doc: regenerate hledger docs 2017-01-26 06:39:10 -08:00
Simon Michael
b7092f278b cli, addons: reduce boilerplate a little with hledgerCommandMode helper 2017-01-25 17:10:10 -08:00
Simon Michael
9f8e96d189 prices: update for latest options/help style 2017-01-25 16:36:49 -08:00
Michael Walker
66e33e0b0a Add hledger-check script. 2017-01-25 16:35:47 -08:00
Mykola Orliuk
0a8212bda3 equity: generate assertions 2017-01-25 14:45:54 -08:00
Mykola Orliuk
f3cb32a56f prices: new addon (#486) 2017-01-25 11:50:54 -08:00
Simon Michael
7fab8abd5d ui: fix a GenericSourcePos-related warning 2017-01-25 09:47:21 -08:00
Simon Michael
1f362101cc ui: addenda for #494 2017-01-25 09:42:10 -08:00
Peter Simons
e3d78fd0db hledger-ui: add support for brick 0.17 and vty 0.15 (#494) 2017-01-25 09:35:47 -08:00
Simon Michael
6859b94f4b cli: omit source addons from list when compiled version is present, again
Source and compiled versions of all addons in bin are cluttering up
the commands list. I think this was reasonably well behaved, so I'm
re-enabling it, possibly with a slight fix (.c shadowing .exe).
Some notes:

- when there's only one addon with its base filename, its extension is not displayed (as before)
- addons with (case insensitive) .exe extension or no extension are considered compiled
- when there's exactly two addons with the same base filename, and one of them looks compiled, only that one is kept
- modification time is not checked; an old compiled addon overrides a newer source version
- when there's more than two addons with same base filename, all are kept
2017-01-24 19:34:48 -08:00
Simon Michael
4b3d3fc2fa doc: move last addon docs out of hledger manual; add hledger-iadd
[ci skip]
2017-01-24 15:39:38 -08:00
Simon Michael
1fec6f624c addons, doc: consolidate addon docs in the scripts, rather than the hledger man page 2017-01-24 15:03:16 -08:00
Simon Michael
daf6732368 addons, doc: a new help scheme, more automated and usable
The previous cleanup defined long help separately from the usage text
generated by cmdargs. This meant keeping flag descriptions synced
between the two, and also the short help was often too verbose and
longer than the long help.

Now, the non-usage bits of long help are defined as pre and postambles
within the cmdargs mode, letting cmdargs generate the long help
including all flags. We derive the short help from this by truncating
at the start of the hledger common flags.

Most of the bundled addons (all but hledger-budget) now use the
new scheme and have pretty reasonable -h and --help output.
We can do more to reduce boilerplate for addon authors.
2017-01-24 09:27:43 -08:00
Simon Michael
f4eb9e23e3 addons: add -h & --help to most of them; CliOpts cleanups 2017-01-23 06:17:17 -08:00
Simon Michael
1218ca55f0 bin: don't list .dyn_* files after compile.sh on mac 2017-01-22 15:02:49 -08:00
Simon Michael
ee62d9eb79 rewrite: -> JournalSourcePos 2017-01-22 14:24:53 -08:00
Simon Michael
4221381f18 cli: "QUERY" instead of old "PATTERNS" in command help 2017-01-22 10:05:10 -08:00
Simon Michael
9d139269d2 site: fix, deprecate trello link
[ci skip]
2017-01-20 19:29:21 -08:00
Mykola Orliuk
25d4917ea2 doc: extend with budget addon section 2017-01-20 13:42:17 -08:00
Mykola Orliuk
d5c2ed4fa7 budget: bucketing 2017-01-20 13:42:17 -08:00
Mykola Orliuk
3a632acea0 budget: periodic transactions support 2017-01-20 13:42:17 -08:00
Mykola Orliuk
2d9259ab3a budget: new addon 2017-01-20 13:42:17 -08:00
Simon Michael
71a9cf6bc5 site: devguide: update stackage links
[ci skip]
2017-01-20 09:07:44 -08:00
Simon Michael
1b763d166e doc: misc notes
[ci skip]
2017-01-20 09:07:44 -08:00
Simon Michael
c5f33593fa ui: changelog for 1.1.1
[ci skip]
2017-01-20 09:07:37 -08:00
Mykola Orliuk
7437c96ff6 Make hledger-rewrite tool suitable for re-factoring original journals (#490)
* cli: fix bug in pivot for postings without tag

Without this fix for postings without tag query checked effective
account which is always empty text ("").

* rewrite: inherit dates, change application order

For budgeting it is important to inherit actual date of posting if it
differs from date of transaction. These dates will be added
as a separate line of comment.

More natural order of rewrites is when result of first defined one is
available for all next rewrites.

* rewrite: factor out Hledger.Data.AutoTransaction

* rewrite: add diff output

With this option you can modify your original files without loosing
inter-transaction comments etc. I.e. you can run:

hledger-rewrite --diff Agency \
  --add-posting 'Expenses:Taxes  *0.17' \
  | patch

As result multiple files should be updated.
Also it is nice to review your changes using colordiff instead of
patch.

* lib: track source lines range for journal

* doc: auto entries and diff output for rewrite
2017-01-20 07:33:24 -08:00
Simon Michael
c61de771d4 equity: sync help message with doc 2017-01-19 08:26:03 -08:00
Mykola Orliuk
295af41f38 cli: fix bug in pivot for postings without tag (#491)
Without this fix for postings without tag query checked effective
account which is always empty text ("").
2017-01-19 07:53:00 -08:00
Simon Michael
9759b5c867 doc: clarify tags
[ci skip]
2017-01-16 16:26:51 -08:00
Simon Michael
91dbeedee4 doc: document new --pivot
[ci skip]
2017-01-16 15:53:51 -08:00
Simon Michael
e51bb6944a site: download: list more addons, less verbosely 2017-01-16 14:26:52 -08:00
Simon Michael
9a1128e276 addons: in bin/compile.sh, ensure hledger-chart's extra deps are installed 2017-01-16 14:25:10 -08:00
Simon Michael
5345e2641a regenerate cabal files with hpack
A few packages which included the Paths_* module no longer do,
and this seems ok with stack and cabal as far as I can tell.
That should be the only change, aside from a bunch of reorderings.
2017-01-16 14:23:47 -08:00
Simon Michael
ce69f17db6 lib: fix a potential build failure: add Ledger.Parse.Text to package.yaml 2017-01-16 13:52:30 -08:00
Simon Michael
8c7b0c2925 tools: temporary workaround for appveyor failures 2017-01-16 08:57:38 -08:00
Simon Michael
7b69abf62c doc: upload budget/rewrite/read-related mockups
[ci skip]
2017-01-16 07:55:25 -08:00
Mykola Orliuk
3af81a73ca txnTieKnot fix (~10% memory reduce) (#483)
* bin: ignore chart and dupes addons

* lib: fix txnTieKnot

Ensure that postings refers to their transaction rather than original
one.
This should allow compiler perform destructive update and/or allow
garbage collecting old transaction.
2017-01-16 07:42:41 -08:00