Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							dd5773253b 
							
						 
					 
					
						
						
							
							ui: For account screen, if the accounts and amounts are too wide, allocate space proportionally.  
						
						
						
					 
					
						2021-04-14 14:18:24 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							203b12bfd9 
							
						 
					 
					
						
						
							
							ui: In account screen, elide amounts which go past the specified width.  
						
						... 
						
						
						
						Also leave at least 15 spaces width for account names. 
						
					 
					
						2021-04-14 14:18:24 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							d6a4310d8f 
							
						 
					 
					
						
						
							
							lib,cli,ui,bin: Eliminate all uses of Mixed outside of Hledger.Data.Amount.  
						
						... 
						
						
						
						Exceptions are for dealing with the pamount field, which is really just
dealing with an unnormalised list of amounts.
This creates an API for dealing with MixedAmount, so we never have to
access the internals outside of Hledger.Data.Amount.
Also remove a comment, since it looks like #1207  has been resolved. 
						
					 
					
						2021-03-18 09:47:59 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e4e533eb9f 
							
						 
					 
					
						
						
							
							lib,cli,ui: Replace some uses of String with Text, get rid of some unpacks, clean up showMixed options.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b6cb95b534 
							
						 
					 
					
						
						
							
							ui: make F key keep working, fixing breakage in 1.20 ( #1411 )  
						
						... 
						
						
						
						This seems to be fallout from #1340 's
2020-09-16 d0d39e615 lib,cli,ui,web: Introduce ReportSpec, which holds ReportOpts, the day of the report, and the parsed Query. 
						
					 
					
						2020-12-11 09:38:15 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9337a66fb5 
							
						 
					 
					
						
						
							
							ui: quick fix for date: and --change breakage ( #1387 )  
						
						
						
					 
					
						2020-11-15 10:30:58 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							83a518af99 
							
						 
					 
					
						
						
							
							lib,cli,ui: In ReportOpts, store query terms term-by-term in a list in  
						
						... 
						
						
						
						querystring_.
This helps deal with tricky quoting issues, as we no longer have to make
sure everything is quoted properly before merging it into a string. 
						
					 
					
						2020-11-04 08:47:30 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							57d7b223a2 
							
						 
					 
					
						
						
							
							lib: Write new showMixedAmount* functions which keep track of length.  
						
						... 
						
						
						
						Previously showMixedAmountElided would show two amounts and then the
elision string if necessary. Now it will display as many Amounts as it
can subject to the condition that the amounts plus the elision string
fit within 22 characters. 
						
					 
					
						2020-11-04 14:25:20 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							260283e2f1 
							
						 
					 
					
						
						
							
							lib,cli,ui,web: Introduce ReportSpec, which holds ReportOpts, the day of  
						
						... 
						
						
						
						the report, and the parsed Query. 
						
					 
					
						2020-10-23 14:14:11 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							ff0c5bc743 
							
						 
					 
					
						
						
							
							lib,ui: Store the original query string in ReportOpts, provide a function for regenerating ReportOpts.  
						
						
						
					 
					
						2020-10-23 14:14:11 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							fcbe511d42 
							
						 
					 
					
						
						
							
							ui,web: Adopt new ReportOptions interface, store literal query string in UIOpts.  
						
						
						
					 
					
						2020-10-23 14:14:11 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							07dd30c1e5 
							
						 
					 
					
						
						
							
							lib,cli,ui: Change to consistent naming scheme for Hledger.Utils.Regex.  
						
						
						
					 
					
						2020-09-01 11:36:34 +10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e5371d5a6a 
							
						 
					 
					
						
						
							
							lib,cli,ui,web: Make Regexp a wrapper for Regex.  
						
						
						
					 
					
						2020-08-31 12:04:45 +10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3f55c23603 
							
						 
					 
					
						
						
							
							;review, tag all error calls with an easier to find PARTIAL: comment ( #1312 )  
						
						
						
					 
					
						2020-08-05 16:08:33 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bac3028704 
							
						 
					 
					
						
						
							
							ui: q exits help; improve help layout ( #1286 )  
						
						
						
					 
					
						2020-07-18 08:59:21 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ae830a1ace 
							
						 
					 
					
						
						
							
							ui: restore vi keys by popular demand; t toggles tree mode ( #1286 )  
						
						
						
					 
					
						2020-07-18 08:39:23 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							847fc23236 
							
						 
					 
					
						
						
							
							ui: use t/l keys for tree/list, T for "today", drop vi keys?! retune help ( #1286 )  
						
						
						
					 
					
						2020-07-17 15:42:05 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1425301a8c 
							
						 
					 
					
						
						
							
							lib, cli: Use --flat as the default mode for all reports.  
						
						
						
					 
					
						2020-07-07 15:49:08 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							44c3eb1904 
							
						 
					 
					
						
						
							
							add a color argument to most amount show helpers, drop cshow variants  
						
						... 
						
						
						
						This is an API change, but it seems better than having additional
colour-supporting variants and trying to avoid duplicated code.
I stopped short of changing showAmount, so cshowAmount still exists. 
						
					 
					
						2020-07-05 06:59:16 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Astapov 
							
						 
					 
					
						
						
						
						
							
						
						
							b7413edf22 
							
						 
					 
					
						
						
							
							lib: --forecast=PERIODICEXPR.  Fixes   #835 ,  #1236  
						
						
						
					 
					
						2020-06-03 15:53:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3bee9a96c9 
							
						 
					 
					
						
						
							
							ui: simpler forecast toggle: just visibility, no reload ( #1193 )  
						
						
						
					 
					
						2020-02-22 11:06:58 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4eba930a5c 
							
						 
					 
					
						
						
							
							ui: don't force --auto/--forecast on; merge --future with --forecast ( #1193 )  
						
						... 
						
						
						
						Periodic transactions were always on, which meant that periodic
transactions occurring today were always shown, in future or present
mode.
Now, both periodic transactions and display of future transactions are
controlled by --forecast, and toggleable by the F key ("forecast
mode"). The --future flag has been dropped (it still works as a hidden
alias for --forecast, but is deprecated).
It seemed to also make sense to leave auto postings off by default,
like hledger. 
						
					 
					
						2020-02-22 11:06:58 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							44da1e1cb7 
							
						 
					 
					
						
						
							
							;ui: E key: simplify; drop buggy emacs end-of-file positioning  
						
						
						
					 
					
						2019-12-15 11:03:05 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							332624f9fa 
							
						 
					 
					
						
						
							
							ui: B and V keys toggle display of cost, value  
						
						
						
					 
					
						2019-11-21 17:33:04 -08:00 
						 
				 
			
				
					
						
							
							
								Caleb Maclennan 
							
						 
					 
					
						
						
						
						
							
						
						
							11d9e5eb6a 
							
						 
					 
					
						
						
							
							code: Strip extraneous trailing whitespace from Haskell sources  
						
						
						
					 
					
						2019-07-15 16:40:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							692620180e 
							
						 
					 
					
						
						
							
							;lib: refactor: change AmountPrice to a Maybe  
						
						... 
						
						
						
						I've wanted to do this for a long time; now that prices are in flux,
seems a good time. 
						
					 
					
						2019-06-13 15:50:01 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							98e3358046 
							
						 
					 
					
						
						
							
							ui: more defensive brick list imports to fix recent breakage  
						
						
						
					 
					
						2019-02-02 08:22:23 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fda41373f7 
							
						 
					 
					
						
						
							
							ui: fix build issues with older brick/snapshots, require brick 0.23+  
						
						
						
					 
					
						2019-02-01 21:05:56 -08: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 
							
						 
					 
					
						
						
						
						
							
						
						
							bb5d6c47c6 
							
						 
					 
					
						
						
							
							ui: probably more effective redraw when pressing Ctrl-l  
						
						... 
						
						
						
						Now uses vtyRefresh. 
						
					 
					
						2019-01-18 16:32:52 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							389eaa4c5d 
							
						 
					 
					
						
						
							
							ui: whitespace  
						
						
						
					 
					
						2019-01-15 06:18:35 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e6392b3d46 
							
						 
					 
					
						
						
							
							ui: streamline top status info  
						
						
						
					 
					
						2019-01-05 18:42:03 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a94e632524 
							
						 
					 
					
						
						
							
							ui: avoid brick reverse clash ( #935 )  
						
						
						
					 
					
						2018-12-10 10:48:40 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							12d3ba6fc0 
							
						 
					 
					
						
						
							
							ui: refactor, try to clarify toggles' help  
						
						... 
						
						
						
						Consistent ordering with most-used toggles first, more intuitive wording 
						
					 
					
						2018-11-04 13:54:20 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d1a20553e3 
							
						 
					 
					
						
						
							
							ui: fix Any build error with GHC < 8.4  
						
						
						
					 
					
						2018-10-24 12:20:52 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3dd2bfd01d 
							
						 
					 
					
						
						
							
							ui: style tweaks, white instead of cyan  
						
						
						
					 
					
						2018-10-23 06:47:30 -07: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 
							
						 
					 
					
						
						
						
						
							
						
						
							5bc82e9536 
							
						 
					 
					
						
						
							
							ui: themes cleanup, style tweaks  
						
						
						
					 
					
						2018-10-23 06:33: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 
							
						 
					 
					
						
						
						
						
							
						
						
							74611a7be1 
							
						 
					 
					
						
						
							
							ui: accounts: fix balances when there's only periodic txns  
						
						... 
						
						
						
						And clarify multiBalanceReport. 
						
					 
					
						2018-10-18 14:43:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2edb1f2705 
							
						 
					 
					
						
						
							
							ui: always enable periodic transactions and transaction modifiers  
						
						... 
						
						
						
						Rule-based transactions and postings are always generated
(--forecast and --auto are always on).
Experimental. 
						
					 
					
						2018-10-18 14:43:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1db9b018f1 
							
						 
					 
					
						
						
							
							ui: add --present/--future, hide future txns by default, toggle with F  
						
						... 
						
						
						
						You may have transactions dated later than today, perhaps piped from
print --forecast or recorded in the journal, which you don't want to
see except when forecasting.
By default, we now hide future transactions, showing "today's balance".
This can be toggled with the F key, which is easier than setting a
date query. --present and --future flags have been added to set the
initial mode.
(Experimental. Interactions with date queries have not been explored.) 
						
					 
					
						2018-10-18 14:43:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							89712fe81d 
							
						 
					 
					
						
						
							
							ui: make flat the default, toggle with T, add --tree/-T/-F flags  
						
						
						
					 
					
						2018-10-18 14:43:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							581d02162c 
							
						 
					 
					
						
						
							
							resolve all current build warnings with the supported GHC versions  
						
						... 
						
						
						
						If I'm lucky. 
						
					 
					
						2018-05-17 20:43:55 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							84579bb1b4 
							
						 
					 
					
						
						
							
							silence redundant import warnings with ghc 8.4  
						
						
						
					 
					
						2018-03-24 22:51:56 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							88ef586480 
							
						 
					 
					
						
						
							
							lib: rename, clarify purpose of balanceReportFromMultiBalanceReport  
						
						
						
					 
					
						2018-01-23 11:32:24 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							69e255cead 
							
						 
					 
					
						
						
							
							lib: deduplicate, refactor valuation code  
						
						
						
					 
					
						2017-12-29 16:52:08 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e3c4a76119 
							
						 
					 
					
						
						
							
							add & use simpler readJournalFilesWithOpts/InputOpts api  
						
						
						
					 
					
						2017-09-14 17:43:32 -07:00