Commit graph

4510 commits

Author SHA1 Message Date
Craig Earls
7c618e541d Added menu and keybinding for ledger-post-edit-amount
editing the amount with calc is too cool for school.  I can't believe I didn't see it before.
It is in the docs now as well.
2013-02-01 22:34:28 -07:00
Craig Earls
c875de881a Fixed key-binges
The fancy lambdas detecting whether or not the command could be run weren't passing interactive
arguments
2013-02-01 21:59:51 -07:00
Craig Earls
37ea7f9b1f Updated developer section 2013-02-01 21:28:36 -07:00
Craig Earls
0f3fef427f Merge pull request #145 from enderw88/next
Check for ledger executable and version
2013-02-01 15:17:33 -08:00
Craig Earls
36e77bd357 Check for ledger executable and version
Altered menu creation so that menu functions are disable if there is no ledger executable available
command keys will also warn if ledger isn't working

remove a debug message from leg-sort
2013-02-01 16:15:51 -07:00
Craig Earls
fdb9d0c2ca Merge pull request #144 from enderw88/next
Add regional sort facility to ledger mode
2013-02-01 10:41:35 -08:00
Craig Earls
edd82b2639 Add custom faces to the reconciler 2013-02-01 11:39:48 -07:00
Craig Earls
0675208a63 Add regional sort facility to ledger mode
C-c C-s now bound to ledger-sort-region.  ledger-sort-region is smart and
find the beginning of the first xact within the region and the beginning of
the first xact AFTER the region so that it can keep posing structure intact
2013-02-01 10:19:47 -07:00
Craig Earls
844b614af7 Merge branch 'next' into ledger-mode-sort-region 2013-02-01 09:03:48 -07:00
Craig Earls
6718b68999 Merge pull request #143 from enderw88/ledger-mode-font-lock-improvements
Ledger mode font lock improvements
2013-01-31 21:18:52 -08:00
Craig Earls
7cb3b09986 Customizable font-locking
Moved font code into separate file.  created faces that can be customized in
using the emacs customizations menu group ledger-faces
2013-01-31 22:15:10 -07:00
Craig Earls
5c91124955 WIP. ledger-sort-region still drops the first transaction in the region. 2013-01-31 15:13:00 -07:00
Craig Earls
f853510f03 Merge commit '9e9d99e9187093b459525e3fd7e654d57000c3c4' into kitchen-sink 2013-01-31 07:26:23 -07:00
John Wiegley
9e9d99e918 Removed an unnecessary if. Fixes #140 2013-01-31 04:56:12 -06:00
Craig Earls
6c6e33427f Merge branch 'next' into kitchen-sink 2013-01-30 21:53:00 -07:00
Craig Earls
ce169b3b48 Merge pull request #142 from enderw88/ledger-reconcile-new-account
Add ability to reconcile new account without switching recon buffers
2013-01-30 20:51:30 -08:00
Craig Earls
0e16ce75f0 Add ability to reconcile new account without switching recon buffers
Show cleared balance on command
Update documentation
2013-01-30 21:50:23 -07:00
Craig Earls
4b4158377b Merge branch 'next' into kitchen-sink 2013-01-30 20:25:46 -07:00
Craig Earls
d9b1258c34 Merge pull request #140 from enderw88/Bug634-floor-ceil-round
Bug 634 Added roundto function, optimized floor and ceiling
2013-01-30 18:56:00 -08:00
Craig Earls
2aae7377cd Merge branch 'fix-garbage-test-25A099C9' into kitchen-sink 2013-01-30 16:51:22 -07:00
Craig Earls
0e0f9973c7 Merge branch 'next' into kitchen-sink 2013-01-30 16:45:50 -07:00
Craig Earls
19eb2cab1b Divorces 25A099C9 from the actual amount.h source file
This test appears to test the garbage input handling on ledger.
garbage-input.dat has been added to the test directory for use by this
test, allowing development with amount.h to proceed without tripping
this particular test inappropriately
2013-01-30 16:43:47 -07:00
John Wiegley
b21ee1de17 Merge branch 'next' of github.com:ledger/ledger into next 2013-01-30 17:01:00 -06:00
John Wiegley
ccca974dad Use -O3 with Clang instead of -O4 2013-01-30 17:00:22 -06:00
John Wiegley
2b245f823b Added missing call to timelog.close() 2013-01-30 17:00:07 -06:00
John Wiegley
7e0666b013 build.sh now installs into Homebrew's Cellar 2013-01-30 16:59:55 -06:00
John Wiegley
be7af24250 Upgrade to Boost 1.52 2013-01-30 16:59:42 -06:00
Craig Earls
aeac4fe252 Merge branch 'Bug634-floor-ceil-round' into kitchen-sink 2013-01-30 15:51:23 -07:00
Craig Earls
b334be6d38 Merge branch 'next' into kitchen-sink 2013-01-30 15:50:54 -07:00
Johann Klähn
20217e7c9c fix --no-python option
This would fail with `ValueError: list.remove(x): x not in list`.
2013-01-30 23:38:11 +01:00
Johann Klähn
9e3652dd4f acprep: pass options starting with -D to CMake 2013-01-30 23:37:29 +01:00
Craig Earls
0df1366168 Bug 634 Added roundto function, optimized floor and ceiling
Fixes Bug634 by adding roundto(amount, places).
2013-01-30 15:35:31 -07:00
Johann Klähn
5ee03de0ad fix option handling in acprep
Both the `--local` option and the default to build local if no build
directory exists did not work, because `build_directory()` uses
`self.options.build_dir`, but the default and the `--local` option used
`self.build_dir`.
I changed the code to always use `self.options` for options/flags.
Now `self.options` is set to the default values of OptParser and is
updated when `parse_args` is called in `run`.

