Commit graph

5023 commits

Author SHA1 Message Date
John Wiegley
0ec4291013 Merge pull request #206 from skaczor/patch-1
Update CMakeLists.txt
2013-08-21 17:14:35 -07:00
Simon Kaczor
3105f13a7b Update CMakeLists.txt
renamed files from ldg to ledger. Don't compile ledger-context.el because it has a macro.
2013-08-21 09:29:40 -04:00
Craig Earls
46bf142b2a Bug 986. Add file order to sorting options in the reconcile mode. 2013-08-20 09:51:11 -07:00
Craig Earls
4b5a6a45b2 Merge pull request #205 from vanicat/t/ignore
Adding some file to .gitignore
2013-08-12 08:56:16 -07:00
Rémi Vanicat
45e54ca68c Adding some file to .gitignore 2013-08-12 17:50:39 +02:00
Craig Earls
c8f5661c2c Merge pull request #200 from errge/master
Change ledger-next-amount to be case-sensitive
2013-07-15 11:51:01 -07:00
John Wiegley
fff231bb1a Merge pull request #202 from bkuhn/contrib-non-profit-audit-fraud-and-totals
Create Fraud Receivable and accept rounding of totals to two cents.
2013-07-14 12:53:18 -07:00
Bradley M. Kuhn
9dc352ad6f Some of the totals rounded via -V cause rounding more than one penny.
Use two cents as to test if the amounts are close enough.
2013-07-14 15:09:52 -04:00
Bradley M. Kuhn
ce1c3e8747 Add Fraud Receivable to Accrued accounts.
Funds lots and expected recoverable from Fraud are in an account called
"Accrued:Fraud Receivable".  In this report, show this along with the total
of Loan Receivables.
2013-07-14 15:07:29 -04:00
John Wiegley
7132018098 Merge pull request #201 from bkuhn/contrib-non-profit-audit-use-accounts
Use "ledger accounts" command rather than the '-F "%150A\n" reg' report solution
2013-07-12 11:44:48 -07:00
Bradley M. Kuhn
8908b03234 Use "ledger accounts" command rather than the '-F "%150A\n" reg' report solution.
Ledger has had (probably for some time) an "accounts" command that will list
all the accounts from all transactions meeting the other criteria set on the
command line.  That's really what we're looking for here when we build this
chart of accounts, and thus that should be used.

