Commit graph

5306 commits

Author SHA1 Message Date
Martin Michlmayr
60d9c2bc1d Remove trailing whitespace from error messages
Fix for bug #867
2014-05-13 18:08:34 -04:00
Martin Michlmayr
c411792edb Add test case or new payee uuid feature 2014-05-13 18:03:48 -04:00
John Wiegley
1a2ab0eff7 Merge pull request #289 from csrhodes/payee-uuid-mapping
Payee uuid mapping
2014-05-13 15:35:56 -05:00
Christophe Rhodes
798eac3c6f document payee uuid subdirective 2014-05-13 16:24:46 +01:00
Christophe Rhodes
da51f5b510 support payee uuid directive
The semantics of this are a little bit tricky: we want, if we come
across a transaction with exactly the given UUID, to set the
transaction's payee to be the specified one.

We need to set that payee before the first post in the transaction is
parsed, otherwise that post will inherit the wrong payee; however, we
need to do it after the transaction's tags have been parsed.  The
implementation as it is in this commit is potentially a little
wasteful, if there are post-like (non-comment non-assertion) entries
in the transaction that don't successfully parse as posts.
2014-05-13 16:08:10 +01:00
Martin Michlmayr
9b99a1a9cb Add a test for an error in an included file 2014-05-13 11:04:48 -04:00
Martin Michlmayr
e7af7c45bd Update Python tests for fix for bug #383 2014-05-13 10:16:30 -04:00
Martin Michlmayr
b99d8d615a Add test cases for bug #494
The issues raised in bug #494 are no longer there but let's add some
test cases.
2014-05-13 09:24:26 -04:00
Martin Michlmayr
0c9e188cfb Honour date-format for lot dates
Fixes bug #383
2014-05-13 00:03:39 -04:00
Martin Michlmayr
e367cfd895 Recognize the --no-pager option
Thanks to Johann Klähn.
2014-05-12 22:15:57 -04:00
Christophe Rhodes
bcb28b066f rename payee_mappings to payee_alias_mappings
(and similar renames) in preparation for payee_uuid_mappings
2014-05-12 23:16:07 +01:00
Martin Michlmayr
cdd2ee6fbd Decrease Boost requirement to 1.49.0
I successfully compiled ledger with boost 1.49.0 on Debian 7.5.
2014-05-12 18:06:19 -04:00
Martin Michlmayr
973cda8d78 Add another change to NEWS 2014-05-12 16:58:22 -04:00
Martin Michlmayr
e92527e4da Add another test case for bug #999 2014-05-12 12:59:53 -04:00
Martin Michlmayr
0d823a480f Update NEWS for 3.x 2014-05-12 12:55:43 -04:00
Craig Earls
a505f22e15 Merge pull request #288 from thdox/fix-doc-and-typos
Fix doc and typos
2014-05-11 19:38:55 -07:00
thdox
07d9399fc7 M-q (=M-x fill-paragraph) on column 78 2014-05-11 20:33:23 +02:00
thdox
1f1879a186 Fix some typos 2014-05-11 20:27:43 +02:00
Craig Earls
942ad3ef08 Merge pull request #287 from thdox/fix-for-ubuntu-14.04
Fix for ubuntu 14.04
2014-05-11 09:11:01 -07:00
Craig Earls
139693fe95 Merge pull request #286 from thdox/fix-gcc-4.9
Fix compiling with GCC 4.9

Thanks Thierry, nice to see you back.
2014-05-11 09:09:42 -07:00
Craig Earls
d63d845f41 Fix bug 1030 improperly placing the stays mark if the Payee starts with a digit. 2014-05-11 08:48:42 -07:00
thdox
c61f137968 Hardy, Karmic, Oneiric are obsolete Ubuntu releases.
See http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Table_of_versions
2014-05-11 17:21:49 +02:00
thdox
4b6e051adb Ubuntu 14.04 compilation help update:
- add patch from Hans Erik van Elburg posted on mailing-list on
  9-May-2014
- add also some documentation in README files
2014-05-11 17:13:09 +02:00
Craig Earls
b74d5419a1 Merge commit '56cf72ed0a7cdf134d1046559582a4a11fbfdedc' 2014-05-11 08:04:45 -07:00
thdox
e422b41600 Library GMP is not yet ready for GCC 4.9, as described at bottom of page
http://gcc.gnu.org/gcc-4.9/porting_to.html

See extract below:

The <cstddef> header was updated for C++11 support and this breaks some
libraries which misuse macros meant for internal use by GCC only. For
instance with GMP versions up to 5.1.3, you may see:

