summaryrefslogtreecommitdiff
path: root/src/select.cc
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | 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}/"
* make --columns default to terminal width, as returned by ioctl()Stefano Zacchiroli2014-10-131-0/+7
| | | | | | | | | | | If set, the COLUMNS environment variable will take precedence over terminal width. However, please note that COLUMNS is usually *not* exported by shells to child processes, so in most cases COLUMNS will be undefined for ledger---hence the motivation for this change. Terminal width is queried using ioctl() on stdin. For the sake of portability the querying is done only on platform where ioctl() is detected as supported at compile-time.
* Fix query string for select accountMartin Michlmayr2014-05-301-4/+4
| | | | | | | A wrong query string was generated by "select account": one ansify_if() too much was listed and justify() was called with the wrong parameters. Bug fix for #744
* Move the debug statement to where it makes more senseMartin Michlmayr2014-05-301-2/+1
| | | | | | It's possible to just say "select account" without a "from", so put the debug statement at the end of the block where the variable "formatter" is filled with the query string.
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-8/+0
|
* Added a "json" report commandJohn Wiegley2012-05-181-0/+2
|
* Add experimental support for select queriesJohn Wiegley2012-03-131-0/+441