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 
							
						 
					 
					
						
						
						
						
							
						
						
							b25b2ba33d 
							
						 
					 
					
						
						
							
							;ui: update test journals, add test for  #1411  
						
						
						
					 
					
						2020-12-11 09:33:42 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6723025607 
							
						 
					 
					
						
						
							
							;update manuals  
						
						
						
					 
					
						2020-12-08 20:11:32 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f66a8281fe 
							
						 
					 
					
						
						
							
							;ui: tests cleanup  
						
						
						
					 
					
						2020-12-08 12:59:25 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							116945e907 
							
						 
					 
					
						
						
							
							;shake: man page date is now updated by manuals, not setversion  
						
						
						
					 
					
						2020-12-07 12:26:48 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2f91b1de6e 
							
						 
					 
					
						
						
							
							;update manuals  
						
						
						
					 
					
						2020-12-07 06:15:59 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1856ca5312 
							
						 
					 
					
						
						
							
							web: bump to 1.20.1; update manuals' dates  
						
						
						
					 
					
						2020-12-06 18:20:56 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fa28b43aed 
							
						 
					 
					
						
						
							
							;update changelogs  
						
						
						
					 
					
						2020-12-05 17:58:37 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5c5256504e 
							
						 
					 
					
						
						
							
							;update manuals  
						
						
						
					 
					
						2020-11-30 15:21:59 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5507cb07ef 
							
						 
					 
					
						
						
							
							;update cabal files  
						
						
						
					 
					
						2020-11-30 15:19:21 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2501329f3c 
							
						 
					 
					
						
						
							
							;bump version to 1.20  
						
						
						
					 
					
						2020-11-30 15:18:24 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3aec8542db 
							
						 
					 
					
						
						
							
							;update changelogs  
						
						
						
					 
					
						2020-11-30 12:11:30 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d40d53ae02 
							
						 
					 
					
						
						
							
							;update manuals  
						
						
						
					 
					
						2020-11-26 08:52:56 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							794c5f32a5 
							
						 
					 
					
						
						
							
							;update changelogs  
						
						
						
					 
					
						2020-11-24 09:39:05 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9730b69a05 
							
						 
					 
					
						
						
							
							;ui: register: fix one-line amount formatting ( #1358 )  
						
						
						
					 
					
						2020-11-18 17:20:05 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2f2cca9bc0 
							
						 
					 
					
						
						
							
							;ui: add a test for multicommodity register ( #1358 )  
						
						
						
					 
					
						2020-11-17 12:43:18 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3ea453658e 
							
						 
					 
					
						
						
							
							;ui: test tweaks  
						
						
						
					 
					
						2020-11-17 11:09:35 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5f9635c784 
							
						 
					 
					
						
						
							
							;update changelogs  
						
						
						
					 
					
						2020-11-17 10:51:57 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3662977c84 
							
						 
					 
					
						
						
							
							;update manuals  
						
						
						
					 
					
						2020-11-17 07:29:57 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							267f23dabb 
							
						 
					 
					
						
						
							
							;ui: test tweaks  
						
						
						
					 
					
						2020-11-16 14:41:18 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							01be455e82 
							
						 
					 
					
						
						
							
							;ui: rename to uitest.org  
						
						
						
					 
					
						2020-11-16 09:00:55 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							56b61c71da 
							
						 
					 
					
						
						
							
							;ui: add manual tests for  #1387  
						
						
						
					 
					
						2020-11-16 08:59:35 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ec2a774b18 
							
						 
					 
					
						
						
							
							cli, lib: move functional tests into hledger/test/  
						
						
						
					 
					
						2020-11-16 08:47:41 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1c9d704e2f 
							
						 
					 
					
						
						
							
							;ui: add symlink for manual tests ( #1387 )  
						
						
						
					 
					
						2020-11-15 12:46:23 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3930e06e72 
							
						 
					 
					
						
						
							
							ui: start gathering manual tests ( #1387 )  
						
						
						
					 
					
						2020-11-15 12:43:29 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							34cae907e0 
							
						 
					 
					
						
						
							
							;ui: move WIP tests into hledger-ui package  
						
						
						
					 
					
						2020-11-15 12:17:00 -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 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a97daaf322 
							
						 
					 
					
						
						
							
							lib: replace pretty-show with pretty-simple  
						
						... 
						
						
						
						pretty-simple, already used in .ghci, will hopefully give nicer debug
output, including for values which don't have Read-able Show output.
This should mean that we can start removing custom string-like Show
instances that were a workaround for pretty-show.
We are using the latest version (4.0.0.0) to get compact output.
Here's some old pretty-show output:
 CsvRules
   { rdirectives = [ ( "skip" , "1" ) ]
   , rcsvfieldindexes = [ ( "date" , 1 ) , ( "amount" , 2 ) ]
   , rassignments = [ ( "amount" , "%2" ) , ( "date" , "%1" ) ]
   , rconditionalblocks = []
   }
And the new pretty-simple output:
 CsvRules
   { rdirectives=
     [ ( "skip", "1" ) ]
   , rcsvfieldindexes=
     [ ( "date", 1 ), ( "amount", 2 ) ]
   , rassignments=
     [ ( "amount", "%2" ), ( "date", "%1" ) ]
   , rconditionalblocks= []
   }
Non-compact pretty-simple output would be:
 CsvRules
     { rdirectives=
         [
             ( "skip"
             , "1B"
             )
         ]
     , rcsvfieldindexes=
         [
             ( "date"
             , 1
             )
         ,
             ( "amount"
             , 2
             )
         ]
     , rassignments=
         [
             ( "amount"
             , "%2"
             )
         ,
             ( "date"
             , "%1"
             )
         ]
     , rconditionalblocks=[]
     }
Also:
- Account's Show instance no longer converts : to _ in account names
- drop unused pretty-show dependency from hledger, hledger-ui packages
- regenerate hledger-lib with the older hpack that's shipped in stack 
						
					 
					
						2020-11-10 08:06:11 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							74ce7be556 
							
						 
					 
					
						
						
							
							lib,ui: Make sure ReportSpec is updated when updating ReportOpts.  
						
						
						
					 
					
						2020-11-09 16:30:15 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d1ded6fd84 
							
						 
					 
					
						
						
							
							;update changelogs  
						
						
						
					 
					
						2020-11-04 06:52:15 -10: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 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cca8802e2c 
							
						 
					 
					
						
						
							
							;update changelogs  
						
						
						
					 
					
						2020-11-03 08:18:14 -10: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 
							
						 
					 
					
						
						
						
						
							
						
						
							f0db3fb157 
							
						 
					 
					
						
						
							
							;update manuals  
						
						
						
					 
					
						2020-10-18 16:01:59 -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 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							73de12c264 
							
						 
					 
					
						
						
							
							;update changelogs  
						
						
						
					 
					
						2020-09-07 16:17:58 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2b715fbe0d 
							
						 
					 
					
						
						
							
							;update changelogs  
						
						
						
					 
					
						2020-09-07 16:13:21 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							018bf8f474 
							
						 
					 
					
						
						
							
							;update manuals  
						
						
						
					 
					
						2020-09-07 12:17:35 -07:00