No description
Find a file
2004-09-26 00:57:15 -04:00
scripts modified "report" script to expect a full register command, with -j or -J 2004-09-25 07:21:03 -04:00
acprep touch the ChangeLog 2004-09-23 07:09:36 -04:00
amount.cc fixed printing of amounts that have a null commodity (was always precision 0) 2004-09-24 23:22:48 -04:00
amount.h corrected a small problem with conversion of numeric types to amount_t's 2004-09-25 04:21:28 -04:00
autoxact.cc changed entry_finalizer scheme to use objects, not just function pointers 2004-09-24 04:10:39 -04:00
autoxact.h changed entry_finalizer scheme to use objects, not just function pointers 2004-09-24 04:10:39 -04:00
balance.cc fixed several issues in value_t's core 2004-09-21 03:41:40 -04:00
balance.h fixed another value_t comparison issue 2004-09-25 06:02:31 -04:00
binary.cc if a commodity price cannot be downloaded, report it as an error 2004-09-25 02:51:55 -04:00
binary.h changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -04:00
config.cc corrected the deviation report (-D) when -V is also being used 2004-09-25 17:59:14 -04:00
config.h added pysample.dat, which provides a more realistic example of using Python 2004-09-25 03:30:23 -04:00
configure.in passing --enable-python to configure is now required for python support 2004-09-20 04:07:02 -04:00
datetime.cc fix to date mask parsing; put in a safety cutoffs when asserts are enabled 2004-09-23 01:52:47 -04:00
datetime.h changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -04:00
debug.cc cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
debug.h added asserts to, and proof-read, amount.cc 2004-08-25 17:34:23 -04:00
derive.cc fix to entry 2004-09-24 00:23:27 -04:00
derive.h a bit more refactoring 2004-09-23 21:54:11 -04:00
error.h changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -04:00
format.cc added pysample.dat, which provides a more realistic example of using Python 2004-09-25 03:30:23 -04:00
format.h added a custom transaction formatter, format_entries, used by "print" 2004-09-24 06:29:01 -04:00
gnucash.cc changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -04:00
gnucash.h updated gnucash support 2004-08-20 02:51:14 -04:00
journal.cc added support for "equity" in main.py 2004-09-24 07:00:52 -04:00
journal.h finalizer fixes; removed use of timing.h from main.cc 2004-09-24 04:56:46 -04:00
ledger.el moved entry hooking mechanism to journal_t; further improvements to "entry" 2004-09-23 21:08:42 -04:00
ledger.h finalizer fixes; removed use of timing.h from main.cc 2004-09-24 04:56:46 -04:00
ledger.texi corrected the deviation report (-D) when -V is also being used 2004-09-25 17:59:14 -04:00
LICENSE removed a period 2004-08-23 08:26:26 -04:00
main.cc finished balance reporting capability in main.py 2004-09-26 00:57:15 -04:00
main.py finished balance reporting capability in main.py 2004-09-26 00:57:15 -04:00
Makefile.am conditionalized the reference to xmlparse and xmltok from setup.py 2004-09-24 02:40:17 -04:00
NEWS greatly improved the flexibility of the "entry" command; no more bogus 1-liners 2004-09-23 20:06:00 -04:00
option.cc if a commodity price cannot be downloaded, report it as an error 2004-09-25 02:51:55 -04:00
option.h if a commodity price cannot be downloaded, report it as an error 2004-09-25 02:51:55 -04:00
parser.cc changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -04:00
parser.h added (disabled) code for Boost.Python 2004-08-27 23:38:39 -04:00
pyledger.cc main.py (via ledger.so) and main.cc can now use the same shared library 2004-09-14 20:32:42 -04:00
pysample.dat added documentation for the 'prices' command 2004-09-25 03:34:28 -04:00
python.cc changed entry_finalizer scheme to use objects, not just function pointers 2004-09-24 04:10:39 -04:00
python.h added pysample.dat, which provides a more realistic example of using Python 2004-09-25 03:30:23 -04:00
qif.cc changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -04:00
qif.h fixes 2004-08-19 22:05:22 -04:00
quotes.cc if a commodity price cannot be downloaded, report it as an error 2004-09-25 02:51:55 -04:00
quotes.h redid the way amount_t::commodity is handled; no more direct access 2004-08-29 04:31:59 -04:00
README removed the "standalone" flag (unsafe with Boost) 2004-08-28 04:48:43 -04:00
sample.dat added pysample.dat, which provides a more realistic example of using Python 2004-09-25 03:30:23 -04:00
setup.py conditionalized the reference to xmlparse and xmltok from setup.py 2004-09-24 02:40:17 -04:00
textual.cc improved error checking in parser, in case parts of an amount are missing 2004-09-24 23:11:50 -04:00
textual.h moved entry hooking mechanism to journal_t; further improvements to "entry" 2004-09-23 21:08:42 -04:00
timing.h fix 2004-08-14 01:29:16 -04:00
util.h fixes 2004-08-17 16:41:07 -04:00
valexpr.cc corrected the deviation report (-D) when -V is also being used 2004-09-25 17:59:14 -04:00
valexpr.h accept multiple arguments passed to an interpreted function (more work tbd) 2004-09-24 23:45:32 -04:00
value.cc fixed another value_t comparison issue 2004-09-25 06:02:31 -04:00
value.h added support for "equity" in main.py 2004-09-24 07:00:52 -04:00
walk.cc another fix to interval reporting; end condition was sometimes off by one 2004-09-26 00:38:12 -04:00
walk.h corrected the way that transaction handlers are flushed 2004-09-26 00:29:41 -04:00

Welcome to Ledger, a command-line accounting program.

Quick start
===========

To build Ledger, you will first need these two libraries installed:

    gmp        GNU multi-precision library
    pcre       Perl regular expression library

If you wish to read Gnucash data files, you will also need two XML
libraries, which may or may not be available in a single package (it
depends on your distribution):

    xmlparse
    xmltok

Once you have determined where the headers and libraries for the above
packages are installed, run the script "configure", passing those
paths.  If you installed everything under /usr/local, you can probably
just type "./configure".  Otherwise, do this:

    ./configure CPPFLAGS=-I<INCLUDE-PATH>  LDFLAGS=-L<LIBRARY-PATH>

If you need to specify multiple include or library paths, then do
this:

    ./configure CPPFLAGS="-I<PATH1> -I<PATH2>"  LDFLAGS="-L<PATH1> -L<PATH2>"

Once configure is done running, just type:

    make install

Building Ledger as a Python Module
==================================

If you have Python 2.2 or higher installed, and Boost.Python, then
Ledger will also be built as a Python module.  This means you can
interact with your Ledger data from Python, making it easier to write
very custom reporting code.  See the developer documentation for
information on Ledger's interfaces, and for some example reports
written in Python.