John Wiegley
b46cc3b5d3
Added CTOR_ macro
2011-07-17 15:29:22 -05:00
John Wiegley
f2d99dae08
Rely on a default argument in textual.cc
2011-07-17 15:28:38 -05:00
John Wiegley
c4a3a7bbe5
Changed an assert into a proper exception
2011-07-17 15:28:11 -05:00
John Wiegley
976ba4907d
O_DEFINE operator should always return NULL_VALUE
2011-07-17 15:28:02 -05:00
John Wiegley
168c111c62
Corrected a typo
2011-07-03 00:29:59 -05:00
John Wiegley
d36606582f
Whitespace fix
2011-07-02 17:51:35 -05:00
John Wiegley
96dc3dcf9e
Simplified some code
2011-06-30 09:26:14 -05:00
John Wiegley
77e6694de5
Corrected a debug string
2011-06-30 09:26:03 -05:00
John Wiegley
a5f2c25f47
Whitespace fix
2011-06-30 09:25:58 -05:00
John Wiegley
ee7f5395e6
Added two missing calls to clear()
2011-06-30 09:25:35 -05:00
John Wiegley
4336ec3e8b
Fixed an infinite loop in the report query parser
2011-06-30 09:25:21 -05:00
John Wiegley
11a9063958
Increased an assertion's length limit
2011-05-30 17:41:35 -05:00
John Wiegley
365188a1e2
Clarified an #ifdef
2011-04-11 23:40:36 -05:00
John Wiegley
af94c94a6f
Corrected a transient display order flaw
...
This was harmless, but affected the testability of results.
2011-03-28 01:53:15 -04:00
John Wiegley
0759071565
Another fix for Boost.Filesystem v3
2011-03-25 16:42:49 -04:00
John Wiegley
584bdb1600
Fix for Boost 1.46 and the new Filesystem library
2011-03-23 00:32:36 -04:00
John Wiegley
dc03c646eb
Corrections to the regression tests
2011-03-03 23:47:11 -05:00
John Wiegley
013aefd9fd
Added casts necessary for building under Visual Studio
2011-03-03 23:17:59 -05:00
John Wiegley
49a90ef595
Fix for Boost.Filesystem v3
2011-02-28 16:26:45 -05:00
John Wiegley
8388baafd3
Support Boost 1.46 and Boost.Filesystem v3
2011-02-28 16:24:15 -05:00
John Wiegley
512542552b
When a test fails, show the command that failed
2011-02-12 17:55:56 -05:00
John Wiegley
30e830626b
Added "comment" and "test" directives
2011-02-12 17:55:56 -05:00
John Wiegley
1292eec17b
Improved an assert
2011-02-12 17:55:55 -05:00
John Wiegley
c2b5b1a516
Whitespace corrections
2011-02-10 23:00:41 -05:00
John Wiegley
20f4ccde96
Added some debug code
2011-02-10 23:00:36 -05:00
John Wiegley
21a123e525
Corrected a lingering reference to a temporary
...
Fixes: CEE57FBC-DF19-40DD-901D-68B1AEC29888
2011-02-10 23:00:18 -05:00
John Wiegley
986afb43d0
Define BOOST_IOSTREAMS_USE_DEPRECATED
2011-02-04 23:07:39 -05:00
John Wiegley
0f8e0251f4
Fixed a bug preventing g++ 4.6 from working
2011-02-04 22:53:22 -05:00
John Wiegley
2208ac1226
Fixes for compilation as C++0x code
2011-02-04 22:39:41 -05:00
John Wiegley
c9730d781c
Fixed compiler warnings when building with Clang
2011-02-04 03:07:47 -05:00
John Wiegley
958a61ede5
New command: org, for displaying Org-mode tables
2010-12-22 15:34:06 -05:00
John Wiegley
dafe7c891a
Added "top_amount" value expr function
2010-12-22 15:32:34 -05:00
John Wiegley
d2ac9f7eaf
Create format_t::mark_uncompiled
2010-12-22 15:31:35 -05:00
John Wiegley
edc5371bd3
Whitespace fix
2010-12-22 14:14:42 -05:00
John Wiegley
c00188d6a8
Increase display precision of hours to 2 places
2010-12-12 19:13:44 -05:00
John Wiegley
0be39fce6a
Parse %m/%d/%Y %H:%M:%S as an input date/time
...
This is to support reading of Timelog files.
2010-12-04 12:51:40 -05:00
John Wiegley
5fd91d26ce
Corrected syntax errors found by Clang
2010-10-07 01:51:38 -04:00
John Wiegley
ab24901b9d
Made -> have higher precedence than comma
2010-09-06 01:01:20 -04:00
John Wiegley
84780270f9
Added initial support for lambda functions
2010-09-06 00:56:00 -04:00
John Wiegley
e162455ebb
Minor simplifications to valexpr parser
...
The most significant change is the way CONS sequences are parsed, and
that now instead of =/:=, the operators are ==/=.
2010-09-05 01:38:47 -04:00
John Wiegley
9fcf484826
Moved up to Boost 1.44
2010-08-24 00:03:52 -04:00
John Wiegley
48a5823181
Based symbol_needs_quotes an invalid_chars ( #386 )
2010-07-29 03:45:01 -04:00
John Wiegley
9edf413d9d
Boost.Python fixes now that item_t is abstract
2010-07-29 03:36:54 -04:00
John Wiegley
03912a44ab
The "source" command now accepts code from stdin
2010-06-26 01:09:07 -04:00
John Wiegley
61fcfd0698
The "print" valexpr function no longer adds spaces
2010-06-26 01:08:23 -04:00
John Wiegley
bd5a136ad0
Move balance divider right by prepend-width
2010-06-26 00:36:55 -04:00
John Wiegley
8a29c03490
Added "format" value expression function
...
This function evaluates formatting strings, returning a string. For
example:
format("%(amount)")
This is equivalent to "to_string(amount)".
2010-06-24 20:37:31 -04:00
John Wiegley
011bf030a2
Generalized the semantics of FOO.BAR in valexprs
...
Previously, FOO was evaluated to return a scope, and BAR was an
identifier looked up in that scope. However, this prevented scope-local
functions from being called (since that is a CALL, not a plain IDENT).
Now the meaning of the "." operator is that it evaluates the left
operand in a scope type context, pushes that scope as the current object
context, and then evaluates BAR in that context.
Thus the bare word "amount" in an account context calls the same
function that "account.amount" would if evaluated in a posting context.
2010-06-24 20:37:12 -04:00
John Wiegley
35da9ad466
Added "source" command, for executing valexpr files
2010-06-24 20:29:20 -04:00
John Wiegley
024fb4f3e0
Fixed how valexpr function defs and calls work
2010-06-24 20:22:11 -04:00