Commit graph

5187 commits

Author SHA1 Message Date
Craig Earls
6196d99ed9 Merge pull request #260 from jamielinux/manpage
Fix man page typo
2014-03-23 19:25:34 -07:00
Craig Earls
f822ad15f6 Merge pull request #261 from jamielinux/fsf-address
Update old FSF address
2014-03-23 19:25:14 -07:00
Jamie Nguyen
33ce4a76a1 Update old FSF address 2014-03-23 23:42:21 +00:00
Jamie Nguyen
8088502eef Fix man page typo 2014-03-23 23:29:39 +00:00
Craig Earls
48bf26688c Merge pull request #259 from vincentbernat/fix/dark-background
lisp: use more legible colors on dark backgrounds

Merged. I will forward any complaints your direction.
2014-03-23 07:56:08 -07:00
Vincent Bernat
cdeed89dbd lisp: use more legible colors on dark backgrounds
On dark backgrounds, the color for the current transaction makes the
text quite unreadable. Let's use a darker color in this case. Maybe some
other colors could be adjusted.
2014-03-23 02:09:49 +01:00
Steve Purcell
8cc9521a9a Merge pull request #257 from ecraven/update-docs
finished first proof-reading of ledger manual
2014-03-14 11:56:32 +00:00
Peter Feigl
4239c284f1 finished first proof-reading of ledger manual 2014-03-14 11:24:12 +01:00
Steve Purcell
3d466b8748 Merge pull request #256 from ecraven/update-docs
proof-reading the manual
2014-03-14 09:30:36 +00:00
Peter Feigl
be86d241cc Merge remote-tracking branch 'upstream/master' into update-docs 2014-03-14 09:59:43 +01:00
Peter Feigl
fca30d93f1 proof-reading the manual 2014-03-14 09:58:40 +01:00
Craig Earls
69c7a44b3e Merge pull request #255 from ecraven/update-docs
fixing typos and smaller errors in the ledger manual.  Thanks for finding these.  I will look at the TODOS later, but don't see a reason to delay merging the corrections.
2014-03-10 09:35:01 -07:00
Peter Feigl
c445a0ffc4 fixing typos and smaller errors in the ledger manual 2014-03-10 13:31:02 +01:00
John Wiegley
ba6a6f433a Merge pull request #254 from afh/pull/utfcpp
CMake: Remove installation of third party code
2014-03-10 07:01:53 -05:00
Alexis Hildebrandt
8629f92cf8 CMake: Remove installation of third party code 2014-03-10 12:16:59 +01:00
Steve Purcell
f2ec5bdb19 Merge pull request #253 from ecraven/update-docs
Fixing typos in documentation
2014-03-05 14:00:48 +00:00
Peter Feigl
5d7a9b0504 Fixing typos in documentation 2014-03-05 14:49:00 +01:00
Craig Earls
c9663138dd Merge pull request #252 from ecraven/update-docs
Added support for validation tests to DocTest.py (input:validate and command:validate)
2014-03-04 09:54:59 -07:00
Peter Feigl
a7034b68a1 Merge commit '4966c7f' into update-docs 2014-03-04 15:02:11 +01:00
Peter Feigl
4966c7f100 Fixing typos, adding @c input:validate to code examples 2014-03-04 15:01:23 +01:00
Peter Feigl
3e29a992e5 removing two new test cases that fail on travis. cannot reproduce failure 2014-03-04 11:12:31 +01:00
Peter Feigl
831c064c38 Added support for validation tests to DocTest.py (input:validate and
command:validate)

It is now possible to use @smallexample @c input:validate (and
command:validate) to specify that an example should just be read by
ledger (and checked for errors) or that a ledger command should be
executed (with default input -f sample.dat, if none is specified).

These annotations have been added into ledger3.texi where appropriate.

Running the ledger3.texi test now takes a second or two, but a lot of
the @smallexamples are now automatically tested.
2014-03-04 10:05:09 +01:00
Craig Earls
08f0735e1c Merge pull request #251 from ecraven/update-docs
first changes in adding more testable examples to ledger3.texi

