Commit graph

5266 commits

Author SHA1 Message Date
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
Alexis Hildebrandt
d8bbe78756 gendocs: make html documentation
[ci skip]
2014-04-27 10:01:01 +02:00
Alexis Hildebrandt
10359fd701 gendocs: add option to choose pdf papersize
The default will be US Letter

[ci skip]
2014-04-27 10:00:04 +02:00
Craig Earls
62bdb2f13a Merge pull request #280 from csrhodes/fix-ledger-iterate-regex
Fix ledger iterate regex
2014-04-24 06:51:58 -07:00
Christophe Rhodes
e2d3e02b0d fix ledger-iso-date-regex, abusing its name slightly
the year field in dates is sort-of optional, given "year" or "Y"
directives.  Make the date regex understand this.  (This has been lightly
tested with C-c C-a, but the rest of the uses of ledger-iso-date-regex
have only been eyeballed, not properly audited or tested)
2014-04-23 17:45:42 +01:00
Christophe Rhodes
ad4eac43a9 add "year" handling to ledger-iterate-regex 2014-04-23 17:45:41 +01:00
John Wiegley
d752bef547 Merge pull request #279 from csrhodes/fix-ledger-xact-add-transaction
improve C-c C-a (ledger-xact-insert-transaction) behaviour
2014-04-23 11:26:20 -05:00
John Wiegley
51b335111e Merge pull request #278 from afh/pull/travis
Fix Travis CI build
2014-04-23 11:25:58 -05:00
Christophe Rhodes
9c3535823a improve C-c C-a (ledger-xact-insert-transaction) behaviour
When the right place to add a transaction is after all existing
transactions, add it just after the last transaction rather than at the
end of the buffer.  (Otherwise the transactions get added after Local
Variables blocks and any other endmatter.)
2014-04-23 17:07:23 +01:00
Alexis Hildebrandt
73c21a09e9 Add URL to Travis CI environment documentation
[ci skip]
2014-04-23 13:26:25 +02:00
Alexis Hildebrandt
4c4367fe6b Fix Travis CI build
- Install and use GNU GCC 4.8 to support required C++11 standard
- Build Boost (1.55.0) libraries needed by ledger
- Export build and cmake variables to find locally built Boost
2014-04-23 11:30:44 +02:00
John Wiegley
4707122eed Initialize journal_t::no_aliases to false upon costruction
This fixes a bug introduced by ecd5097d51.
2014-04-21 18:01:08 -05:00
John Wiegley
a0c5addbbd Another .travis.yml fix 2014-04-17 17:14:54 -05:00
John Wiegley
15cd98ff55 More Travis changes 2014-04-17 16:01:18 -05:00
John Wiegley
b7647a466e Have Travis download Boost-1.55 2014-04-17 15:57:37 -05:00
John Wiegley
ae18a60315 Bump minimum Boost dependency to 1.55 2014-04-17 15:07:06 -05:00
John Wiegley
94468d21b8 Temporarily disable the DocTests 2014-04-17 14:57:00 -05:00
John Wiegley
7be70aab59 Require the use of C++11 2014-04-17 14:34:36 -05:00
David Bremner
0ef8256409 Replace sha1.cc with boost::uuid::details::sha1
sha1.cc is not redistributable by Debian because the license doesn't
permit redistribution of modified versions.

This isn't ideal since the ::details namespace is subject to change,
but it avoids adding a dependency to ledger.
2014-04-17 14:27:21 -05:00
John Wiegley
efffabadfa Add ninja as a build dependency 2014-04-16 15:56:45 -05:00
John Wiegley
aa2ff2b5db Improve an error message relating to balance assertions 2014-04-16 15:56:30 -05:00
John Wiegley
f73ff40a86 Add a safety check when using deferred postings 2014-04-15 01:31:47 -05:00
John Wiegley
3435a81b67 Correct one of the baseline tests 2014-04-14 11:41:52 -05:00
John Wiegley
0d23e3d4f6 Apply any outstanding deferred postings at the end of parsing 2014-04-14 11:08:26 -05:00
John Wiegley
57870f1be8 Bump the date in the version number 2014-04-13 23:26:49 -05:00
John Wiegley
78a6d35faa Update tools/build.sh 2014-04-13 23:26:14 -05:00
John Wiegley
8f8a94c28e Add the concept of "deferred postings"
This is pretty much exclusively for allowing one to use balance
assertions with replicated transactions across multiple files.
2014-04-13 23:26:14 -05:00
John Wiegley
634aa589cd The option --permissive now quiets balance assertions 2014-04-13 23:26:14 -05:00
John Wiegley
a98ced34dd Add default.nix file, for building with Nix 2014-04-13 23:26:14 -05:00
Craig Earls
fa641c581c Merge pull request #273 from merriam/master
Add two more terms

Thanks.  What is the comment about TeX being hard to install?
2014-04-07 06:36:07 -07:00
Charles Merriam
0c3a4ec57c Add two more terms
Added Effective Date and Transaction Code
2014-04-06 21:37:27 -07:00
Craig Earls
f3253eee04 Merge pull request #272 from merriam/master
More documentation, and One .gitignore change

Charles, thank you for all of the time you are putting into this.
2014-04-05 07:05:16 -07:00
Charles Merriam
db916c9a69 More terms and orientation
Added Cheetah, sha1, utfcpp and  finished the orientation section.
2014-04-04 09:54:28 -07:00