John Wiegley
76bdb44a68
Fix to 'make release', and also added the PackageMaker config file, for
...
building an installable Ledger package for OS X users.
2008-08-07 03:32:27 -04:00
John Wiegley
925387d7c0
The Python interface code is now building again and passes its unit tests.
2008-08-07 03:28:48 -04:00
John Wiegley
8d89329b3f
Link against the dynamic Boost libraries, as this is required for properly
...
building the Python extension library.
2008-08-07 03:22:53 -04:00
John Wiegley
71e0491aec
Added a module init file (__init__.py) for the test directory.
2008-08-07 02:58:27 -04:00
John Wiegley
c0e7315467
Changed tests module reference to just test.
2008-08-07 02:58:15 -04:00
John Wiegley
2362150880
Added Python compilation files (.pyc) to the ignore file.
2008-08-07 02:58:05 -04:00
John Wiegley
9dac35fd52
Added rules for building with Python support and also for building a universal
...
binary when preparing a release for distribution.
2008-08-07 02:54:33 -04:00
John Wiegley
1aa98a65df
When developing, always build with Python support enabled.
2008-08-07 02:53:57 -04:00
John Wiegley
da2a1126d1
Added Python product to the ignore file.
2008-08-07 02:53:44 -04:00
John Wiegley
0eda1ad2c6
The Python interface layer is building again.
2008-08-07 02:53:35 -04:00
John Wiegley
6ddc21dc5f
'make distcheck' now works.
2008-08-06 23:21:06 -04:00
John Wiegley
54f2a8012f
Moved several tests around again (python/test -> test/python).
2008-08-06 18:23:50 -04:00
John Wiegley
0d6e72adbb
More changes toward getting 'make distcheck' to succeed.
2008-08-05 22:18:18 -04:00
John Wiegley
764c88ffea
ginstall $(srcdir)/doc/html/*, not $(top_builddir)/doc/html/.
2008-08-05 21:36:58 -04:00
John Wiegley
01f5ac4232
The stub for RegressionTests returned the wrong exit code.
2008-08-05 21:01:59 -04:00
John Wiegley
d29d7751e0
Added automake logic for building the Doxygen sources right before preparing a
...
release tarball.
2008-08-05 20:59:46 -04:00
John Wiegley
9f9339c5c5
Added missing virtual specifiers on some destructors.
2008-08-05 20:41:48 -04:00
John Wiegley
89d86d5265
version.m4.in incorrectly had a fixed version number.
2008-08-05 20:40:31 -04:00
John Wiegley
bc528efa95
Added documentation build products to the ignore file.
2008-08-05 20:37:33 -04:00
John Wiegley
da6ceaba1a
Updated the Doxygen docs so that all the core numerics files are in the same
...
module group.
2008-08-05 19:49:01 -04:00
John Wiegley
36cd816404
Moved the test sources around, so that all the unit tests are in test/unit.
2008-08-05 19:48:42 -04:00
John Wiegley
262bda35cf
Updated a comment.
2008-08-05 19:15:45 -04:00
John Wiegley
646a46b53b
Generate call graphs in the Doxygen documentation.
2008-08-05 19:15:33 -04:00
John Wiegley
5a9796940c
Added support for generating Doxygen source documentation.
2008-08-05 18:30:08 -04:00
John Wiegley
f6f4a46cf5
Moved around most of the files so that source code is in src/, documentation
...
is in doc/, etc.
2008-08-05 18:05:49 -04:00
John Wiegley
b7970b2985
myacprep: Link against boost-sd on my system.
2008-08-05 09:35:41 -04:00
John Wiegley
fd540c28fc
Removed check for libpcre from configure.ac, since Boost.Regex is being used.
2008-08-05 09:35:22 -04:00
John Wiegley
6d4bbe97db
Rearranged some of the options code, enabled -t and -T.
2008-08-05 06:18:07 -04:00
John Wiegley
7455495d14
Moved the option code for 2.6.1 from option.cc into report.h. It's still
...
commented out, but now it's nearer the right place for conversion.
2008-08-05 05:00:31 -04:00
John Wiegley
806be999ef
A few small changes to regress.py to make pylint mostly happy.
2008-08-05 03:34:25 -04:00
John Wiegley
98c05e8eb2
Added infrastructure for running regression tests, since I would like to make
...
sure that nothing breaks again once a bug in closed.
2008-08-05 03:20:14 -04:00
John Wiegley
6194cccdd3
Added version.m4 to the ignore list.
2008-08-05 01:59:27 -04:00
John Wiegley
85aa048f55
The version script is no longer needed either.
2008-08-04 17:29:47 -04:00
John Wiegley
32188cfaeb
Removed version.m4, since this is generated from version.m4.in.
2008-08-04 17:26:47 -04:00
John Wiegley
fb31f5c065
Removed unnecessary clean rules, since git-clean does the job very nicely.
2008-08-04 17:22:04 -04:00
John Wiegley
9c9a34388a
First round of work to get the balance report working again.
2008-08-04 16:24:41 -04:00
John Wiegley
966b231f23
When doing a command-line tag search, search for :tag:, not just tag.
2008-08-04 16:10:54 -04:00
John Wiegley
fb85292b55
Changed the #include's in ledger.h so that UnitTests would build again.
2008-08-04 15:54:13 -04:00
John Wiegley
04ca4909f6
Ignore the UnitTests binary.
2008-08-04 15:53:55 -04:00
John Wiegley
007f4ecb60
Changed the way that version info is included into a Ledger build.
2008-08-04 15:50:58 -04:00
John Wiegley
bcffbc96ba
Regular expressions are working again, such that very basic register reports
...
are now possible.
2008-08-03 23:44:18 -04:00
John Wiegley
8a21391d0a
Got pre-compiled headers working again, which are used if --devel is passed to
...
acprep.
2008-08-03 22:30:43 -04:00
John Wiegley
bbdab79302
Rearranged the code a bit, breaking walk.cc into several different files:
...
compare compare_items<T>
handler item_handler<T>
iterators used to iterators sets of journal objects
filters derived from item_handler, they morph the result set
output derived from item_handler, these do the printing
Also, created a new 'help' files which contains just Ledger's help text.
2008-08-03 21:38:53 -04:00
John Wiegley
3e4b016940
Added several missing copyright notices.
2008-08-03 20:56:43 -04:00
John Wiegley
363fb6d558
Got date, payee and accounts back into the register report.
2008-08-03 00:22:55 -04:00
John Wiegley
dfc14dfff3
Re-enabled almost all of the old reporting code, which means it compiles now
...
within the new scheme.
2008-08-02 23:34:28 -04:00
John Wiegley
5a90fe7357
Moved xact_xdata_t into xact_t itself, as a set of "extended data" that might
...
be gathered during reporting.
Removed the references to accounts and such from the mask logic, which means
that the value expression "acount =~ /foo/" is needed in place of just
"/foo/".
2008-08-02 22:45:35 -04:00
John Wiegley
7b3c8c03c5
Changed the way that bare masks are parsed. There is still some coupling
...
here, albeit just through flag values. It needs to be changed, though.
2008-08-02 17:07:04 -04:00
John Wiegley
e52a6a9bd8
More infrastructure work toward getting journal objects to provide their own
...
information in an abstract manner.
2008-08-02 16:32:16 -04:00
John Wiegley
9a9e06554e
Formatting now relies exclusively on value expressions.
...
What this means is that the utility code, basic math, value expressions,
string formatting and option handling are now entirely decoupled from the rest
of the code. This decoupling not only greatly simplifies the more basic parts
of Ledger, but makes it much easier to test and verify its completeness.
For example, when the formatting code %X is seen by the format parser, it
turns into a call to the expression function fmt_X, which must be defined when
the format string is first compiled against an object. If that object is a
transaction, the transaction's scope will be the first to have a chance at
providing a definition. If an account is being reported, it will. If neither
does, the next scope in sequence -- soon to be the current report -- will, and
then the session object that "owns" the current Ledger session.
In 2.6, the formatting code new everything about transaction and accounts, and
relied on flags to communicate special details between them. Now the
transaction will offer the details for its own reporting, while the formatter
worries only about strings and how to output them.
2008-08-02 06:42:36 -04:00