Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6780c63ab3 
							
						 
					 
					
						
						
							
							simplify null Date2 queries too  
						
						
						
					 
					
						2014-12-24 14:54:56 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							77c2c90290 
							
						 
					 
					
						
						
							
							cli: parse date2: correctly ( #222 )  
						
						
						
					 
					
						2014-12-24 14:54:56 -08:00 
						 
				 
			
				
					
						
							
							
								Julien Moutinho 
							
						 
					 
					
						
						
						
						
							
						
						
							cf28985cf2 
							
						 
					 
					
						
						
							
							lib: move from Text.ParserCombinators.Parsec to Text.Parsec  
						
						... 
						
						
						
						NOTE: required to use liftIO in includedirective
SEE: http://www.vex.net/~trebla/haskell/parsec-generally.xhtml#IO  
						
					 
					
						2014-11-20 10:08:30 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a675b99870 
							
						 
					 
					
						
						
							
							query: report an error when date:D fails to parse  
						
						... 
						
						
						
						Previously, a date:D query term was just ignored if D could not be
parsed as a date. 
						
					 
					
						2014-08-08 07:21:02 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2bfbdd175b 
							
						 
					 
					
						
						
							
							queryEndDate  
						
						
						
					 
					
						2014-07-15 07:01:01 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							04cfdac0ce 
							
						 
					 
					
						
						
							
							query: add >= and <= for amt queries  
						
						
						
					 
					
						2014-06-29 11:09:13 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							084bf8fea8 
							
						 
					 
					
						
						
							
							queries: treat amt:>0 like amt:>+0  
						
						... 
						
						
						
						Similar to the special case for amt:<0, for convenience.
To test that the absolute quantity is greater than 0, ie that the
quantity is non-zero, use not:amt:0. 
						
					 
					
						2014-04-27 23:59:11 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c9d60fab73 
							
						 
					 
					
						
						
							
							balance, register: fix --date2 with report intervals  
						
						
						
					 
					
						2014-04-19 15:54:58 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f0167013ce 
							
						 
					 
					
						
						
							
							queries: treat amt:<0 like amt:<+0 as a convenience  
						
						
						
					 
					
						2014-04-16 10:48:56 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0d1d3ed057 
							
						 
					 
					
						
						
							
							fix an error when running an addon with an argument containing a single quote  
						
						... 
						
						
						
						More crazy quote engineering.. seems more robust than before. 
						
					 
					
						2014-04-15 11:45:30 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a4a332e64f 
							
						 
					 
					
						
						
							
							drop sym: entirely in favour of cur:  
						
						
						
					 
					
						2014-04-08 15:55:40 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							349bb1db01 
							
						 
					 
					
						
						
							
							forgot to import nullamt  
						
						
						
					 
					
						2014-04-06 07:43:04 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b689b791e3 
							
						 
					 
					
						
						
							
							fix amt: false positives on multi-commodity amounts  
						
						
						
					 
					
						2014-04-05 19:33:44 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e99c3c4b01 
							
						 
					 
					
						
						
							
							queries: amt: compares unsigned by default, signed if number has + or -  
						
						
						
					 
					
						2014-03-20 19:10:48 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e42e58fd26 
							
						 
					 
					
						
						
							
							the sym: prefix seems unintuitive, try cur: as an alias  
						
						
						
					 
					
						2014-03-16 09:43:15 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6f49263c9b 
							
						 
					 
					
						
						
							
							print: tag queries will match transactions whose postings contain the tag  
						
						
						
					 
					
						2014-03-01 17:42:13 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							46d594bada 
							
						 
					 
					
						
						
							
							balance, register now filter more strongly by sym:  
						
						
						
					 
					
						2014-02-27 17:47:47 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							22a8020296 
							
						 
					 
					
						
						
							
							make most types instances of Data (and Typeable)  
						
						... 
						
						
						
						This allows them to be pretty-printed with pprint (from data-pprint)
when debugging, and shouldn't have much impact otherwise. 
						
					 
					
						2013-12-06 13:19:43 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d6c841d93b 
							
						 
					 
					
						
						
							
							show search queries more accurately in --debug output  
						
						
						
					 
					
						2013-09-23 11:50:20 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3d205ec03f 
							
						 
					 
					
						
						
							
							refactor: rename unclear helper  
						
						
						
					 
					
						2013-09-09 17:41:29 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							060d1fdd1b 
							
						 
					 
					
						
						
							
							change comm: to sym: and require a match on the whole symbol  
						
						
						
					 
					
						2013-09-09 15:26:45 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							957f57a07b 
							
						 
					 
					
						
						
							
							new comm:REGEXP query matches commodity symbols. Also some minor amt: fixes.  
						
						
						
					 
					
						2013-09-09 15:04:43 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							73230838c5 
							
						 
					 
					
						
						
							
							parsing: amt queries use the = operator by default  
						
						
						
					 
					
						2013-09-09 11:57:25 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							70b171e018 
							
						 
					 
					
						
						
							
							querying by code:  
						
						
						
					 
					
						2013-03-22 17:59:16 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c39e424642 
							
						 
					 
					
						
						
							
							basic querying by amount: "amt:<0", "amt:=100", etc.  
						
						... 
						
						
						
						The syntax is "amt:ON", where O is "<", "=" or ">" and N is a number.
For simple (single-commodity) amounts, this matches if the amount's quantity has the specified relationship to N.
For multi-commodity amounts, it always matches.
If parsing fails, an error is raised.
This has not been tested for floating-point precision. 
						
					 
					
						2013-03-20 16:36:00 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							621a91807e 
							
						 
					 
					
						
						
							
							rename actual/effective dates to primary/secondary  
						
						... 
						
						
						
						The command-line flag is now --date2. Alternate spellings --effective and --aux-date
are accepted for compatibility. 
						
					 
					
						2012-12-06 04:43:41 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							27621515ea 
							
						 
					 
					
						
						
							
							bal, reg: use posting date if specified, clarify posting effective date not yet supported  
						
						
						
					 
					
						2012-12-06 01:10:15 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d4a897306c 
							
						 
					 
					
						
						
							
							combine command-line flags like --depth properly with non-flag query patterns  
						
						
						
					 
					
						2012-06-29 22:36:30 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							294a350993 
							
						 
					 
					
						
						
							
							promote Hledger.Query to second level  
						
						
						
					 
					
						2012-05-16 07:57:10 +00:00