Commit graph

2042 commits

Author SHA1 Message Date
John Wiegley
1ee237d1a1 Disabled some tests, which were running too slowly 2009-03-08 00:48:56 -04:00
John Wiegley
3cc2520a32 Don't run 'make fullcheck' for the gcov build 2009-03-07 22:34:19 -04:00
John Wiegley
dd12868500 In tools/proof, remove Products directories first 2009-03-07 22:30:39 -04:00
John Wiegley
ec382f54b7 Fixed a reference to uninitialized memory
This was only found with _GLIBCXX_DEBUG=1 *and* coverage analysis
(-fprofile-arcs -ftest-coverage).
2009-03-07 15:04:32 -04:00
John Wiegley
79515680cf Doxygen is no longer being used
Since I'm going to focus on the man page and manual, there is no time to
work on code comments that may only rarely be seen in the 3.0 version.
2009-03-07 04:26:47 -04:00
John Wiegley
70b1c21603 make release-distcheck works again 2009-03-07 04:14:11 -04:00
John Wiegley
5ce7755f30 Don't remove ABOUT-NLS file during distriution 2009-03-06 12:57:19 -04:00
John Wiegley
0b1c36145d Removed outdated reference to python/interp.py 2009-03-06 04:40:59 -04:00
John Wiegley
f340d50362 Revised the ways statistics are computed
It is no longer done in calc_posts, but recursively on each account.
This allows value expressions to ask statistical questions, like
"earliest cleared posting?" (TBD) from any specific account, computed
lazily.
2009-03-06 04:07:25 -04:00
John Wiegley
4a0f5f9034 Merge branch 'next' 2009-03-06 02:52:14 -04:00
John Wiegley
aff490534a In fullcheck, divide --verify and --gmalloc 2009-03-06 02:39:37 -04:00
John Wiegley
f1e0e0c652 Merge commit from 'master' into next
Reverted pre-commit change to only run on master

Reverts part of 324f464606
2009-03-06 00:49:49 -04:00
John Wiegley
80c51bf0a5 Added call to TopGit's pre-commit hook in mine 2009-03-06 00:42:59 -04:00
John Wiegley
2728e4d55e Changed the way that account balances are computed 2009-03-06 00:27:29 -04:00
John Wiegley
dd23edd5ce Implemented --unround using value expressions 2009-03-06 00:27:16 -04:00
John Wiegley
6ac79137f7 Don't compute running total for balance reports 2009-03-05 23:53:07 -04:00
John Wiegley
fb9af0f111 Removed the --totals option 2009-03-05 23:26:21 -04:00
John Wiegley
5167e6223b Enriched the behavior of post_t::add_to_value
The new behavior will be used in future by some pending topic branches
I'm working on.
2009-03-05 23:02:50 -04:00
John Wiegley
a2c7312080 Renamed some flags and members in post_t 2009-03-05 22:39:32 -04:00
John Wiegley
324f464606 pre-commit runs check only on master, and uses tg 2009-03-05 21:27:19 -04:00
John Wiegley
d3c93b73cb Added a value_t macro: VALUE_OR_VERO 2009-03-05 21:00:32 -04:00
John Wiegley
17cbb9d210 If Python is not in use, global includes session 2009-03-05 16:55:46 -04:00
John Wiegley
5f3e5f5b7c Restored Makefile.am ordering to be top-down 2009-03-05 04:14:11 -04:00
John Wiegley
c11d325712 Reduced the #include dependency tree to a minimum 2009-03-04 23:53:43 -04:00
John Wiegley
9a47298d81 Don't run autogen from acprep unless necessary 2009-03-04 14:14:59 -04:00
John Wiegley
32911da939 Don't build a gprof version in tools/proof 2009-03-04 14:06:38 -04:00
John Wiegley
1a1f11a683 In the pre-commit hook, run acprep, not myacprep 2009-03-04 04:35:37 -04:00
John Wiegley
55b2fef58c Don't warn about old-style casts (e.g., Python.h) 2009-03-04 04:34:38 -04:00
John Wiegley
9d4e888ef5 Cured several harmless compiler warnings 2009-03-04 04:31:34 -04:00
John Wiegley
2d63c9364a Changed many assert() calls to VERIFY() 2009-03-04 04:29:10 -04:00
John Wiegley
dcac306467 Corrected a build error if Python support missing 2009-03-03 22:13:36 -04:00
John Wiegley
1540ccec01 Gather account details in a details_t structure 2009-03-03 20:28:09 -04:00
John Wiegley
eb45a0a4f4 Normalized how account totals are calculated 2009-03-03 17:08:11 -04:00
John Wiegley
cf2548c29c Several corrections to the man page 2009-03-03 17:03:00 -04:00
John Wiegley
9ae28a160a Added a new "account_amount" valexpr function
At the moment, it's only useful during parsing.
2009-03-03 16:29:59 -04:00
John Wiegley
c305db937c If a posting has an integer amount, convert it 2009-03-03 16:28:20 -04:00
John Wiegley
e2c30cf6e4 Added ; as a sequencing operator in valexprs 2009-03-03 16:05:04 -04:00
John Wiegley
098e3b0043 Fixed parsing of '(1, 2, (3, 4))' 2009-03-03 16:02:34 -04:00
John Wiegley
4af1bfdde3 Allow special %{} formatting sequence
Although %(amount) inserts an item's amount, it only does exactly that.
There is no special consideration like stripping of lot details, or
reduction to the base commodity, etc.  For those things, and to make
sure it was display in red if negative, the canonical form would be:

  %(ansify_if(justify(scrub(amount), 12, -1, true), red if amount < 0))

You can now use the special %{} form as an alternate to this:

  %12{amount, red if amount < 0}

The two expand to the same underlying expression.
2009-03-03 15:06:15 -04:00
John Wiegley
de3bafc0d7 Made all the ANSI color names into valexpr names 2009-03-03 14:59:56 -04:00
John Wiegley
27c0de0da3 Using ./acprep now builds statically by default 2009-03-03 14:54:42 -04:00
John Wiegley
67a45a0e3c Made error reporting while parsing more resilient 2009-03-03 14:42:46 -04:00
John Wiegley
ba9efa3ab9 Removed python/interp.py, for "ledger python" 2009-03-03 14:40:36 -04:00
John Wiegley
edf1ccd6ab Added a "python" command, which invokes Py_Main 2009-03-03 14:39:07 -04:00
John Wiegley
8da771e331 Added missing reference to LedgerHarness.py 2009-03-03 14:08:45 -04:00
John Wiegley
79acfc1647 Moved fn_false to be a non-member function 2009-03-03 13:53:12 -04:00
John Wiegley
478998b4e9 Added a "null" value for value expressions 2009-03-03 13:36:23 -04:00
John Wiegley
0f9d919367 Added Python-style if/else expression keywords 2009-03-03 13:26:27 -04:00
John Wiegley
d7b9f9e068 Refactored test/RegressTests.py 2009-03-03 03:02:51 -04:00
John Wiegley
710e4792d1 Added a "show" report query term
Everything beyond the show modifies the --display predicate, and
everything before modifies the --limit predicate.
2009-03-02 22:33:43 -04:00