Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							23bdac41d9 
							
						 
					 
					
						
						
							
							csv: merge lucamolteni's cassava/custom separators (squashed) ( #829 )  
						
						... 
						
						
						
						commit 5ba464de761b298e50d57a8b7d14bc28adb30d5d
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Sep 7 17:54:12 2018 +0200
    Fix CI 2
commit f060ae9449f4b61a915b0ed4629fc1ba9b66fb4a
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Sep 7 17:30:08 2018 +0200
    Fix CI build
commit af0719a33b9b72ad244ae80198d881a1f7145e9d
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Sep 7 17:19:01 2018 +0200
    Fix rebase
commit 1a24ddfa54dfb4ff1326e1a51005ffa82d3dc3c8
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Aug 10 16:25:24 2018 +0200
    Fixed some GHC warnings
commit 1ac43398a359b5925ef71f53347698f1c6c510ef
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Aug 10 16:14:49 2018 +0200
    Fix .cabal
commit 422456b925d8aa4ab3e869f51e98c2b1c3dcde0a
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sun Jul 1 22:56:20 2018 +0200
    Removed to-do list
commit 1118b762e4fd15c4fe7ba48ba86676706ea3a5a5
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sun Jul 1 22:53:28 2018 +0200
    Better test
commit 1146ed0941655668bf7684f18aa15c5f4b9b20c2
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sun Jul 1 15:32:28 2018 +0200
    Fix parsing
commit 4fc2374b2b81802990da30c96756aab54d77399c
Author: Luca Molteni <volothamp@gmail.com>
Date:   Thu Jun 21 22:11:11 2018 +0200
    Parsing of separator
commit f7a61737f1ad4460ba20ca9b2e86eb21468abb33
Author: Luca Molteni <volothamp@gmail.com>
Date:   Thu Jun 21 14:29:23 2018 +0200
    Almost separator in options
commit ac8841cf3b9c80914bc3271ad9b9ff4ae9ba48a7
Author: Luca Molteni <volothamp@gmail.com>
Date:   Thu Jun 21 14:16:59 2018 +0200
    Separator in parseCSV
commit 92a8b9f6ba77ea4237f769641e03029ac88542ea
Author: Luca Molteni <volothamp@gmail.com>
Date:   Thu Jun 21 13:30:41 2018 +0200
    separator option
commit ec417a81ae625647cf35e61776cdf02bdb2c6aea
Author: Luca Molteni <volothamp@gmail.com>
Date:   Thu Jun 21 10:45:26 2018 +0200
    Removed one qualified import
commit 8b2f386c2f780adcd34cff3de7edceacc1d325a7
Author: Luca Molteni <volothamp@gmail.com>
Date:   Wed Jun 20 14:01:12 2018 +0200
    Removed string conversions
commit a14d0e099e28a286bb81770cfc9cb8f5c7e5cf1f
Author: Luca Molteni <volothamp@gmail.com>
Date:   Wed Jun 20 10:23:20 2018 +0200
    custom delimiter in cassava
commit 694d48e2bc1ada0037b90367c017f3082f68ed45
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sun Jun 10 17:51:54 2018 +0200
    Use Text.getContents - remove UTF-8 compatibility library
commit a7ada2cc60033ebdd796ca34cc2ec69a4f387843
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sun Jun 10 17:49:34 2018 +0200
    todo list
commit 58ec47d3987909f6bace50e3e647e30dadd5bf03
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sun Jun 10 17:45:22 2018 +0200
    CSV test now has unicode characters
commit b7851e94c3f1683b63ec7250a12bcde3b7bed691
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sun Jun 10 16:59:39 2018 +0200
    Use decode from Text
commit 79f59fd28ccaca08fcd718fcd8d00b1c1d65d7e1
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sun Jun 10 13:28:57 2018 +0200
    Use Text and Lazy Bytestring
commit 470c9bcb8dc00669beb4ef0303a1e7d9f7aecc89
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 15:30:22 2018 +0200
    Use megaparsec error
commit f978848ba249ef4f67b855bea5d4e549290c205c
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 15:22:07 2018 +0200
    Renamed qualify and remove Parsec
