Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b31e40ceca 
							
						 
					 
					
						
						
							
							lib: avoid shady Not (Or []) in account type queries  
						
						
						
					 
					
						2021-02-13 14:58:06 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6c392e9f43 
							
						 
					 
					
						
						
							
							bs: don't let just a Cash declaration hide Asset accounts  
						
						... 
						
						
						
						Clarify the account type queries a bit, and don't let a
declaration of account as Cash cause the fallback regex
for Asset accounts to be ignored. 
						
					 
					
						2021-02-13 14:54:04 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b9d33a4294 
							
						 
					 
					
						
						
							
							bs: just declaring a Cash account no longer hides Asset accounts  
						
						... 
						
						
						
						Since Cash is also an Asset, declaring an account as Cash also disabled the fallback regexp for Asset accounts. 
						
					 
					
						2021-02-13 08:09:45 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							50bfc26ca7 
							
						 
					 
					
						
						
							
							;lib: commentAddTagNextLine was broken  
						
						... 
						
						
						
						It would not add the tag when a comment already existed.
This affected hledger-print-location.hs and probably
the generated-transaction: tag in periodic transactions. 
						
					 
					
						2021-02-12 13:56:02 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c8bc9c7088 
							
						 
					 
					
						
						
							
							bin: more robust --package syntax, comma form sometimes fails  
						
						
						
					 
					
						2021-02-12 13:55:31 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							94c0832b85 
							
						 
					 
					
						
						
							
							examples: csv: daedalus wallet csv rules  
						
						
						
					 
					
						2021-02-06 14:20:26 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d865ec5d65 
							
						 
					 
					
						
						
							
							lib: refactor: more consistent amount precision helpers  
						
						... 
						
						
						
						Hledger.Data.Amount:
renamed:
setAmountPrecision -> amountSetPrecision
setFullPrecision -> amountSetFullPrecision
setMixedAmountPrecision -> mixedAmountSetPrecision
added:
mixedAmountSetFullPrecision 
						
					 
					
						2021-02-05 16:09:49 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d5ed8090fa 
							
						 
					 
					
						
						
							
							;lib: document AmountPrecision  
						
						
						
					 
					
						2021-02-05 16:09:49 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							37e49ada70 
							
						 
					 
					
						
						
							
							cli: rename --infer-value to --infer-market-price  
						
						... 
						
						
						
						For clarity; infer-value was too vague. The old spelling remains
