Caleb Maclennan 
							
						 
					 
					
						
						
						
						
							
						
						
							11d9e5eb6a 
							
						 
					 
					
						
						
							
							code: Strip extraneous trailing whitespace from Haskell sources  
						
						
						
					 
					
						2019-07-15 16:40:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ad424e0381 
							
						 
					 
					
						
						
							
							ui: C-z suspend now restores the terminal cleanly  
						
						
						
					 
					
						2019-01-23 17:26:27 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cc0764eac2 
							
						 
					 
					
						
						
							
							ui: on posix, support ctrl-z to suspend the program  
						
						
						
					 
					
						2019-01-18 16:33:06 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c02647d05e 
							
						 
					 
					
						
						
							
							ui: support ctrl-l everywhere  
						
						
						
					 
					
						2019-01-18 16:32:57 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							389eaa4c5d 
							
						 
					 
					
						
						
							
							ui: whitespace  
						
						
						
					 
					
						2019-01-15 06:18:35 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							42a4a4a7e4 
							
						 
					 
					
						
						
							
							ui: use "border" instead of borderAttr everywhere  
						
						... 
						
						
						
						Assume it won't change, it's clearer and more consistent. 
						
					 
					
						2018-10-23 06:43:21 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							16faa7dd9c 
							
						 
					 
					
						
						
							
							ui: capitalise cursor keys in quick help, like help dialog  
						
						
						
					 
					
						2018-10-23 05:43:57 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							84579bb1b4 
							
						 
					 
					
						
						
							
							silence redundant import warnings with ghc 8.4  
						
						
						
					 
					
						2018-03-24 22:51:56 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e3c4a76119 
							
						 
					 
					
						
						
							
							add & use simpler readJournalFilesWithOpts/InputOpts api  
						
						
						
					 
					
						2017-09-14 17:43:32 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							dc191ec76e 
							
						 
					 
					
						
						
							
							cli: refactor: new Commands module  
						
						... 
						
						
						
						Builtin commands are now gathered more tightly in a single module,
Hledger.Cli.Commands, reducing duplication and facilitating change.
The tests command was difficult and has been dropped for now.
The obsolete convert/info/man commands have been dropped.
cli: refactor: a proper commands list, better Main/Commands separation
The legacy "convert" command has been dropped.
The activity command's module is now named consistently. 
						
					 
					
						2017-09-11 16:50:08 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							97964eb2fc 
							
						 
					 
					
						
						
							
							ui: consistently support vi & emacs movement keys  
						
						... 
						
						
						
						hjkl and CTRL-bfnp should now work wherever unmodified arrow keys work.
