Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							06675bfec4 
							
						 
					 
					
						
						
							
							;cli, ui: fixes for yesterday's  4330427f 
						
						
						
					 
					
						2020-12-27 12:20:50 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e406cebcce 
							
						 
					 
					
						
						
							
							lib: Remove unused AtDefault constructor for ValuationType.  
						
						
						
					 
					
						2020-12-19 11:59:44 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							46093b8de7 
							
						 
					 
					
						
						
							
							lib,ui: For hledger-ui, do valuation for all valuation types, not just  
						
						... 
						
						
						
						AtCost and AtDefault.
Remove unused valuationTypeIs* functions. 
						
					 
					
						2020-12-19 11:59:44 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							cdec0f9382 
							
						 
					 
					
						
						
							
							lib: Remove special handling of now-inaccessible AtDefault valuation constructor.  
						
						... 
						
						
						
						This simplifies all the *ApplyValuation functions, as they no longer
need mreportdate or multiperiod arguments. 
						
					 
					
						2020-12-19 11:59:44 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8d1e3e638b 
							
						 
					 
					
						
						
							
							;ui: refactor, drop old option support  
						
						
						
					 
					
						2020-12-12 12:13:52 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							349ffd7c0b 
							
						 
					 
					
						
						
							
							updateReportSpecFromOpts -> updateReportSpec[With]  
						
						
						
					 
					
						2020-12-12 12:05:44 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							15dc638a07 
							
						 
					 
					
						
						
							
							ui: preserve forecast txns (& period) when reloading journal ( #1204 )  
						
						
						
					 
					
						2020-12-12 11:53:24 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6158d16443 
							
						 
					 
					
						
						
							
							;ui: refactor, simplify query  
						
						
						
					 
					
						2020-12-12 11:52:15 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							481c40ca2f 
							
						 
					 
					
						
						
							
							;ui: refactor toggleForecast  
						
						
						
					 
					
						2020-12-12 11:51:25 -08: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 
							
						 
					 
					
						
						
						
						
							
						
						
							9730b69a05 
							
						 
					 
					
						
						
							
							;ui: register: fix one-line amount formatting ( #1358 )  
						
						
						
					 
					
						2020-11-18 17:20:05 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cc2654b17b 
							
						 
					 
					
						
						
							
							;ui: notes ( #1387 )  
						
						
						
					 
					
						2020-11-15 11:32:43 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4aecb9182e 
							
						 
					 
					
						
						
							
							;ui: notes ( #1387 )  
						
						
						
					 
					
						2020-11-15 11:20:40 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9337a66fb5 
							
						 
					 
					
						
						
							
							ui: quick fix for date: and --change breakage ( #1387 )  
						
						
						
					 
					
						2020-11-15 10:30:58 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							74ce7be556 
							
						 
					 
					
						
						
							
							lib,ui: Make sure ReportSpec is updated when updating ReportOpts.  
						
						
						
					 
					
						2020-11-09 16:30:15 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							0bebda7313 
							
						 
					 
					
						
						
							
							lib,cli,ui: Elide amounts to a width of 32 characters, rather than 22 characters.  
						
						
						
					 
					
						2020-11-04 14:25:20 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							9de238757b 
							
						 
					 
					
						
						
							
							lib,cli,ui: Introduce showMixed*Unnormalised, eliminate most direct calls of strWidth.  
						
						... 
						
						
						
						This introduces some new helper functions which are exactly the same
as what we had before, but do not call
normaliseMixedAmountSquashPricesForDisplay, so that we can use the new
functions for displaying Transaction and Posting. It also goes through
and gets rid of most uses of the old showMixed* functions which would
benefit from using the new interface. 
						
					 
					
						2020-11-04 14:25:20 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							162a936360 
							
						 
					 
					
						
						
							
							lib: BudgetReport uses new renderTable inteface, now has more compact output.  
						
						... 
						
						
						
						This changes showMixedAmountElided so that the width to elide to is
given as an argument, rather than fixed at 22 characters. This
actually uses the new renderTable interface. Mostly this is just an
internal change, but since we have more information about the widths
of things, we can actually get rid of some superfluous spaces in the
budget report output, previously there to make sure it stayed aligned
with the largest reasonable contents. 
						
					 
					
						2020-11-04 14:25:20 +11: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 
							
						 
					 
					
						
						
						
						
							
						
						
							1171c23eee 
							
						 
					 
					
						
						
							
							lib,cli,ui: Ensure ReportOpts always has today_ set.  
						
						
						
					 
					
						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 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f2b9ac2af1 
							
						 
					 
					
						
						
							
							;ui: cleanup ( #1359 )  
						
						
						
					 
					
						2020-09-29 17:02:09 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9dad59b0cc 
							
						 
					 
					
						
						
							
							ui: E ignores file extension, should help positioning on windows  
						
						
						
					 
					
						2020-09-29 16:57:14 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1cd2995c77 
							
						 
					 
					
						
						
							
							ui: E supports positioning when EDITOR is code (VS Code) ( #1359 )  
						
						
						
					 
					
						2020-09-29 16:54:28 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							66acb2c317 
							
						 
					 
					
						
						
							
							;ui: refactor editFileAtPositionCommand ( #1359 )  
						
						
						
					 
					
						2020-09-29 16:53:28 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							af31d6e140 
							
						 
					 
					
						
						
							
							lib,cli,ui: Remove redundant Typeable and Data instances.  
						
						... 
						
						
						
						Also add some explicit import lists. 
						
					 
					
						2020-08-31 15:41:30 +10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e5371d5a6a 
							
						 
					 
					
						
						
							
							lib,cli,ui,web: Make Regexp a wrapper for Regex.  
						
						
						
					 
					
						2020-08-31 12:04:45 +10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							ba59fed6b2 
							
						 
					 
					
						
						
							
							lib: Replace more instances of fromIntegral with safer versions.  
						
						
						
					 
					
						2020-08-30 22:20:58 +10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							f5a7c84065 
							
						 
					 
					
						
						
							
							ui: Bump version of vty, present in all supported stackage, to get rid of CPP.  
						
						
						
					 
					
						2020-08-29 15:08:28 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							2fd678e415 
							
						 
					 
					
						
						
							
							lib,cli,ui: Remove old CPP directives made redundant by version bounds.  
						
						
						
					 
					
						2020-08-29 15:08:28 -07: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 
							
						 
					 
					
						
						
						
						
							
						
						
							5b5eab1afe 
							
						 
					 
					
						
						
							
							ui: update for new parseQuery ( #1312 )  
						
						
						
					 
					
						2020-08-05 14:18:50 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							53759dccc1 
							
						 
					 
					
						
						
							
							ui: help tweaks  
						
						
						
					 
					
						2020-07-19 06:12:29 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							58695f9c29 
							
						 
					 
					
						
						
							
							ui: help tweaks  
						
						
						
					 
					
						2020-07-18 12:30:37 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7868da2a48 
							
						 
					 
					
						
						
							
							ui: ESC now restores exactly to initial app state ( #1286 )  
						
						... 
						
						
						
						Also resetFilter (DEL/BS key) no longer changes tree/list mode. 
						
					 
					
						2020-07-18 12:24:37 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							ef8a5140b3 
							
						 
					 
					
						
						
							
							;ui: escape key, forgot this  
						
						
						
					 
					
						2020-07-17 15:51:58 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bc62fcada4 
							
						 
					 
					
						
						
							
							ui: escape key also clears report period limits  
						
						
						
					 
					
						2020-07-17 15:48:15 -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 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a3ae4d88f8 
							
						 
					 
					
						
						
							
							ui: use -t/-l short flags for --tree/--flat, like cli ( #1286 )  
						
						
						
					 
					
						2020-07-17 15:36:07 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							51ea6d9f25 
							
						 
					 
					
						
						
							
							lib: Make queryDepth return Maybe Int.  
						
						
						
					 
					
						2020-07-16 10:05:53 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							3b6a8b0956 
							
						 
					 
					
						
						
							
							ui: register: elide multicommodity amounts  
						
						
						
					 
					
						2020-07-05 06:59:16 -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 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c811ea4c7b 
							
						 
					 
					
						
						
							
							lib, cli, ui, web: intopt and friends now make sure their arguments fit  
						
						... 
						
						
						
						inside bounds. 
						
					 
					
						2020-07-03 12:35:51 -07:00