Commit graph

5672 commits

Author SHA1 Message Date
Alexis Hildebrandt
99703ab317 [travis] Parallelize tests 2015-01-06 22:28:31 +01:00
Alexis Hildebrandt
a875aa9a3d [traivs] Fix syntax errors 2015-01-06 21:35:51 +01:00
Alexis Hildebrandt
e82d2746f4 [travis] Fix typo in .travis.yml 2015-01-06 21:27:10 +01:00
Alexis Hildebrandt
597cca27bc [travis] Re-enable clang builds
Switch to single job builds
2015-01-06 21:21:56 +01:00
Johann Klähn
f2b61846d1 use the same python version for lib and interpreter
Currently the path to install the python library in is determined by
running the python interpreter.  We do not want to end up installing a
library built for python2 in the python3 library path!
2015-01-06 10:03:03 +01:00
Alexis Hildebrandt
ca8eded48e [doc] Minor typographical and error corrections
[ci skip]
2015-01-05 14:14:25 +01:00
Alexis Hildebrandt
8946454b61 [doc] Bump Ledger version to 3.1
It would be great to use texinfo variables to set the current Ledger
version, e.g. @value{Ledger_VERSION_MAJOR} and pass the CMake variables
to texi2pdf via --command='@set Ledger_VERSION_MAJOR ${Ledger_VERSION_MAJOR}'.

Unfortunately texi2pdf will err with:
Argument of @parseargline has an extra }.
<inserted text> 
                @par 
<to be read again> 
                   }
@\subtitle ...epage {@subtitlefont @rightline {#1}
                                                  }
l.153 @subtitle For Version @value{Ledger_VERSION_MAJOR} of Ledger


[ci skip]
2015-01-05 14:13:38 +01:00
Alexis Hildebrandt
0669ca9b40 [doc] Update explanation for validating doc examples 2015-01-05 14:13:37 +01:00
Alexis Hildebrandt
6bd2c0e3f6 [doc] Bump copyright notice to 2015
[ci skip]
2015-01-05 14:13:37 +01:00
Alexis Hildebrandt
bf4dc7c8f4 [doc] Add whitespace to separate debug options
better from one another in the item list

[ci skip]
2015-01-05 14:13:37 +01:00
Alexis Hildebrandt
642ca8d9d6 [doc] Update list of debug codes
using ag --nogroup '^[        ]*debug\(' | cut -d '"' -f2 | sort -u | column

[ci skip]
2015-01-05 14:13:37 +01:00
Alexis Hildebrandt
a49b6f3267 [travis] Fix .travis.yml 2015-01-05 11:46:14 +01:00
Craig Earls
36ab11ae82 Merge pull request #363 from lowdef/ledger-mode-bug-1089-auto-refresh-sticky-cursor
ledger-mode bug 1089 introduce sticky cursor for report auto refresh

Thanks.
2015-01-04 19:58:29 -07:00
Hans Erik van Elburg
5ff724c451 ledger-mode bug 1089 introduce sticky cursor for report auto refresh 2015-01-04 22:46:26 +01:00
John Wiegley
e2631ca36c Merge pull request #362 from lowdef/cleanup_after_pulreq360and361
cygwin build: cleanup after overlapping pull requests 360 & 361 + make changes minimalistic
2015-01-04 11:12:54 -06:00
Hans Erik van Elburg
98f67600a8 merge double fix + make changes minimalistic 2015-01-04 13:57:31 +01:00
John Wiegley
599af4642c Merge pull request #361 from lowdef/cygwin-build
automating ledger build on Cygwin
2015-01-04 00:23:53 -06:00
John Wiegley
d6f194058f Merge pull request #360 from jmgpena/BUG-985-Fix-Cygwin-Compilation-Issue
Fix for BUG 985
2015-01-04 00:23:37 -06:00
Hans Erik van Elburg
ea397d205c remove unnecessary if artifact 2015-01-04 00:10:55 +01:00
Hans Erik van Elburg
6644d3c641 remove reference to url 2015-01-04 00:02:49 +01:00
Hans Erik van Elburg
93c55c5ec6 also added cygwin tweak to src/CMakeLists.txt 2015-01-03 23:35:39 +01:00
jmgpena
0a43c7df42 Fix for BUG 985
http://bugs.ledger-cli.org/show_bug.cgi?id=985

Fix compilation issue on Cygwin by adding the '-U__STRICT_ANSI__' flag
to GCC. This avoids GCC disabling some stdlib functions like 'setenv'
and 'popen'.
2015-01-03 18:10:00 +00:00
Hans Erik van Elburg
617be983b9 initial cygwin tweaks 2015-01-03 02:27:27 +01:00
John Wiegley
a31ff14916 Configure IRC notifications 2015-01-02 16:34:18 -06:00
John Wiegley
844e043047 Remove boost fixup from default.nix 2015-01-02 16:34:18 -06:00
Craig Earls
2c277112b6 [emacs] maintain the report order after auto-refresh. 2015-01-02 13:07:55 -07:00
Craig Earls
7cd3a7fc9d Merge commit '8e79b3c7c74081b63f9d8b1e0ec97478f61d4ba8' 2014-12-30 20:48:52 -08:00
John Wiegley
8e79b3c7c7 Merge pull request #345 from afh/pull/cmake_warning
Set CMake policy CMP0042
2014-12-30 12:49:00 -06:00
John Wiegley
d4346ae6d8 Merge pull request #358 from afh/pull/DocTests
[tests] Add examples parameter to DocTests
2014-12-30 10:37:06 -06:00
Alexis Hildebrandt
abf41d727a [tests] Add examples parameter to DocTests
to test the given examples only instead of every example.
2014-12-30 11:15:23 +01:00
John Wiegley
dafb99df0d Merge pull request #356 from afh/pull/1038
Fix bug 1038; Improve error handling when parsing year directives
2014-12-29 16:55:50 -06:00
Alexis Hildebrandt
ba35340ca9 Bugfix 1038: empty reg report for this month period
when year was specified with literal Y or year directive, but not
when using apply year.
2014-12-29 11:08:10 +01:00
Alexis Hildebrandt
0462c887ae Improve error handling when parsing year directives
A literal Y directive or ‘year’ directive with an empty or invalid 
argument, e.g. ‘2o14’ (that is a small letter ‘oh’ instead of a zero)
would fail with the following rather unhelpful error message:
Error: bad lexical cast: source type value could not be interpreted as target
2014-12-28 13:42:02 +01:00
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