summaryrefslogtreecommitdiff
path: root/src/global.cc
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Add support for `$XDG_CONFIG_HOME`Cédric Barreteau2020-08-281-5/+16
| | | | | `$XDG_CONFIG_HOME/ledger/ledgerrc` and `$HOME/.config/ledger/ledgerrc` are tried first when looking for an init file.
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* src/global.cc: do not parse user-specified init-file twiceIvy Foster2017-10-261-3/+1
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* Fix build under Cygwin.Ivan Vanyushkin2016-09-291-1/+1
|
* Fix build under msys32; add Appveyor continuous buildEvan Mallory2016-09-171-1/+1
| | | | | | | | | | | | * Appveyor is a continuous integration platform for Windows that is free for open source projects. See latest test build here: https://ci.appveyor.com/project/Evan/ledger/build/artifacts * Changed WIN32 to _WIN32 because this article http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system claims that it is defined by the greatest number of compilers. * Modified HAVE_ISATTY and other system defines so that system.hh compiles when cmake fails to find the relevant function. * Add missing include in test/unit/t_value.cc Almost all tests fail when you run them on msys32. I will address that in a future PR.
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Use ./.ledgerrc if ~/.ledgerrc doesn't existDavid Sklar2015-04-271-4/+7
|
* [ledger] Remove --full-help optionAlexis Hildebrandt2015-02-181-3/+0
| | | | since it is the same as --help.
* Fix typoAlexis Hildebrandt2015-01-151-1/+1
|
* Fix -i short-option for --init-fileAlexis Hildebrandt2015-01-151-1/+1
| | | | | | Bugfix for #1102 Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
* [doc] Add CheckTests to ctestAlexis Hildebrandt2015-01-151-3/+0
| | | | | | | to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
* 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}/"
* Fix crash when using --trace 10 or aboveAlexis Hildebrandt2014-12-231-1/+1
| | | | | uint8_t is typedef'd to char, thus boost::lexical_cast treats it as such instead of a number.
* minor spelling fixesCarlos E. Garcia2014-09-151-1/+1
|
* Cosmetic change - format code consistentlyMartin Michlmayr2014-05-181-2/+2
| | | | | Add a space between if and the opening bracket, between a closing round bracket and the following opening curly bracket, etc.
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Improve documentation about differences between ledger 2.6 and ledger 3.0.thdox2013-06-011-3/+5
| | | | GnuCash support removed, environment variables deprecated.
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Fixes bugs 705 and 862. Ledger now fails if init or pricedb files are ↵Craig Earls2013-01-291-16/+37
| | | | specified on the command line but not found.
* whitespace cleanupJohann Klähn2013-01-161-2/+2
|
* Fixes Bug 695, ledger ignores --init-fileCraig Earls2012-10-251-0/+7
| | | | | | Handle --init-file as a special command option like the debug options. That wway we can have the argument captured before teh global scope is created.
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-10/+10
|
* Switch to using Boost.FormatJohn Wiegley2012-05-141-3/+3
|
* Always call TRACE_CTOR at the end of constructorsJohn Wiegley2012-03-201-2/+2
|
* Added --verify-memory and missing TRACE_[CD]TOR callsJohn Wiegley2012-03-181-6/+15
|
* Corrected a typoJohn Wiegley2012-03-111-1/+1
|
* Many options now have additive effectJohn Wiegley2012-03-071-0/+1
| | | | | | | | | For example, -A and -V used to override each other, whereas now: -A report the average amount -V report all amounts at current value -AV report the current value of the average -VA report the average of all current values
* Refactored the notion of "the current parsing context"John Wiegley2012-03-011-2/+5
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Chain the current report to the current sessionJohn Wiegley2012-02-271-1/+1
|
* Changes for building with Visual Studio 2008John Wiegley2010-06-151-1/+3
|
* Revised how Ledger handles the "current year"John Wiegley2010-06-141-0/+2
| | | | | Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year.
* Untabified all source filesJohn Wiegley2010-06-111-37/+37
|
* Allow opt -NDEBUG build to complete without warningsJohn Wiegley2010-06-041-0/+2
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Moved report normalization into report.ccJohn Wiegley2009-11-121-173/+1
|
* Redesigned the expr_t, predicate_t, query_t classesJohn Wiegley2009-11-091-9/+9
|
* Fixed -r flag for balance reportsJohn Wiegley2009-11-071-8/+0
|
* Column widths are always calculated nowJohn Wiegley2009-11-071-0/+2
|
* Changed dividers output by --optionsJohn Wiegley2009-11-061-2/+2
|
* Moved journal reading code into journal_tJohn Wiegley2009-11-051-1/+2
|
* Segregated symbols into 5 separate namespacesJohn Wiegley2009-11-041-20/+24
| | | | | | | | | | | | | | | | | | | | | The different namespaces are: Function Value expression functions, which receive a "context" Option Command-line options Precommand Commands which are invoked before reading the journal Command Commands which are invoked after reading the journal Directive Directives that occur at column 0 in a data file This greatly eases the ability for Python uses to add intercept hooks to change how the basic Ledger module functions. An example of what should be possible soon: import ledger def my_foo_handler(value): print "--foo received:", value ledger.add_handler(ledger.Option, "foo=", my_foo_handler)
* Removed most #if 0 blocks and callout commentsJohn Wiegley2009-10-311-4/+0
|
* Added two missing castsJohn Wiegley2009-10-311-1/+2
|
* Moved ownership of master account into journal_tJohn Wiegley2009-10-301-5/+6
| | | | The journal_t now completely represents the data part of a session.
* Setting --date-format in ~/.ledgerrc works againJohn Wiegley2009-10-291-7/+15
|
* If isatty is available, no colors/pager for non-ttysJohn Wiegley2009-10-291-1/+7
|