summaryrefslogtreecommitdiff
path: root/src/global.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Colorization at the terminal now on by defaultJohn Wiegley2009-10-281-0/+3
|
* Whitespace changeJohn Wiegley2009-10-271-4/+2
|
* Added --actual-dates, for overriding --effectiveJohn Wiegley2009-10-271-1/+3
| | | | | This is so that if someone has --effective in their .ledgerrc, they can force the use of actual dates.
* Rewrote the way date and time I/O is managedJohn Wiegley2009-10-251-2/+4
|
* The print command now implies --actualJohn Wiegley2009-06-281-0/+3
|
* Disable use of ~/.pricedb when --args-only is presentJohn Wiegley2009-06-281-0/+2
|
* The --download option is now fully restoredJohn Wiegley2009-06-261-2/+2
|
* More refactoring for --downloadJohn Wiegley2009-06-241-4/+4
|
* Split commodity.h/cc into three filesJohn Wiegley2009-06-241-7/+7
| | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management
* Restored --download, although not done yetJohn Wiegley2009-06-241-1/+12
| | | | | | The problem at this point is that it's recording prices in the price database multiple times; it should only need to download a price for each commodity once per day.
* Fixed the --args-only option (sequence problem)John Wiegley2009-06-221-2/+7
|
* Added a code commentJohn Wiegley2009-06-181-0/+3
|
* The -X option now accepts price settingsJohn Wiegley2009-06-181-0/+8
| | | | | | | For example, if you had 100 AU (onces of gold) and wanted to report it in dollars, but at a price of $997 per ounce, you could now easily say: ledger bal -X '$,AU=$997'
* Restored --plot-amount-format, --plot-total-formatJohn Wiegley2009-06-181-6/+16
|
* Allow --period flag to specify a report rangeJohn Wiegley2009-06-171-3/+26
|
* Added new debug option --optionsJohn Wiegley2009-06-021-24/+57
| | | | | This reports which options are in place before invoking a command, and where exactly each option value came from.
* Rewrote the date interval parser/stepperJohn Wiegley2009-03-231-2/+5
| | | | | The new implementation uses boost::gregorian::date_duration objects, rather than manually stepping.
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|