/usr/include/c++/4.9.0/cstddef:51:11: error: ‘::max_align_t’ has not been declared
   using ::max_align_t;
           ^

Another possible error is:

someheader.h:99:13: error: ‘ptrdiff_t’ does not name a type

A workaround until libraries get updated is to include <cstddef> or
<stddef.h> before any headers from that library.
2014-05-11 11:14:49 +02:00
Martin Michlmayr
56cf72ed0a Add more --pivot tests 2014-05-11 10:00:53 +02:00
Martin Michlmayr
cc7d0c82ea Add tests for the --pivot option 2014-05-11 01:03:16 +02:00
Johann Klähn
d13d17f350 fix typo 2014-05-10 15:50:28 +02:00
Craig Earls
20b915668f Merge commit 'dbfbf2bc893de3c44dcc08c33811bc274f647672' 2014-05-09 20:40:42 -07:00
Craig Earls
dbfbf2bc89 Merge pull request #285 from purcell/ledger-context-el-macros
Refactor macros in ledger-context.el to byte compile cleanly
2014-05-09 17:24:37 -07:00
Steve Purcell
9da91b8fae Refactor macros in ledger-context.el to byte compile cleanly 2014-05-09 21:11:01 +01:00
John Wiegley
bd8a1a6756 Use the POST_COST_VIRTUAL flag when exchange commodities
Fixes #999
2014-05-08 14:28:07 -05:00
Craig Earls
55ecb9fb62 Merge pull request #284 from afh/pull/iso4217
Add script to generate commodities from ISO 4217

Interesting.  Thanks
2014-05-08 06:08:17 -07:00
Alexis Hildebrandt
1e5cf0c924 Add script to generate commodities from ISO 4217
[ci skip]
2014-05-08 12:15:47 +02:00
John Wiegley
c254bea797 Restore -DBUILD_DIR 2014-05-07 20:52:37 +00:00
John Wiegley
1aa0e03a9e Fix build for building with g++ 4.8 2014-05-07 20:49:45 +00:00
Johann Klähn
73caafa2c5 fix debug build for gcc
-ansi ≡ -std=c++98 ;)
2014-05-07 19:08:06 +02:00
Craig Earls
ed3cc5c907 Merge pull request #282 from jamielinux/texi
Fix @node pointer errors
2014-05-05 06:47:25 -07:00
Craig Earls
8c78712258 Merge pull request #283 from afh/pull/builddocs
Improve building and installing ledger documentation files
2014-05-05 06:37:30 -07:00
Alexis Hildebrandt
dcb285ac55 Improve installation of documentation files
- Install info version of ledger documentation instead of the original
  texinfo sources

- Install html version of ledger documentation when BUILD_WEB_DOCS is ON

- Enable installation of documentation files from --output directory
2014-05-05 06:46:01 +02:00
Alexis Hildebrandt
851dea238a Check for required TeX when building pdf documentation 2014-05-05 06:45:42 +02:00
Alexis Hildebrandt
87bcfee8fd Build info version of documentation 2014-05-04 01:14:39 +02:00
Alexis Hildebrandt
cdfd7e5850 Disable BUILD_DOCS by default
since a separate acprep make doc is necessary to build the documentation
2014-05-04 01:13:05 +02:00
Alexis Hildebrandt
81e12aa1f2 acprep: fix verbose build when using ninja 2014-05-04 01:06:57 +02:00
John Wiegley
07b206bf6a Add the --no-pager option 2014-04-27 20:30:21 -05:00
Jamie Nguyen
507fac7e50 Fix @node pointer errors
Unfortunately, you cannot reliably use periods, commas, or colons within
a node name; these can confuse the Info reader.
2014-04-27 19:41:59 +01:00
Craig Earls
04d147c9a7 Merge pull request #281 from afh/pull/gendocs
Improve the documentation tools
2014-04-27 07:54:51 -07:00
Alexis Hildebrandt
c933e78599 doc: add BUILD_A4_PDF cmake variable
to create a DIN A4 paper version of the ledger pdf.
2014-04-27 11:11:40 +02:00
Alexis Hildebrandt
e167cbb647 doc: try to use groff if man2html is not found
to generate a html version of the manpage,
throw a fatal error otherwise.
2014-04-27 11:11:40 +02:00
Alexis Hildebrandt
0e496b4f9b gendocs: use hombrew texinfo on mac if installed
The default texinfo (4.8) on Mac OS X shows odd warnings from a sed call
and generates verbatim html tags in links if the part of the link was
marked with @command{}.
With a current version of texinfo (5.2) these oddities are gone.

[ci skip]
2014-04-27 10:04:05 +02:00