Commit graph

6266 commits

Author SHA1 Message Date
thdox
8a457bbdd5 ledger-mode has now its own repository
[ci skip]
2016-10-27 21:31:49 +02:00
thdox
278a68b867 Remove contributing tips with regard to ledger-mode
As ledger-mode has its own repository.

[ci skip]
2016-10-27 21:31:44 +02:00
thdox
d9c1a290a8 Remove the build of ledger-mode in Makefile
[ci skip]
2016-10-27 21:31:35 +02:00
thdox
01214f2ab8 Remove ledger-mode.texi from doc/CMakeLists
As ledger-mode has now its own github repository, the file
ledger-mode.texi has been moved there. As such the compilation was
failing, by removing this file, it is now compiling successfully through
"make doc".

[ci skip]
2016-10-27 21:31:19 +02:00
John Wiegley
77b9c60a3e Merge pull request #473 from schmave/win-no-tests
Ignore failed tests on appveyor; only build next and master [ci skip]
2016-10-17 21:55:55 -07:00
John Wiegley
a285b2ad43 Merge pull request #472 from mk12/bug-1187-assertions
Fix bug 1187: Allow balance assertions with multiple posts to the same account
2016-10-17 15:54:04 -07:00
Evan Mallory
a683cf7486 Ignore failed tests on appveyor; only build next and master 2016-10-11 09:35:45 -04:00
Mitchell Kember
d541cceaf7 Fix bug 1187: Allow balance assertions with multiple posts to same account 2016-10-07 20:25:20 -07:00
John Wiegley
e27ae09e22
Remove ledger-mode.texi 2016-10-04 14:48:49 -07:00
John Wiegley
bd1a2c528a Merge pull request #470 from schmave/win-strptime
Fix Windows strptime
2016-10-03 09:18:33 -07:00
John Wiegley
d4d0334a3b Merge pull request #471 from schmave/win-path
Use boost parent_path() method instead of manual computation
2016-10-03 09:18:13 -07:00
John Wiegley
3ebe330bf1 Merge pull request #469 from schmave/win-383
Fix regress test 383 on Windows
2016-10-02 22:49:18 -07:00
Evan Mallory
2dbafc53fd Use boost parent_path() method instead of manual computation
This fixes error-in-include.test, dir-apply.test, 6188B0EC.test, and 89233B6D.test when running under msys2 on Windows. The manual computation is incorrect when there are both forward slash and backward slash characters in the path.
2016-10-02 20:17:34 -04:00
Evan Mallory
441cadead3 Fix Windows strptime
This fixes the datetime-related tests in testAddition and testSubtraction in the LedgerMathTests
2016-10-02 20:11:22 -04:00
Evan Mallory
94c0db0133 Fix regress test 383 on Windows
%g is not available in Windows strftime. See documentation at https://msdn.microsoft.com/en-us/library/fe06s4ak.aspx
2016-10-02 20:02:24 -04:00
John Wiegley
ca9877ff41 Merge pull request #468 from Vanav/cygwin_fix
Fix build under Cygwin
2016-10-02 10:32:25 -07:00
Ivan Vanyushkin
c278559083 Fix build under Cygwin. 2016-09-29 21:46:45 +03:00
John Wiegley
cd58d43228 Merge pull request #467 from schmave/win-2
Fix test harness to work with msys2
2016-09-29 09:59:06 -07:00
Alexis Hildebrandt
258cab91ab Merge pull request #465 from dkasak/patch-1
Fix compilation error with boost 1.61
2016-09-26 18:19:52 +02:00
Evan Mallory
0e691e76db Fix test harness to work with msys2
With this change, 97% of the tests pass. See the build on appveyor for more info: https://ci.appveyor.com/project/Evan/ledger/build/build-49

I'll follow up with another PR to fix some of the remaining broken tests
2016-09-23 08:14:30 -04:00
John Wiegley
1321567667 Merge pull request #466 from schmave/win-1
Fix build under msys32; add Appveyor continuous build
2016-09-17 14:41:15 -07:00
Evan Mallory
c193cc3a5b Fix build under msys32; add Appveyor continuous build
* Appveyor is a continuous integration platform for Windows that is free for open source projects. See latest test build here: https://ci.appveyor.com/project/Evan/ledger/build/artifacts

* Changed WIN32 to _WIN32 because this article http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system claims that it is defined by the greatest number of compilers.

* Modified HAVE_ISATTY and other system defines so that system.hh compiles when cmake fails to find the relevant function.

* Add missing include in test/unit/t_value.cc

