Commit graph

5710 commits

Author SHA1 Message Date
thdox
c066156f09 Add cross-ref for bucket and year.
On top of @node, @xref{} can also be linked to @anchor.
[ci skip]
2015-01-20 13:35:08 +01:00
thdox
dbf1574ab7 Add those single letter directives to index. 2015-01-19 20:50:24 +01:00
Craig Earls
6547448676 Merge pull request #372 from marcowahl/next
[emacs] fix copy
2015-01-18 07:02:56 -07:00
Marco Wahl
561ec047be [emacs] fix copy
ledger-xact.el:ledger-copy-transaction-at-point (C-c C-k) led to a confusing change in the ledger file for the case when the target date was smaller than last date in the ledger.
2015-01-18 13:33:26 +01:00
Alexis Hildebrandt
31b9964e43 [doc] Improve manpage
as suggested by:
%  mandoc -Tlint doc/ledger.1

[ci skip]
2015-01-16 22:32:20 +01:00
Alexis Hildebrandt
8cdc283d07 [travis] Switch to debug build
to allow for proper checks using test/CheckTests.py,
which requires the --debug option
2015-01-16 10:42:16 +01:00
Alexis Hildebrandt
a3dbcae348 [doc] Document -i in manpage
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-16 10:41:13 +01:00
Alexis Hildebrandt
cebdfde369 Fix typo 2015-01-15 23:29:25 +01:00
Alexis Hildebrandt
f7fd65b9aa Fix -i short-option for --init-file
Bugfix for #1102

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 23:27:16 +01:00
Alexis Hildebrandt
cd5be5f432 [doc] Add FILES section to manpage
to mention ~/.ledgerrc more prominently.
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 22:14:41 +01:00
Alexis Hildebrandt
ba207e773b [doc] Improve explanation for start-of-week option
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 22:13:08 +01:00
Alexis Hildebrandt
3bf4d05989 [doc] Minor typographical improvements to manpage
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 14:53:17 +01:00
Alexis Hildebrandt
012ce5ef10 [doc] Add documentation on running and writing tests
Minor wording edit
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 14:53:17 +01:00
Alexis Hildebrandt
01252035cd [doc] Add CheckTests to ctest
to check whether all available ledger options documented
and are being tested.

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 14:53:16 +01:00
Steve Purcell
d5c1e05a59 Merge remote-tracking branch 'refs/remotes/ledger/master' into next 2015-01-14 18:37:45 +00:00
Steve Purcell
e03f6dab61 Merge pull request #371 from aleksejrs/patch-1
Typo in the manual: "legder"
2015-01-14 18:16:50 +00:00
aleksejrs
b7190a69a8 Typo in the manual: "legder" 2015-01-14 20:42:16 +03:00
Alexis Hildebrandt
094aec6c0d Refactor README-1ST to INSTALL.md
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-11 17:08:30 +01:00
Alexis Hildebrandt
73917d8bbf [doc] Add more status badges
[ci skip]
2015-01-11 17:05:18 +01:00
Alexis Hildebrandt
5935b04446 [doc] Improve readability of README.md
by moving links to the bottom of the file
and using ASCII tables instead of HTML.

[ci skip]
2015-01-11 17:03:28 +01:00
Alexis Hildebrandt
719049a989 Merge DEVELOP.md into CONTRIBUTING.md
Improve readability of Markdown by moving links
to the bottom of the file.

