Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ebe2d52965 
							
						 
					 
					
						
						
							
							tools: make functest: build hledger and test that, without installing  
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b03584dbce 
							
						 
					 
					
						
						
							
							lib: parse helper haddocks  
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cfaa0501e6 
							
						 
					 
					
						
						
							
							lib: update some journal parser tests ( #812 )  
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							c67404c73d 
							
						 
					 
					
						
						
							
							lib: Fix compile errors in tests  
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							510b4c1b55 
							
						 
					 
					
						
						
							
							site: home: update from wiki  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2018-08-05 00:00:03 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e88a9c4a5f 
							
						 
					 
					
						
						
							
							lib: followingcomment: parse no comment as "", not "\n"  
						
						... 
						
						
						
						Same-line & next-line comments of transactions, postings, etc.
are now parsed a bit more precisely. Previously parsing no comment
gave the same result as an empty comment (a single newline); now
it gives an empty string.
Also, and perhaps as a consequence of the above, when there's no
same-line comment but there is a next-line comment, we'll insert an
empty first line, otherwise next-line comments would get moved up to
the same line when rendered.
Some doctests have been added. 
						
					 
					
						2018-08-03 19:38:55 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							46d6971da7 
							
						 
					 
					
						
						
							
							lib: doctests: file pattern arguments, more informative output  
						
						... 
						
						
						
						Limiting to just the file(s) you're interested can make doctest start
much quicker. With a big caveat: you can limit the starting files,
but it will also test all other local files those import. 
						
					 
					
						2018-08-03 19:06:17 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							df430e5eb0 
							
						 
					 
					
						
						
							
							lib: AccountName: set OverloadedStrings for doctests  
						
						
						
					 
					
						2018-08-03 19:05:14 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ed93807ee5 
							
						 
					 
					
						
						
							
							lib: doctests: add --verbose and --slow flags to executable  
						
						... 
						
						
						
						--slow turns off doctest's --fast flag, which skips reloading between
  tests.
--verbose shows progress output as tests are run, if doctest 0.16.0+
  is installed (and I believe will be harmless otherwise) 
						
					 
					
						2018-08-03 19:05:14 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8a4fb59aaa 
							
						 
					 
					
						
						
							
							tools: make ghci-doctest: fix rule help  
						
						
						
					 
					
						2018-08-03 19:05:14 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0135f8c863 
							
						 
					 
					
						
						
							
							tools: make doctest: use default snapshot/ghc 8.4, mention mac workaround  
						
						
						
					 
					
						2018-08-03 19:05:11 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e10ab0f7f7 
							
						 
					 
					
						
						
							
							tools: make functest: also run unit tests  
						
						... 
						
						
						
						The main unit tests are now included in the functional test suite
(via hledger's test command), so make functest covers more.
[ci skip] 
						
					 
					
						2018-08-03 15:16:59 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b11a0eadb2 
							
						 
					 
					
						
						
							
							make these modules loadable in a GHCI with OverloadedStrings set  
						
						
						
					 
					
						2018-08-03 14:52:11 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3e0147b7e9 
							
						 
					 
					
						
						
							
							test: don't try to read the journal  
						
						
						
					 
					
						2018-08-03 14:52:11 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							40d70ad10b 
							
						 
					 
					
						
						
							
							lib: fail when file to include is in stack of 'include' files  
						
						
						
					 
					
						2018-08-02 18:43:00 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							1d91ea43a5 
							
						 
					 
					
						
						
							
							lib: add whitespace around '$' operator  
						
						
						
					 
					
						2018-08-02 18:43:00 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							86c36c1dcc 
							
						 
					 
					
						
						
							
							update embedded manuals  
						
						
						
					 
					
						2018-08-02 08:25:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							481e2061d7 
							
						 
					 
					
						
						
							
							doc: journal: tweak mnemonics  
						
						
						
					 
					
						2018-08-02 08:25:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							64bd88dd80 
							
						 
					 
					
						
						
							
							doc: journal: rename topic to Transaction Modifiers  
						
						
						
					 
					
						2018-08-02 08:25:49 +01: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 
							
						 
					 
					
						
						
						
						
							
						
						
							72acb86299 
							
						 
					 
					
						
						
							
							cabal: bump tested-with declarations  
						
						
						
					 
					
						2018-08-02 08:25:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1e0a7ec8f1 
							
						 
					 
					
						
						
							
							remove some unneeded CPP pragmas  
						
						
						
					 
					
						2018-08-02 08:25:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9bd1772ea8 
							
						 
					 
					
						
						
							
							bs/bse/cf/is: remove NoCPP pragma  
						
						... 
						
						
						
						This was added in 2012, I guess to prevent CPP breaking on some
needed and I don't want to do this everywhere; we'll just remember
to not put CPP-like content in quasi-quoted blocks. 
						
					 
					
						2018-08-02 08:25:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a4ed468979 
							
						 
					 
					
						
						
							
							don't re-export applyTransactionModifiers from Hledger.Cli.Utils, I guess  
						
						
						
					 
					
						2018-08-02 08:25:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							eae9d78bb1 
							
						 
					 
					
						
						
							
							lib: generateAutomaticPostings -> applyTransactionModifiers  
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
						
						
							
						
						
							572f5a4b31 
							
						 
					 
					
						
						
							
							lib: drop parseAndFinaliseJournal', seems unused (api change)  
						
						
						
					 
					
						2018-08-02 08:25:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ebfdee878c 
							
						 
					 
					
						
						
							
							site: home: fix coins image when previewing locally  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2018-07-31 15:24:17 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f5f26ea8e5 
							
						 
					 
					
						
						
							
							doc: download: link Greg Baker's OpenBSD binaries  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2018-07-31 15:23:51 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a49b1cd3bb 
							
						 
					 
					
						
						
							
							lib: AutoTransaction.hs -> TransactionModifier.hs, PeriodicTransaction.hs  
						
						
						
					 
					
						2018-07-30 20:22:39 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							efc54c4c25 
							
						 
					 
					
						
						
							
							lib: ModifierTransaction -> TransactionModifier; try to clarify a bit  
						
						
						
					 
					
						2018-07-30 19:38:21 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							007b9f8caa 
							
						 
					 
					
						
						
							
							lib: capitalised month names broke some period expressions ( fix   #852 )  
						
						... 
						
						
						
						This was a regression in hledger 1.10.
mon[th]Index are now case insensitive. 
						
					 
					
						2018-07-30 11:08:23 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							daa37a9993 
							
						 
					 
					
						
						
							
							lib: nthdayof(month|year)containing now validate input a bit ( #852 )  
						
						
						
					 
					
						2018-07-30 11:08:14 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0f3a030a40 
							
						 
					 
					
						
						
							
							lib: whitespace  
						
						
						
					 
					
						2018-07-30 11:05:02 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							eb6baac6e7 
							
						 
					 
					
						
						
							
							lib: make applyN more robust ( #852 )  
						
						
						
					 
					
						2018-07-30 11:04:33 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d9d94e2cf6 
							
						 
					 
					
						
						
							
							journal: fix breakage in auto posting rule parser ( #745 )  
						
						... 
						
						
						
						I was negligent and did not test enough. This should ignore
transaction comments in auto posting rules more safely.
It also adds support for trailing comments on the first line of auto
posting rules, which previously were misparsed as part of the query. 
						
					 
					
						2018-07-26 15:54:21 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e2f5e98926 
							
						 
					 
					
						
						
							
							lib: clarify account name parsing rules  
						
						
						
					 
					
						2018-07-26 08:30:32 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							41c985b5fb 
							
						 
					 
					
						
						
							
							journal: ignore transaction comments in auto posting rules ( #745 )  
						
						... 
						
						
						
						Previously they were misparsed as account names. 
						
					 
					
						2018-07-26 08:29:02 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							05073e9f9d 
							
						 
					 
					
						
						
							
							rewrite: clarify relation to print --auto ( #745 )  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2018-07-26 07:14:36 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							e23160059e 
							
						 
					 
					
						
						
							
							lib: add generated man files  
						
						
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							1fca47cf18 
							
						 
					 
					
						
						
							
							lib: update documentation for globs in 'include' directive  
						
						
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							f2c1586238 
							
						 
					 
					
						
						
							
							lib: sort the matched include files lexicographically  
						
						... 
						
						
						
						Now the files are included in the same order as they would be
listed by 'ls'. 
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							e8c362e3e5 
							
						 
					 
					
						
						
							
							lib: modify testcase to test for lexicographic inclusion order  
						
						
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							1ec16c2dc0 
							
						 
					 
					
						
						
							
							lib: explicitly specify that the 'Glob' package should be used  
						
						... 
						
						
						
						Without this there are conflicts with the 'filemanip' package,
which itself exports a module 'System.FilePath.Glob'. 
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							c69b16d826 
							
						 
					 
					
						
						
							
							lib: prefer use of 'parseErrorAt' to generic 'fail'  
						
						... 
						
						
						
						'fail' will just terminate the current parse branch, whereas here
we have encountered a definite error. Also bring the code to
get the current working directory inside 'getFilePaths', as it
logically belongs there. 
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							c472bb6ff3 
							
						 
					 
					
						
						
							
							lib: remove correct files at test end, and do not remove recursively  
						
						... 
						
						
						
						We are not removing directories, so no need for the '-r' flag to rm. 
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							5077443a84 
							
						 
					 
					
						
						
							
							lib: add tests and code for nonexistant files and malformed globs  
						
						
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							2c4d0c0acd 
							
						 
					 
					
						
						
							
							lib: factor out logic for obtaining a list of files to include  
						
						
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							2d420a33a4 
							
						 
					 
					
						
						
							
							lib: update cabal file with 'Glob' library depdendency  
						
						
						
					 
					
						2018-07-26 06:12:31 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Weston 
							
						 
					 
					
						
						
						
						
							
						
						
							0ade323d2a 
							
						 
					 
					
						
						
							
							lib: use glob matching if filename in 'include' directive is a glob pattern  
						
						
						
					 
					
						2018-07-26 06:12:31 +01:00