Almost all tests fail when you run them on msys32. I will address that in a future PR.
2016-09-17 14:22:38 -04:00
Denis
1856b8c490 Fix compilation error with boost 1.61 2016-09-12 12:56:24 +02:00
John Wiegley
a3b573e110 Merge pull request #464 from srbaker/patch-1
Remove reference to `ncursesw` MacPort.
2016-09-08 11:36:25 -07:00
Steven R. Baker
fa5e3eb163 Remove reference to ncursesw MacPort.
The `ncursesw` port doesn't exist anymore, its functionality is included in the `ncurses` port.
2016-09-08 19:38:01 +02:00
John Wiegley
15d18d664f Emacs Lisp files have been moved to https://github.com/ledger/ledger-mode 2016-08-02 17:11:03 -07:00
John Wiegley
a0502dc9ee Update default.nix 2016-08-02 17:06:33 -07:00
John Wiegley
da220b70f9 Merge pull request #461 from gunnarx/next
Documentation - Clarify hard separator explanation
2016-08-02 16:17:23 -07:00
Gunnar Andersson
f29da83d25 Documentation - Clarify hard separator explanation
A minor nitpick in chapter Transaction Notes,
Moving the parenthesis avoids misinterpreting the name "hard separator"
to be a reference to tab-space only.
2016-08-01 21:59:04 +02:00
Martin Michlmayr
cb31fead6b Update doc/NEWS for 3.1.2 2016-07-29 14:13:51 -07:00
Craig Earls
67d21ed4b0 Merge pull request #460 from atheriel/ledger-report-register-optional-prepend-format
Makes links in ledger-report "register" commands optional.
2016-07-16 12:59:25 -07:00
Atheriel
7de71e6507 Makes links in ledger-report "register" commands optional.
This commit adds a new custom `ledger-report-links-in-register' flag
that controls whether `ledger-report' will attempt to link transactions
in the report buffer to the entries in the original file. Essentially,
it controls whether `ledger-report' will silently pass the
"--prepend-format" flag to the binary.

The primary motivation for this is that not all implementations of
ledger support the "--prepend-format" flag, and thus all "register"
commands run by `ledger-report' (and usually _only_ "register" commands)
will always fail, because they are treated as a special case in
`ledger-do-report'. At present, the user has no ability to prevent the
"--prepend-format" flag from being silently passed to the binary. This
commit provides that feature.

[ci skip]
2016-07-16 13:44:19 -04:00
Craig Earls
19e638b00e Merge pull request #459 from atheriel/ledger-binary-format-specifier
Adds a "binary" format specifier to ledger-report.

I should have done this years ago.  Thank you.
2016-07-15 21:11:45 -07:00
Atheriel
755cdfc0af Adds a "binary" format specifier to ledger-report.
This makes the current `ledger-binary-path' accessible to ledger
reports by using the %(binary) format specifier. It is intended to aid
users who may have different `ledger-binary-path' values on different
machines. It also means that the default `ledger-reports' will work
out of the box even if their ledger executable is not named "ledger"
--- for example, if they are using "hledger", and have otherwise set
their binary path appropriately.

[ci skip]
2016-07-14 23:27:40 -04:00
John Wiegley
6dcb1444ea Merge pull request #458 from arademaker/next
improve explanation about period expressions
2016-06-28 09:57:39 -07:00
Alexandre Rademaker
e832ac0f19 improve explanation about period expressions 2016-06-28 13:36:49 -03:00
Alexis Hildebrandt
34fec31188 [cmake] Fix detection for Boost Python 1.59.0 workaround 2016-06-22 15:44:06 +02:00
Alexis Hildebrandt
01220484f4 Revert "[python] Add fix for Boost.Python compile errors"
This reverts commit 11590e134e.
2016-06-22 15:43:37 +02:00
Alexis Hildebrandt
059905f709 [travis] Bump boost version to 1.61.0 2016-06-22 10:39:34 +02:00
Craig Earls
7fb907fbe3 Merge pull request #457 from kalafut/next
Fix documentation typos in section 4.9 (Archiving)
2016-06-17 21:33:24 -07:00
Jim Kalafut
5cf4926084 Fix documentation typos in section 4.9 (Archiving) 2016-06-17 21:25:38 -07:00
Rémi Vanicat
097abf2be5 inhibit read only when inserting in *Ledger Error*
When ledger-exec-handle-error is called a second time, it try to insert
the error in a buffer that is already read-only. inhibit-read-only
permit the insertion.
2016-05-28 15:39:23 +02:00
Craig Earls
fcf16d035e Merge pull request #454 from rudolfochrist/read-iso-date-fix
Consider ISO dates in `ledger-read-date'.
2016-05-04 18:43:57 -07:00
Sebastian Christ
4eda0d8419 Consider ISO dates in `ledger-read-date'.
When `ledger-use-iso-dates' is non-nil use ISO date format instead of `ledger-default-date-format'.
2016-05-04 16:52:26 +02:00
John Wiegley
8bdc0bba7c Merge pull request #446 from Rudd-O/truepyerrors
Ensure that parse errors produce useful RuntimeErrors for Python code.
2016-04-20 21:28:14 -07:00
Craig Earls
6065ad71fc Merge pull request #453 from tarsius/master
Require correct feature
2016-04-06 18:44:42 -07:00
Jonas Bernoulli
6cbe04ca85 Require correct feature
In `ledger-matching.el' require `ledger-report' instead of `ldg-report'.
That library was renamed like all the others.
2016-04-07 00:15:09 +02:00
John Wiegley
b08c03f05e Merge pull request #451 from mk12/bug-1147-balance-assertion
Fix Bug 1147: Check balance assertions against the amount AFTER
2016-03-22 23:09:46 -07:00
Mitchell Kember
d082b6485f Fix Bug 1147: Check balance assertions against the amount AFTER 2016-03-22 23:09:27 -07:00
John Wiegley
16c2b8d58d Merge pull request #449 from ppickfor/next
Use interval start date (period from/since) to initialize first period.
2016-03-14 12:03:24 -07:00