Note that this corrects a subtle bug that wasn't apparent with the old
solution.  With the '-F "%150A\n" reg' solution, accounts that balanced out
to zero for period (e.g., accrual accounts that were emptied during in the
month) did not show up on the reports.  This bug that I didn't know I had
here is thus now fixed by switching to the "accounts" report.
2013-07-12 14:26:29 -04:00
Gergely Risko
515ae05d6b Change ledger-next-amount to be case-sensitive
Otherwise if there is an account that's name only has one part, the
regex can match it as a currency and as the beginning of an amount.
E.g. if we have the line "Expenses         45 USD", then the old
ledger-next-amount will jump to Expenses instead of to 45.
2013-07-12 01:17:40 +02:00
Craig Earls
78e65ee4ab Merge pull request #199 from bkuhn/begin-date-wrong-general-ledger-report
The $formattedBeginDate should derive from $beginDate, not $endDate (duh...
2013-07-10 14:40:09 -07:00
Bradley M. Kuhn
524fdf7aba The $formattedBeginDate should derive from $beginDate, not $endDate (duh!) 2013-07-10 17:14:26 -04:00
Craig Earls
8b80e5efc7 Merge pull request #198 from errge/master
I understand now. I like that idea.  Thanks for the help!
2013-07-09 09:42:24 -07:00
Gergely Risko
87da7ba3ab Fix comment string 2013-07-09 16:41:55 +02:00
Craig Earls
64d6ec675d Add ledger-mode-should-check-version to disable startup checks.
This is for users who are not using the official Ledger, say maybe hedger…
2013-07-03 13:57:56 -07:00
Craig Earls
63ba45dbaa Finished changing name to ledger-*
All files and references changed ldg-* to ledger-*
2013-07-02 15:37:33 -07:00
Craig Earls
5b8817c8e8 Remove leg-new and made leg-mode the entry point. 2013-07-02 14:45:06 -07:00
Craig Earls
a6cb179d8a Adjust subtraction to scale operands up, thereby avoiding the silly long results 2013-07-02 12:05:00 -07:00
Craig Earls
8da79a8967 Ensure target balance is actually parseable as a number 2013-07-01 11:01:47 -07:00
Craig Earls
52dd81ca9e Added buffer cleanup and tweaked the reconcile quit routines. 2013-06-27 21:36:22 -07:00
Craig Earls
26d7197f64 Merge pull request #197 from vanicat/t/small-info-correction
@itemx shoud be after an @item
2013-06-26 07:24:48 -07:00
Rémi Vanicat
affb373c0a @itemx shoud be after an @item 2013-06-26 16:17:54 +02:00
John Wiegley
8d1067c89c Disable three tests preventing Jenkins from succeeding
These aren't actually failures, just issues with the way that Jenkins
works on my system (mainly because ~/.jenkins is a symlink pointing at
another volume).
2013-06-19 13:49:10 -05:00
John Wiegley
90a1e13a3f Merge pull request #195 from code-affinity/msvc-11.0
Minor source code changes required to compile with Microsoft Visual C++ 11 (2012)
2013-06-17 14:03:07 -07:00
Tim Crews
4bcaa45f16 Additional changes required for MSVC to compile ledger.
These changes only matter if ledger is compiled with USE_PYTHON.
2013-06-16 12:39:30 -07:00
Tim Crews
0c071d6e1c Corrected filename for strptime.cc 2013-06-15 16:37:04 -07:00
Tim Crews
0dbb38fe27 Source changes needed for Microsoft Visual C++ compatibility.
Includes an implementation of strptime, compiled only for Win32 platform.
2013-06-14 21:29:47 -07:00
John Wiegley
fe810fa13f Revert "Fix tests when running under Jenkins"
This reverts commit 7183dabc84.
2013-06-08 19:00:04 -05:00
John Wiegley
7183dabc84 Fix tests when running under Jenkins 2013-06-08 18:55:14 -05:00
Craig Earls
9d64d14fd3 Add buffer cleanup function. 2013-06-06 12:53:01 -07:00
Craig Earls
7540647f01 Dramatic improvements to account completion speeds. 2013-06-05 16:41:11 -07:00
Craig Earls
e0b02afd60 Implemented different sorting function on the reconcile buffer.
C-c C-a for amount
C-c C-p for payee
C-c C-d for date
2013-06-03 17:14:19 -07:00
Craig Earls
c23c994b22 Fix Bug 966 Auto Indent conflicts with undo. Removed the auto-indent function and added an indent xact function 2013-06-03 16:39:36 -07:00
Craig Earls
cb6f4b9890 Fix bug 967, Windows rearranging after reconcile save. 2013-06-03 15:31:10 -07:00
Craig Earls
99db205bcd Merge pull request #194 from thdox/documentation_removed_from_ledger3
Copy information from doc/NEWS to doc/ledger3.texi.
2013-06-03 15:17:45 -07:00
thdox
cc3353d5b8 Copy information from doc/NEWS to doc/ledger3.texi.
Correct the documentation about '-s' that has no effect on bal command.
2013-06-03 22:38:07 +02:00
Craig Earls
30fe6afebf Completion improvements 2013-06-03 08:45:27 -07:00
Craig Earls
fda778f2c0 Fix bug 969, payee completing only works with plain alpha chars 2013-06-02 20:46:29 -07:00
John Wiegley
85ba3bd1ca Merge pull request #191 from thdox/doc_diff_from_previous
Improve documentation about differences between ledger 2.6 and ledger 3.0
2013-06-02 19:19:59 -07:00
John Wiegley
a7ee1a0aa4 Merge pull request #192 from thdox/report
Change format to "%Y-%m-%d"
2013-06-02 19:19:48 -07:00
thdox
ff64f97d16 Change format to "%Y-%m-%d", as described in documentation, and as coded
in report.h
2013-06-02 17:34:35 +02:00
thdox
d56f9c4032 Improve documentation about differences between ledger 2.6 and ledger 3.0.
GnuCash support removed, environment variables deprecated.
2013-06-01 18:01:19 +02:00
John Wiegley
0b2065f809 Merge pull request #190 from thdox/bug_855
Fix bug #855
2013-06-01 06:00:22 -07:00
thdox
079ed363dd Fix bug #855 2013-06-01 14:01:06 +02:00
John Wiegley
39841af0ce Bump version number, fix README files 2013-05-29 01:20:31 -05:00
Craig Earls
a2518fa2a1 Merge commit '900af573319c3787854abc5653c8133d37eb013f' 2013-05-23 21:11:59 -07:00
Craig Earls
5c462273d9 Resolve bug 957 update reconcile buffer when saving ledger buffer 2013-05-23 21:05:34 -07:00
John Wiegley
900af57331 Merge pull request #189 from Travis-Snoozy/master
Make acprep use "str.split" not "string.split"
2013-05-23 20:40:49 -07:00