Commit graph

1117 commits

Author SHA1 Message Date
John Wiegley
274552f2f9 As the 'bal' command is working again as it should, one of the regression
tests needed to change back to expecting 2.6.1-like behavior.
2008-08-14 04:15:11 -04:00
John Wiegley
6432d7c594 Added back a lot of hacktastic logic from 2.6.1 that made the "bal" command
somewhat smart about how it interpreted certain options.  Beware, code, for
your days are not long-lived.
2008-08-14 04:14:48 -04:00
John Wiegley
2bff7565c1 Changed interval_t::start to interval_t::set_start, to be more clear about how
it differs from interval_t::first.
2008-08-14 04:14:02 -04:00
John Wiegley
ad02a482b6 Added the "depth" value expression function for accounts. 2008-08-14 04:13:18 -04:00
John Wiegley
b488d1d62f Re-enabled many more options, among them -n. 2008-08-14 03:30:03 -04:00
John Wiegley
eb1fdd0e51 Added the use of autogen.sh from http://buildconf.brlcad.org/. 'acprep' still
remains useful (mostly to me), but now users can use this script if they
expect to find it.
2008-08-14 03:21:29 -04:00
John Wiegley
c7c709cd0b Restored the -p, -b and -e reporting options. 2008-08-14 02:40:32 -04:00
John Wiegley
a50bab1865 Changed output_date_format to match 08-Aug-14 format. 2008-08-14 02:40:23 -04:00
John Wiegley
6a82e12ab4 get_amount should return the xdata value if the EXT_COMPOUND flag is on. 2008-08-14 02:40:09 -04:00
John Wiegley
450cdb2b6d If a transaction's entry has no journal pointer (and this can happen with
temporaries), reference session_t::current to get at the current report
pointer.
2008-08-14 02:39:43 -04:00
John Wiegley
7a6d416f3b Allow value_t::reduce() on any data type. 2008-08-14 02:39:21 -04:00
John Wiegley
6555f45c9d Moved a block of code from report to session, though it's still commented out. 2008-08-14 02:15:11 -04:00
John Wiegley
b07451d650 A few corrections for the sake of 'make distcheck'. 2008-08-14 02:14:00 -04:00
John Wiegley
e10364e136 Corrected the formatting of second-lines in the register report. 2008-08-14 02:12:47 -04:00
John Wiegley
4658034a48 Don't build with all warning flags on unless './acprep --devel' is use. Some
older version of g++ don't like all the warnings flags.
2008-08-14 00:08:51 -04:00
John Wiegley
0b6a10925d Reduced automake dependency down to 1.9. 2008-08-13 18:56:35 -04:00
John Wiegley
9c1389f423 Increase code coverage of the unit tests. 2008-08-13 18:21:39 -04:00
John Wiegley
f900213dae Added a 'make report', which uses GCOV and LCOV to produce code coverage
statistics after running 'make fullcheck'.  In order to generate these
reports, you need lcov installed and you must run acprep with the '--gcov'
option.
2008-08-13 18:15:12 -04:00
John Wiegley
3231e380bb The balance output now includes the final total. 2008-08-13 05:48:32 -04:00
John Wiegley
46bc362804 Revert "Use MacPort's Python if available."
This reverts commit 431edefffd.
2008-08-13 05:38:14 -04:00
John Wiegley
24d85a35e2 Removed use of growlnotify. 2008-08-13 04:15:09 -04:00
John Wiegley
431edefffd Use MacPort's Python if available. 2008-08-13 04:13:35 -04:00
John Wiegley
e8df441c07 Don't build Boost with architecture=combined, since this excludes using
MacPort's Python (which I'm not able to build with +universal right now).
2008-08-13 04:13:15 -04:00
John Wiegley
5f0b25ab9a The -f flag now works again. 2008-08-13 03:55:16 -04:00
John Wiegley
f34763fe07 Added coverage file to the ignore file. 2008-08-13 03:34:48 -04:00
John Wiegley
68c43f4d91 Added the Python build/ directory to the ignore file. 2008-08-13 03:12:49 -04:00
John Wiegley
b588dc4caf Changed the default output date format in register reports from 2008-08-13 to
08-Aug-13.  This allows for the account name to be one character wider, while
the century was never significant in people's minds, whereas the change in
months between two transactions sometimes is.
2008-08-13 03:12:25 -04:00
John Wiegley
b134a98e1e Enabled the --tail and --head options. 2008-08-13 02:58:49 -04:00
John Wiegley
3f8412f404 When printing commodity lot dates, using format_date(). 2008-08-13 02:58:10 -04:00
John Wiegley
37b30ae0ec Added a missing --build-type=complete option. 2008-08-13 02:57:52 -04:00
John Wiegley
203a6018eb Added a rule for building the 'lib' directory. 2008-08-13 02:57:18 -04:00
John Wiegley
3b6be1a42b Revert "Temporarily ignore members of lib/ that I've not yet decided about yet."
This reverts commit fe8bbd9f7f.
2008-08-12 02:06:50 -04:00
John Wiegley
a2fbe963c3 Fix up the build process in lib/Makefile. 2008-08-12 02:05:13 -04:00
John Wiegley
622a0396e1 Moved some dependencies around for 'make distcheck'. 2008-08-11 23:22:58 -04:00
John Wiegley
60b178789f Several changes to autoconf and automake files:
- Always build with Python support, if it's available
 - Better rule for building the TAGS file (optional)
 - Basic reorganization
 - Don't run the RegressionTests if no Python interpretor is found
