Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							8274da81fc 
							
						 
					 
					
						
						
							
							cln: tests: Remove test and tests, which are just aliases for testCase  
						
						... 
						
						
						
						and testGroup.
Replacing these removes a layer of indirection, and reduces the need to
depend on Hledger.Utils.Test. 
						
					 
					
						2021-08-30 16:32:19 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							83aa7324eb 
							
						 
					 
					
						
						
							
							dev: cli: Move Template Haskell to get git hash from Hledger.Cli.Version  
						
						... 
						
						
						
						to Hledger.Cli.
Since the git hash changes whenever any file in the repository changes,
this means Hledger.Cli.Version needs to be recompiled all the time.
Since it is at the bottom of the module hierarchy, this means that the
whole hledger package needs to be recompiled. We instead move the
TemplateHaskell splice to one of the top modules, so much less needs to
be recompiled.
Note: Ghc seems to be able to get out of most of the recompiling a lot
of the time (due to caching?), but this makes things more reliable. 
						
					 
					
						2021-08-30 15:57:33 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1c402edb06 
							
						 
					 
					
						
						
							
							pkg!: Remove Hledger.Data.Commodity module.  
						
						... 
						
						
						
						There are no modules which depend on Hledger.Data.Commodity which don't
also depend on Hledger.Data.Amount. Though Hledger.Data.Amount is a very
large module and might be broken up, Hledger.Data.Commodity only defines
three very small functions which are used, and so can be combined with
little cost. 
						
					 
					
						2021-08-30 15:57:33 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							a0f9d7560f 
							
						 
					 
					
						
						
							
							pkg!: Remove Hledger.Utils.Color module.  
						
						... 
						
						
						
						This module was only used in one place in Hledger.Data.Amount. The code
has been moved directly into Hledger.Utils. 
						
					 
					
						2021-08-30 15:57:33 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							f1994d5aa8 
							
						 
					 
					
						
						
							
							pkg!: Remove Hledger.Utils.Tree module.  
						
						... 
						
						
						
						This very small module was only used in Hledger.Data.Account, so the
code was moved into that module instead. 
						
					 
					
						2021-08-30 15:57:33 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1ed06f3bc8 
							
						 
					 
					
						
						
							
							pkg!: Remove Hledger.Utils.UTF8IOCompat module.  
						
						... 
						
						
						
						This module does nothing beyond define error' and usageError, which have
been moved to Hledger.Utils. 
						
					 
					
						2021-08-30 15:57:33 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							dade3e3421 
							
						 
					 
					
						
						
							
							credits: notes for all multi-committers  
						
						
						
					 
					
						2021-08-29 09:11:04 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6f96d21a3e 
							
						 
					 
					
						
						
							
							ci: fix windows, make bash requirement explicit  
						
						
						
					 
					
						2021-08-29 08:10:09 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							07faf2ad2f 
							
						 
					 
					
						
						
							
							;credits: notes  
						
						
						
					 
					
						2021-08-29 08:07:50 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							bd113b223f 
							
						 
					 
					
						
						
							
							dev: lens: Introduce lenses for CliOpts.  
						
						
						
					 
					
						2021-08-28 19:12:04 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							f3eacebc1d 
							
						 
					 
					
						
						
							
							dev: lens: Use TemplateHaskell for ReportOpts and ReportSpec.  
						
						... 
						
						
						
						Also rename overWithReport/setWithReport to overEither/setEither. 
						
					 
					
						2021-08-28 19:12:04 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							435ec992f9 
							
						 
					 
					
						
						
							
							dev: lens: Introduce lenses for InputOpts and BalancingOpts.  
						
						
						
					 
					
						2021-08-28 19:12:04 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c784da3d0c 
							
						 
					 
					
						
						
							
							dev: lens: Create a Template Haskell helper for generating classy lenses  
						
						... 
						
						
						
						for hledger options.
This works for BalancingOpts, InputOpts, ReportOpts, ReportSpec, and CliOpts. 
						
					 
					
						2021-08-28 19:12:04 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							13206d0b18 
							
						 
					 
					
						
						
							
							cln: Rename balancingOpts to defbalancingopts, to be consistent with definputopts, defreportopts, etc.  
						
						
						
					 
					
						2021-08-28 19:12:04 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e310ba574c 
							
						 
					 
					
						
						
							
							;credits: update  
						
						
						
					 
					
						2021-08-28 17:19:35 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							35be02a4f3 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up some examples of using sortOn.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							b7bf780c52 
							
						 
					 
					
						
						
							
							dev: hlint: Avoid use of reverse.  
						
						... 
						
						
						
						Note that this is semantically different, and will produce different
