| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Bug fix to detect badly specified priced files on the command line didn't handle the default correctly.
|
|
|
|
| |
Not sure how the changes to the options got into the repot.cc file, but this takes the changes out.
|
|\
| |
| | |
Fixes bug 514. accounts and commodities output now sorts
|
| |
| |
| |
| | |
updated tests included.
|
|\ \
| | |
| | | |
Addes tags command and --values option
|
| |/
| |
| |
| |
| | |
Tags command reports all metadat tags in use. With the
values option it reports tags and their values.
|
|\ \
| | |
| | | |
Add --time-colon option
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The --time-colon option will display the value for a seconds
based commodity as real hours and minutes.
For example 8100 seconds by default will be displayed as 2.25
whereas with the --time-colon option they will be displayed
as 2:15.
|
| |/
|/|
| |
| | |
specified on the command line but not found.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Some commits were on the master branch but not yet on the next branch due to a
pull request to master after those two branches diverged. This merge
ensures that next ⊇ master.
|
| | |
| | |
| | |
| | | |
This fixes bug #736.
|
| | |
| | |
| | |
| | | |
This fixes bug #733 and bug #734.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For `-f /dev/stdin`, the `pathname` of the parsing context will be empty
as for any other streamed input.
`instance_t::include_directive` did not work as expected for `-f /dev/stdin`
and relative file names. One would expect them to be relative to the current
directory rather than `/dev`.
This will lead to `While parsing file ""` messages. This could be
adjusted to read `While parsing standard input`, but maybe it's not
worth the special cases.
This commit also fixes bug 788: behaviour of source_context for '-f -'
|
| | |
| | |
| | |
| | | |
This reverts commit 67a598f6ff3b9b19b08af108c8bfe26064728457.
|
| | |
| | |
| | |
| | | |
This reverts commit 0a1ff035421d5f97675ad769a7fcdbc68399f3dc.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix ledger-add-entry
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Added two compare structs for std::map to use. I tried to override
the < operator got a clean compile but map wasn't picking it up, I
couldn't figure out why so I took the less elegant route.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`session_t::read_data` did not set context.pathname to `/dev/stdin`
for the special case `-f -`. I chose to adjust `source_context` too
as there is no sensible context if no file name is provided.
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | | |
`parent_path` was called on unprocessed path
so neither `resolve_path` nor `filesystem::absolute` had any effect.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Aliases are now expanded not only if they occur by themselves, but also
if they occur as the beginning of a multi-part account. Given <alias
Food=Expenses:Food> the account <Food:Tomatos> should now be expanded to
<Expenses:Food:Tomatos>.
|
|/ / / |
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| | |
slightly more detail in the case of zero display_amount and --empty
not specified.
|
| | |
|
|\ \
| | |
| | | |
Added "draft" and "lisp" command synonyms
|
| | | |
|
| | | |
|
| | | |
|
|\| |
| | |
| | | |
Bug 634 and 488, Corrected behavior of floor, and added ceiling
|
| | |
| | |
| | |
| | | |
This is only a partial fix for 634, since rounding is not fixed.
|
|\| |
| | |
| | | |
Bug695 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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
'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.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| |
| |
| | |
By using payees_for_unknown_accounts instead of account_mappings in
csv.cc ledger will have the same behaviour as in `ledger -f - print`
in that it uses payee fields in account directives to rewrite the
account.
|
| |
| |
| |
| | |
compiler confusion.
|
| | |
|
| | |
|
| | |
|
| | |
|