hledger/hledger-lib
Simon Michael 3de8c11de1 journal: a new account sorting mechanism, and a bunch of sorting fixes
A bunch of account sorting changes that got intermingled.

First, account codes have been dropped. They can still be parsed and
will be ignored, for now. I don't know if anyone used them.
Instead, account display order is now controlled by the order of account
directives, if any. From the mail list:

  I'd like to drop account codes, introduced in hledger 1.9 to control
  the display order of accounts. In my experience,

  - they are tedious to maintain
  - they duplicate/compete with the natural tendency to arrange account
    directives to match your mental chart of accounts
  - they duplicate/compete with the tree structure created by account
    names

  and it gets worse if you think about using them more extensively,
  eg to classify accounts by type.

  Instead, I plan to just let the position (parse order) of account
  directives determine the display order of those declared accounts.
  Undeclared accounts will be displayed after declared accounts,
  sorted alphabetically as usual.

Second, the various account sorting modes have been implemented more
widely and more correctly. All sorting modes (alphabetically, by account
declaration, by amount) should now work correctly in almost all commands
and modes (non-tabular and tabular balance reports, tree and flat modes,
the accounts command). Sorting bugs have been fixed, eg #875.
Only the budget report (balance --budget) does not yet support sorting.

Comprehensive functional tests for sorting in the accounts and balance
commands have been added. If you are confused by some sorting behaviour,
studying these tests is recommended, as sorting gets tricky.
2018-09-22 21:45:07 -10:00
..
Hledger journal: a new account sorting mechanism, and a bunch of sorting fixes 2018-09-22 21:45:07 -10:00
other/ledger-parse lib: restrict imports, avoiding GHCI clashes 2016-11-20 10:27:16 -08:00
test tests: make doctests suite run with old ghcs 2018-09-07 12:34:51 -07:00
Text lib: move custom parse errors to Text.Megaparsec.Custom 2018-06-11 13:58:56 -06:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
CHANGES changelogs 2018-06-30 21:57:06 +01:00
hledger_csv.5 doc: update manuals harder, they should say 1.10.99 2018-07-04 15:09:57 +01:00
hledger_csv.info doc: update manuals harder, they should say 1.10.99 2018-07-04 15:09:57 +01:00
hledger_csv.m4.md doc: csv: fix how-to link 2018-05-04 09:03:00 -07:00
hledger_csv.txt doc: update manuals harder, they should say 1.10.99 2018-07-04 15:09:57 +01:00
hledger_journal_directives.m4.md lib: doc: journal: describe current directive semantics, finally 2018-06-20 19:41:28 -07:00
hledger_journal.5 update embedded manuals 2018-09-06 12:03:50 -07:00
hledger_journal.info update embedded manuals 2018-09-06 12:03:50 -07:00
hledger_journal.m4.md journal: a new account sorting mechanism, and a bunch of sorting fixes 2018-09-22 21:45:07 -10:00
hledger_journal.txt update embedded manuals 2018-09-06 12:03:50 -07:00
hledger_timeclock.5 doc: update manuals harder, they should say 1.10.99 2018-07-04 15:09:57 +01:00
hledger_timeclock.info doc: update manuals harder, they should say 1.10.99 2018-07-04 15:09:57 +01:00
hledger_timeclock.m4.md remove numbers from all but nroff filenames 2017-12-06 18:35:18 -08:00
hledger_timeclock.txt doc: update manuals harder, they should say 1.10.99 2018-07-04 15:09:57 +01:00
hledger_timedot.5 doc: update manuals harder, they should say 1.10.99 2018-07-04 15:09:57 +01:00
hledger_timedot.info doc: update manuals harder, they should say 1.10.99 2018-07-04 15:09:57 +01:00
hledger_timedot.m4.md doc: journal: directives & periodic/automated cleanups 2018-04-29 18:02:16 -07:00
hledger_timedot.txt doc: update manuals harder, they should say 1.10.99 2018-07-04 15:09:57 +01:00
hledger-lib.cabal lib, cli, ui, web: update cabal files 2018-09-22 21:01:23 -10:00
Hledger.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
LICENSE split off hledger-lib package, containing core types & utils 2010-03-22 01:44:59 +00:00
package.yaml lib, cli, ui, web: upper bound to avoid megaparsec 7 for now 2018-09-20 20:48:47 -10:00
README doc: ensure all five main packages have a README 2016-04-12 11:13:01 -07:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00

A reusable library containing hledger's core functionality.
This is used by most hledger* packages for common data parsing,
command line option handling, reporting etc.