summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] Fontification should work independentily on where the point currently isKonstantin Nazarov2015-01-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a subtle bug that happens only when org-src-fontify-natively is enabled: (setq org-src-fontify-natively t) If then you create a Babel block with ledger text, it won't be fontified. This happens because the 'ledger-fontify-buffer-part' starts fontification from the current 'point', which in case of org-src-font-lock-fontify-block happens to _not_ point to the beginning of buffer. Instead it points to the original org-mode buffer. This doesn't happen when one opens regular files, because the 'point' is almost always at the beginning of the file. To reproduce the bug, you can do the following: (defun fontify-test() (let ((lang-mode 'ledger-mode) pos next) (with-current-buffer (get-buffer-create "ledger-fontification-bug") (unless (eq major-mode lang-mode) (funcall lang-mode)) (erase-buffer) (insert "2015/01/09 asdf\n foo\n bar\n" " ") (font-lock-fontify-buffer) (switch-to-buffer "ledger-fontification-bug") ))) Call 'fontify-test' and see that the buffer is not fontified. [ci skip]
* Merge pull request #364 from jostber/jb-docfixMartin Michlmayr2015-01-085-7/+7
|\ | | | | Small doc typo fixes
| * Small doc typo fixesJostein Berntsen2015-01-095-7/+7
|/
* use the same python version for lib and interpreterJohann Klähn2015-01-061-1/+1
| | | | | | 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!
* [doc] Minor typographical and error correctionsAlexis Hildebrandt2015-01-051-3/+3
| | | | [ci skip]
* [doc] Bump Ledger version to 3.1Alexis Hildebrandt2015-01-051-1/+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]
* [doc] Update explanation for validating doc examplesAlexis Hildebrandt2015-01-051-5/+4
|
* [doc] Bump copyright notice to 2015Alexis Hildebrandt2015-01-051-1/+1
| | | | [ci skip]
* [doc] Add whitespace to separate debug optionsAlexis Hildebrandt2015-01-051-0/+2
| | | | | | better from one another in the item list [ci skip]
* [doc] Update list of debug codesAlexis Hildebrandt2015-01-051-24/+25
| | | | | | | using ag --nogroup '^[ ]*debug\(' | cut -d '"' -f2 | sort -u | column [ci skip]
* [travis] Fix .travis.ymlAlexis Hildebrandt2015-01-051-2/+7
|
* Merge pull request #363 from ↵Craig Earls2015-01-041-0/+8
|\ | | | | | | | | | | | | lowdef/ledger-mode-bug-1089-auto-refresh-sticky-cursor ledger-mode bug 1089 introduce sticky cursor for report auto refresh Thanks.
| * ledger-mode bug 1089 introduce sticky cursor for report auto refreshHans Erik van Elburg2015-01-041-0/+8
| |
* | Merge pull request #362 from lowdef/cleanup_after_pulreq360and361John Wiegley2015-01-042-18/+9
|\ \ | |/ |/| cygwin build: cleanup after overlapping pull requests 360 & 361 + make changes minimalistic
| * merge double fix + make changes minimalisticHans Erik van Elburg2015-01-042-18/+9
|/
* Merge pull request #361 from lowdef/cygwin-buildJohn Wiegley2015-01-043-4/+24
|\ | | | | automating ledger build on Cygwin
| * remove unnecessary if artifactHans Erik van Elburg2015-01-041-3/+0
| |
| * remove reference to urlHans Erik van Elburg2015-01-041-1/+1
| |
| * also added cygwin tweak to src/CMakeLists.txtHans Erik van Elburg2015-01-032-3/+19
| |
| * initial cygwin tweaksHans Erik van Elburg2015-01-032-1/+8
| |
* | Merge pull request #360 from jmgpena/BUG-985-Fix-Cygwin-Compilation-IssueJohn Wiegley2015-01-041-0/+4
|\ \ | | | | | | Fix for BUG 985
| * | Fix for BUG 985jmgpena2015-01-031-0/+4
|/ / | | | | | | | | | | | | | | 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'.
* | Configure IRC notificationsJohn Wiegley2015-01-021-0/+2
| |
* | Remove boost fixup from default.nixJohn Wiegley2015-01-021-5/+0
|/
* [emacs] maintain the report order after auto-refresh.Craig Earls2015-01-021-3/+12
|
* Merge commit '8e79b3c7c74081b63f9d8b1e0ec97478f61d4ba8'Craig Earls2014-12-30161-413/+579
|\
| * Merge pull request #345 from afh/pull/cmake_warningJohn Wiegley2014-12-301-0/+4
| |\ | | | | | | Set CMake policy CMP0042
| | * Set CMake policy CMP0042Alexis Hildebrandt2014-12-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge pull request #358 from afh/pull/DocTestsJohn Wiegley2014-12-301-2/+15
| |\ \ | | | | | | | | [tests] Add examples parameter to DocTests
| | * | [tests] Add examples parameter to DocTestsAlexis Hildebrandt2014-12-301-2/+15
| | | | | | | | | | | | to test the given examples only instead of every example.
| * | | Merge pull request #356 from afh/pull/1038John Wiegley2014-12-294-9/+82
| |\ \ \ | | |/ / | |/| | Fix bug 1038; Improve error handling when parsing year directives
| | * | Bugfix 1038: empty reg report for this month periodAlexis Hildebrandt2014-12-294-0/+61
| | | | | | | | | | | | | | | | | | | | when year was specified with literal Y or year directive, but not when using apply year.
| | * | Improve error handling when parsing year directivesAlexis Hildebrandt2014-12-281-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Fix plain year directiveAlexis Hildebrandt2014-12-281-0/+7
| |/ / | | | | | | | | | Only Y2014 or apply year 2014 would actually set the year for the following transactions; year 2014 would silently do nothing.
| * | Merge pull request #355 from afh/pull/copyrightJohn Wiegley2014-12-27149-155/+155
| |\ \ | | | | | | | | Update copyright
| | * | Use same license text formatting in source filesAlexis Hildebrandt2014-12-273-6/+6
| | | |
| | * | Bump copyright notice to 2015Alexis Hildebrandt2014-12-27149-149/+149
| |/ / | | | | | | | | | | | | | | | 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}/"
| * | Merge pull request #353 from afh/pull/typoJohann Klähn2014-12-251-2/+2
| |\ \ | | | | | | | | Correct no-python error messages
| | * | Correct no-python error messagesAlexis Hildebrandt2014-12-251-2/+2
| |/ / | | | | | | | | | [ci skip]
| * | Merge pull request #347 from afh/pull/gitignoreJohn Wiegley2014-12-241-0/+1
| |\ \ | | | | | | | | Ignore vim swap files
| | * | Ignore vim swap filesAlexis Hildebrandt2014-12-241-0/+1
| | | | | | | | | | | | | | | | [ci skip]
| * | | Merge pull request #346 from afh/pull/trace_levelJohn Wiegley2014-12-244-3/+18
| |\ \ \ | | | | | | | | | | Fix crash when using --trace 10 or above
| | * | | Fix crash when using --trace 10 or aboveAlexis Hildebrandt2014-12-234-3/+18
| | | |/ | | |/| | | | | | | | | | | | | uint8_t is typedef'd to char, thus boost::lexical_cast treats it as such instead of a number.
| * | | Merge pull request #349 from afh/pull/DocTestsJohn Wiegley2014-12-241-1/+1
| |\ \ \ | | | | | | | | | | [test] Use --args-only option in DocTests.py
| | * | | [test] Use --args-only option in DocTests.pyAlexis Hildebrandt2014-12-241-1/+1
| | | |/ | | |/| | | | | | | | | instead of --init-file /dev/null
| * | | Merge pull request #352 from afh/pull/travisJohn Wiegley2014-12-241-18/+8
| |\ \ \ | | | | | | | | | | [travis] Shorten Travis CI run times
| | * | | [travis] Shorten Travis CI run timesAlexis Hildebrandt2014-12-241-18/+8
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Merge pull request #351 from afh/pull/git-hookSteve Purcell2014-12-241-1/+1
| |\ \ \ | | |/ / | |/| | [travis] Run Travis build when .travis.yml changed
| | * | [travis] Run Travis build when .travis.yml changedAlexis Hildebrandt2014-12-241-1/+1
| |/ / | | | | | | | | | | | | | | | - Change match pattern to include ^\.travis.yml - Add executable file permissions for tools/prepare-commit-msg [ci skip]
| * | Merge pull request #342 from afh/pull/readmeJohn Wiegley2014-12-221-1/+1
| |\ \ | | |/ | |/| Add ledger formula to OS X install instructions