Pascal Fleury
3186ff514a
amount_t -> balance_t.
2018-07-17 21:59:01 +02:00
John Wiegley
e2bad41fe6
Merge pull request #1666 from jbeich/boost
...
Unbreak build against Boost 1.68
2018-07-09 08:48:14 -07:00
Jan Beich
c18a55f9ef
Unbreak with boost 1.68
...
In file included from src/main.cc:34:
In file included from src/global.h:41:
In file included from src/option.h:45:
In file included from src/scope.h:45:
In file included from src/op.h:45:
In file included from src/expr.h:45:
In file included from src/exprbase.h:57:
src/utils.h:47:10: fatal error: 'boost/uuid/sha1.hpp' file not found
#include <boost/uuid/sha1.hpp>
^
2018-07-09 12:07:30 +00:00
Scott Carpenter
6abbb00436
Fix order of transaction state in txn header
...
The transaction state comes before (not after) the code.
2018-07-09 00:22:13 +02:00
Martin Michlmayr
9123a3261d
Document keywords "any" and "all"
...
Fixes #1192
2018-07-06 20:17:05 +02:00
Martin Michlmayr
34a4929e2e
Document the use of wildcards for !include
...
Fixes #1658
2018-06-28 20:35:44 +02:00
John Wiegley
dfd807f3a4
Revert "Use an std::set instead of an std::list to store the the journal file paths"
...
This reverts commit 3364850cc7 .
Fixes #559
2018-06-18 10:56:04 -07:00
John Wiegley
ef0e1f543c
Merge pull request #1653 from tko/date-format
...
Fix garbled dates when using --date-format
2018-06-13 10:08:55 -07:00
Tommi Komulainen
850a2cec79
Fix garbled dates when using --date-format
...
Capture the `std::string` value from options in a local variable that
lives as long as the `c_str()` taken from it to ensure it does not get
freed prematurely.
Fixes : #546
2018-06-13 18:36:59 +02:00
John Wiegley
db42d7b252
Merge pull request #1651 from Christoph-D/issue-1626
...
Remove TOK_A_YEAR token
2018-06-10 08:48:54 -07:00
Christoph Dittmann
86a23cd263
Remove TOK_A_YEAR token
...
This fixes #1626 .
The tokenizer eagerly classifies 4-digit integers as TOK_A_YEAR
tokens. In some contexts such as "every 1000 years", this causes
errors.
I think the tokenizer does not have enough information available to
distinguish between integers and years.
After this patch, the tokenizer will always classify integers as
TOK_INT tokens. The "has 4 digits" heuristic to determine if an
integer is a year is moved to the place where it's actually
needed (and it can be slightly more generic there, too).
2018-06-10 13:55:17 +01:00
John Wiegley
adc221f1fd
Merge pull request #1650 from colindean/patch-1
...
Documents commodity directive's alias sub-directive
2018-06-09 22:28:09 -07:00
Colin Dean
d4bd42791e
Documents commodity directive's alias sub-directive
2018-06-10 00:18:34 -04:00
John Wiegley
738b2cee08
Merge pull request #1649 from Christoph-D/next
...
Make automated transactions work with assertions
2018-06-09 17:51:11 -07:00
Christoph Dittmann
6853464fd0
Make automated transactions work with assertions
...
This fixes issue #1127 . In my understanding, PR #552 was meant to fix
this, but was incomplete.
Without this patch, automated transactions are invisible to
assertions.
This patch fixes this by adding a flag to the account to tell it that
there is a new posting, analogous to the behavior of finalize().
I dug up issue #1127 too late to find that this is the same solution
proposed by @tbm. Although I wrote this independently, credit goes to
Martin Michlmayr (@tbm).
2018-06-09 23:47:49 +01:00
Martin Michlmayr
e3fa7e9d89
Fix documentation for apply fixed
...
The old "fixed" and "endfixed" are no longer used (and afaict don't
work). You have to use "apply fixed" and "end apply" instead.
Fixes issue #789
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
2018-06-01 17:40:13 +02:00
Martin Michlmayr
882937ece2
Remove references to Bugzilla
2018-06-01 13:27:49 +02:00
John Wiegley
fd486a5975
Merge pull request #561 from vHanda/next
...
Add documentation on how to sort in reverse order
2018-04-09 10:09:04 -07:00
Vishesh Handa
15f888f830
Add documentation on how to sort in reverse order
2018-04-08 01:45:15 +02:00
John Wiegley
d7bc4bab36
Merge pull request #557 from smr894/fix-missing-trans-in-last-budget-period
...
budget_posts: Keep pending items until the last day they apply
2018-04-04 23:05:22 -07:00
smr894
48edf1eb5c
budget_posts: Keep pending items until the last day they apply
2018-04-04 23:30:38 -04:00
Martin Michlmayr
a9859bc6d1
Update Debian releases in README
2018-03-29 17:33:30 +02:00
Martin Michlmayr
44a885c522
Fix Python example
...
Thanks to Brian Carlson for pointing this out.
Fixes #547
2018-03-25 10:18:48 +02:00
Martin Michlmayr
8d38190409
Fix documentation about the "end" directive
...
"tag" is not a block command. This was probably supposed to be "apply"
which can be used to apply tags to several transactions.
2018-03-25 10:11:56 +02:00
John Wiegley
916641f9a0
Merge pull request #552 from dedmons/fix-balance-assert-with-auto-xact
...
Fix auto xact posts not getting applied to account total durring journal parse
2018-03-24 15:24:46 -07:00
DJ Edmonson
a534869733
Fix auto xact posts not getting applied to account total durring journal parse
2018-03-23 15:08:40 -07:00
John Wiegley
fbccb7149e
Add (currently undocumented) function 'clear_commodity'
2018-02-16 23:03:44 -08:00
John Wiegley
7097e1a1e7
Update documentation
2018-02-16 16:24:13 -08:00
John Wiegley
e12b8d0f41
Merge pull request #527 from camponez/next
...
Remove unused imports
2018-01-31 16:37:14 -08:00
Eduardo Elias
cd5afb60f7
Remove unused imports
2018-01-31 23:56:21 +00:00
John Wiegley
a769824774
Correct webhook URL
2018-01-30 14:05:36 -08:00
John Wiegley
017ed89fc4
Add Gitter badge to README
2018-01-30 14:03:13 -08:00
John Wiegley
38d7deeac1
Add Gitter integration
2018-01-30 13:53:22 -08:00
John Wiegley
600cf52fec
Remove empty .gitmodules file
2018-01-28 11:49:26 -08:00
John Wiegley
b7b0280066
Merge pull request #519 from mbudde/accounts-prepend-format
...
Add support for --prepend-format in accounts command
2018-01-27 00:42:39 -08:00
Alexis Hildebrandt
1be23f1653
Merge pull request #521 from mbudde/fix-trim
...
Fix handling of edge cases in trim function
2018-01-27 15:55:08 +08:00
Alexis Hildebrandt
c6c328c011
[misc] Update year in copyright notice to 2017
...
[ci skip]
2018-01-27 15:30:53 +08:00
Alexis Hildebrandt
6d3833a4d4
[misc] Improve update copyright year script
...
[ci skip]
2018-01-27 15:30:49 +08:00
Michael Budde
1070c17f8c
Fix handling of edge cases in trim function
...
Fixes #520
2018-01-25 21:14:10 +01:00
Michael Budde
6b998aee10
Add support for --prepend-format in accounts command
...
Add support for the `--prepend-format` and `--prepend-width` options in
the `accounts` command.
2018-01-25 19:27:24 +01:00
John Wiegley
b3b72cbea2
Merge pull request #511 from kylef/kylef/register_account
...
Expose journal_t::register_account to Python
2018-01-23 00:36:24 -08:00
Kyle Fuller
0e740b5f42
journal: Expose register_account to Python
2018-01-23 03:58:25 +00:00
John Wiegley
699b2fc32c
Merge pull request #509 from AerialX/patch-1
...
Transfer null_post flags to generated postings
2018-01-09 18:51:12 -08:00
Aaron Lindsay
debce12a32
Transfer null_post flags to generated postings
...
Resolve issue where generated balanced postings would become real when the original null post was virtual.
2018-01-09 17:53:29 -05:00
John Wiegley
c2bf7850d1
Merge pull request #508 from mbudde/market-group-by-segfault
...
Fix segfault when using --market with --group-by
2018-01-04 14:28:16 -08:00
Michael Budde
c0ad7e34fa
Fix segfault when using --market with --group-by
...
`changed_value_posts::create_accounts()` reuses the `<Revalued>` account
from `display_filter`, but when clearing `changed_value_posts`
`create_accounts()` would be called before the account had been
recreated by `display_filter_posts`. This results in a segfault when
using the --group-by option.
I'm not sure if `display_filter_posts` has the same problem but I
reordered the calls there too for good measure.
2018-01-04 18:29:48 +01:00
John Wiegley
8fe509e9e1
Merge pull request #506 from pfsmorigo/budget_width
...
Use amount_width variable for budget report
2018-01-03 23:11:54 -08:00
John Wiegley
a140c2d743
Merge pull request #507 from kylef/patch-1
...
Homebrew installs Python bindings by default
2018-01-03 23:11:11 -08:00
Kyle Fuller
4281df624f
Homebrew installs Python bindings by default
...
As per 2dfe5715a8/Formula/ledger.rb (L19)
2018-01-03 14:20:53 -08:00
Paulo Flabiano Smorigo
d0e80c02fb
Use amount_width variable for budget report
...
Instead of using a "magic" value (12), use the proper variable to set
the width.
2018-01-03 18:44:43 -02:00