Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							43d935efda 
							
						 
					 
					
						
						
							
							fix: ui: declared accounts respect not:ACCT (another  #1783  fix)  
						
						
						
					 
					
						2021-12-09 13:45:57 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d1a0d37bd1 
							
						 
					 
					
						
						
							
							fix: bal: --declared now respects not:ACCT ( fix   #1783 )  
						
						
						
					 
					
						2021-12-09 12:58:22 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							25598a231f 
							
						 
					 
					
						
						
							
							lib: clarify filterQuery, add filterQueryOrNotQuery ( #1783 )  
						
						
						
					 
					
						2021-12-09 12:57:26 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							900e2167fc 
							
						 
					 
					
						
						
							
							fix: bal: better fix for treeLeaves, fixing func tests ( #1782 )  
						
						
						
					 
					
						2021-12-08 18:14:08 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2bb309b073 
							
						 
					 
					
						
						
							
							fix: ui: don't show root account, respect not:ACCT ( fix   #1782 )  
						
						
						
					 
					
						2021-12-08 17:17:57 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0d83bdf6d7 
							
						 
					 
					
						
						
							
							cln: csv: small rename  
						
						
						
					 
					
						2021-12-08 16:57:53 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c4004fca28 
							
						 
					 
					
						
						
							
							imp: csv: Do not display thousands separators when outputting csv.  
						
						
						
					 
					
						2021-12-06 15:17:46 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							35c1c9b6a2 
							
						 
					 
					
						
						
							
							pkg: progress towards supporting GHC 9.2 and newer libs ( #1774 )  
						
						... 
						
						
						
						hledger-lib builds, hledger's deps don't (shakespeare). 
						
					 
					
						2021-12-06 12:32:50 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							7ccf7430d0 
							
						 
					 
					
						
						
							
							imp: csv: Allow for generating tidy csv with --layout=tidy.  
						
						... 
						
						
						
						This puts every date in a separate row, which is more suitable for
many graphing programs. 
						
					 
					
						2021-12-05 16:06:44 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							3884f90cc6 
							
						 
					 
					
						
						
							
							lib!: Rename CommodityLayout to Layout and rename constructors.  
						
						... 
						
						
						
						Their scope is more than just commodities. 
						
					 
					
						2021-12-05 16:06:44 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ce3ec28e3d 
							
						 
					 
					
						
						
							
							;cabal: update cabal files  
						
						
						
					 
					
						2021-12-01 22:16:37 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							66619803b7 
							
						 
					 
					
						
						
							
							;pkg: bump version to 1.24.99  
						
						
						
					 
					
						2021-12-01 22:16:37 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2382fe5db8 
							
						 
					 
					
						
						
							
							;doc: finalise changelogs  
						
						
						
					 
					
						2021-12-01 18:23:16 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0c4b820111 
							
						 
					 
					
						
						
							
							;cabal: update cabal files  
						
						
						
					 
					
						2021-12-01 17:16:28 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							387325b59e 
							
						 
					 
					
						
						
							
							;pkg: bump version to 1.24  
						
						
						
					 
					
						2021-12-01 17:16:28 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1d3f7a2aad 
							
						 
					 
					
						
						
							
							;doc: update manuals  
						
						
						
					 
					
						2021-12-01 17:16:04 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							55f5aa9238 
							
						 
					 
					
						
						
							
							;doc: changelog edits  
						
						
						
					 
					
						2021-11-26 21:06:52 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4933b9fc45 
							
						 
					 
					
						
						
							
							;doc: draft changelogs  
						
						
						
					 
					
						2021-11-26 12:02:36 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7e47d36451 
							
						 
					 
					
						
						
							
							;cln: typo  
						
						
						
					 
					
						2021-11-25 11:55:58 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7f320ebfa9 
							
						 
					 
					
						
						
							
							imp: balcmds: support --declared on bs/cf/is also ( #1765 )  
						
						
						
					 
					
						2021-11-25 11:55:58 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6319d6148f 
							
						 
					 
					
						
						
							
							feat: bal: with --declared, include declared leaf accounts ( #1765 )  
						
						... 
						
						
						
						Together with -E, this shows a balance for both used and declared
accounts (excluding empty parent accounts, which are usually not
wanted in list-mode reports).
This is somewhat consistent with --declared in the accounts and payees
commands, except for the leaf account restriction.
The idea of this is to be able to see a useful "complete" balance
report, even when you don't have transactions in all of your declared
accounts yet. I mainly want this for hledger-ui, but there's no harm
in exposing it in the balance CLI as well. 
						
					 
					
						2021-11-23 09:47:04 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							94d92b9760 
							
						 
					 
					
						
						
							
							Revert "feat: bal: with --declared, include all declared accounts ( #1765 )"  
						
						... 
						
						
						
						This reverts commit a5e19b7391 
						
					 
					
						2021-11-22 12:06:23 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a5e19b7391 
							
						 
					 
					
						
						
							
							feat: bal: with --declared, include all declared accounts ( #1765 )  
						
						... 
						
						
						
						Together with -E, this allows showing a balance for all accounts, both
used and declared. I mainly want this for hledger-ui, but there's no
harm in exposing it in the balance command as well. This is somewhat
consistent with the accounts and payees commands. 
						
					 
					
						2021-11-22 11:08:33 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1fee70b51f 
							
						 
					 
					
						
						
							
							cln: hlint cleanups  
						
						
						
					 
					
						2021-11-21 19:33:21 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							186995fc8b 
							
						 
					 
					
						
						
							
							fix: balance: Balance reports with --depth=0 should report on true  
						
						... 
						
						
						
						values, not zero everywhere. (#1761 ) 
						
					 
					
						2021-11-20 15:47:57 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3c889cb565 
							
						 
					 
					
						
						
							
							imp: lib: dlog  
						
						
						
					 
					
						2021-11-20 07:49:41 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cf15dbd7c9 
							
						 
					 
					
						
						
							
							;doc: update manuals  
						
						
						
					 
					
						2021-11-18 22:26:10 -10:00 
						 
				 
			
				
					
						
							
							
								Lawrence 
							
						 
					 
					
						
						
						
						
							
						
						
							fb817ffa55 
							
						 
					 
					
						
						
							
							imp: journal: support decimal-mark directive in journal files  
						
						... 
						
						
						
						To match csv-rule and override amount-style as described in
https://github.com/simonmichael/hledger/issues/1670  
						
					 
					
						2021-11-18 22:17:07 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							d82416b7b9 
							
						 
					 
					
						
						
							
							imp: balance: Add single-line display with elision back in, this time  
						
						... 
						
						
						
						with a separate option --layout=wide,WIDTH. 
						
					 
					
						2021-11-18 21:26:02 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							7e21f05a83 
							
						 
					 
					
						
						
							
							imp: balance: Implement multi-line display for multicommodity balance reports.  
						
						... 
						
						
						
						This allows more control over how multicommodity amounts are displayed.
In addition to the default single-line display, and the recent commodity
column display, we now have multi-line display. This is controlled by
the --layout option, which has possible values "wide", "tall", and
"bare". The --commodity-column option has been hidden, but is equivalent
to --layout=bare.
squash 
						
					 
					
						2021-11-18 21:26:02 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1c90c7f97a 
							
						 
					 
					
						
						
							
							fix: prices: Do not include zero amounts when calculating amounts for balance assignments. ( #1736 )  
						
						... 
						
						
						
						This is not usually a problem, but can get in the way of auto-inferring prices. 
						
					 
					
						2021-11-18 20:59:52 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e35d0b7865 
							
						 
					 
					
						
						
							
							fix: csv: Successfully parse empty csv file. ( #1183 )  
						
						
						
					 
					
						2021-11-18 20:50:02 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							87a7a586d4 
							
						 
					 
					
						
						
							
							fix: csv: Handle multiple zero amounts in postings in csv files. ( #1733 )  
						
						
						
					 
					
						2021-11-18 20:48:55 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c6beb581a1 
							
						 
					 
					
						
						
							
							pkg: Use maximumBound instead of maximumDef to avoid deprecation  
						
						... 
						
						
						
						warnings in safe-0.3.18. 
						
					 
					
						2021-11-14 21:49:58 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							8d161ebe32 
							
						 
					 
					
						
						
							
							cln: Silence build warning due to redundant import.  
						
						
						
					 
					
						2021-11-11 19:42:06 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							ff0132df28 
							
						 
					 
					
						
						
							
							dev: Use realLength from doclayout instead of strWidth and textWidth. ( #895 )  
						
						... 
						
						
						
						This gives us more accurate string length calculations. In particular,
it handles emoji and other scripts properly. 
						
					 
					
						2021-11-11 18:29:50 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							38e311211d 
							
						 
					 
					
						
						
							
							lib!: Semigroup instance of PeriodicReportRow and PeriodicReport now  
						
						... 
						
						
						
						preserves first prrName, rather than the second.
Previously the second name would be taken, ignoring the first. 
						
					 
					
						2021-11-07 07:56:08 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1116846881 
							
						 
					 
					
						
						
							
							lib: Add Bifunctor instances for PeriodicReport and PeriodicReportRow.  
						
						
						
					 
					
						2021-11-07 07:56:08 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							7597e525a3 
							
						 
					 
					
						
						
							
							fix: balance: Balance reports should consider date: queries when calculating  
						
						... 
						
						
						
						report span with --date2. (#1745 ) 
						
					 
					
						2021-11-06 08:51:53 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							41bde20095 
							
						 
					 
					
						
						
							
							timedot: a D default commodity (and style) is applied to timedot aounts  
						
						... 
						
						
						
						This means they can be priced and converted. 
						
					 
					
						2021-11-05 23:34:46 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f00e5c25ec 
							
						 
					 
					
						
						
							
							cln: fix warning  
						
						
						
					 
					
						2021-11-05 23:32:47 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1bc04685b7 
							
						 
					 
					
						
						
							
							pkg: Drop base-compat-batteries dependency.  
						
						... 
						
						
						
						Our supported stackage versions are now new enough that we don't need
any of the compatibility features anymore. 
						
					 
					
						2021-10-31 07:56:07 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c90e7dbc8d 
							
						 
					 
					
						
						
							
							cln: Move posting rendering functions into Hledger.Data.Posting.  
						
						... 
						
						
						
						Replace showPosting with a wrapper around postingAsLines.
The functions textConcat(Top|Bottom)Padded are no longer used anywhere
in the code base, and can be removed if desired.
This produces slightly different output for showPosting, in particular
it no longer displays the transaction date. However, this has been
marked as ‘for debugging only’ for a while, and is only used in
hledger-check-fancy assertions. The output there is still acceptable. 
						
					 
					
						2021-10-31 07:50:50 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e4263e69e1 
							
						 
					 
					
						
						
							
							areg: begin respecting --date2: show txns' date2 ( #1731 )  
						
						
						
					 
					
						2021-10-10 10:34:45 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b4c1188c26 
							
						 
					 
					
						
						
							
							ref!: postingDateOrDate2, transactionDateOrDate2, whichDateFromOpts -> whichDate ( #1731 )  
						
						
						
					 
					
						2021-10-10 10:34:35 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7af2e79465 
							
						 
					 
					
						
						
							
							;cabal: update cabal files  
						
						
						
					 
					
						2021-10-03 22:56:02 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							69905dbc25 
							
						 
					 
					
						
						
							
							;pkg: allow megaparsec 9.2  
						
						
						
					 
					
						2021-10-03 22:55:10 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							5aadcdea4d 
							
						 
					 
					
						
						
							
							ref: Add new helper functions journalValueAndFilterPostings(With)?.  
						
						... 
						
						
						
						Combining valuation with filtration is subtle and error-prone (see e.g. #1625 ).
We have to do in in both MultiBalanceReport and PostingsReport, where it
is done in slightly different ways. This refactors this functionality
into separate functions which are called in both reports, for uniform
behaviour. 
						
					 
					
						2021-09-26 08:13:12 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b857307f64 
							
						 
					 
					
						
						
							
							;cabal: update cabal files  
						
						
						
					 
					
						2021-09-24 12:22:15 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8934c115bd 
							
						 
					 
					
						
						
							
							;pkg: bump version to 1.23.99  
						
						
						
					 
					
						2021-09-24 12:22:15 -10:00