Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							74b296f865 
							
						 
					 
					
						
						
							
							lib,cli: Make showTransaction return Text rather than String.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b76caae338 
							
						 
					 
					
						
						
							
							fix doctest breakage ( #1312 )  
						
						
						
					 
					
						2020-08-08 08:53:55 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							242c05fc9a 
							
						 
					 
					
						
						
							
							lib, journal: parseQuery, modifyTransactions are now total ( #1312 )  
						
						... 
						
						
						
						modifyTransactions now also requires a reference date, for parsing queries.
Relative dates are now permitted in auto posting rules. 
						
					 
					
						2020-08-05 13:44:04 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							765fb732c9 
							
						 
					 
					
						
						
							
							debug: move command parsing debug output down to level 8  
						
						
						
					 
					
						2020-07-03 11:37:01 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6cc896a8fe 
							
						 
					 
					
						
						
							
							debug: show aliasing and auto postings with other reading (level 7)  
						
						
						
					 
					
						2020-07-03 11:30:52 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e0a46a6523 
							
						 
					 
					
						
						
							
							;lib: update doctests for ISO 8601 date output  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2020-02-03 08:03:44 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6dcddadd9f 
							
						 
					 
					
						
						
							
							;journal: in generated-transaction:/posting: tags, add a space before the value  
						
						
						
					 
					
						2019-10-07 14:54:36 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							095badd7f9 
							
						 
					 
					
						
						
							
							;fix doctests  
						
						
						
					 
					
						2019-08-31 17:15:48 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							35799142dd 
							
						 
					 
					
						
						
							
							Merge pull request  #914  from simonmichael/rule-tags  
						
						... 
						
						
						
						tags for matching rule-generated txns and postings 
						
					 
					
						2019-07-17 18:38:14 +01:00 
						 
				 
			
				
					
						
							
							
								Caleb Maclennan 
							
						 
					 
					
						
						
						
						
							
						
						
							11d9e5eb6a 
							
						 
					 
					
						
						
							
							code: Strip extraneous trailing whitespace from Haskell sources  
						
						
						
					 
					
						2019-07-15 16:40:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							03877057fb 
							
						 
					 
					
						
						
							
							refactor: cli: commands: hlint clean  
						
						
						
					 
					
						2019-02-14 05:15:49 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d6e075dacd 
							
						 
					 
					
						
						
							
							refactor journalModifyTransactions, modifyTransactions  
						
						... 
						
						
						
						API changes:
Hledger.Data.TransactionModifier
-transactionModifierToFunction
+modifyTransactions
Hledger.Read.Common.applyTransactionModifiers -> Hledger.Data.Journal.journalModifyTransactions 
						
					 
					
						2019-02-01 11:31:04 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5908414d77 
							
						 
					 
					
						
						
							
							lib: amultiplier -> aismultiplier  
						
						
						
					 
					
						2019-01-05 07:35:54 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b00aa32d7b 
							
						 
					 
					
						
						
							
							journal: txn modifier multipliers multiply total-priced amounts ( #928 )  
						
						... 
						
						
						
						A different approach: instead of converting to unit prices and fiddling
with the display precision, just multiply the total prices by the same
multiplier (and keep them positive).
This seems a little more natural. I'm not sure if one of these will be
more robust than the other. 
						
					 
					
						2018-11-13 17:50:30 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b053942e9b 
							
						 
					 
					
						
						
							
							lib: flip the arguments of (divide|multiply)[Mixed]Amount (api change)  
						
						... 
						
						
						
						Also, start using a mapMixedAmount helper. 
						
					 
					
						2018-11-13 17:28:24 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9e8b1612b0 
							
						 
					 
					
						
						
							
							journal: fix txn modifier multipliers with total-priced amounts ( #928 )  
						
						... 
						
						
						
						Transaction modifier multipliers have never multiplied total-priced amounts
correctly (and prior to hledger 1.10, this could generate unbalanced
transactions).
Now, the generated postings in this situation will have unit prices,
and an extra digit of display precision. This helps ensure that
the modified transaction will remain balanced. I'm not sure yet if
it's guaranteed. 
						
					 
					
						2018-11-13 16:35:46 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4b5b9f46db 
							
						 
					 
					
						
						
							
							lib: TransactionModifier: clarify  
						
						
						
					 
					
						2018-11-13 16:35:46 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							80b34ea48d 
							
						 
					 
					
						
						
							
							lib: TransactionModifier: cleanup  
						
						
						
					 
					
						2018-11-13 11:25:36 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d14d6e2b68 
							
						 
					 
					
						
						
							
							tests: update doctests after Transaction Show change  
						
						
						
					 
					
						2018-09-04 14:02:04 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d685d1aa9b 
							
						 
					 
					
						
						
							
							lib,rewrite: simplify transactionModifierToFunction  
						
						... 
						
						
						
						This removes transactionModifierToFunction's extra query parameter;
the rewrite command sets it in the TransactionModifier instead, which
I think is equivalent. I had to change one functional test, but it
seems correct now, so perhaps it wasn't working right before ? 
						
					 
					
						2018-08-02 08:25:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bb36693155 
							
						 
					 
					
						
						
							
							lib: refactor, txnTieKnot automatically  
						
						
						
					 
					
						2018-08-02 08:25:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a49b1cd3bb 
							
						 
					 
					
						
						
							
							lib: AutoTransaction.hs -> TransactionModifier.hs, PeriodicTransaction.hs  
						
						
						
					 
					
						2018-07-30 20:22:39 +01:00