Commit graph

5037 commits

Author SHA1 Message Date
John Wiegley
36ea8a4fba Merge pull request #211 from mneilsen/master
Update ledger-mode's "Quick Installation" docs
2013-09-23 03:50:52 -07:00
Simon Michael
2b0aa798f1 delete obsolete ledger.texi. Down with cruft! 2013-09-21 12:02:47 -07:00
Mike Neilsen
5bd97a9dbd Update ledger-mode's "Quick Installation" docs
* Change quote character to '
* Fix indentation
* Load "ledger-mode" rather than "ldg-new"
2013-09-21 09:54:49 -05:00
John Wiegley
d30c3fb869 Guard against a possible null value 2013-09-20 00:54:43 -05:00
John Wiegley
8048581ac8 Merge pull request #210 from OpenTechStrategies/fix-build-instructions
Remove some obsolete material from the build instructions.
2013-09-19 00:47:58 -07:00
Karl Fogel
854adb4f3a Remove some obsolete material from the build instructions.
It no longer works to create the "build" directory and then build
separate optimized and debug versions.  As confirmed in IRC with sm
and egh, the former instructions resulted in an error:

  $ mkdir build
  $ ./acprep opt make
  make: *** No targets specified and no makefile found.  Stop.
  acprep: ERROR: Execution failed: make
  $ ./acprep debug make
  make: *** No targets specified and no makefile found.  Stop.
  acprep: ERROR: Execution failed: make

Maybe there's a fix for this, but I don't know what it is, so this
commit just makes the build instructions work for the common case.
2013-09-18 16:51:04 -05:00
Craig Earls
0f17bc11c2 Merge pull request #208 from vkurup/master
ledger-copy-transaction-at-point: leave point in better place for editing
2013-09-08 11:08:10 -07:00
Vinod Kurup
7704018968 Find first numeral or minus sign, instead of blind move 2013-09-08 13:57:09 -04:00
John Wiegley
2428732a02 Merge pull request #209 from wcravens/fix_block_comment_instructions_chapt_4
Remove reference to depricated ! operator in Chapt 4
2013-09-08 02:27:47 -07:00
Wes Cravens
2bf852be94 Remove reference to depricated ! operator in Chapt 4 2013-09-08 04:16:47 -05:00
Craig Earls
9a142ca656 Corrected discrepancies between documentation and drewr3.dat regarding apply and bucket 2013-09-07 10:17:46 -07:00
Vinod Kurup
816f4405b0 Move past the commodity sign 2013-09-07 06:56:22 -04:00
John Wiegley
bba851b830 Merge pull request #207 from afh/pull/989
Apply --time-colon option only to time commodities
2013-09-07 02:22:10 -07:00
Alexis Hildebrandt
30b6acb0b0 Apply --time-colon option only to time commodities
See #989
2013-09-07 09:38:13 +02:00
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