supported for compatibility, but is now deprecated.
When typing, --infer-market or even --infer (for now) is sufficient. 
						
					 
					
						2021-02-05 15:16:39 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							681965e2d4 
							
						 
					 
					
						
						
							
							;journal: doc: wording tweak for  #1465  
						
						
						
					 
					
						2021-02-04 08:13:55 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2a4170dd3b 
							
						 
					 
					
						
						
							
							ui: transaction: show all decimal places (like print, cf  #931 )  
						
						... 
						
						
						
						On the accounts screen and register screen we round amounts according
to commodity styles, but when you drill down to a transaction you
probably want to see the unrounded amounts. 
						
					 
					
						2021-02-04 08:13:55 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f52117120b 
							
						 
					 
					
						
						
							
							lib: refactor: rename journal/transaction mapping helpers  
						
						... 
						
						
						
						Hledger.Data.Journal:
changed:
mapJournalTransactions -> journalMapTransactions
mapJournalPostings -> journalMapPostings
removed:
mapTransactionPostings
Hledger.Data.Transaction:
added:
transactionMapPostings 
						
					 
					
						2021-02-04 08:13:55 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6101368954 
							
						 
					 
					
						
						
							
							print: always show all decimal places  ( #931 )  
						
						... 
						
						
						
						Ensures parseable and more sensible-looking output in more cases, and behaves more like Ledger's print.
There is still an issue with adding trailing zeroes, which would be nice to prevent. 
						
					 
					
						2021-02-04 08:13:55 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0274b30742 
							
						 
					 
					
						
						
							
							print: don't add decimal places in assertion/assignment amounts either ( #1465 )  
						
						
						
					 
					
						2021-02-04 06:46:09 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a91a2ed2ed 
							
						 
					 
					
						
						
							
							;csv: doc: note how CSV amounts affect display style ( #1465 )  
						
						
						
					 
					
						2021-02-04 06:30:14 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							201f967411 
							
						 
					 
					
						
						
							
							print: show all decimal places in assertion/assignment amounts ( #1465 )  
						
						... 
						
						
						
						Overriding the commodity style, per https://hledger.org/hledger.html#commodity-display-style . 
						
					 
					
						2021-02-03 18:11:44 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							74f288a01d 
							
						 
					 
					
						
						
							
							;doc: valuation: fix typos  
						
						
						
					 
					
						2021-01-31 13:33:50 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							37290eec04 
							
						 
					 
					
						
						
							
							;bin: smooth: note beancount tool  
						
						
						
					 
					
						2021-01-30 17:27:46 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							31868a6892 
							
						 
					 
					
						
						
							
							;stack: build with lts-17/ghc-8.10.3 by default  
						
						
						
					 
					
						2021-01-29 15:13:06 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e21bf0c3bc 
							
						 
					 
					
						
						
							
							install: 1.20.4  
						
						
						
					 
					
						2021-01-29 14:38:40 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a477aa95b0 
							
						 
					 
					
						
						
							
							;bin: ignore stderr in func tests, check only exit code  
						
						... 
						
						
						
						This avoids failures when stack prints to stderr, eg when fetching
hackage index. 
						
					 
					
						2021-01-29 12:09:58 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							765ab0772e 
							
						 
					 
					
						
						
							
							;make functest: bump threads from 16 to 64  
						
						... 
						
						
						
						Runs them faster on machines with more cores (eg 22s -> 15s),
should be harmless elsewhere. 
						
					 
					
						2021-01-29 12:09:02 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fa5c270074 
							
						 
					 
					
						
						
							
							;make functest: drop the timeout, it makes tests too unreliable  
						
						
						
					 
					
						2021-01-29 11:51:40 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3429601750 
							
						 
					 
					
						
						
							
							Merge  #1470 : prefer change-of-value; separate cost & value ( #1353 )  
						
						... 
						
						
						
						"This implements Tier 1 of #1353 
(https://github.com/simonmichael/hledger/issues/1353#issuecomment-762623077 ),
minus the mockups of the documentation for Tier 1.1." 
						
					 
					
						2021-01-29 11:24:45 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e6cf2fb499 
							
						 
					 
					
						
						
							
							doc: Document new independent costing and valuation features in manual.  
						
						
						
					 
					
						2021-01-28 13:57:49 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							b619b68f71 
							
						 
					 
					
						
						
							
							doc: Remove references to --value=cost, replacing them with --cost.  
						
						... 
						
						
						
						Since this is option is now just an alias for -B/--cost, and since it
may be removed soon, we make it undocumented, though it will still
behave as before. --value=cost,COMM is unsupported as well. 
						
					 
					
						2021-01-28 13:57:48 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c9eb7d1bcf 
							
						 
					 
					
						
						
							
							lib,cli,ui: Separate costing from valuation; each can now be specified  
						
						... 
						
						
						
						independently.
You can now combine costing and valuation, for example "--cost
--value=then" will first convert to costs, and then value according to
the "--value=then" strategy. Any valuation strategy can be used with or
without costing.
If multiple valuation and costing strategies are specified on the
command line, then if any of them include costing
(-B/--cost/--value=cost) then amounts will be converted to cost, and for
valuation strategy the rightmost will be used.
--value=cost is deprecated, but still supported and is equivalent to
--cost/-B. --value=cost,COMM is no longer supported, but this behaviour can be
achieved with "--cost --value=then,COMM". 
						
					 
					
						2021-01-28 13:57:48 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							130739e3ef 
							
						 
					 
					
						
						
							
							lib,cli,ui: Introduce *ApplyCostValuation functions, which perform both  
						
						... 
						
						
						
						costing and valuation.
This currently is given a dummy NoCost argument and is equivalent to
"maybe id (*ApplyValuation ...)", but provides a constant interface so
that internal behaviour can be changed freely. 
						
					 
					
						2021-01-28 13:57:48 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							9881ec9652 
							
						 
					 
					
						
						
							
							lib: Use mapMixedAmount more, decreasing reliance on internal representation of Mixed.  
						
						
						
					 
					
						2021-01-28 13:57:48 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							a632e2fee9 
							
						 
					 
					
						
						
							
							test: Period change reports should not see historical postings when performing valuation.  
						
						
						
					 
					
						2021-01-28 13:57:48 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							9cf5015958 
							
						 
					 
					
						
						
							
							lib: bal --value=end without --historical should not report on fluctuation in value of historical postings.  
						
						
						
					 
					
						2021-01-28 13:57:48 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c005655311 
							
						 
					 
					
						
						
							
							;stack: 8.10: bump to current nightly  
						
						
						
					 
					
						2021-01-28 13:57:35 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							93e5355a2b 
							
						 
					 
					
						
						
							
							;areg: doc: clarify account selection  
						
						
						
					 
					
						2021-01-28 07:22:21 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6650a563fb 
							
						 
					 
					
						
						
							
							;areg: doc: try to clarify aregister's purpose  
						
						
						
					 
					
						2021-01-27 12:53:49 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a91ca6892b 
							
						 
					 
					
						
						
							
							;areg: doc: mention depth limit is ignored ( #1468 )  
						
						
						
					 
					
						2021-01-24 10:02:34 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							507648383d 
							
						 
					 
					
						
						
							
							ui: register: show all txns in/under an account at depth limit ( #1468 )  
						
						... 
						
						
						
						As in 1.19. This was broken since 2020-09-02 c45663d41 
						
					 
					
						2021-01-24 09:54:18 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							08c5857ac9 
							
						 
					 
					
						
						
							
							areg: ignore a depth limit, as in 1.19 ( #1468 )  
						
						... 
						
						
						
						aregister always shows transactions to subaccounts as well, ignoring any depth limit, so that the register's final total matches a corresponding balance report.
This was broken since 2020-09-02 c45663d41 
						
					 
					
						2021-01-24 09:46:12 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							58df055f7c 
							
						 
					 
					
						
						
							
							;areg: add a commented test for  #1468  
						
						
						
					 
					
						2021-01-23 17:15:38 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2e5ac08b69 
							
						 
					 
					
						
						
							
							;ui: add a manual test for  #1468  
						
						
						
					 
					
						2021-01-23 17:04:51 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							337bc989ab 
							
						 
					 
					
						
						
							
							;bal: notes for single-period html output  
						
						
						
					 
					
						2021-01-21 16:44:26 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							540c65994c 
							
						 
					 
					
						
						
							
							payees: add --used/--declared flags, like accounts  
						
						
						
					 
					
						2021-01-17 16:37:38 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bf328e4e3c 
							
						 
					 
					
						
						
							
							lib: matchesDescription, matchesPayeeWIP  
						
						
						
					 
					
						2021-01-17 16:37:38 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3f095fb472 
							
						 
					 
					
						
						
							
							web: add form: in description field also offer declared/used payees  
						
						
						
					 
					
						2021-01-17 16:37:38 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							422329fbfa 
							
						 
					 
					
						
						
							
							lib: journalPayeesUsed, journalPayeesDeclaredOrUsed  
						
						
						
					 
					
						2021-01-17 16:37:38 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							db9b034037 
							
						 
					 
					
						
						
							
							lib: Journal: avoid a build failure if monad-extras is installed  
						
						
						
					 
					
						2021-01-17 16:37:38 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							63076d212d 
							
						 
					 
					
						
						
							
							;csv: csvtest.sh: add history note  ( #1434 )  
						
						... 
						
						
						
						In case someone might want to find the old code. 
						
					 
					
						2021-01-15 13:19:24 -08:00 
						 
				 
			
				
					
						
							
							
								Felix Van der Jeugt 
							
						 
					 
					
						
						
						
						
							
						
						
							a79a7cfdb8 
							
						 
					 
					
						
						
							
							make testscript POSIX and shellchecked  
						
						
						
					 
					
						2021-01-15 13:18:51 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							5d664fc528 
							
						 
					 
					
						
						
							
							lib: Expose textConcatBottomPadded.  
						
						
						
					 
					
						2021-01-15 12:56:48 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							217bfc5e74 
							
						 
					 
					
						
						
							
							lib: Rename alignCell to textCell, minor cleanups.  
						
						
						
					 
					
						2021-01-15 12:56:48 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							9ad0eef69b 
							
						 
					 
					
						
						
							
							lib: Update textConcatTopPadded to use Tabular.AsciiWide, same as concatTopPadded.  
						
						
						
					 
					
						2021-01-15 12:56:48 -08:00