After this commit ledger will be built in:
  * The directory specified using `--output=`
  * Else in a subdirectory of `./build` or `~/Products` if one of those
    directories exist and `--local` is not used.
  * Else inside the source tree (default).
2013-01-30 23:07:17 +01:00
Craig Earls
45ebed0fd5 Merge pull request #139 from enderw88/ledger-mode-reports-patch-reports-defun
Removed call to ledger-reports-patch-reports
2013-01-30 12:32:56 -08:00
Craig Earls
31f2341e2f Merge branch 'ledger-mode-reports-patch-reports-defun' into kitchen-sink 2013-01-30 13:28:33 -07:00
Craig Earls
97550db9bd Removed call to ledger-reports-patch-reports
This function was never defined and appeared to nothing.  I caused errors
on some system by not existing.
2013-01-30 13:27:51 -07:00
Johann Klähn
383c341d88 fix CMake variable expansion for man2html 2013-01-29 23:31:39 +01:00
Craig Earls
a6efa52490 Merge branch 'next' into kitchen-sink 2013-01-29 14:33:51 -07:00
John Wiegley
2c7ab8be39 Merge pull request #138 from enderw88/ledger-mode-licensing-and-comments
Added GPL licensing information to lisp files
2013-01-29 13:26:08 -08:00
Craig Earls
e032bb1c31 Merge branch 'default-pricedb-bug' into kitchen-sink 2013-01-29 14:15:25 -07:00
John Wiegley
b14573fdb4 Merge pull request #137 from enderw88/default-pricedb-bug
Fixed problem finding the default priced file.
2013-01-29 13:15:16 -08:00
Craig Earls
60e519088a Merge branch 'ledger-mode-licensing-and-comments' into kitchen-sink 2013-01-29 14:15:05 -07:00
Craig Earls
1903ff7c2e Fixed problem finding the default priced file.
Bug fix to detect badly specified priced files on the command line didn't handle the default correctly.
2013-01-29 14:10:08 -07:00
Craig Earls
eff1472337 Added GPL licensing information to lisp files 2013-01-29 13:57:22 -07:00
Craig Earls
870c62bf14 Merge commit 'c235b59a68d04ff22a16d317e4d67b69e570a1e4' into kitchen-sink 2013-01-29 13:45:44 -07:00
Craig Earls
c235b59a68 Merge branch 'documentation-work' into next 2013-01-29 13:26:47 -07:00
Craig Earls
2ecb03878f Documented the tags command.
Documented that the account and commodities command now sort.
2013-01-29 13:26:31 -07:00
Craig Earls
153b9c53cd Merge branch 'documentation-work' into next 2013-01-29 13:15:50 -07:00
Craig Earls
b9dbf54d9a Improved emacs section. Now documents all behavior. 2013-01-29 13:13:30 -07:00
John Wiegley
e1da55d1af Merge pull request #90 from rladams/next
Next
2013-01-29 12:04:40 -08:00