Commit Graph

10328 Commits

Author SHA1 Message Date
Simon Michael
1126b4b0dd doc: add --pretty to general options macro for manuals 2021-09-21 17:15:39 -10:00
Simon Michael
72a4c82043 cli: tweak --pretty help 2021-09-21 17:15:39 -10:00
Simon Michael
1b020e004b ;cabal: update cabal files 2021-09-21 15:34:23 -10:00
Simon Michael
19950df745 ;pkg: bump version to 1.23 2021-09-21 15:34:23 -10:00
Simon Michael
1845b13b64 ;doc: backlog 2021-09-21 15:34:23 -10:00
Stephen Morgan
afdeb404b0 fix: colour: NO_COLOR flag no longer overrides an explicit --color option. (#1710)
http://no-color.org/ specifies that command line arguments should
override a NO_COLOR flag.
2021-09-21 15:32:53 -10:00
Stephen Morgan
399d28dc05 cln: Display friendly error message if --pretty is given an incorrect
argument.
2021-09-21 15:32:09 -10:00
Stephen Morgan
2b8190b238 fix: ui: Do not display a screen full of .. when there are no transactions. (#822) 2021-09-21 15:26:49 -10:00
Stephen Morgan
bf3e82f780 imp: pretty: Replace --pretty-tables argument with --pretty=WHEN
argument, which takes yes or no. Default is no for now.
2021-09-21 14:53:52 -10:00
Simon Michael
fbccd7b7ca ;doc: changelogs: tweaks 2021-09-20 18:07:57 -10:00
Simon Michael
17a12f0411 ;doc: changelogs: tweak 2021-09-20 18:01:09 -10:00
Simon Michael
bb4f2ff34f ;doc: update changelogs 2021-09-20 17:58:29 -10:00
Simon Michael
9cae7a076a ;doc: update manuals 2021-09-20 16:56:36 -10:00
Simon Michael
44d494af07 ;doc: update CLI usage texts 2021-09-20 16:55:22 -10:00
Simon Michael
c2e6a2931c ;tests: ui: add missing test file 2021-09-20 16:53:55 -10:00
Stephen Morgan
378df77001 cln: Remove unnecessary normaliseMixedAmount(SquashPricesForDisplay)? functions. 2021-09-20 14:49:34 -10:00
Arjen Langebaerd
c0fd79a40e fix: extend application of commodity style to prices (except precision) and make --commodity-style a general flag 2021-09-20 08:55:55 -10:00
Stephen Morgan
4cfd3cb590 lib!: Remove GenericSourcePos, and replace it with either SourcePos or
(SourcePos, SourcePos).

This has been marked for possible removal for a while. We are keeping
strictly more information. Possible edge cases arise with Timeclock and
CsvReader, but I think these are covered.

The particular motivation for getting rid of this is that
GenericSourcePos is creating some awkward import considerations for
little gain. Removing this enables some flattening of the module
dependency tree.
2021-09-20 08:38:33 -10:00
Simon Michael
04b17e00c4 ;doc: CONTRIBUTING: update most link to https 2021-09-20 08:23:11 -10:00
Simon Michael
94df7ac031 ;doc: CONTRIBUTING: update links 2021-09-20 08:20:19 -10:00
Simon Michael
ea22d76a5c ;doc: CONTRIBUTING: repology links 2021-09-20 07:17:39 -10:00
Simon Michael
41cd7eece6 ;doc: backlog: entry command 2021-09-19 17:19:36 -10:00
Stephen Morgan
df71d2ddd5 dev: Move journal and text parsing utilities into more appropriate places, to reduce reliance on Hledger.Read.Common. 2021-09-19 17:10:38 -10:00
Stephen Morgan
1e766e481e cln: Flatten dependency tree by removing dependencies of Hledger.Reports
on Hledger.Read.

This is done by using equivalent functions/types defined elsewhere
instead.
2021-09-19 17:10:38 -10:00
Stephen Morgan
315e92c08b pkg!: Break functions related to balancing out into a separate module,
Hledger.Data.Balancing.

Both Hledger.Data.Transaction and Hledger.Data.Journal are massive
module with many things in them. Placing the balancing functions, which
are conceptually related, into a separate module helps keep things more
modular.

It also reduces the risk of import cycles, as right now balancing
functions cannot depend on any functions defined outside of
Hledger.Data.Transaction or Hledger.Data.Journal, respectively, if those
modules require basic transaction or journal functions.
2021-09-19 17:10:38 -10:00
Simon Michael
ec569ed3de ;doc: backlog
Move some stuff here from private backlog
2021-09-19 08:31:38 -10:00
Simon Michael
8cace8b543 ;doc: backlog, roadmap 2021-09-19 08:24:29 -10:00
Simon Michael
3948431c8b ;doc: backlog 2021-09-19 08:16:18 -10:00
Simon Michael
3124cafb4e ;doc: backlog 2021-09-19 08:13:42 -10:00
Simon Michael
8f6d536eb5 ;roadmap: tweak 2021-09-19 08:13:33 -10:00
Simon Michael
e386576255 ;tools: Shake: add "orgfiles" for -VVV, fix their deps 2021-09-19 08:04:38 -10:00
Simon Michael
e6b25bf9f3 ;tools: revert "make site" for now 2021-09-19 07:53:04 -10:00
Simon Michael
bdfdfa8051 ;doc: roadmap: name the source file 2021-09-19 07:37:13 -10:00
Simon Michael
4a460ae3e1 ;imp: doc: public BACKLOG.org 2021-09-19 07:35:45 -10:00
Simon Michael
87b532b43d ;imp: tools: ./Shake site builds the website 2021-09-19 06:59:51 -10:00
Simon Michael
b19b1de0cb ;imp: doc: orgify ROADMAP 3: generate .ROADMAP.md for site 2021-09-19 06:58:16 -10:00
Simon Michael
2bfa1cb672 ;imp: doc: orgify ROADMAP 2 2021-09-19 06:34:17 -10:00
Simon Michael
ee49183910 ;imp: doc: orgify ROADMAP 2021-09-19 06:34:17 -10:00
Simon Michael
09f403dfd8 ;imp: make: copy-bins-to-VER -> copy-exe[s]-VER 2021-09-19 06:34:17 -10:00
Simon Michael
b868e61979 ;fix: ui: test wording 2021-09-19 06:34:17 -10:00
Simon Michael
cecf96cd7d ;imp: doc: separate ACHIEVEMENTS 2021-09-19 06:09:59 -10:00
Stephen Morgan
d55ce4d759 ref: performance: Use a Set in accountNamesFromPostings, instead of
nubSort.

This has better performance when there is repetition in the account
names.
2021-09-18 16:00:55 -10:00
Stephen Morgan
ab5350e02c ref: performance: Improve performance for some high-use functions.
mixedAmount(Looks|Is)Zero now operate directly on the MixedAmount,
rather than converting them to a list of amounts first.

mixedAmountCost no longer reconstructs the entire MixedAmount when there
are amounts with no cost.

transactionCheckBalanced only checks if signs are okay if sums are not
okay. It also only traverses the list of postings once when picking real
and balanced virtual postings.
2021-09-18 16:00:55 -10:00
Stephen Morgan
a2d7ac5318 ref: balance: Refactor getPostingsByColumn to use groupByDateSpan.
This reduces code duplication, makes the code more idiomatic, and hides
optimisation magic within groupByDateSpan.
2021-09-18 14:40:28 -10:00
Stephen Morgan
35c33f342b cln: Move column grouping functions form Report.PostingsReport to Data.Dates. 2021-09-18 14:40:28 -10:00
Stephen Morgan
8a6d824900 imp: csv: sql: Use . as a decimal point in sql output for Print command. 2021-09-18 14:32:21 -10:00
Simon Michael
173d69647d ;fix: make help-copy-bins-to: fix help 2021-09-18 12:44:44 -10:00
Malte Brandy
e31eb58ada lib: Allow multiline comments in csv rules 2021-09-18 12:43:49 -10:00
Simon Michael
b79a8473f7 ;doc: update manuals 2021-09-18 12:16:09 -10:00
Simon Michael
9dca1dc7b6 imp: prices: use --infer-market-prices instead of --costs
This command now reuses the --infer-market-prices flag, and uses
a new --infer-reverse-prices flag, instead of the old
--costs and --inverted-costs flags, which are now deprecated and hidden.
2021-09-18 12:12:31 -10:00