(You must still use arrow keys with SHIFT for adjusting report period). 
						
					 
					
						2017-06-30 16:37:10 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							59af88b796 
							
						 
					 
					
						
						
							
							ui: add temporary --status-toggles for testing toggle styles ( #564 )  
						
						
						
					 
					
						2017-06-18 16:20:30 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							dcc58d4a2b 
							
						 
					 
					
						
						
							
							lib: rename ClearedStatus type to Status  
						
						... 
						
						
						
						(and fix hard-coded enum count) 
						
					 
					
						2017-06-15 19:16:39 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7dd34d71b5 
							
						 
					 
					
						
						
							
							ui: transaction: fix pattern match failure when pressing E ( fixes   #508 )  
						
						
						
					 
					
						2017-02-05 12:00:45 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3c4cb4eeeb 
							
						 
					 
					
						
						
							
							ui: --watch: track date only when a standard period is in effect  
						
						
						
					 
					
						2016-12-07 15:19:36 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9952f93e97 
							
						 
					 
					
						
						
							
							ui: --watch date tracking fixes  
						
						... 
						
						
						
						- move the period only if it's "current" (contains the old "today" date)
- make it work on all screens, not just accounts 
						
					 
					
						2016-12-02 15:36:23 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e3a7f6697e 
							
						 
					 
					
						
						
							
							ui: --watch also tracks the current date, when appropriate  
						
						... 
						
						
						
						ie, when viewing a "current" period (the current day/week/month/quarter/year),
it will be moved to enclose the current date, if needed, whenever the system date changes. 
						
					 
					
						2016-12-01 19:26:38 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6dd406779b 
							
						 
					 
					
						
						
							
							ui: always reload when g is pressed  
						
						... 
						
						
						
						Previously it would check the modification time and reload only if
it looked newer than the last reload. But this could get confused
somehow by fsnotify events, such that there were unloaded changes
on disk yet pressing g did nothing. 
						
					 
					
						2016-11-24 20:23:14 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b09b3a7be6 
							
						 
					 
					
						
						
							
							ui: with --watch, react to file changes in real time  
						
						... 
						
						
						
						Experimental, tested on OSX so far.
Rapid successive file changes can cause it to get stuck. 
						
					 
					
						2016-11-24 11:14:34 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0f1108db07 
							
						 
					 
					
						
						
							
							ui: use a custom application event type  
						
						
						
					 
					
						2016-11-24 09:10:50 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c6e2784eeb 
							
						 
					 
					
						
						
							
							ui: use brick 0.12, bump version to 1.0.3  
						
						
						
					 
					
						2016-10-31 08:06:29 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0cb5703ad1 
							
						 
					 
					
						
						
							
							ui: refactor draw functions  
						
						
						
					 
					
						2016-08-02 08:24:04 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fe6d4cc7da 
							
						 
					 
					
						
						
							
							lib: abstract period/interval/cleared in ReportOpts  
						
						
						
					 
					
						2016-07-29 19:20:56 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9b0cadc179 
							
						 
					 
					
						
						
							
							ui: support/require brick 0.7+  #379  
						
						
						
					 
					
						2016-07-24 18:06:49 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7eeb5e01ee 
							
						 
					 
					
						
						
							
							ui: I toggles balance assertions  
						
						... 
						
						
						
						This was a bit tricky. 
						
					 
					
						2016-07-06 15:08:57 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							19fc5b61f7 
							
						 
					 
					
						
						
							
							ui: indicate when balance assertions are ignored  
						
						... 
						
						
						
						The indication takes up lots of space, may need refinement.
It's currently not shown on the error screen. 
						
					 
					
						2016-07-06 15:07:27 -07:00 
						 
				 
			
				
					
						
							
							
								Moritz Kiefer 
							
						 
					 
					
						
						
						
						
							
						
						
							991204d59a 
							
						 
					 
					
						
						
							
							Support vty 0.7 ( #365 )  
						
						
						
					 
					
						2016-07-05 13:23:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							dbeb4e3020 
							
						 
					 
					
						
						
							
							ui: add vi-style movement keys, use ? for help ( #357 )  
						
						
						
					 
					
						2016-06-24 18:54:54 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							76519be8f9 
							
						 
					 
					
						
						
							
							ui: advertise E key on transaction, error screens  
						
						
						
					 
					
						2016-06-20 11:08:23 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1d419eb7e6 
							
						 
					 
					
						
						
							
							ui: editor: jump to current txn or error location (emacs, emacsclient, vi)  
						
						
						
					 
					
						2016-06-19 16:15:17 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c79750bafd 
							
						 
					 
					
						
						
							
							ui: editor: cleanup, vi support, positioning support  
						
						
						
					 
					
						2016-06-19 14:09:49 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4923efefb9 
							
						 
					 
					
						
						
							
							ui: basic editor integration  
						
						... 
						
						
						
						The E key (on all screens) edits the main journal file using
$HLEDGER_UI_EDITOR or $EDITOR or "emacs -nw",
jumping to the end if it's Emacs. 
						
					 
					
						2016-06-19 09:00:04 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d4343f8de1 
							
						 
					 
					
						
						
							
							ui: at depth 0 call account "All" (and fix register)  
						
						
						
					 
					
						2016-06-12 11:09:59 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bdb36b8480 
							
						 
					 
					
						
						
							
							ui: refactor: events, imports cleanup  
						
						
						
					 
					
						2016-06-10 17:54:46 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							47a8eb53c8 
							
						 
					 
					
						
						
							
							ui: refactor: AppState -> UIState, cleanups  
						
						
						
					 
					
						2016-06-10 17:54:46 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0851851ea9 
							
						 
					 
					
						
						
							
							ui: refactor: drop Vty. prefix  
						
						
						
					 
					
						2016-06-10 16:39:06 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ea180f72a0 
							
						 
					 
					
						
						
							
							ui: briefer on-screen help, and a more detailed help dialog  
						
						
						
					 
					
						2016-06-10 11:50:57 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6c6222ef85 
							
						 
					 
					
						
						
							
							ui: import Lens.Micro.Platform more correctly  
						
						
						
					 
					
						2016-06-09 12:41:26 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8bda78a447 
							
						 
					 
					
						
						
							
							ui: refactor, simplify, flatten screen types  
						
						
						
					 
					
						2016-06-09 07:47:48 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5c343a5848 
							
						 
					 
					
						
						
							
							ui: convert screen states to records  
						
						... 
						
						
						
						This is highly verbose, but potentially clearer, allows better haddock docs, and hopefully will improve after lensification. 
						
					 
					
						2016-06-08 12:15:58 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5259605e82 
							
						 
					 
					
						
						
							
							ui: simplify screen naming & importing  
						
						
						
					 
					
						2016-06-08 11:03:49 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1e93feeff3 
							
						 
					 
					
						
						
							
							ui: distinguish regenerateScreens from journal reloading  
						
						
						
					 
					
						2016-06-08 10:42:51 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bbcbaf6080 
							
						 
					 
					
						
						
							
							ui: Esc (outside minibuffer) resets, jumps to top  
						
						
						
					 
					
						2016-06-07 09:26:16 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4b68675ce5 
							
						 
					 
					
						
						
							
							ui: txn: show current query affecting txn list  
						
						
						
					 
					
						2016-06-07 09:20:20 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d1d6e237ec 
							
						 
					 
					
						
						
							
							ui: U key shows only uncleared transactions/postings  
						
						
						
					 
					
						2016-06-03 18:32:19 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3b24c15813 
							
						 
					 
					
						
						
							
							ui: transaction: show when empty/cleared/real are affecting the txn list  
						
						
						
					 
					
						2016-06-03 18:00:38 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cc67aeba8d 
							
						 
					 
					
						
						
							
							ui: fix some warnings ( #354 )  
						
						
						
					 
					
						2016-06-02 18:13:07 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7c8d7e9820 
							
						 
					 
					
						
						
							
							ui: transaction: ignore real/cleared/empty, always show full txn ( #354 )  
						
						... 
						
						
						
						This commit clarifies the account transactions report: as before the included transactions
are the original unfiltered transactions, but now the change and running balance amounts
are calculated from the report-matched postings. This fixed the limitation noted in 509f558 
						
					 
					
						2016-06-02 07:03:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							509f55864d 
							
						 
					 
					
						
						
							
							ui: indicate real mode and toggle it with R key ( #354 )  
						
						... 
						
						
						
						There is a limitation/bug: disabling real mode in the transaction screen
won't show the non-real postings if it was entered from a real-mode
register screen. 
						
					 
					
						2016-06-01 12:30:39 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2538d14ea7 
							
						 
					 
					
						
						
							
							lib: textification begins! account names  
						
						... 
						
						
						
						The first of several conversions from String to (strict) Text, hopefully
reducing space and time usage.
This one shows a small improvement, with GHC 7.10.3 and text-1.2.2.1:
hledger -f data/100x100x10.journal stats
string: <<ghc: 39471064 bytes, 77 GCs, 198421/275048 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.001 elapsed), 0.015 MUT (0.020 elapsed), 0.010 GC (0.014 elapsed) :ghc>>
text:   <<ghc: 39268024 bytes, 77 GCs, 197018/270840 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.002 elapsed), 0.016 MUT (0.022 elapsed), 0.009 GC (0.011 elapsed) :ghc>>
hledger -f data/1000x100x10.journal stats
string: <<ghc: 318555920 bytes, 617 GCs, 2178997/7134472 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.001 elapsed), 0.129 MUT (0.136 elapsed), 0.067 GC (0.077 elapsed) :ghc>>
text:   <<ghc: 314248496 bytes, 612 GCs, 2074045/6617960 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.003 elapsed), 0.137 MUT (0.145 elapsed), 0.067 GC (0.079 elapsed) :ghc>>
hledger -f data/10000x100x10.journal stats
string: <<ghc: 3114763608 bytes, 6026 GCs, 18858950/75552024 avg/max bytes residency (11 samples), 201M in use, 0.000 INIT (0.000 elapsed), 1.331 MUT (1.372 elapsed), 0.699 GC (0.812 elapsed) :ghc>>
text:   <<ghc: 3071468920 bytes, 5968 GCs, 14120344/62951360 avg/max bytes residency (9 samples), 124M in use, 0.000 INIT (0.003 elapsed), 1.272 MUT (1.349 elapsed), 0.513 GC (0.578 elapsed) :ghc>>
hledger -f data/100000x100x10.journal stats
string: <<ghc: 31186579432 bytes, 60278 GCs, 135332581/740228992 avg/max bytes residency (13 samples), 1697M in use, 0.000 INIT (0.008 elapsed), 14.677 MUT (15.508 elapsed), 7.081 GC (8.074 elapsed) :ghc>>
text:   <<ghc: 30753427672 bytes, 59763 GCs, 117595958/666457240 avg/max bytes residency (14 samples), 1588M in use, 0.000 INIT (0.008 elapsed), 13.713 MUT (13.966 elapsed), 6.220 GC (7.108 elapsed) :ghc>> 
						
					 
					
						2016-05-24 19:00:49 -07:00