Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							7d3cf1747a 
							
						 
					 
					
						
						
							
							lib: Make consistent naming scheme for showMixedAmount* functions,  
						
						... 
						
						
						
						add conversion between old API and new API in the documentation. 
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							1f891a4145 
							
						 
					 
					
						
						
							
							doc: Fix some outdated documentation.  
						
						
						
					 
					
						2021-01-02 15:08:09 +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 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							13c111da73 
							
						 
					 
					
						
						
							
							lib,cli,ui: Use WideBuilder for Tabular.AsciiWide.  
						
						... 
						
						
						
						Move WideBuilder to Text.WideString. 
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							b9c00dce61 
							
						 
					 
					
						
						
							
							lib,cli,ui: Implement all showMixed* functions in terms of DisplayAmountOpts and WideBuilder.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							462a13cad7 
							
						 
					 
					
						
						
							
							lib,cli: Use Text Builder for Balance commands.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							089564b04b 
							
						 
					 
					
						
						
							
							lib,cli: Use Text for CompoundPeriodicReport titles.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							541c4fc18c 
							
						 
					 
					
						
						
							
							lib,cli: Use Text for CSV values.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							e3ec01c3c6 
							
						 
					 
					
						
						
							
							lib,cli,ui: Use Text for showDate and related.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							7e44b89bb4 
							
						 
					 
					
						
						
							
							lib: Remove unused label on TranspactionReport and AccountTransactionsReport.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							5752f1c5cb 
							
						 
					 
					
						
						
							
							lib,cli: Use Text Builder for Account Transaction Reports.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							646ee0bce5 
							
						 
					 
					
						
						
							
							cli: Using Text Builder for posting reports.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							a64d1aa6d0 
							
						 
					 
					
						
						
							
							bin: Update bin scripts for current hledger-lib.  
						
						... 
						
						
						
						(cherry picked from commit bc4aef17b7fa13ec0754b93325e1c5e5ee04f1e7) 
						
					 
					
						2020-12-30 08:59:03 -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 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							0c23619ae7 
							
						 
					 
					
						
						
							
							lib: Valuation has changed; and -V now acts like --value=end.  
						
						
						
					 
					
						2020-12-19 11:59:44 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							8981b3e196 
							
						 
					 
					
						
						
							
							lib: Include empty columns in MultiBalanceReports.  
						
						... 
						
						
						
						This was previously done for CompoundBalanceReport and when --empty was