[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-11 16:57:21 +01:00
Alexis Hildebrandt
64a7b13492 Move LICENSE file
The LICENSE.rtf file can be generated from LICENSE.md easily if needed,
at the moment there seems to be no use for it, since CPack isn't used
to generate binary distribution archives.

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-11 16:30:04 +01:00
Alexis Hildebrandt
231a9729c1 [cmake] Set default CPack generator to TBZ2
the same as the default CPack source generator
2015-01-11 16:27:38 +01:00
Steve Purcell
e0ccd3209a Merge branch 'master' into next 2015-01-11 11:03:39 +00:00
Steve Purcell
0bb32bb8fa Add CONTRIBUTING.md, mainly to document the "next" vs "master" branching
This file is displayed to would-be pull-request submitters, so it's a good place to provide this information.

[ci skip]
2015-01-11 11:00:36 +00:00
Alexis Hildebrandt
ce903c1a5e [tests] Fix compiler warning 2015-01-11 09:38:24 +01:00
Alexis Hildebrandt
78858382a5 [doc] Insert Ar to separate argument from option
for --period synonyms like --monthly, et al.
[ci skip]
2015-01-11 03:12:49 +01:00
Craig Earls
b34ad977d9 Merge pull request #368 from racktear/master
[emacs] Fontification should work independentily on where the point currently is

Nice catch.  This was clearly an error since beg was never used in this form.
2015-01-10 18:55:10 -07:00
Konstantin Nazarov
c98af897f7 [emacs] Fontification should work independentily on where the point currently is
This is a subtle bug that happens only when org-src-fontify-natively is
enabled:

(setq org-src-fontify-natively t)

If then you create a Babel block with ledger text, it won't be
fontified.

This happens because the 'ledger-fontify-buffer-part' starts
fontification from the current 'point', which in case of
org-src-font-lock-fontify-block happens to _not_ point to the beginning
of buffer. Instead it points to the original org-mode buffer.
This doesn't happen when one opens regular files, because the
'point' is almost always at the beginning of the file.

To reproduce the bug, you can do the following:

(defun fontify-test()
  (let ((lang-mode 'ledger-mode) pos next)

  (with-current-buffer
      (get-buffer-create
       "ledger-fontification-bug")
    (unless (eq major-mode lang-mode) (funcall lang-mode))
    (erase-buffer)
    (insert "2015/01/09 asdf\n  foo\n  bar\n" " ")
    (font-lock-fontify-buffer)
    (switch-to-buffer "ledger-fontification-bug")
    )))

Call 'fontify-test' and see that the buffer is not fontified.

[ci skip]
2015-01-11 02:33:10 +03:00
Alexis Hildebrandt
39a5b180c7 [doc] Insert space to correct punctuation in .Xr macro
[ci skip]
2015-01-10 23:30:38 +01:00
Alexis Hildebrandt
f6fdac3c7c [doc] Insert newline to end .Nm macro
to highlight only the xact keyword

[ci skip]
2015-01-10 23:30:20 +01:00
Alexis Hildebrandt
acfc4f8a8a [doc] Remove trailing whitespace in manpage
since "troff can be confused by blank space characters
at the end of a line." -- mdoc (7)

[ci skip]
2015-01-10 23:29:47 +01:00
Alexis Hildebrandt
3a1ab67092 [tests] Fix new DocTest A9349E4 2015-01-10 15:27:24 +01:00
Alexis Hildebrandt
793e295a92 [tests] Validate another example in the manual 2015-01-10 14:06:32 +01:00
Alexis Hildebrandt
29c4bcbf9a Remove needless files
[ci skip]
2015-01-10 14:04:15 +01:00
Alexis Hildebrandt
b9e34707d3 Merge branch 'master' into next
[ci skip]
2015-01-10 14:02:20 +01:00
Martin Michlmayr
d4b20926c8 Merge pull request #364 from jostber/jb-docfix
Small doc typo fixes
2015-01-08 18:26:07 -05:00
Jostein Berntsen
5d90ac7a1d Small doc typo fixes 2015-01-09 00:05:10 +01:00
Alexis Hildebrandt
99703ab317 [travis] Parallelize tests 2015-01-06 22:28:31 +01:00
Alexis Hildebrandt
a875aa9a3d [traivs] Fix syntax errors 2015-01-06 21:35:51 +01:00
Alexis Hildebrandt
e82d2746f4 [travis] Fix typo in .travis.yml 2015-01-06 21:27:10 +01:00
Alexis Hildebrandt
597cca27bc [travis] Re-enable clang builds
Switch to single job builds
2015-01-06 21:21:56 +01:00
Johann Klähn
f2b61846d1 use the same python version for lib and interpreter
Currently the path to install the python library in is determined by
running the python interpreter.  We do not want to end up installing a
library built for python2 in the python3 library path!
2015-01-06 10:03:03 +01:00
Alexis Hildebrandt
ca8eded48e [doc] Minor typographical and error corrections
[ci skip]
2015-01-05 14:14:25 +01:00
Alexis Hildebrandt
8946454b61 [doc] Bump Ledger version to 3.1
It would be great to use texinfo variables to set the current Ledger
version, e.g. @value{Ledger_VERSION_MAJOR} and pass the CMake variables
to texi2pdf via --command='@set Ledger_VERSION_MAJOR ${Ledger_VERSION_MAJOR}'.

Unfortunately texi2pdf will err with:
Argument of @parseargline has an extra }.
<inserted text> 
                @par 
<to be read again> 
                   }
@\subtitle ...epage {@subtitlefont @rightline {#1}
                                                  }
l.153 @subtitle For Version @value{Ledger_VERSION_MAJOR} of Ledger


[ci skip]
2015-01-05 14:13:38 +01:00
Alexis Hildebrandt
0669ca9b40 [doc] Update explanation for validating doc examples 2015-01-05 14:13:37 +01:00
Alexis Hildebrandt
6bd2c0e3f6 [doc] Bump copyright notice to 2015
[ci skip]
2015-01-05 14:13:37 +01:00
Alexis Hildebrandt
bf4dc7c8f4 [doc] Add whitespace to separate debug options
better from one another in the item list

[ci skip]
2015-01-05 14:13:37 +01:00
Alexis Hildebrandt
642ca8d9d6 [doc] Update list of debug codes
using ag --nogroup '^[        ]*debug\(' | cut -d '"' -f2 | sort -u | column

[ci skip]
2015-01-05 14:13:37 +01:00
Alexis Hildebrandt
a49b6f3267 [travis] Fix .travis.yml 2015-01-05 11:46:14 +01:00