Commit graph

5689 commits

Author SHA1 Message Date
Alexis Hildebrandt
e716980c7d Fix plain year directive
Only Y2014 or apply year 2014 would actually set the year for the
following transactions; year 2014 would silently do nothing.
2014-12-28 13:32:22 +01:00
John Wiegley
66ce4ac48f Merge pull request #355 from afh/pull/copyright
Update copyright
2014-12-27 18:12:12 -06:00
Alexis Hildebrandt
bb2b20b311 Use same license text formatting in source files 2014-12-27 11:38:36 +01:00
Alexis Hildebrandt
1dd9dcaab4 Bump copyright notice to 2015
The following script makes it a no-brainer:
% NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \
  | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
2014-12-27 11:24:55 +01:00
Johann Klähn
aea86b5a83 Merge pull request #353 from afh/pull/typo
Correct no-python error messages
2014-12-25 15:08:34 +01:00
Alexis Hildebrandt
a1a51f69f3 Correct no-python error messages
[ci skip]
2014-12-25 12:28:31 +01:00
John Wiegley
3ad8639856 Merge pull request #347 from afh/pull/gitignore
Ignore vim swap files
2014-12-24 19:17:39 -06:00
John Wiegley
d88cf687d3 Merge pull request #346 from afh/pull/trace_level
Fix crash when using --trace 10 or above
2014-12-24 19:17:33 -06:00
John Wiegley
30d58f6813 Merge pull request #349 from afh/pull/DocTests
[test] Use --args-only option in DocTests.py
2014-12-24 19:16:10 -06:00
John Wiegley
bbca3102c3 Merge pull request #352 from afh/pull/travis
[travis] Shorten Travis CI run times
2014-12-24 19:15:10 -06:00
Steve Purcell
fbdcff1d0d Merge pull request #351 from afh/pull/git-hook
[travis] Run Travis build when .travis.yml changed
2014-12-24 12:04:50 +00:00
Alexis Hildebrandt
7c70eaf95c [travis] Shorten Travis CI run times
by adding --jobs to utilize multiple cores and using boost ppa packages
instead of downloading the source and building boost from scratch.

This effectively cuts the time for a Travis CI run in half.
2014-12-24 12:07:23 +01:00
Alexis Hildebrandt
b800cfc418 [travis] Run Travis build when .travis.yml changed
- Change match pattern to include ^\.travis.yml
- Add executable file permissions for tools/prepare-commit-msg
[ci skip]
2014-12-24 11:00:05 +01:00
Alexis Hildebrandt
4f1a5b5770 [test] Use --args-only option in DocTests.py
instead of --init-file /dev/null
2014-12-24 10:08:43 +01:00
Alexis Hildebrandt
15e5e3cb0d Ignore vim swap files
[ci skip]
2014-12-24 10:00:31 +01:00
Alexis Hildebrandt
ac5fd3afd3 Set CMake policy CMP0042
to remove the warning below when running cmake.
In the long run changing the CMake rules to set MACOSX_RPATH
might be the better option.

  CMake Warning (dev):
    Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
    --help-policy CMP0042" for policy details.  Use the cmake_policy
    command to set the policy and suppress this warning.
    MACOSX_RPATH is not specified for the following targets:

     libledger

  This warning is for project developers.  Use -Wno-dev to suppress it.
