Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							014db152d9 
							
						 
					 
					
						
						
							
							add, web: disallow unsafe trailing dot paths on windows ( fix   #1056 )  
						
						 
						
						... 
						
						
						
						On Windows, ensureJournalFileExists now rejects file paths
containing any problematic trailing dots, to prevent data loss.
This affects the add command and hledger-web's add form. 
						
					 
					
						2019-06-26 18:19:53 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							33d03284c3 
							
						 
					 
					
						
						
							
							;valuation: more tests; document default amount style issue  
						
						 
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-06-17 08:19:23 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2da50875ee 
							
						 
					 
					
						
						
							
							lib: setNaturalPrecisionUpTo  
						
						 
						
						
						
					 
					
						2019-06-14 19:04:09 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5cb334514c 
							
						 
					 
					
						
						
							
							;lib: rename setMinimalPrecision -> setNaturalPrecision  
						
						 
						
						
						
					 
					
						2019-06-14 19:04:09 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							69defd497f 
							
						 
					 
					
						
						
							
							;lib: refactor: Data.Prices -> Data.Valuation  
						
						 
						
						
						
					 
					
						2019-06-14 19:04:09 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							83030a09de 
							
						 
					 
					
						
						
							
							;lib: Prices: refactor  
						
						 
						
						
						
					 
					
						2019-06-14 19:04:09 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7dd0c5783a 
							
						 
					 
					
						
						
							
							;lib: multibalancereport: refactor  
						
						 
						
						
						
					 
					
						2019-06-14 19:04:09 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0a3af8d9ee 
							
						 
					 
					
						
						
							
							csv: strip outer whitespace when interpolating CSV values ( #1051 )  
						
						 
						
						... 
						
						
						
						This removes a potential snag in amount field assignments, and
hopefully is harmless and acceptable otherwise. 
						
					 
					
						2019-06-14 16:43:12 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d2b3185062 
							
						 
					 
					
						
						
							
							csv: don't show invalid inter-field spaces in CSV error messages  
						
						 
						
						... 
						
						
						
						Errors involving a record like:
2000-01-01,a,"1"
displayed the record with extra spaces:
the CSV record is:       "2000-01-01", "a", "1"
which was not accurate or valid RFC-4180. 
						
					 
					
						2019-06-14 16:17:40 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							baa15d9bea 
							
						 
					 
					
						
						
							
							;lib: rename MultiBalanceReports.hs -> MultiBalanceReport.hs  
						
						 
						
						
						
					 
					
						2019-06-14 11:45:25 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e664fab956 
							
						 
					 
					
						
						
							
							lib: try to simplify, use just one price graph ( #131 )  
						
						 
						
						
						
					 
					
						2019-06-13 15:50:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							dd5afbb6fe 
							
						 
					 
					
						
						
							
							;doc, debug output tweaks ( #131 )  
						
						 
						
						
						
					 
					
						2019-06-13 15:50:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6a62bd6437 
							
						 
					 
					
						
						
							
							web, api: update for MarketPrice/PriceDirective change  
						
						 
						
						
						
					 
					
						2019-06-13 15:50:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ce0354ddbe 
							
						 
					 
					
						
						
							
							lib: -X/--exchange now supports indirect price chains ( #131 )  
						
						 
						
						... 
						
						
						
						Adds fgl as a dependency. 
						
					 
					
						2019-06-13 15:50:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							692620180e 
							
						 
					 
					
						
						
							
							;lib: refactor: change AmountPrice to a Maybe  
						
						 
						
						... 
						
						
						
						I've wanted to do this for a long time; now that prices are in flux,
seems a good time. 
						
					 
					
						2019-06-13 15:50:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							adb6ee40eb 
							
						 
					 
					
						
						
							
							lib: clarify price types ( #131 )  
						
						 
						
						... 
						
						
						
						dropped journalPrices
renamed Price to AmountPrice,  AKA "transaction price"
renamed MarketPrice to PriceDirective.
added new MarketPrice (more pure form of PriceDirective without the amount style information)
Prices is now a more efficient data structure, but not used yet. 
						
					 
					
						2019-06-13 15:50:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e24c6292d0 
							
						 
					 
					
						
						
							
							lib: support -X/--exchange (direct/reverse prices only) ( #131 )  
						
						 
						
						
						
					 
					
						2019-06-13 15:50:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							50a52dd467 
							
						 
					 
					
						
						
							
							lib: --value can select commodity (via direct/reverse prices) ( #131 )  
						
						 
						
						
						
					 
					
						2019-06-13 15:50:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6b6c3385c9 
							
						 
					 
					
						
						
							
							lib: parse optional ,COMM suffix in --value ( #131 )  
						
						 
						
						
						
					 
					
						2019-06-13 15:50:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Caleb Maclennan 
							
						 
					 
					
						
						
						
						
							
						
						
							18e19b9ad2 
							
						 
					 
					
						
						
							
							;tests: normalize tests, examples, and docs using 2spcs before comments  
						
						 
						
						
						
					 
					
						2019-06-13 12:12:21 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Caleb Maclennan 
							
						 
					 
					
						
						
						
						
							
						
						
							8f3e5f9d3b 
							
						 
					 
					
						
						
							
							;print: differentiate posting indent (4spc) and pre-comment space (2spc)  
						
						 
						
						... 
						
						
						
						Co-authored-by: Simon Michael <simon@joyful.com> 
						
					 
					
						2019-06-13 12:12:21 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Henning Thielemann 
							
						 
					 
					
						
						
						
						
							
						
						
							4962b2696a 
							
						 
					 
					
						
						
							
							lib: accountTransactionsReportItems: rewrite using catMaybes and mapAccumL  
						
						 
						
						... 
						
						
						
						I find the report function less convolved without the integrated recursion. 
						
					 
					
						2019-06-09 18:45:58 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							88f3f6fc41 
							
						 
					 
					
						
						
							
							print: also canonicalise balance assertions' amount style ( fix   #1042 )  
						
						 
						
						
						
					 
					
						2019-06-09 17:39:46 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							90af360792 
							
						 
					 
					
						
						
							
							csv: fix parse error printing, broken since 1.11 ( #1038 )  
						
						 
						
						
						
					 
					
						2019-06-06 23:10:31 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							45198d3faa 
							
						 
					 
					
						
						
							
							lib: debug helpers: add ptraceAtWith, dbgNWith  
						
						 
						
						
						
					 
					
						2019-06-02 08:48:41 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							42ce95aaef 
							
						 
					 
					
						
						
							
							; refactor: centralise valuation logic  #131  
						
						 
						
						
						
					 
					
						2019-05-31 15:29:09 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ad83919c6a 
							
						 
					 
					
						
						
							
							; lib: drop the Maybe from SummaryPosting  
						
						 
						
						
						
					 
					
						2019-05-31 15:29:09 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							69d72e8c48 
							
						 
					 
					
						
						
							
							;refactor amountValue  
						
						 
						
						
						
					 
					
						2019-05-25 05:34:29 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							34a0ad00b1 
							
						 
					 
					
						
						
							
							;lib: encapsulate Prices db  
						
						 
						
						
						
					 
					
						2019-05-25 05:29:34 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							aa99743096 
							
						 
					 
					
						
						
							
							make -V do --value=end in multiperiod reports ( #329 )  
						
						 
						
						
						
					 
					
						2019-05-24 10:30:35 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ea5050963f 
							
						 
					 
					
						
						
							
							web: try to fix RegisterR warning  
						
						 
						
						
						
					 
					
						2019-05-23 22:34:31 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							20bc386b80 
							
						 
					 
					
						
						
							
							restore TransactionsReport  
						
						 
						
						... 
						
						
						
						hledger-web's register chart uses it, I didn't see it
because it's called from a hamlet template. 
						
					 
					
						2019-05-23 22:15:40 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7212b92079 
							
						 
					 
					
						
						
							
							cleanups ( #329 )  
						
						 
						
						
						
					 
					
						2019-05-23 22:07:50 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							54c1529638 
							
						 
					 
					
						
						
							
							lib: drop TransactionsReport, BalanceHistoryReport  
						
						 
						
						... 
						
						
						
						They seem unused. 
						
					 
					
						2019-05-23 21:55:19 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							04a30fa084 
							
						 
					 
					
						
						
							
							lib: TransactionsReport/AccountTransactionsReport cleanup  
						
						 
						
						... 
						
						
						
						Split them into separate files, rename journalTransactionsReport to
transactionsReport. 
						
					 
					
						2019-05-23 21:55:19 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9977739c76 
							
						 
					 
					
						
						
							
							bal etc.: replace --value=transaction with --value=cost ( #329 )  
						
						 
						
						
						
					 
					
						2019-05-23 21:55:18 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							adbce22152 
							
						 
					 
					
						
						
							
							bal: --budget: don't always convert to cost  
						
						 
						
						... 
						
						
						
						And don't show a percentage when budgeted and actual amounts are in
different commodities. 
						
					 
					
						2019-05-23 21:55:18 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2355da0f93 
							
						 
					 
					
						
						
							
							reg: replace --value=transaction with --value=cost  
						
						 
						
						
						
					 
					
						2019-05-23 21:55:18 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ace215f5f3 
							
						 
					 
					
						
						
							
							print: replace --value=transaction with --value=cost  
						
						 
						
						
						
					 
					
						2019-05-23 21:55:18 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							37c0edb1f9 
							
						 
					 
					
						
						
							
							lib: drop postingValueAtDate  
						
						 
						
						
						
					 
					
						2019-05-23 21:55:18 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4a75971c6d 
							
						 
					 
					
						
						
							
							lib: postingTransformAmount, postingToCost, postingValue  
						
						 
						
						
						
					 
					
						2019-05-23 21:55:17 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e5cb082fb5 
							
						 
					 
					
						
						
							
							lib: amountToCost, mixedAmountToCost  
						
						 
						
						
						
					 
					
						2019-05-23 13:11:34 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f999bf78e6 
							
						 
					 
					
						
						
							
							opts: new -B/--cost, -V/--market, --value flags ( #329 )  
						
						 
						
						
						
					 
					
						2019-05-23 13:11:20 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e21afc466a 
							
						 
					 
					
						
						
							
							bal/bs/bse: -H or --cumulative now disables -T ( #329 )  
						
						 
						
						... 
						
						
						
						To reduce confusion, multiperiod balance reports using -H/--historical
or --cumulative, which show end balances, no longer show a Totals
column since summing end balances generally doesn't make sense.
Also the underlying MultiBalanceReport now returns zero for those
totals when in cumulative or historical mode. 
						
					 
					
						2019-05-11 20:43:28 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							76342a3fd0 
							
						 
					 
					
						
						
							
							bal/bs/cf/is: mention valuation type in report title  
						
						 
						
						
						
					 
					
						2019-05-09 15:39:43 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e5339218f7 
							
						 
					 
					
						
						
							
							lib: valueTypeFromOpts helper  
						
						 
						
						
						
					 
					
						2019-05-09 15:36:26 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d15869f855 
							
						 
					 
					
						
						
							
							;doc: typo  
						
						 
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-05-09 12:22:48 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d77fd5743d 
							
						 
					 
					
						
						
							
							bal/bs/cf/is: support --value-at with -H; fix row/col/grand totals  
						
						 
						
						... 
						
						
						
						This also includes a big cleanup of multiBalanceReport, which got
accidentally mingled. 
						
					 
					
						2019-05-09 07:58:45 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2ffe7914be 
							
						 
					 
					
						
						
							
							;improve valuation code docs  
						
						 
						
						
						
					 
					
						2019-05-07 16:19:49 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							74e653bfbc 
							
						 
					 
					
						
						
							
							;lib: declare Period exports  
						
						 
						
						
						
					 
					
						2019-05-06 11:52:10 -07:00