summaryrefslogtreecommitdiff
path: root/src/global.h
Commit message (Collapse)AuthorAgeFilesLines
* doc: Generate Ledger Python module documentationAlexis Hildebrandt2023-04-251-1/+1
| | | | using pydoc when building web docs.
* Introduce ledger.hhAlexis Hildebrandt2023-04-161-0/+1
|
* Use #pragma onceAlexis Hildebrandt2023-04-101-4/+1
|
* Add info about compile features to --versionAlexis Hildebrandt2023-02-141-0/+9
|
* Update copyright yearAlexis Hildebrandt2023-02-021-2/+2
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-2/+2
|
* Change header guard names to use `INCLUDED_` prefixPhil Newton2022-04-061-3/+3
| | | | Fixes #2049
* Update copyright statement for 2019Martin Michlmayr2019-01-301-2/+2
|
* Merge remote-tracking branch 'origin/master' into nextJohn Wiegley2018-07-191-1/+1
|\
| * Ensure that parse errors produce useful RuntimeErrors for Python code.Manuel Amador (Rudd-O)2016-02-061-1/+1
| |
* | [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-2/+2
| | | | | | | | [ci skip]
* | [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-2/+2
|/ | | | [ci skip]
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-2/+2
| | | | [ci skip]
* [ledger] Remove --full-help optionAlexis Hildebrandt2015-02-181-1/+0
| | | | since it is the same as --help.
* Add pre-release info to --version outputAlexis Hildebrandt2015-01-201-0/+2
| | | | Bump version to 3.1.1-alpha.1
* [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>
* Use same license text formatting in source filesAlexis Hildebrandt2014-12-271-2/+2
|
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-2/+2
| | | | | | 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}/"
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-2/+2
|
* Resolve new compiler warnings from ClangJohn Wiegley2013-05-191-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-2/+2
|
* Fixes bugs 705 and 862. Ledger now fails if init or pricedb files are ↵Craig Earls2013-01-291-5/+1
| | | | specified on the command line but not found.
* whitespace cleanupJohann Klähn2013-01-161-3/+3
|
* Fixes Bug 695, ledger ignores --init-fileCraig Earls2012-10-251-4/+10
| | | | | | 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-1/+5
|
* Added --verify-memory and missing TRACE_[CD]TOR callsJohn Wiegley2012-03-181-0/+1
|
* Always close the last report output streamJohn Wiegley2012-03-161-0/+5
| | | | Should fix #701
* Whitespace fixJohn Wiegley2012-03-091-1/+0
|
* 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
* Whitespace fixesJohn Wiegley2012-03-071-0/+1
|
* Started writing Python unit testsJohn Wiegley2012-03-011-1/+1
|
* Increased file copyrights to 2012John Wiegley2012-02-291-2/+2
|
* Scopes can now provide a description of themselvesJohn Wiegley2010-06-241-0/+4
| | | | | | This isn't being used yet, but it likely will to improve the information presented to users if their value expressions fail to compile or evaluate.
* Completely reworked argument passing in expressionsJohn Wiegley2010-06-131-1/+0
|
* Untabified all source filesJohn Wiegley2010-06-111-8/+8
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-2/+2
|
* Moved report normalization into report.ccJohn Wiegley2009-11-121-1/+0
|
* Redesigned the expr_t, predicate_t, query_t classesJohn Wiegley2009-11-091-7/+7
|
* Moved journal reading code into journal_tJohn Wiegley2009-11-051-2/+6
|
* Segregated symbols into 5 separate namespacesJohn Wiegley2009-11-041-1/+2
| | | | | | | | | | | | | | | | | | | | | 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 new debug option --optionsJohn Wiegley2009-06-021-2/+5
| | | | | 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-0/+5
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-3/+3
| | | | | | | | | | | | | | | | 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".
* The --help (-h, -H) options now visit the man pageJohn Wiegley2009-02-211-5/+7
|
* Added --args-only flags, to ignore init and envJohn Wiegley2009-02-161-0/+1
|
* Added a "reload" command, for use at the REPLJohn Wiegley2009-02-131-1/+0
| | | | | | | Created a new function, session_t::reread_journal_files, which throws away all previous state data and reads in the same files again. This is needed to allow Emacs to communicate with Ledger via the REPL, so that it tell Ledger when it has made changes to the user's data file.
* pyinterp.cc shares global session; accept full paths passed to --import.John Wiegley2009-02-081-1/+1
|
* Allow value expressions to gain access to option settings.John Wiegley2009-02-071-0/+2
| | | | | | | | | | For example, "ledger eval options.limit" prints 0 (for false), but: "ledger -l hello eval options.limit" print "hello"s, since the value of options.limit, once set to a value, is that string. For flag options, such as -Y, eval prints 0 if unset, and 1 if set. This feature allows value expressions to be conditionalized based on the presence of user options.
* Added some stub options, for --help and friends.John Wiegley2009-02-061-2/+9
|
* Restored all the option handlers from 2.6.2, but not the options themselves.John Wiegley2009-02-061-9/+35
|