Commit graph

6266 commits

Author SHA1 Message Date
John Wiegley
a505538e10 Merge pull request #450 from ppickfor/bug-370
Don't stabilize days periods, reduce number of iterations to find start of period for weeks
2016-03-14 06:56:46 -07:00
Peter Pickford
a0b68905ef days - do not stabalize periods spacified in days
weeks - calculate start date for finding period using remainer 400/periodlength to reduce number of iterations (perhaps this ought to follow the same conventio as years months and quarters)

add sample period command tests
add add day period tests for forecasts and budgets
add week period tests for forecasts and budgets - these do not change
2016-03-13 17:19:46 -07:00
Peter Pickford
97ec24544e Periods should be initialized from from/since clause rather than earliest transaction date
Bug 1159

Use interval start date (period from/since) to initialize first period.

This allows the offset of a period start to be specified

-p 'every 12 months from 2000-04-01'

will have periods

yyyy-04-01 to yyyy-03-31
....

If no from/since is specified for the period the first transaction date reported is used to initialize the period as before.

added test case regress/1159.test
2016-03-09 16:00:10 -08:00
Craig Earls
6770d00dba Merge pull request #448 from ledger/fontification-fix-spacemacs
Globally changed set-text-properties to use 'font-lock-face vice 'fac…
2016-02-28 18:34:34 -07:00
Craig Earls
432733de2d Globally changed set-text-properties to use 'font-lock-face vice 'face. This was a compatibility problem with spacemacs. 2016-02-28 18:30:25 -07:00
Martin Michlmayr
b7f84d6900 Fix test suite failure
I'm sure I used $FILE for the final version but I must have committed
an old version.
2016-02-16 12:22:50 -08:00
Martin Michlmayr
c5f68caa9e Increase maximum length for regex
Fixes bug #981
2016-02-15 13:58:18 -08:00
Manuel Amador (Rudd-O)
d300dfefec Add parse error test 2016-02-08 04:58:01 +00:00
Craig Earls
82ef9dc388 Merge pull request #447 from tarsius/patch-1
Require correct feature

How did I miss this for so long?  Thank you.
2016-02-05 21:43:41 -07:00
Jonas Bernoulli
acfc97d6d3 Require correct feature
In `ledger-matching.el' require `ledger-report' instead of `ldg-report'.
That library was renamed like all the others.
2016-02-06 02:35:36 +01:00
Manuel Amador (Rudd-O)
80058dfe8f Ensure that parse errors produce useful RuntimeErrors for Python code. 2016-02-06 00:45:49 +00:00
Alexis Hildebrandt
9b49ade03a Merge pull request #445 from nchelluri/patch-1
[doc] Add "Dependency" anchor link to quick start section

[ci skip]
2016-01-26 19:29:38 +01:00
Narsimham Chelluri
8c43aebffd [doc] Add "Dependency" anchor link to quick start section
The quick start section is already called "For the Impatient", and this
minor doc tweak should decrease the time and effort demanded of a
new user before their first run by a very tiny amount, and it makes the
README a touch more cohesive.

[ci skip]
2016-01-26 10:06:32 -08:00
John Wiegley
aea196104b Merge pull request #443 from afh/pull/py_unicode_value
[python] Remove double quotes from unicode values
2016-01-18 17:17:18 -05:00
Craig Earls
f612ef0b25 Merge pull request #444 from gpoul/doc-fix
Fix doc for budget-format default

Thank you.
2016-01-16 16:10:54 -07:00
Gerhard Poul
13c47bcaa9 Fix doc for budget-format default 2016-01-16 22:54:07 +01:00
Craig Earls
443b12921e Merge branch 'fix-warnings' of https://github.com/ecraven/ledger into ecraven-fix-warning
# Conflicts:
#	lisp/ledger-occur.el
#	lisp/ledger-report.el
#	lisp/ledger-schedule.el
#	lisp/ledger-sort.el
2016-01-11 19:34:32 -07:00
Craig Earls
d24be7446d Merge commit 'b5b70625d59305d0f3af3a9baad3931aba43df47' into next 2016-01-11 19:24:02 -07:00
Alexis Hildebrandt
0bbb4f2f0c [python] Remove double quotes from unicode values
When converting a ledger.Value to unicode the Python API added
double quotes around it.
2016-01-11 21:38:32 +01:00
Alexis Hildebrandt
b5b70625d5 Merge branch 'release/3.1.1' into next 2016-01-11 17:37:05 +01:00
Alexis Hildebrandt
11151414aa [doc] Correct boost versions
whose build issues are fixed with the ledger 3.1.1 release.