called; this makes the behaviour consistent. 
						
					 
					
						2020-12-18 20:54:08 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9617d0dd81 
							
						 
					 
					
						
						
							
							;lib: multibalancereport sorting implementation notes ( #1414 ,  #1415 )  
						
						
						
					 
					
						2020-12-14 09:36:34 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							92645cca14 
							
						 
					 
					
						
						
							
							lib: Sorting accounts by amount should also consider account name after amounts.  
						
						
						
					 
					
						2020-12-14 06:48:47 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							349ffd7c0b 
							
						 
					 
					
						
						
							
							updateReportSpecFromOpts -> updateReportSpec[With]  
						
						
						
					 
					
						2020-12-12 12:05:44 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e33667f580 
							
						 
					 
					
						
						
							
							check: support quoted check name + args  
						
						... 
						
						
						
						A "hledger check" argument may now be a quoted string containing
the check name followed by space-separated arguments, for
checks which make use of those. This means the check command
can replicate "check-dates --unique" and (in principle)
"check-fancyassertions ASSERTIONS..". Eg:
hledger check "dates --unique"
I think it'll be better for checks to take no arguments or options,
so this is probably just a transitional feature for compatibility. 
						
					 
					
						2020-11-29 20:48:31 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							654ab4243a 
							
						 
					 
					
						
						
							
							; comments  
						
						
						
					 
					
						2020-11-20 16:45:40 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4a74680a22 
							
						 
					 
					
						
						
							
							;lib: rename some budget report helpers  
						
						... 
						
						
						
						The new names are of course verbose, but more consistent and revealing. 
						
					 
					
						2020-11-19 14:59:08 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							372c9724a8 
							
						 
					 
					
						
						
							
							bal: improve budget, MultiBalanceReport debug output  
						
						... 
						
						
						
						Comply with debug levels policy, clarify some labels. 
						
					 
					
						2020-11-19 14:42:46 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5bb9006b6c 
							
						 
					 
					
						
						
							
							bal: support CSV output for --budget reports ( #1155 )  
						
						
						
					 
					
						2020-11-18 16:29:04 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							3caf82c003 
							
						 
					 
					
						
						
							
							lib: Remove Empty Query constructor, which does nothing and has done so  
						
						... 
						
						
						
						for a very long time. 
						
					 
					
						2020-11-09 11:21:40 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c25612b8de 
							
						 
					 
					
						
						
							
							lib: Refactor to eliminate confusing variables.  
						
						
						
					 
					
						2020-11-08 17:11:05 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							4cd3ed15a0 
							
						 
					 
					
						
						
							
							lib: Use simpler MultiBalanceReport valuation calculations in more cases.  
						
						
						
					 
					
						2020-11-08 17:11:05 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							35a83fbd8c 
							
						 
					 
					
						
						
							
							lib: For MultiBalanceReport, report change in valuation rather than valuation of change.  
						
						
						
					 
					
						2020-11-08 17:11:05 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							166951dc69 
							
						 
					 
					
						
						
							
							bal: Sort amounts after negating when using invert_ ( #1283 ,  #1379 )  
						
						
						
					 
					
						2020-11-05 10:35:47 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							a620ab9666 
							
						 
					 
					
						
						
							
							lib: Expand Tabular.AsciiWide to allow multiline cells, either top or bottom aligned.  
						
						
						
					 
					
						2020-11-04 14:25:21 +11: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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							33369dfa6c 
							
						 
					 
					
						
						
							
							lib: renderTable can now receive alignment and width specifications on all cells, and has an option to display the outer border.  
						
						... 
						
						
						
						This gives renderTable a little more customisation. Before any of the
commits of this PR, render would just receive a string to display in
each cell. After the second commit of this PR it would also receive a
width of the string (in place of stripping ANSI sequences and then
calculating the width). After this commit, it now also takes an
alignment, so you can make cells left or right aligned. The function
render calls renderTable with appropriate options to give the same
behaviour as before. Also, previously render would always put a border
around the table. We would take this output, and would sometimes strip
the border by dropping the first and last rows, and first and last
characters of every row. I've just added an option to control whether
to put the border in, so we can just not add it in the first place,
rather than stripping it later. Note that this is again just defining
helper functions; this extra power is not yet used anywhere. 
						
					 
					
						2020-11-04 14:25:20 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							a2b7a03fc4 
							
						 
					 
					
						
						
							
							lib,cli: bal uses new amount display functions, no longer needs to strip ansi.  
						
						
						
					 
					
						2020-11-04 14:25:20 +11:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							db97fae348 
							
						 
					 
					
						
						
							
							lib: Add documentation for CBCSubreportSpec.  
						
						
						
					 
					
						2020-10-23 16:15:41 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							795134777c 
							
						 
					 
					
						
						
							
							lib: Add Functor instance for CompoundPeriodicReport.  
						
						
						
					 
					
						2020-10-23 16:15:41 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							affc8d10f2 
							
						 
					 
					
						
						
							
							lib: Generalise CBCSubreportSpec to allow more subreport control.  
						
						
						
					 
					
						2020-10-23 16:15:41 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							6e65d4e071 
							
						 
					 
					
						
						
							
							lib: Export some MultiBalanceReport helper functions.  
						
						
						
					 
					
						2020-10-23 16:15:41 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c5abefc72f 
							
						 
					 
					
						
						
							
							lib: Add documentation for ReportSpec.  
						
						
						
					 
					
						2020-10-23 14:14:11 -07: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 
							
						 
					 
					
						
						
						
						
							
						
						
							19ab222599 
							
						 
					 
					
						
						
							
							lib,cli: Remove old impure ReportOpts date functions.  
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
						
						
							
						
						
							64e3e5c54d 
							
						 
					 
					
						
						
							
							lib: Improve documentation for StringFormat, remove type alias for Valuation.  
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
						
						
							
						
						
							efc9758f82 
							
						 
					 
					
						
						
							
							lib: Make sure reportspan doesn't interfere with correctly determining valuation date.  
						
						
						
					 
					
						2020-10-23 14:14:11 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							c45663d41d 
							
						 
					 
					
						
						
							
							lib,cli: Store parsed Query in ReportOpts, rather than an unparsed  
						
						... 
						
						
						
						String. 
						
					 
					
						2020-10-23 14:14:11 -07:00