Commit graph

4338 commits

Author SHA1 Message Date
Bradley M. Kuhn
55227e4d2c Fix ledger options and be sure starting is set to zero for new funds. 2012-11-26 13:54:43 -05:00
Bradley M. Kuhn
6a3b25f85b Began fund-report.plx, which started as a copy of trial-balance-report.plx.
The revision history of trial-balance-report.plx can be found in the following location:
  http://gitorious.org/bkuhn/small-hacks/blobs/history/master/trial-balance-report.plx
2012-11-26 13:54:43 -05:00
Bradley M. Kuhn
b5316132d4 MANIFEST output file that indicates which files are mentioned in general-ledger.
Due to reporting options given to ledger, not every file will be
referenced by the general-ledger spreadsheet.  The generated MANIFEST file
now indicates which files were actually referenced in the general-ledger.

The demo.sh script now uses this MANIFEST to create a zip file that
contains only those files.
2012-11-26 13:54:42 -05:00
Bradley M. Kuhn
01dc0416b9 Support a broader set of possible tags to be placed into the spreadsheet.
I've now made a hard-coded list of potential tags that are supported and
will be linked to in the general ledger spreadsheet.  This list should
probably be in a configuration file of some sort eventually, rather than
hard coded.

Indeed, note that the hard-coding goes into two different scripts, and
thus the lists could easily get out of sync.
2012-11-26 13:54:42 -05:00
Bradley M. Kuhn
287a756ab6 New test data for increasing the set of possible tags.
I use more tags than just Invoice and Receipt, so I'd like this to support
more than just two.  Here's some test data showing other tags that I use.
2012-11-26 13:54:42 -05:00
John Wiegley
62bd8d6354 Update utfcpp submodule reference to ledger/utfcpp 2012-11-26 12:54:23 -06:00
John Wiegley
3445ddec09 Merge branch 'next' of github.com:ledger/ledger into next 2012-11-26 12:52:12 -06:00
John Wiegley
2ac996d916 Shorten debug comment 2012-11-23 16:54:03 -06:00
John Wiegley
f27a9d7e98 Merge pull request #106 from afh/pull/typos
Correct typos
2012-11-19 14:28:30 -08:00
John Wiegley
b74e257817 Merge pull request #108 from afh/pull/python_xact_code
Fix crash when accessing the transaction code via post.xact.code using python
2012-11-19 14:27:44 -08:00
Alexis Hildebrandt
6a5d6a88cd Fix crash when accessing the transaction code via post.xact.code using python
ledger would abort with the following error message:
  TypeError: No Python class registered for C++ class boost::optional<std::string>