2014-12-24 09:30:17 +01:00
Alexis Hildebrandt
f1478851ee Fix crash when using --trace 10 or above
uint8_t is typedef'd to char, thus boost::lexical_cast treats it
as such instead of a number.
2014-12-23 23:45:39 +01:00
John Wiegley
ca9eb815af Merge pull request #342 from afh/pull/readme
Add ledger formula to OS X install instructions
2014-12-22 19:04:35 -06:00
Martin Michlmayr
5b42031ec1 Merge pull request #344 from thdox/fix-doc
Fix doc
2014-12-22 08:44:56 -05:00
thdox
77b5d0aee0 Indented with Emacs: M-x fill-paragraph 2014-12-22 10:01:57 +01:00
thdox
9b76c22f44 Document that buffer names should use @file{} keyword 2014-12-22 10:01:57 +01:00
thdox
66265e76d5 M-x delete-trailing-whitespace 2014-12-22 10:01:57 +01:00
thdox
8ac3665cb9 Fixes:
- typo fixes
- @keywords consistency fixes
- add some @kindex and @cindex
- buffer names highlighted as @file{}
- menu item highlighted as @samp{}
2014-12-22 10:01:57 +01:00
thdox
c0a8ff7160 Fixes for consistency 2014-12-22 10:01:57 +01:00
thdox
0af31f6d6a pxref already contains "see" 2014-12-22 10:01:57 +01:00
thdox
20471cf74b query is a command 2014-12-22 10:01:57 +01:00
thdox
9651f78c37 Minor fix: double spaces 2014-12-22 10:01:57 +01:00
thdox
81ac9b27fd fix minor typo 2014-12-22 10:01:47 +01:00
Steve Purcell
b81a0d6b5e Merge pull request #343 from afh/pull/git-hook
Add git hook to skip continous integration
2014-12-21 19:59:13 +00:00
Alexis Hildebrandt
1b7bef8404 Add ledger formula to OS X install instructions
[ci skip]
2014-12-21 20:55:58 +01:00
Alexis Hildebrandt
1522a382e0 Add git hook to skip continous integration
if the commit is not related to code under test.
[ci skip]
2014-12-21 20:54:01 +01:00
Steve Purcell
5fea9c9b02 Merge pull request #341 from zt9/master
Added simple instructions for how to use brew to install ledger in OS X
2014-12-21 14:21:00 +00:00
zt
7d6d4e980c cleaning up formatting on instructions 2014-12-21 09:04:07 -05:00
zt
c2fef000ce added simple instructions for how to use brew to install brew 2014-12-21 09:03:12 -05:00
Steve Purcell
833f66d30e [emacs] Don't define unprefixed "string-empty-p" function 2014-12-18 12:56:31 +00:00
Craig Earls
b6cef4bc50 Merge branch 'master' of https://github.com/ledger/ledger 2014-12-16 20:30:12 -07:00
Craig Earls
af8767c9ab [emacs] Correct header in ledger-occur. No functional change. 2014-12-16 20:28:35 -07:00
John Wiegley
acec078200 Merge pull request #340 from afh/pull/730
Fix crash when using -M with empty result
2014-12-16 13:08:33 -06:00
Alexis Hildebrandt
0a0f2f0d69 Fix crash when using -M with empty result
ledger -f /dev/null reg -M test causes a segmentation fault,
see bug 730 and duplicates 1080 and 1084 for details.

Kudos to Ikke for helping with debugging.
2014-12-16 19:37:37 +01:00
Steve Purcell
5717a03e3b [emacs] Make ledger-occur-mode auto-disable when restored by desktop.el
The minor mode gets restored by desktop.el, and this has long caused
errors. While the ideal would be to restore the mode along with the
current narrowing regexp, this interim fix instead ensures that
ledger-occur-mode will disable itself if it finds no regexp set.
2014-12-16 08:41:53 +00:00
Steve Purcell
9ecf0cbadb Fix typo in docs 2014-12-15 18:43:32 +00:00
Craig Earls
c1a7281594 Fix ledger-schedule-upcoming so that is honor input file names. 2014-12-14 09:28:24 -07:00
Steve Purcell
d0e09f1d93 [emacs] Add a menu entry for turning off ledger-occur-mode 2014-12-13 20:31:51 +00:00
Steve Purcell
b810862bf1 [emacs] define-derived-mode calls set-syntax-table automatically 2014-12-13 17:20:52 +00:00
Steve Purcell
b0ab334ddf [emacs] Add syntax table so that ";" comments are handled
This allows things like goto-address-prog-mode to correctly
highlight URLs inside comments.
2014-12-13 17:15:44 +00:00
Martin Michlmayr
ad7c5ea764 Add test case for off by one error in textual.cc fixed in a013a73b 2014-12-11 16:41:20 -06:00
Martin Michlmayr
8fb7ea47f4 Merge pull request #339 from adrianlang/patch-1
Fix off by one error in textual.cc
2014-12-11 16:36:19 -06:00
Adrian Lang
a013a73b26 Fix off by one error in textual.cc
This fixes parsing of transactions with single-character payees and comments.
2014-12-11 21:57:25 +01:00
Steve Purcell
b960eec520 [emacs] Restore toggle behaviour of ledger-occur command, for menu users 2014-12-10 16:28:53 +00:00
Steve Purcell
78a2bb0823 Document changes to the narrowing functionality in ledger-occur 2014-12-10 16:24:16 +00:00