commit 152587fde204c43a55798d212e43f37cd3038c2e
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 15:12:36 2018 +0200
    Use cassava mega parsec
commit cf281577a3d3a071196484a6fc8485f2ea1f7d67
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 14:01:47 2018 +0200
    Removed Data.Vector
commit 1272e8e758369d8cc5778029a705b277355a5029
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 12:16:18 2018 +0200
    Removed Parsec ParseError
commit ae07f043135a19307fd65b281ade37a74c76acb2
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 12:06:14 2018 +0200
    Type sinonim for ParsecError
commit 8e15b253c11bd1c0c35a7641aeb18aa54e0ba9b0
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 11:16:08 2018 +0200
    Replaced with typeclasses
commit 1ed46f9c175603611325f3d377004e4b85f29377
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 11:01:33 2018 +0200
    Replaced Text/CSV with Cassava
commit 362f4111b5854145703174b976fc7acbd71b8783
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 10:34:37 2018 +0200
    Use cassava parsin instead of Text/CSV
commit 83e678e371618687cf7c15a4e2cfa67f570b6b64
Author: Luca Molteni <volothamp@gmail.com>
Date:   Sat Jun 9 08:22:51 2018 +0200
    Text CSV error messages
commit f922df71d274beeacab9fb2530b16c97f005cc08
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Jun 8 21:45:20 2018 +0200
    Better types
commit edd130781c84790a53bff2283e6041eb8232e7cf
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Jun 8 21:34:59 2018 +0200
    Conversion to Text CSV type
commit 0799383214483018ad2d977a3c8022414959c2b2
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Jun 8 16:06:21 2018 +0200
    First function with cassava
commit e92aeb151ff527b383ff3d0ced7764e81b71af82
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Jun 8 13:47:34 2018 +0200
    Added cassava as dependency
