Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							29efacf02c 
							
						 
					 
					
						
						
							
							imp: ui: accounts: also show declared accounts, even if unused  
						
						... 
						
						
						
						This will be more user-friendly when getting started. 
						
					 
					
						2021-11-22 11:13:47 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							59b4968929 
							
						 
					 
					
						
						
							
							imp: ui: Display an error message on invalid regexp, rather than  
						
						... 
						
						
						
						silently ignoring. (#1394 ) 
						
					 
					
						2021-11-20 22:23:52 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c11d19a893 
							
						 
					 
					
						
						
							
							fix: ui: scroll selection to middle on first entry, also  
						
						... 
						
						
						
						The viewport doesn't exist until after first render, and scrollSelectionToMiddle didn't need it; viewportScroll queues up events for it.
https://github.com/jtdaugherty/brick/issues/349  
						
					 
					
						2021-11-20 15:33:28 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7bbff6a359 
							
						 
					 
					
						
						
							
							fix: ui: accounts: don't let j or C-n move past bottom  
						
						
						
					 
					
						2021-11-18 22:21:37 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9f6595f122 
							
						 
					 
					
						
						
							
							ui: refactor, generalise listScrollPushingSelection  
						
						
						
					 
					
						2021-11-18 22:21:37 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3a57814402 
							
						 
					 
					
						
						
							
							ui: debounced clicking; click top/left margin to exit  
						
						
						
					 
					
						2021-11-18 22:21:37 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6d69ea9c29 
							
						 
					 
					
						
						
							
							ui: mouse scrolls accounts, register screens  
						
						
						
					 
					
						2021-11-18 22:21:37 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							35402fb472 
							
						 
					 
					
						
						
							
							ui: accounts: left click enters register  
						
						
						
					 
					
						2021-11-18 22:21:37 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							ff0132df28 
							
						 
					 
					
						
						
							
							dev: Use realLength from doclayout instead of strWidth and textWidth. ( #895 )  
						
						... 
						
						
						
						This gives us more accurate string length calculations. In particular,
it handles emoji and other scripts properly. 
						
					 
					
						2021-11-11 18:29:50 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							3456fcb862 
							
						 
					 
					
						
						
							
							test: ui: web: Use report date from _rsDay for hledger-ui and  
						
						... 
						
						
						
						hledger-web, rather than getCurrentDay.
File watching in hledger-ui continues to use getCurrentDay. 
						
					 
					
						2021-09-09 14:40:39 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							765466c392 
							
						 
					 
					
						
						
							
							dev!: ui: Rename fields of UIOpts for consistency.  
						
						... 
						
						
						
						In code, either replace the name with the new name, or use the lenses
instead.
watch_ -> uoWatch
cliopts_ -> uoCliOpts 
						
					 
					
						2021-09-09 13:31:43 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							beecb3c9ac 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up list related hlint warnings.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e13239386f 
							
						 
					 
					
						
						
							
							cln: hlint: Clean up == and elem related hlint warnings.  
						
						
						
					 
					
						2021-08-27 06:13:56 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							69502c44fe 
							
						 
					 
					
						
						
							
							cln: hlint: Fix record patterns warnings.  
						
						
						
					 
					
						2021-08-26 21:00:35 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							a3cacca71d 
							
						 
					 
					
						
						
							
							fix: ui: Make sure RegisterScreen (and consequently TransactionScreen)  
						
						... 
						
						
						
						only display forecast transactions when the appropriate flag is set. 
						
					 
					
						2021-08-23 22:22:53 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c404800fbf 
							
						 
					 
					
						
						
							
							ref!: forecast: Move forecast_ from ReportOpts to InputOpts.  
						
						
						
					 
					
						2021-08-05 21:10:47 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							b0aa70b27a 
							
						 
					 
					
						
						
							
							lib!: Rename the fields of ReportSpec.  
						
						... 
						
						
						
						This is done to be more consistent with future field naming conventions,
and to make automatic generation of lenses simpler. See discussion in
\#1545.
rsOpts -> _rsReportOpts
rsToday -> _rsDay
rsQuery -> _rsQuery
rsQueryOpts -> _rsQueryOpts 
						
					 
					
						2021-07-23 10:37:08 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							87f575e643 
							
						 
					 
					
						
						
							
							ref: bal: rename some report types to clarify/sync with docs  
						
						... 
						
						
						
						ReportType -> BalanceCalculation
 ChangeReport -> CalcChange
 BudgetReport -> CalcBudget
 ValueChangeReport -> CalcValueChange
BalanceType -> BalanceAccumulation
 PeriodChange -> PerPeriod
 CumulativeChange -> Cumulative
 HistoricalBalance -> Historical
ReportOpts:
 reporttype_ -> balancecalc_
 balancetype_ -> balanceaccum_
CompoundBalanceCommandSpec:
 cbctype -> cbcaccum
Hledger.Reports.ReportOptions:
 balanceTypeOverride -> balanceAccumulationOverride 
						
					 
					
						2021-07-15 14:22:20 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							0f1837816d 
							
						 
					 
					
						
						
							
							lib,cli,ui,web: Add check balancednoautoconversion command, which checks that  
						
						... 
						
						
						
						transactions are balanced possibly using explicit prices, but without
inferring any prices. This is included in --strict mode.
Renames check autobalanced to check balancedwithautoconversion. 
						
					 
					
						2021-06-07 18:58:58 -10:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							55308e1ca8 
							
						 
					 
					
						
						
							
							lib,cli,ui,web: Remove unnecessary CPP when dropping support for GHC 8.2.  
						
						
						
					 
					
						2021-06-07 17:33:54 -10:00 
						 
				 
			
				
					
						
							
							
								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