Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							695d96231c 
							
						 
					 
					
						
						
							
							test numbering  
						
						 
						
						
						
					 
					
						2016-05-13 22:10:23 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9c130e1850 
							
						 
					 
					
						
						
							
							lib: journal: hlint cleanups!  
						
						 
						
						... 
						
						
						
						Hopefully still backward compatible. 
						
					 
					
						2016-05-13 22:09:39 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							16ee07cc52 
							
						 
					 
					
						
						
							
							remove temp type  
						
						 
						
						
						
					 
					
						2016-05-13 20:44:21 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4063df0530 
							
						 
					 
					
						
						
							
							stack: add some required newer deps from hackage  
						
						 
						
						
						
					 
					
						2016-05-11 07:13:21 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a569bf73c6 
							
						 
					 
					
						
						
							
							web: update wai-handler-launch for better startup ( fixes   #226 )  
						
						 
						
						
						
					 
					
						2016-05-11 06:45:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							29d4f1c03f 
							
						 
					 
					
						
						
							
							ui: build faster, latest brick/vty uses microlens  
						
						 
						
						
						
					 
					
						2016-05-11 06:32:32 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4d36b04856 
							
						 
					 
					
						
						
							
							stack: bump snapshot to lts-5.16  
						
						 
						
						
						
					 
					
						2016-05-11 06:30:57 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9197c0545f 
							
						 
					 
					
						
						
							
							doc: journal: improve amount, virtual posting docs  
						
						 
						
						
						
					 
					
						2016-05-10 07:58:38 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7a616d6779 
							
						 
					 
					
						
						
							
							doc: journal: commodity directive, amount formats ( #295 )  
						
						 
						
						
						
					 
					
						2016-05-08 21:10:58 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ddefec412f 
							
						 
					 
					
						
						
							
							journal: also allow one-line commodity directives  
						
						 
						
						
						
					 
					
						2016-05-08 20:56:34 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b583cb327d 
							
						 
					 
					
						
						
							
							lib: fix a warning  
						
						 
						
						
						
					 
					
						2016-05-08 20:55:59 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9304aa1100 
							
						 
					 
					
						
						
							
							journal: commodity format directive overrides inferred style ( #295 )  
						
						 
						
						... 
						
						
						
						The commodity directive's format subdirective can now be used to
override the inferred style for a commodity, eg to increase or decrease
the precision. This doesn't fix the root cause of #295  but is at least a
good workaround. 
						
					 
					
						2016-05-08 09:07:08 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2c0ef877eb 
							
						 
					 
					
						
						
							
							journal: parse and store commodity formats  
						
						 
						
						
						
					 
					
						2016-05-08 09:06:54 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							207922a023 
							
						 
					 
					
						
						
							
							lib: Commodity now has a CommoditySymbol and style  
						
						 
						
						
						
					 
					
						2016-05-08 08:07:27 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8312573fed 
							
						 
					 
					
						
						
							
							tests for  #295  
						
						 
						
						
						
					 
					
						2016-05-07 18:34:24 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1b674cbb44 
							
						 
					 
					
						
						
							
							web: show a proper not found page on 404  
						
						 
						
						
						
					 
					
						2016-05-06 19:30:23 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							aac67b3d4d 
							
						 
					 
					
						
						
							
							lib: fix parsedate haddock  
						
						 
						
						
						
					 
					
						2016-05-06 19:02:48 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Malte Brandy 
							
						 
					 
					
						
						
						
						
							
						
						
							913b8e4c19 
							
						 
					 
					
						
						
							
							Add --pivot option with tests and docs ( #323 )  
						
						 
						
						
						
					 
					
						2016-05-06 18:27:35 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f559cc8949 
							
						 
					 
					
						
						
							
							travis: add --no-haddock-deps, should work now  
						
						 
						
						
						
					 
					
						2016-05-06 18:16:59 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ce344f9b96 
							
						 
					 
					
						
						
							
							lib: fix a haddock error  
						
						 
						
						
						
					 
					
						2016-05-06 18:16:12 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e9c6c1ef5e 
							
						 
					 
					
						
						
							
							lib: convert date hunit tests to doctests  
						
						 
						
						
						
					 
					
						2016-05-06 18:10:49 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c9a892eabe 
							
						 
					 
					
						
						
							
							lib: remove hopefully superfluous comment  
						
						 
						
						
						
					 
					
						2016-05-06 17:40:33 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a52fd599c4 
							
						 
					 
					
						
						
							
							lib: more compact Show instance for datespans  
						
						 
						
						
						
					 
					
						2016-05-06 17:23:24 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							884c0b8a58 
							
						 
					 
					
						
						
							
							reg: fix sorting regression with --date2 ( #326 )  
						
						 
						
						... 
						
						
						
						And rewrite/clarify postingsReport. 
						
					 
					
						2016-05-06 17:19:43 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6cbc0ceb0d 
							
						 
					 
					
						
						
							
							lib: note issues  
						
						 
						
						
						
					 
					
						2016-05-06 17:19:23 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e7a1eb627f 
							
						 
					 
					
						
						
							
							journal: export parsing helpers, fix warning  
						
						 
						
						
						
					 
					
						2016-05-06 16:58:07 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e2ce7c4802 
							
						 
					 
					
						
						
							
							doc, tests: clarify what --date2 does  
						
						 
						
						
						
					 
					
						2016-05-06 16:57:24 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8dec8b2630 
							
						 
					 
					
						
						
							
							doc: drop commented table  
						
						 
						
						
						
					 
					
						2016-05-06 16:44:29 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2c21ca9bf4 
							
						 
					 
					
						
						
							
							web: update wai-launch-handler location  
						
						 
						
						
						
					 
					
						2016-05-04 11:43:02 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2dc375e0f8 
							
						 
					 
					
						
						
							
							site: home: shrink heading to fit 320px screens ( #324 )  
						
						 
						
						
						
					 
					
						2016-05-04 11:34:19 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5f3ec5827d 
							
						 
					 
					
						
						
							
							site: home: fix semicolon placement  
						
						 
						
						
						
					 
					
						2016-05-04 11:33:58 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							525ca6041d 
							
						 
					 
					
						
						
							
							lib: tweak balance assertion message  
						
						 
						
						
						
					 
					
						2016-05-04 09:08:53 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0a90ef4658 
							
						 
					 
					
						
						
							
							ui: preserve --ignore-assertions & flags on reload  
						
						 
						
						
						
					 
					
						2016-05-02 20:12:11 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9a424d77fc 
							
						 
					 
					
						
						
							
							lib: more thorough journal reloading  
						
						 
						
						... 
						
						
						
						Reloading a journal should now reload all included files as well. 
						
					 
					
						2016-05-02 20:07:53 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a4dc094be3 
							
						 
					 
					
						
						
							
							travis: try another way to show git/stack version  
						
						 
						
						
						
					 
					
						2016-04-29 09:06:20 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a036d5cf18 
							
						 
					 
					
						
						
							
							travis: report git & stack versions as well  
						
						 
						
						
						
					 
					
						2016-04-29 06:58:56 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1de722a34a 
							
						 
					 
					
						
						
							
							update wai-handler-launch git reference for stack  
						
						 
						
						
						
					 
					
						2016-04-29 06:58:49 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas R. Koll 
							
						 
					 
					
						
						
						
						
							
						
						
							a1ca86db7a 
							
						 
					 
					
						
						
							
							Website: Change indent styles to fit smaller screens  
						
						 
						
						... 
						
						
						
						Only indent when the display is landscape and wide enough. 
						
					 
					
						2016-04-29 10:35:30 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							46767406ed 
							
						 
					 
					
						
						
							
							web: document how initial query works ( fixes   #314 )  
						
						 
						
						
						
					 
					
						2016-04-28 21:58:08 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							739c8dc4cc 
							
						 
					 
					
						
						
							
							web: preserve initial query when journal changes ( #314 )  
						
						 
						
						... 
						
						
						
						The initial query specified by command line arguments is now preserved
when the journal is reloaded. This does not appear in the web UI, it's
like an invisible extra filter. 
						
					 
					
						2016-04-28 21:48:30 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f3360c8cfe 
							
						 
					 
					
						
						
							
							lib: after reloading a journal, also refilter it ( #314 )  
						
						 
						
						... 
						
						
						
						After reloading a journal due to a file change, we now also re-apply any
query specified by the options. 
						
					 
					
						2016-04-28 21:47:49 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7b1b1f5f8d 
							
						 
					 
					
						
						
							
							web: focus field after clicking add txn ( fixes   #338 )  
						
						 
						
						
						
					 
					
						2016-04-28 20:53:08 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b175b8cddf 
							
						 
					 
					
						
						
							
							web: drop redundant onClick; fix add txn tooltip ( #338 )  
						
						 
						
						
						
					 
					
						2016-04-28 20:52:24 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3739f0e364 
							
						 
					 
					
						
						
							
							web: leave date field blank, avoid problems ( #322 )  
						
						 
						
						
						
					 
					
						2016-04-28 18:27:00 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7ec3ebb66b 
							
						 
					 
					
						
						
							
							update tested-with  
						
						 
						
						... 
						
						
						
						Note we seem to have lost GHC 7.4 compatibility. It should be fixable if
anyone cares. 
						
					 
					
						2016-04-28 17:32:17 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							71339d545f 
							
						 
					 
					
						
						
							
							ui: use new lens release instead of fork  
						
						 
						
						
						
					 
					
						2016-04-28 17:31:02 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							856c0b3042 
							
						 
					 
					
						
						
							
							lib: fix bracketed posting dates, parser cleanup ( #304 )  
						
						 
						
						... 
						
						
						
						Bracketed posting dates were fragile; they worked only if you wrote full
10-character dates. Also some semantics were a bit unclear. Now they
should be robust, and have been documented more clearly. This is a
legacy undocumented Ledger syntax, but it improves compatibility and
might be preferable to the more verbose "date:" tags if you write
posting dates often (as I do).
Internally, bracketed posting dates are no longer considered to be tags.
Journal comment, tag, and posting date parsers have been reworked, all
with doctests. Also the journal parser types generally have been
tightened up and clarified, making it much easier to know how to combine
and run them. There's now
-- | A parser of strings with generic user state, monad and return type.
type StringParser u m a = ParsecT String u m a
-- | A string parser with journal-parsing state.
type JournalParser m a = StringParser JournalContext m a
-- | A journal parser that runs in IO and can throw an error mid-parse.
type ErroringJournalParser a = JournalParser (ExceptT String IO) a
and corresponding convenience functions (and short aliases) for running them. 
						
					 
					
						2016-04-28 13:34:57 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							259e7bfbe3 
							
						 
					 
					
						
						
							
							lib: add a doctest suite  
						
						 
						
						
						
					 
					
						2016-04-28 13:34:57 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9946e7df88 
							
						 
					 
					
						
						
							
							lib: organise JournalReader a bit  
						
						 
						
						
						
					 
					
						2016-04-28 13:34:57 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							50aeb90596 
							
						 
					 
					
						
						
							
							lib, ui: GHC 8 compatibility  
						
						 
						
						
						
					 
					
						2016-04-28 12:55:19 -07:00