summaryrefslogtreecommitdiff
path: root/src/option.h
Commit message (Collapse)AuthorAgeFilesLines
* boost: Fix compilation warningsAlexis Hildebrandt2023-04-251-0/+2
| | | | Closes #2227
* Merge branch 'master' into pragma-onceAlexis Hildebrandt2023-04-111-1/+3
|\
| * Merge pull request #2228 from afh/api-documentationAlexis Hildebrandt2023-04-111-0/+2
| |\ | | | | | | Fix generation of API documentation and prepare for publishing on ledger-cli.org
| | * Update api docsAlexis Hildebrandt2023-04-101-0/+2
| | |
| * | Fix typoAlexis Hildebrandt2023-04-111-1/+1
| |/
* / Use #pragma onceAlexis Hildebrandt2023-04-101-4/+1
|/
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Change header guard names to use `INCLUDED_` prefixPhil Newton2022-04-061-3/+3
| | | | Fixes #2049
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* 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}/"
* Cosmetic change - format code consistentlyMartin Michlmayr2014-05-181-1/+1
| | | | | 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
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-1/+1
|
* Switch to using Boost.FormatJohn Wiegley2012-05-141-6/+6
|
* Made some code in option.h a bit saferJohn Wiegley2012-05-071-1/+1
|
* Always call TRACE_CTOR at the end of constructorsJohn Wiegley2012-03-201-1/+1
|
* Quieted several compiler warnings from ClangJohn Wiegley2012-03-111-3/+2
|
* Reworked the way that options are handledJohn Wiegley2012-03-091-37/+40
|
* Changed definition of the DECL1 macroJohn Wiegley2012-03-071-1/+1
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Cleanup whitespaceJohn Wiegley2011-08-181-1/+1
|
* Added CTOR_ macroJohn Wiegley2011-07-171-0/+2
|
* Completely reworked argument passing in expressionsJohn Wiegley2010-06-131-2/+2
|
* Untabified all source filesJohn Wiegley2010-06-111-54/+54
|
* Do not generate names with double underscoresJohn Wiegley2010-05-231-12/+12
| | | | Fixes 6A4AFDC2-DE87-48A5-A17D-B04120EE1F62
* Made the output from --options better lookingJohn Wiegley2010-05-221-4/+7
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Removed a bunch of empty commentsJohn Wiegley2009-11-081-4/+0
|
* Segregated symbols into 5 separate namespacesJohn Wiegley2009-11-041-24/+0
| | | | | | | | | | | | | | | | | | | | | 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)
* Added value_t::push_frontJohn Wiegley2009-11-041-0/+1
|
* Improved arg checking for several valexpr functionsJohn Wiegley2009-10-311-2/+13
|
* Setting --date-format in ~/.ledgerrc works againJohn Wiegley2009-10-291-1/+1
|
* Fixed many compiler warnings from g++ 4.4John Wiegley2009-10-251-5/+5
|
* Added debug code "option.names"John Wiegley2009-06-271-0/+1
| | | | Use "--debug option.names" to see all accepted (internal) option names.
* Added new debug option --optionsJohn Wiegley2009-06-021-12/+36
| | | | | This reports which options are in place before invoking a command, and where exactly each option value came from.
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-1/+3
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-7/+2
| | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install".
* Added a new --depth optionJohn Wiegley2009-02-251-1/+1
|
* --exchange option now accepts multiple commoditiesJohn Wiegley2009-02-221-1/+1
| | | | They must be separated by a comma, and all whitespace is ignored.
* The sequence -M -p 2004 now equals -p 2004 -MJohn Wiegley2009-02-191-10/+5
|
* If an option has been handled, return its valueJohn Wiegley2009-02-191-1/+1
|
* Report better errors if options are missing argsJohn Wiegley2009-02-161-5/+15
|
* Accept --first/--last as synonyms for --head/--tailJohn Wiegley2009-02-161-0/+4
|
* Fixed several unused value and param warningsJohn Wiegley2009-02-161-1/+1
|
* Normalized handling of several report optionsJohn Wiegley2009-02-151-0/+1
|
* If an option was given no value, throw an errorJohn Wiegley2009-02-141-1/+2
| | | | The previous behavior was to trigger a confusing assertion.