[ci skip]
2016-01-11 16:59:38 +01:00
Alexis Hildebrandt
68a193d6af [cmake] Update ledger version date
[ci skip]
2016-01-11 16:51:54 +01:00
John Wiegley
089716f13c Make -A to imply -E 2016-01-09 12:30:10 -08:00
Craig Earls
c88a9d0bd7 Merge pull request #442 from daniele-nicolodi/next
Very nice, I have been meaning to fix this one since I wrote the new overlay code. Thank you!
2016-01-08 19:22:52 -07:00
Daniele Nicolodi
9cb5bc0f4a Fix highlight of the transaction under point
When a transaction is being added the previous one is highlighted.
Solve the problem checking that the highlighted region contains the
point.
2016-01-08 23:44:23 +01:00
Daniele Nicolodi
0c448cde2f Fix highlight of the transaction under point
Extend the highlighting of the last line in the transaction to the
right margin of the buffer. Do not highlight empty lines.
2016-01-08 21:36:34 +01:00
Alexis Hildebrandt
c9427aa475 [travis] Bump boost version to 1.60.0 2016-01-02 12:16:18 +01:00
Alexis Hildebrandt
11590e134e [python] Add fix for Boost.Python compile errors
when using boost version 1.60.0.
2016-01-02 12:14:31 +01:00
Alexis Hildebrandt
9892878ca1 [misc] Update year in copyright notice to 2016
[ci skip]
2016-01-02 12:09:54 +01:00
Alexis Hildebrandt
51201fd2d6 [util] Add script to update copyright year
[ci skip]
2016-01-02 12:07:30 +01:00
John Wiegley
f619c95ce5 Merge pull request #441 from fraga/updateHelp
GnuCash import deprecated [ci skip]
2015-12-30 02:49:10 -05:00
Rodrigo Fraga
237d5a4517 GnuCash import deprecated [ci skip] 2015-12-30 00:46:30 -05:00
Martin Michlmayr
7eacf51308 Always use plurar Expenses: for consistency 2015-12-14 13:54:16 -08:00
Martin Michlmayr
35ab0061cf Clarify meaning of --end in man page 2015-12-14 13:47:59 -08:00
Craig Earls
f709109417 Merge commit '429765ee4dbf6ea2ad654b4287fa6498bc55fa3a' into next 2015-12-11 21:30:37 -07:00
Johann Klähn
429765ee4d fix check for boost::python::make_setter 2015-12-10 22:34:58 +01:00
Craig Earls
0f43fa3de0 Merge commit 'd71435f7bbd34f3468153981dd6e11b263640315' into next 2015-12-05 08:34:15 -07:00
Craig Earls
767cac2d16 Initial "Ledger Check" capability 2015-12-05 08:32:51 -07:00
John Wiegley
d71435f7bb Merge pull request #440 from mlang/fix_url
Update URL of iso4127 fetcher.
2015-11-29 09:20:41 -08:00
Mario Lang
5a40af58c6 Update URL of iso4127 fetcher. 2015-11-29 10:15:33 +01:00
Craig Earls
86003d29a4 Merge commit 'abd5b28a836098296f504dca943297511c1b9c4a' into next 2015-11-15 14:06:04 -07:00
Alexis Hildebrandt
abd5b28a83 Merge pull request #439 from cerk/drewr-to-drewr3
Changed drewr.dat to drewr3.dat in docs
2015-11-11 17:56:18 +01:00
cerk
2c067012e8 Changed drewr.dat to drewr3.dat in docs 2015-11-10 20:01:57 -05:00
Craig Earls
cb05126e18 Merge commit 'd38f8d3bff66e89cc79b1791566fdf9eca62a8e9' into next 2015-11-04 19:19:07 -07:00
Alexis Hildebrandt
d38f8d3bff Merge pull request #438 from leethargo/doc_typo
fix typo in doc

[ci skip]
2015-10-29 18:15:07 +01:00
Robert Schwarz
af1525e6db fix typo in doc
very power*ful* expression language
2015-10-29 18:08:38 +01:00
Alexis Hildebrandt
d97b834107 [tests] Fix empty testfile check 2015-10-27 18:16:24 +01:00
John Wiegley
2959d06adc Merge pull request #436 from Fuco1/fix-context-amount-regexp
Fix amount regexp in context computation.
2015-10-26 15:42:18 -07:00
John Wiegley
661a4cb57a Merge pull request #437 from Fuco1/add-aligning-option
Add an option to change amount-alignment mode.
2015-10-14 14:20:09 -07:00
Matus Goljer
5a47fbebe4 Add an option to change amount-alignment mode.
Make the default alignment behaviour the same as before 767ab3e, that
is, align on the last digit by default.  A new option
`ledger-post-amount-alignment-at' now exists to adjust alignment
preference.
2015-10-14 21:34:20 +02:00