2008-08-11 18:35:52 -04:00
John Wiegley
f826854a1a Removed an erroneous @ symbol. 2008-08-10 18:10:52 -04:00
John Wiegley
345350c603 Don't fail if growlnotify isn't present. 2008-08-10 16:01:44 -04:00
John Wiegley
3fc2bf263f Committed initial attempt at making a standalone installer for OS X. 2008-08-10 05:16:19 -04:00
John Wiegley
71794f0bcd Updated the README with notes about which branch to follow. 2008-08-10 04:17:22 -04:00
John Wiegley
d978767629 When preparing a distribution, copy doc/README over the top-level README.
That's typically where people expect to find it.
2008-08-10 04:05:00 -04:00
John Wiegley
e7bf69bebc Added a README file for developers. 2008-08-10 04:04:39 -04:00
John Wiegley
7fbc4dc9f6 Disabled some redundant warning flags. 2008-08-10 03:49:13 -04:00
John Wiegley
ace4b65487 The register report is now mostly displaying multi-line balances correctly.
It still shows lots even when --lots isn't specified, though.
2008-08-10 03:49:03 -04:00
John Wiegley
548a03e725 Regular expressions supplied after 'reg' or 'bal' are working again. 2008-08-10 02:54:36 -04:00
John Wiegley
7ffb6c472c The balance report is working again. 2008-08-10 02:53:56 -04:00
John Wiegley
fd2e6c2502 Ledger now builds without any significant warnings, except for one file. Some
of the warnings had to be temporarily disabled, but will be checked again once
the code has moved into master.
2008-08-10 02:52:38 -04:00
John Wiegley
ba02f0a450 Fixed a memory leak that would show up if --verify --verbose was running and
an error or exception occurred.
2008-08-10 01:41:59 -04:00
John Wiegley
c9d575abce Basic balance reports are working again! 2008-08-10 00:57:29 -04:00
John Wiegley
65510c9a9f Use growlnotify on my system to signify the end of a build. This lets me know
when I can hit "run" in gdb, without having to watch the build output.
2008-08-10 00:56:57 -04:00
John Wiegley
572a37a9c6 Use $PYTHON to locate which Python interpretor to use during a build. 2008-08-10 00:56:28 -04:00