summaryrefslogtreecommitdiff
path: root/test/regress
Commit message (Collapse)AuthorAgeFilesLines
...
* Divorces 25A099C9 from the actual amount.h source fileCraig Earls2013-01-301-21/+21
| | | | | | | This test appears to test the garbage input handling on ledger. garbage-input.dat has been added to the test directory for use by this test, allowing development with amount.h to proceed without tripping this particular test inappropriately
* Merge branch 'master' into nextJohann Klähn2013-01-186-0/+31
|\ | | | | | | | | | | 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-132-0/+7
| | | | | | | | This fixes bug #736.
| * ignore (some) empty field when converting csvJohann Klähn2012-10-134-0/+24
| | | | | | | | This fixes bug #733 and bug #734.
* | change handling of standard inputJohann Klähn2013-01-172-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 -'
* | fix ctest rulesJohann Klähn2013-01-171-19/+1
| |
* | Revert "fix bug 788: behaviour of source_context for '-f -'"John Wiegley2013-01-161-12/+0
| | | | | | | | This reverts commit 0a1ff035421d5f97675ad769a7fcdbc68399f3dc.
* | fix bug 788: behaviour of source_context for '-f -'Johann Klähn2013-01-151-0/+12
| | | | | | | | | | | | `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.
* | Merge branch 'next' of github.com:ledger/ledger into nextJohn Wiegley2012-11-263-0/+10
|\ \
| * | Fix crash when accessing the transaction code via post.xact.code using pythonAlexis Hildebrandt2012-11-193-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ledger would abort with the following error message: TypeError: No Python class registered for C++ class boost::optional<std::string> The changes pass a CallPolicy to make_getter when adding the transaction code property for python, so that the correct to_python conversion is made. For details see: http://www.boost.org/doc/libs/1_52_0/libs/python/doc/v2/faq.html#topythonconversionfailed
* | | Fixed a regression testJohn Wiegley2012-11-121-10/+10
|/ /
* | fix bucket directive (bug 765)Johann Klähn2012-10-231-0/+15
| | | | | | | | | | | | | | | | This was caused by both 'A' and 'bucket' using default_account_directive. This function was still stripping the 'A' directive, so the first character of the account name used with 'bucket' was cut off. Maybe the code for the other directives should be changed accordingly for consistency (put line + 1 in call instead of function).
* | Rounding is different for balance totals vs. postings when using posting costs.Bradley M. Kuhn2012-09-302-0/+30
| | | | | | | | | | | | | | | | | | | | test/regress/CAE63F5C-b.test and test/regress/CAE63F5C-c.test should both pass, but test/regress/CAE63F5C-c.test does not, because the total line of $6.46 is rounded wrong; it should be $6.45. There seems to be different rounding occurring for totals vs. postings. This seems to be related to Bug #492.
* | Running totals on a report including automated transactions are computed ↵Paolo Capriotti2012-09-301-0/+17
| | | | | | | | | | | | with extra precision, resulting in balances differing from the sum of their components.
* | Always store absolute paths internallyJohn Wiegley2012-08-021-20/+20
|/
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-0/+19
|
* Allow --invert to work with --monthlyJohn Wiegley2012-04-061-0/+7
| | | | Fixes #770
* Fix to Python value() method handlingJohn Wiegley2012-03-302-0/+42
|
* Added another Python support regression testJohn Wiegley2012-03-303-0/+56
|
* Added the first Python support regression testJohn Wiegley2012-03-303-0/+11
|
* Never price commodities using annotated commoditiesJohn Wiegley2012-03-301-10/+10
|
* Add a regression testMartin Michlmayr2012-03-291-0/+13
|
* Add more testsMartin Michlmayr2012-03-272-0/+32
|
* Fixed an interaction with equity and virtual accountsJohn Wiegley2012-03-221-0/+24
| | | | Fixes #686
* Renamed F32DBEF1.test to CEECC0B0.testJohn Wiegley2012-03-221-0/+0
|
* Simply regression tests by using $FILEMartin Michlmayr2012-03-225-5/+5
|
* Add more test casesMartin Michlmayr2012-03-223-0/+50
|
* Add more regression testsMartin Michlmayr2012-03-229-0/+298
|
* Add some regression testsMartin Michlmayr2012-03-228-0/+106
|
* Fix problems with <Adjustment> postingsJohn Wiegley2012-03-201-1/+0
|
* Strip annotations in display_filter_postsJohn Wiegley2012-03-202-2/+51
| | | | Fixes #718
* Added regression test for A560FDADJohn Wiegley2012-03-191-0/+36
|
* Added regression testJohn Wiegley2012-03-191-0/+57
|
* Allow --input-date-format to specify separatorsJohn Wiegley2012-03-191-0/+17
| | | | Fixes #650
* More improvements to nail_down; fixes #715John Wiegley2012-03-191-0/+17
|
* Fixed bug relating to historical pricingJohn Wiegley2012-03-182-1/+20
| | | | Fixes #681
* Fix problem with -H and lack of pricing infoJohn Wiegley2012-03-181-0/+10
| | | | Fixes #691
* Simplified a regression testJohn Wiegley2012-03-171-21/+21
|
* Fixed #711: Parsing of alias directiveJohn Wiegley2012-03-171-0/+27
|
* Added regression test for A8FCC765John Wiegley2012-03-172-0/+10
|
* Don't allow trailing ws in abbrev. account segmentsJohn Wiegley2012-03-161-0/+8
| | | | Fixes #358
* Improved error reporting for bad account namesJohn Wiegley2012-03-161-0/+34
| | | | Fixes #374
* Correct parsing of automated xact expressionsJohn Wiegley2012-03-161-0/+32
| | | | Fixes #458
* Improved error reports about leading whitespaceJohn Wiegley2012-03-164-1174/+38
|
* Added regression test for #584John Wiegley2012-03-161-0/+23
|
* pricedb was outputting redundant pricesJohn Wiegley2012-03-161-0/+11
| | | | Fixes #704
* Unexpected initial whitespace is an error (again)John Wiegley2012-03-163-1/+1222
| | | | Fixes #565
* Don't map_prices if price commodity matches sourceJohn Wiegley2012-03-151-0/+17
| | | | Fixes #680
* Added regression test for #438John Wiegley2012-03-141-0/+74
|
* Added two regressions tests from Thierry DaucourtJohn Wiegley2012-03-142-0/+117
|