The changes pass a CallPolicy to make_getter when adding the transaction
code property for python, so that the correct to_python conversion is
made. For details see:
http://www.boost.org/doc/libs/1_52_0/libs/python/doc/v2/faq.html#topythonconversionfailed
2012-11-19 23:00:58 +01:00
John Wiegley
63712728e1 Properly handle metadata tags on auto-postings 2012-11-12 02:30:04 -06:00
John Wiegley
484e54c2b3 Fixed a regression test 2012-11-12 02:30:04 -06:00
John Wiegley
29359f3a87 Account names in auto-xacts can be format strings 2012-11-12 02:30:04 -06:00
Alexis Hildebrandt
49983e2870 Correct typos 2012-11-10 11:57:34 +01:00
Craig Earls
e77e9d692a Merge branch 'next' of https://github.com/jwiegley/ledger into next 2012-11-06 14:04:27 -07:00
Craig Earls
dc24ea7217 Fixe } bug 2012-11-06 14:03:49 -07:00
John Wiegley
3a766aa7c5 Merge pull request #104 from csrhodes/next
justification
2012-11-06 12:49:09 -08:00
Christophe Rhodes
a6d40ada1f right-justify amount_expr text in print report where possible 2012-11-06 12:31:01 +00:00
Christophe Rhodes
8214a69e20 fix comment in display_filter_posts::output_rounding(post_t)
slightly more detail in the case of zero display_amount and --empty
not specified.
2012-11-06 12:31:01 +00:00
John Wiegley
ab887ad7d7 README-1ST changes 2012-11-02 14:09:30 -05:00
Craig Earls
71ecd4ef79 re-fixed draft and lisp command documentation 2012-11-01 16:03:58 -07:00
John Wiegley
ae5325f0a9 Guard against global_scope being NULL 2012-10-31 14:57:19 -05:00
John Wiegley
4d6564e29d Merge pull request #101 from OpenTechStrategies/readme-1st-tweaks
Give explicit installation command in README-1ST.
2012-10-31 12:55:43 -07:00
Karl Fogel
1ad1f34961 Give explicit installation command in README-1ST. 2012-10-31 15:32:15 -04:00
John Wiegley
30cea9b5d5 Merge pull request #100 from OpenTechStrategies/readme-1st-tweaks
Improve wording from commit c5a15a556a.
2012-10-31 12:29:42 -07:00
Karl Fogel
f89c84e200 Fix path to debug build given in README-1ST. 2012-10-31 15:27:26 -04:00
Karl Fogel
4203cf4e91 Improve wording from commit c5a15a556a. 2012-10-31 15:07:59 -04:00
John Wiegley
ab5dd39be4 Merge pull request #97 from enderw88/Bug726-727-draft-and-lisp-command
Added "draft" and "lisp" command synonyms
2012-10-31 12:03:22 -07:00
John Wiegley
cb1101a3f6 Merge pull request #99 from OpenTechStrategies/readme-1st-tweaks
Add some material to README-1ST, along with a couple of formatting chang...
2012-10-31 12:03:07 -07:00
Karl Fogel
c5a15a556a Add some material to README-1ST, along with a couple of formatting changes.
Give an early pointer to where to look if 'acprep update' fails.
Clarify a few things in the first section.
Give sections clearer headers, so they can be more easily referred to.
Add a FAQ entry about what to do if './acprep update' gives errors.
Update FAQ entry about MPFR library to refer to above new entry.
2012-10-31 14:54:55 -04:00
John Wiegley
3b9b2cf908 Corrected a typo 2012-10-31 00:14:47 -05:00
Craig Earls
0ff33003e8 Minor grammatical fixes 2012-10-26 20:13:20 -07:00
Craig Earls
5c5c6463c7 Added missing break; statement in report.cc 2012-10-26 15:46:10 -07:00
Craig Earls
10180f0fff Added "draft" and "lisp" command synonyms 2012-10-26 13:33:27 -07:00
Craig Earls
bd3c13e2a2 Documented removal of draft and lisp commands in the 2.6 changes chapter 2012-10-26 10:49:22 -07:00
Craig Earls
e3cd1045d5 Bugs 726 and 727. Remove reference to draft and lisp commands in man page 2012-10-26 09:59:20 -07:00
John Wiegley
7cee6c559b Merge pull request #96 from enderw88/Bug634-floor-ceil-round
Bug 634 and 488, Corrected behavior of floor, and added ceiling
2012-10-26 08:31:57 -07:00
Craig Earls
b044a74bd3 Bug 634 and 488, Corrected behavior of floor, and added ceiling
This is only a partial fix for 634, since rounding is not fixed.
2012-10-25 22:28:26 -07:00
John Wiegley
34ca6b3991 Merge pull request #95 from enderw88/Bug695-init-file
Bug695 init file
2012-10-25 12:52:03 -07:00
John Wiegley
de729114d1 Merge pull request #92 from kljohann/bugs.bucket
fix bucket directive (bug 765)
2012-10-25 12:50:30 -07:00
Craig Earls
4b261f99bc Fixes Bug 695, ledger ignores --init-file
Handle --init-file as a special command option like the debug options.
That wway we can have the argument captured before teh global scope is
created.
2012-10-25 10:39:48 -07:00
Craig Earls
41cc9a7f3c Added filebase and filepath values
'filename' returns the complete path/filename of the file containg the current xact.
This is inconvenient for some displays.  filebase returns only the base name. For
completeness added filepath as well.
2012-10-23 14:10:19 -07:00
Craig Earls
14dcb27777 Implemented Bug551 Automatic Transactions are cleared base on parent 2012-10-23 13:07:39 -07:00
Craig Earls
b1661b6c90 Merge branch 'next' of https://github.com/jwiegley/ledger into next 2012-10-23 12:10:14 -07:00
Craig Earls
3dc538189e Formatting cleanup 2012-10-23 12:04:07 -07:00
Johann Klähn
e824070b4a fix bucket directive (bug 765)
This was caused by both 'A' and 'bucket' using
default_account_directive. This function was still stripping the 'A'
directive, so the first character of the account name used with 'bucket'
was cut off. Maybe the code for the other directives should be changed
accordingly for consistency (put line + 1 in call instead of function).
2012-10-23 12:13:22 +02:00
John Wiegley
cffa343d71 Merge pull request #91 from kljohann/tests.interactive
provide immediate feedback in test runner
2012-10-22 11:19:11 -07:00
Johann Klähn
9a2f440496 provide immediate feedback in test runner 2012-10-22 10:11:56 +02:00
Craig Earls
12c7ac7a4b Added --quiet options to clean up the texi2pdt output 2012-10-19 18:43:03 +02:00