Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							97f2235bca 
							
						 
					 
					
						
						
							
							;lib: refactor amount cost functions  
						
						... 
						
						
						
						Rename costOfAmount -> amountCost, costOfMixedAmount -> mixedAmountCost,
drop amountToCost, mixedAmountToCost. 
						
					 
					
						2020-05-31 15:48:08 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e1ddfc3a1b 
							
						 
					 
					
						
						
							
							lib: also infer market prices from transactions, like Ledger ( #1239 ) (WIP)  
						
						
						
					 
					
						2020-05-25 17:45:31 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7f16d23898 
							
						 
					 
					
						
						
							
							;refactor: extract --value=then error message  
						
						
						
					 
					
						2020-02-24 17:49:53 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							aa96b41efe 
							
						 
					 
					
						
						
							
							print, register: add --value=then, valuing at each posting's date  
						
						... 
						
						
						
						Currently this will give an error with other kinds of report. 
						
					 
					
						2020-02-10 08:20:39 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2b2a0b3cf8 
							
						 
					 
					
						
						
							
							;tests: use "test" alias for testCase everywhere  
						
						... 
						
						
						
						Easier to type and read, and a little clearer to my eyes;
"testCase" implies a single case, but it can contain many assertions. 
						
					 
					
						2019-11-28 15:33:33 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b36f6df110 
							
						 
					 
					
						
						
							
							tests: port all unit tests to tasty, second pass ( #1090 )  
						
						... 
						
						
						
						Hledger.Util.Tests helpers have been cleaned up, and test names are
now shown.
Tests have been cleaned up a bit. Some groups of unnamed tests have
been collapsed into a single named test containing a sequence of
assertions. The test command counts named tests, not assertions, so
the reported unit test count has dropped from 199 to 188. 
						
					 
					
						2019-11-27 13:17:34 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a7f172b085 
							
						 
					 
					
						
						
							
							valuation: -V/-X respects report end date, code/doc cleanups ( #1083 )  
						
						... 
						
						
						
						-V (and -X) now respects a report end date set with -e/-p/date: when
choosing the valuation date, similar to hledger 1.14 and Ledger.
This means that -V/-X aren't exactly like either --value=end or
--value=now. The "Effect of --value on reports" doc has been extended
accordingly, and much of it has been reworded and made more accurate. 
						
					 
					
						2019-09-05 13:41:36 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5925808108 
							
						 
					 
					
						
						
							
							lib, web: unhide exports, fix build  
						
						
						
					 
					
						2019-08-19 12:30:54 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							11519744d8 
							
						 
					 
					
						
						
							
							;lib: Valuation: hide some exports  
						
						
						
					 
					
						2019-08-19 11:59:32 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							62e96b1b20 
							
						 
					 
					
						
						
							
							;lib: move PriceGraph, PriceOracle, ValuationType to Valuation.hs  
						
						
						
					 
					
						2019-08-19 02:21:30 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1cbbe8f43d 
							
						 
					 
					
						
						
							
							memoise market valuation, making it fast ( #999 )  
						
						
						
					 
					
						2019-08-19 02:16:39 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7177f533b2 
							
						 
					 
					
						
						
							
							;lib: pricesAtDate: refactor  
						
						
						
					 
					
						2019-08-01 18:31:39 +02:00 
						 
				 
			
				
					
						
							
							
								Caleb Maclennan 
							
						 
					 
					
						
						
						
						
							
						
						
							11d9e5eb6a 
							
						 
					 
					
						
						
							
							code: Strip extraneous trailing whitespace from Haskell sources  
						
						
						
					 
					
						2019-07-15 16:40:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6f2f8d7638 
							
						 
					 
					
						
						
							
							;deps: a better fix for nubSortBy with ghc 7.10, 8.0  
						
						... 
						
						
						
						nubSortBy and nub . sortBy are not equivalent, it seems.
I didn't notice the failing valuation func tests. 
						
					 
					
						2019-07-13 00:13:33 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ec310aea73 
							
						 
					 
					
						
						
							
							;lib: avoid nubSortBy which breaks ghc 7, 8.0 builds  
						
						
						
					 
					
						2019-07-12 15:21:57 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							33d03284c3 
							
						 
					 
					
						
						
							
							;valuation: more tests; document default amount style issue  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-06-17 08:19:23 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							69defd497f 
							
						 
					 
					
						
						
							
							;lib: refactor: Data.Prices -> Data.Valuation  
						
						
						
					 
					
						2019-06-14 19:04:09 -07:00