results. In particular, the sort is now stable, i.e. account names with
the same balance will not have their order reversed relative to each
other. In this context there doesn't seem to be a reason to prefer one
order to the other, so I'm making this change. 
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							d248aec313 
							
						 
					 
					
						
						
							
							cln: hlint: Remove eta reduce warnings.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							32dad455fd 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up section related warnings.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1a534e485c 
							
						 
					 
					
						
						
							
							cln: hlint: Use fewer imports.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							761e00caa4 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up lambda related warnings.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							8bf7c95697 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up Functor related hlint warnings, and NOINLINE warning.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							21e62ffcbd 
							
						 
					 
					
						
						
							
							cln: hlint: Remove unless and $> warnings.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							beecb3c9ac 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up list related hlint warnings.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							22db5c4a3f 
							
						 
					 
					
						
						
							
							cln: hlint: Remove warnings to use library list functions.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							330c21659f 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up Maybe related hlint warnings.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e13239386f 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up == and elem related hlint warnings.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							82872d261a 
							
						 
					 
					
						
						
							
							cln: hlint: Remove miscellaneous hlint warnings which are no longer tripped.  
						
						
						
					 
					
						2021-08-26 21:00:35 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							3431b1b0d9 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up map-fusion related hlint warnings.  
						
						
						
					 
					
						2021-08-26 21:00:35 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							eb6047e81b 
							
						 
					 
					
						
						
							
							cln: hlint: Remove redundant where and lambda warnings.  
						
						
						
					 
					
						2021-08-26 21:00:35 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							71032c637e 
							
						 
					 
					
						
						
							
							cln: hlint: Remove cons warnings.  
						
						
						
					 
					
						2021-08-26 21:00:35 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							435fbf001e 
							
						 
					 
					
						
						
							
							cln: hlint: Remove <|> and bimap warnings.  
						
						
						
					 
					
						2021-08-26 21:00:35 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							46b0745412 
							
						 
					 
					
						
						
							
							cln: hlint: Remove Either and Bifunctor related warnings.  
						
						
						
					 
					
						2021-08-26 21:00:35 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							69502c44fe 
							
						 
					 
					
						
						
							
							cln: hlint: Fix record patterns warnings.  
						
						
						
					 
					
						2021-08-26 21:00:35 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1c211f8ab8 
							
						 
					 
					
						
						
							
							cln: hlint: Fix redundant return warning.  
						
						
						
					 
					
						2021-08-26 21:00:35 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8bf7cd30ae 
							
						 
					 
					
						
						
							
							;doc: update changelogs  
						
						
						
					 
					
						2021-08-26 20:59:45 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							405fdf7afe 
							
						 
					 
					
						
						
							
							;doc: forecasting: tweak, report-intervals  
						
						
						
					 
					
						2021-08-26 20:41:30 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							05603ee28f 
							
						 
					 
					
						
						
							
							;doc: forecasting: tweak, mdbook/commonmark eats the required double space  
						
						
						
					 
					
						2021-08-26 20:39:14 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5a6098b7cd 
							
						 
					 
					
						
						
							
							;doc: rewrite forecasting doc, sync with  #1667  
						
						
						
					 
					
						2021-08-26 20:33:08 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							16b4702dce 
							
						 
					 
					
						
						
							
							fix: ui: Ensure that forecast_ argument gets restored to the startup  
						
						... 
						
						
						
						opts when toggling. 
						
					 
					
						2021-08-26 20:32:30 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c07ad29a87 
							
						 
					 
					
						
						
							
							imp!: forecast: Implements more intuitive logic for the forecast interval. ( #1648 )  
						
						... 
						
						
						
						The forecast period begins on:
- the start date supplied to the `--forecast` argument, if present
- otherwise, the later of
  - the report start date if specified with -b/-p/date:
  - the day after the latest normal (non-periodic) transaction in the journal, if any
- otherwise today.
It ends on:
- the end date supplied to the `--forecast` argument, if present
- otherwise the report end date if specified with -e/-p/date:
- otherwise 180 days (6 months) from today.
Note that the previous behaviour did not quite match the documentation,
so this also acts as a bug fix for #1665 . 
						
					 
					
						2021-08-26 20:32:30 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							65e10aebd2 
							
						 
					 
					
						
						
							
							dev: test: Convert forecast.test to shelltestrunner format 3  
						
						... 
						
						
						
						We'll soon implement some tests that have the same input, so this will
reduce duplication. 
						
					 
					
						2021-08-26 20:32:30 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							092e9479f0 
							
						 
					 
					
						
						
							
							;ui: update forecast example journal and hledger-ui forecast tests  
						
						... 
						
						
						
						Related to #1667 . 
						
					 
					
						2021-08-26 19:51:01 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							76a6c5fe4f 
							
						 
					 
					
						
						
							
							;ui: test: cleanup, remove non-working test attempts  
						
						
						
					 
					
						2021-08-26 19:50:57 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							aa7a99a437 
							
						 
					 
					
						
						
							
							cln: hlint: Fix hlint warnings in Query.hs.  
						
						
						
					 
					
						2021-08-26 07:23:11 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							d13ce0e134 
							
						 
					 
					
						
						
							
							cln: hlint: Remove Unused LANGUAGE pragma ignore.  
						
						
						
					 
					
						2021-08-26 07:23:11 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							7edcbe4be8 
							
						 
					 
					
						
						
							
							cln: hlint: Remove rendundant guard warnings.  
						
						
						
					 
					
						2021-08-26 07:23:11 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e666bbcaf0 
							
						 
					 
					
						
						
							
							cln: hlint: Fix newtype warning.  
						
						
						
					 
					
						2021-08-26 07:23:11 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1e69fd81ea 
							
						 
					 
					
						
						
							
							cln: hlint: Remove if warnings.  
						
						
						
					 
					
						2021-08-26 07:23:11 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							d2beb89eba 
							
						 
					 
					
						
						
							
							cln: hlint: Remove exitSuccess warning.  
						
						
						
					 
					
						2021-08-26 07:23:11 -10:00