summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* And const directives in account.h and commodity.h to allow build in OS X ↵Craig Earls2013-10-302-2/+2
| | | | Mavericks.
* Guard against a possible null valueJohn Wiegley2013-09-201-1/+1
|
* Apply --time-colon option only to time commoditiesAlexis Hildebrandt2013-09-071-5/+5
| | | | See #989
* Additional changes required for MSVC to compile ledger.Tim Crews2013-06-163-9/+9
| | | | These changes only matter if ledger is compiled with USE_PYTHON.
* Corrected filename for strptime.ccTim Crews2013-06-151-0/+0
|
* Source changes needed for Microsoft Visual C++ compatibility.Tim Crews2013-06-146-5/+206
| | | | Includes an implementation of strptime, compiled only for Win32 platform.
* Improve documentation about differences between ledger 2.6 and ledger 3.0.thdox2013-06-011-3/+5
| | | | GnuCash support removed, environment variables deprecated.
* Fix #784John Wiegley2013-05-231-3/+1
|
* Fixed parsing of the "fixed" directiveJohn Wiegley2013-05-193-8/+13
|
* Remove some unnecessary and complicated logicJohn Wiegley2013-05-191-34/+5
| | | | Fixes #712
* Add a missing member initializer to a copy constructorJohn Wiegley2013-05-191-1/+2
| | | | Fixes #686
* Another whitespace fixJohn Wiegley2013-05-191-1/+1
|
* Add a missing % characterJohn Wiegley2013-05-191-1/+1
|
* Whitespace fixJohn Wiegley2013-05-191-1/+1
|
* Resolve new compiler warnings from ClangJohn Wiegley2013-05-198-17/+10
|
* Add -Wno-disabled-macro-expansionJohn Wiegley2013-05-191-0/+1
|
* indent output of ledger xmlJohann Klähn2013-03-081-1/+2
|
* fix ledger xml output, remove ledger json commandJohann Klähn2013-03-0816-121/+68
| | | | | | | | | | | | As the format used by property trees to represent valid JSON and that for valid XML is too different and given that there are more requests for valid XML output I decided to pursue a quick fix and remove the json command in favor of a working xml command. See bug #782, #909, recent discussion on mailing list. JSON support is postponed until I or someone else finds time to work on this or the python bindings are more stable.
* Bump copyright information to 2013John Wiegley2013-02-18128-129/+129
|
* Fixed bug with --day-break optionJohn Wiegley2013-02-051-4/+2
|
* Bump format parsing buffer to 64KJohn Wiegley2013-02-031-1/+1
|
* Fixes bug 377. Ledger now complains if it is given only a directory as input.Craig Earls2013-02-021-1/+1
|
* Fix bug 795 858, printing "(null)" instead of empty string ""Craig Earls2013-02-021-1/+1
|
* Removed an unnecessary if. Fixes #140John Wiegley2013-01-311-2/+1
|
* Merge pull request #140 from enderw88/Bug634-floor-ceil-roundCraig Earls2013-01-307-14/+70
|\ | | | | Bug 634 Added roundto function, optimized floor and ceiling
| * Bug 634 Added roundto function, optimized floor and ceilingCraig Earls2013-01-307-14/+70
| | | | | | | | Fixes Bug634 by adding roundto(amount, places).
* | Added missing call to timelog.close()John Wiegley2013-01-301-0/+4
|/
* Fixed problem finding the default priced file.Craig Earls2013-01-291-7/+8
| | | | Bug fix to detect badly specified priced files on the command line didn't handle the default correctly.
* Fixes regression error introduced by tags command patchCraig Earls2013-01-291-5/+10
| | | | Not sure how the changes to the options got into the repot.cc file, but this takes the changes out.
* Merge pull request #132 from enderw88/bug514-sort-accounts-and-commoditiesJohn Wiegley2013-01-293-2/+16
|\ | | | | Fixes bug 514. accounts and commodities output now sorts
| * Fixes bug 514. accounts and commodities output now sortsCraig Earls2013-01-293-2/+16
| | | | | | | | updated tests included.
* | Merge pull request #131 from enderw88/add-tags-commandJohn Wiegley2013-01-294-10/+67
|\ \ | | | | | | Addes tags command and --values option
| * | Addes tags command and --values optionCraig Earls2013-01-294-10/+67
| |/ | | | | | | | | Tags command reports all metadat tags in use. With the values option it reports tags and their values.
* | Merge pull request #107 from afh/pull/time_colonJohn Wiegley2013-01-295-3/+32
|\ \ | | | | | | Add --time-colon option
| * | Add --time-colon optionAlexis Hildebrandt2012-11-105-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | The --time-colon option will display the value for a seconds based commodity as real hours and minutes. For example 8100 seconds by default will be displayed as 2.25 whereas with the --time-colon option they will be displayed as 2:15.
* | | Fixes bugs 705 and 862. Ledger now fails if init or pricedb files are ↵Craig Earls2013-01-293-22/+43
| |/ |/| | | | | specified on the command line but not found.
* | Merge branch 'master' into nextJohann Klähn2013-01-181-3/+5
|\ \ | | | | | | | | | | | | | | | Some commits were on the master branch but not yet on the next branch due to a pull request to master after those two branches diverged. This merge ensures that next ⊇ master.
| * | ignore extra fields when converting csv filesJohann Klähn2012-10-131-1/+1
| | | | | | | | | | | | This fixes bug #736.
| * | ignore (some) empty field when converting csvJohann Klähn2012-10-131-2/+4
| | | | | | | | | | | | This fixes bug #733 and bug #734.
* | | change handling of standard inputJohann Klähn2013-01-173-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For `-f /dev/stdin`, the `pathname` of the parsing context will be empty as for any other streamed input. `instance_t::include_directive` did not work as expected for `-f /dev/stdin` and relative file names. One would expect them to be relative to the current directory rather than `/dev`. This will lead to `While parsing file ""` messages. This could be adjusted to read `While parsing standard input`, but maybe it's not worth the special cases. This commit also fixes bug 788: behaviour of source_context for '-f -'
* | | Revert "Bug551 fixed, commodities and accounts now sort"John Wiegley2013-01-163-16/+2
| | | | | | | | | | | | This reverts commit 67a598f6ff3b9b19b08af108c8bfe26064728457.
* | | Revert "fix bug 788: behaviour of source_context for '-f -'"John Wiegley2013-01-162-2/+1
| | | | | | | | | | | | This reverts commit 0a1ff035421d5f97675ad769a7fcdbc68399f3dc.
* | | whitespace cleanupJohann Klähn2013-01-165-15/+15
| | |
* | | Merge pull request #122 from enderw88/Lisp-fixesJohn Wiegley2013-01-163-2/+16
|\ \ \ | | | | | | | | Fix ledger-add-entry
| * \ \ Merge remote-tracking branch 'upstream/next' into nextCraig Earls2013-01-142-2/+14
| |\ \ \
| * | | | Bug551 fixed, commodities and accounts now sortCraig Earls2013-01-073-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added two compare structs for std::map to use. I tried to override the < operator got a clean compile but map wasn't picking it up, I couldn't figure out why so I took the less elegant route.
* | | | | fix bug 748: option aliases not recognizedJohann Klähn2013-01-151-4/+11
| | | | |
* | | | | fix bug 788: behaviour of source_context for '-f -'Johann Klähn2013-01-152-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `session_t::read_data` did not set context.pathname to `/dev/stdin` for the special case `-f -`. I chose to adjust `source_context` too as there is no sensible context if no file name is provided.
* | | | | remove superfluous 'break'Johann Klähn2013-01-151-1/+0
| | | | |
* | | | | fix for 'store absolute paths internally'Johann Klähn2013-01-151-1/+1
| |/ / / |/| | | | | | | | | | | | | | | `parent_path` was called on unprocessed path so neither `resolve_path` nor `filesystem::absolute` had any effect.