commit 5ea005c558a3939af7e5f0cd735a9b4da931228e
Author: Luca Molteni <volothamp@gmail.com>
Date:   Fri Jun 8 13:18:47 2018 +0200
    Better .gitignore for multi idea modules 
						
					 
					
						2018-09-07 12:34:51 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							91b111b60d 
							
						 
					 
					
						
						
							
							rename easytests_* to tests_*  
						
						
						
					 
					
						2018-09-06 13:13:26 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							51618adc37 
							
						 
					 
					
						
						
							
							tests: use is in a few more places  
						
						
						
					 
					
						2018-09-04 13:39:21 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f3709f241d 
							
						 
					 
					
						
						
							
							tests: port Read tests to easytest  
						
						
						
					 
					
						2018-09-03 15:42:24 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d1cff46ba7 
							
						 
					 
					
						
						
							
							tests: port CsvReader tests to easytest  
						
						
						
					 
					
						2018-09-03 15:30:52 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cd67f8ea68 
							
						 
					 
					
						
						
							
							tests: clear out old boilerplate  
						
						
						
					 
					
						2018-08-31 18:12:17 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d1a7cc1c09 
							
						 
					 
					
						
						
							
							port remaining Read.Common tests  
						
						
						
					 
					
						2018-08-31 18:12:17 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f124007acf 
							
						 
					 
					
						
						
							
							tests: dehyphenate test names  
						
						
						
					 
					
						2018-08-31 18:12:17 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							be7866da59 
							
						 
					 
					
						
						
							
							tests: parsedate -> fromGregorian  
						
						
						
					 
					
						2018-08-31 18:12:17 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f108b56e61 
							
						 
					 
					
						
						
							
							uniquify modules' easytests, simplify imports  
						
						
						
					 
					
						2018-08-20 14:31:31 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6568784bf6 
							
						 
					 
					
						
						
							
							port remaining JournalReader tests  
						
						
						
					 
					
						2018-08-20 14:31:31 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9733e0378e 
							
						 
					 
					
						
						
							
							journal: restore/port more old unit tests  
						
						
						
					 
					
						2018-08-20 10:38:51 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9c0483fef2 
							
						 
					 
					
						
						
							
							tests: port another to easytest  
						
						
						
					 
					
						2018-08-20 08:22:31 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1a38beaad1 
							
						 
					 
					
						
						
							
							drop old transactionp hunit tests  
						
						
						
					 
					
						2018-08-19 19:12:26 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7706f8498e 
							
						 
					 
					
						
						
							
							tests: comment  
						
						
						
					 
					
						2018-08-19 19:05:59 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							89357bb7b6 
							
						 
					 
					
						
						
							
							another parse test helper, use the IO variant always, port more tests  
						
						
						
					 
					
						2018-08-19 19:02:59 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2778f6cf8f 
							
						 
					 
					
						
						
							
							lib: restore some old unit tests  
						
						... 
						
						
						
						Also change nullsourcepos, tests prefer JournalSourcePos for some reason. 
						
					 
					
						2018-08-19 18:13:01 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bdcfba4eaa 
							
						 
					 
					
						
						
							
							whitespace  
						
						
						
					 
					
						2018-08-18 20:31:47 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fc11b5130f 
							
						 
					 
					
						
						
							
							journal: another failing test from  #807  
						
						
						
					 
					
						2018-08-18 19:50:15 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d778a92561 
							
						 
					 
					
						
						
							
							tests: export HUnit/EasyTest from Hledger.Utils.Test; more helpers  
						
						
						
					 
					
						2018-08-18 15:19:59 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e0e21a2c6c 
							
						 
					 
					
						
						
							
							lib: note  
						
						
						
					 
					
						2018-08-18 07:30:23 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9c3a57f615 
							
						 
					 
					
						
						
							
							lib: some test fixes ( #823 )  
						
						
						
					 
					
						2018-08-17 14:18:24 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b4c336c874 
							
						 
					 
					
						
						
							
							test/_test/it/_it helpers; refactor easytests  
						
						... 
						
						
						
						This makes skipping/unskipping tests easier, and improves readability
a bit.
Note it's also possible to just write the test name with no preceding
function, when the type is constrained (see Journal.hs). 
						
					 
					
						2018-08-17 13:40:37 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							626247bacd 
							
						 
					 
					
						
						
							
							journal: unit tests (2 skipped) for periodtransactionp ( #823 )  
						
						
						
					 
					
						2018-08-17 12:42:43 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1d775a7a9c 
							
						 
					 
					
						
						
							
							lib: D should not affect automated posting multiplier amounts ( fix   #860 )  
						
						
						
					 
					
						2018-08-17 07:39:17 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							13436637c6 
							
						 
					 
					
						
						
							
							lib: "decimal point" -> "decimal separator" in error message  
						
						
						
					 
					
						2018-08-17 07:37:26 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e35dd19cc8 
							
						 
					 
					
						
						
							
							lib: refactor: tighten up amountwithoutpricep  
						
						
						
					 
					
						2018-08-17 06:51:07 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e9c5d13ac1 
							
						 
					 
					
						
						
							
							lib: update old failing amountp/postingp tests, at last ( #812 )  
						
						
						
					 
					
						2018-08-16 06:42:52 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							09d8e302db 
							
						 
					 
					
						
						
							
							lib: use unspaced scopes to simplify command lines ( #812 )  
						
						
						
					 
					
						2018-08-16 05:58:17 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							50d666d5a0 
							
						 
					 
					
						
						
							
							test: refactor, document, organise easytests, port amountp tests ( #812 )  
						
						
						
					 
					
						2018-08-15 19:58:07 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							69325da110 
							
						 
					 
					
						
						
							
							comment out failing tests to fix CI ( #812 )  
						
						
						
					 
					
						2018-08-15 11:30:53 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ab7dc3294e 
							
						 
					 
					
						
						
							
							lib: more informative failure output for amount tests ( #812 )  
						
						
						
					 
					
						2018-08-15 11:24:52 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e077aeff5f 
							
						 
					 
					
						
						
							
							lib: more informative test failure message ( #812 )  
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							321635274c 
							
						 
					 
					
						
						
							
							lib: move assertParseEqual' ( #812 )  
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							efc54c4c25 
							
						 
					 
					
						
						
							
							lib: ModifierTransaction -> TransactionModifier; try to clarify a bit  
						
						
						
					 
					
						2018-07-30 19:38:21 +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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							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