These look good.  Could you put a brief explanation somewhere (not necessarily in ledger3.texi) on how to generate new tests? I should probably know where the command and input id numbers come from, but I don't.
2014-03-03 14:53:47 -07:00
Peter Feigl
479cdf4fe2 first changes in adding more testable examples to ledger3.texi 2014-03-03 22:36:06 +01:00
Craig Earls
37153f3acc Merge pull request #250 from ecraven/update-manpage
Adding documentation of options to man-page from manual.
2014-02-27 06:26:20 -07:00
Peter Feigl
977af3d27c Adding documentation of options to man-page from manual. Fixing a few minor typos and mistakes. 2014-02-27 10:24:38 +01:00
John Wiegley
bedae81934 Merge pull request #249 from ecraven/opt-no-aliases
Adding option --no-aliases to completely disable alias expansion
2014-02-26 17:27:56 -06:00
Peter Feigl
ecd5097d51 Adding option --no-aliases to completely disable alias expansion 2014-02-26 23:50:50 +01:00
John Wiegley
ee36a33a19 Merge pull request #248 from ecraven/fix-warnings
Fixing two GCC warnings
2014-02-26 16:26:41 -06:00
John Wiegley
eddd03ed09 Merge pull request #247 from ecraven/master
Adding support for recursive aliases.
2014-02-26 16:06:52 -06:00
Peter Feigl
7bcc5b7c2c Fixing two GCC warnings 2014-02-26 12:29:57 +01:00
Peter Feigl
75b0a5d8ff Adding option --recursive-aliases, adding documentation to man-page and manual 2014-02-26 09:29:31 +01:00
Peter Feigl
230fa31ba3 Adding tests for recursive aliases 2014-02-26 01:30:45 +01:00
Peter Feigl
2dabb914c0 fixing problem with previous commit if no aliases are registered 2014-02-26 01:16:03 +01:00
Peter Feigl
c80b495546 Adding support for recursive aliases.
Alias expansion is now a loop. If you define

alias A=B:A
alias B=C:B

then A will expand to C:B:A.

Also added a short section to the manual about this.
2014-02-25 22:50:20 +01:00
Craig Earls
bc08eed3cb Merge pull request #246 from lawilliams/master
Fixing typo: test sweet -> test suite

But I thought the new testing capability was so sweet I left it this way!  Thanks!
2014-02-22 09:29:26 -07:00
Luke Williams
dacb5f9823 Fixing typo: test sweet -> test suite 2014-02-23 00:02:22 +10:00
John Wiegley
f3731a93db Added to ignore file 2014-02-21 13:05:12 -06:00
John Wiegley
de8b078849 Attempt to convert balances to amounts before failing comparisons 2014-02-21 13:05:12 -06:00
Craig Earls
1ec9f71479 Merge pull request #245 from afh/pull/DocTests
Make more examples from documentation testable
2014-02-19 09:46:53 -07:00
Alexis Hildebrandt
3d9faef448 DocTests: Allow inline input to be used with different example commands 2014-02-19 06:52:43 +01:00
Alexis Hildebrandt
90988feebc DocTests: Allow multiple example inputs
to be used as single ledger data for an example command
2014-02-19 06:52:43 +01:00
John Wiegley
be6f3cb269 Merge pull request #244 from mvz/logical-and-is-or
Implicit logical and is really a logical or
2014-02-17 14:02:58 -06:00
Matijs van Zuijlen
59fde5e777 Implicit logical and is really a logical or 2014-02-17 07:25:07 +01:00
John Wiegley
6a68119cbb Merge pull request #243 from kanru/justify-cjk
Correctly justify Unicode characters in terminal
2014-02-16 23:02:02 -06:00
John Wiegley
fea32e94a6 Merge pull request #242 from afh/pull/year
Fix apply_year_directive
2014-02-16 23:01:19 -06:00
Kan-Ru Chen (陳侃如)
9c7e5a612c Use mk_wcwidth instead mk_wcwidth_cjk 2014-02-13 19:19:40 +08:00
Kan-Ru Chen (陳侃如)
d5b5ea0213 Correctly justify Unicode characters in terminal
Many Unicode characters take more spaces than one ASCII character. For
example, Chinese characters are two characters wide when using monospace
font in terminal. This patch use wcwidth of Markus Kuhn to count the
correct width for justification.
2014-02-13 18:40:06 +08:00
Alexis Hildebrandt
e7cfaa1e65 Fix apply_year_directive
Using the Y 2014 syntax works fine, but using
apply year 2014 resulted in the following error:
Error: Year is out of valid range: 1400..10000
since part of the given year string was chopped off.
2014-02-12 10:38:07 +01:00
Craig Earls
c59aadaace Merge pull request #241 from afh/pull/spelling
Correct minor spelling mistakes and improve spellcheck.sh

Awesome.
2014-02-09 11:32:44 -07:00