Caleb Maclennan
7e332fda20
docs: Explain in more detail the parsing of the payee vs. notes fields
2019-07-15 08:22:16 +01:00
Caleb Maclennan
e68e558761
payees: Split command into descriptions, payees, and notes
2019-07-15 08:22:16 +01:00
Caleb Maclennan
5d42578137
payees: Output sorted results as in other similar commands
2019-07-15 08:22:16 +01:00
Simon Michael
f49a76e051
payees: get basic command working
2019-07-15 08:22:16 +01:00
Simon Michael
6b61d1e0f1
;lib: move transactionNote/Payee to Transaction.hs
2019-07-15 08:22:16 +01:00
Caleb Maclennan
e6b709cb01
payees: Add a module for handling payees command
2019-07-15 08:22:16 +01:00
Caleb Maclennan
a45b42bed5
payees: Add test for what payees command would be expected to do
2019-07-15 08:22:16 +01:00
Simon Michael
a5372168bc
;lib: suppress doctest failures with GHC < 8.2
...
[ci skip]
2019-07-14 04:40:07 -07:00
Simon Michael
6f2f8d7638
;deps: a better fix for nubSortBy with ghc 7.10, 8.0
...
nubSortBy and nub . sortBy are not equivalent, it seems.
I didn't notice the failing valuation func tests.
2019-07-13 00:13:33 -07:00
Simon Michael
87ab586629
;deps: explicit process extra-dep for ghc 8.2 also
2019-07-13 00:12:44 -07:00
Simon Michael
503d21ef77
;lib: also update fgl bounds in cabal file
2019-07-13 08:08:36 +01:00
Simon Michael
fae45bf412
;stack: bump to latest ghc 8.2, 8.4 snapshots
2019-07-12 15:26:16 -07:00
Simon Michael
17e2b03216
;deps: process dependency to fix ghc 7, 8.0 builds with new stack
2019-07-12 15:25:45 -07:00
Simon Michael
40dd5e41cb
;deps: bump fgl lower bound to fix ghc 7, 8.0 builds
2019-07-12 15:25:19 -07:00
Simon Michael
7d5f33441e
;doc: draft changelogs
...
[ci skip]
2019-07-12 23:24:10 +01:00
Simon Michael
7b68b2b89a
;web: drop obsolete unix-time workaround, use latest ( #1039 )
...
0.4.7 is in lts and nightly stackage now, and has more windows fixes.
[ci skip]
2019-07-12 23:24:10 +01:00
Simon Michael
a6e9b11a54
;cabal: bump tested-with, regen cabal files
...
[ci skip]
2019-07-12 23:24:10 +01:00
Simon Michael
ec310aea73
;lib: avoid nubSortBy which breaks ghc 7, 8.0 builds
2019-07-12 15:21:57 -07:00
Simon Michael
23a7787ac4
;stack: bump to latest lts-13
...
[ci skip]
2019-07-09 16:10:45 +01:00
Simon Michael
5ceb278296
;journal: tests: note surprising decimal mark parsing
...
[ci skip]
2019-07-09 11:31:56 +01:00
Simon Michael
6c2398e4d7
close: preserve transaction prices (costs) accurately ( #1035 )
...
Transaction prices were being collapsed/misreported after close/open;
this is fixed. Now each separately-priced amount gets its own posting,
and only the last of these (for each commodity) gets a balance
assertion. Also the equity posting's amount is now always shown
explicitly, which in multicommodity situations means that multiple
equity postings are shown. The upshot is that a balance -B report
will be unchanged after closing & opening transactions.
2019-07-09 11:21:22 +01:00
Simon Michael
3059a0b2ca
;close: tests: convert to new format
...
[ci skip]
2019-07-08 08:57:45 +01:00
Simon Michael
ec56c45c6b
;tests: flatten functional test files a bit
...
[ci skip]
2019-07-08 08:28:03 +01:00
Simon Michael
0557440f14
;tests: move 0unittests up, delete unused examples symlink
...
[ci skip]
2019-07-08 08:02:54 +01:00
Simon Michael
f8cc60d287
;csv: doc: link to #1051
...
[ci skip]
2019-07-08 08:02:54 +01:00
Simon Michael
19ba1628bf
;print: more valuation-related tests
...
[ci skip]
2019-07-08 06:00:28 +01:00
Simon Michael
5c3e4de647
;lib: periodFromRawOpts: clarify doc ( #1011 )
...
[ci skip]
2019-07-01 18:33:18 +01:00
Jakob Schöttl
1bc246681f
Update shell completion script
2019-06-30 10:38:06 +02:00
Jakob Schöttl
4d76535b6d
Add CLI/shelltest tests for date-options
2019-06-30 10:38:06 +02:00
Jakob Schöttl
8569b39771
Refactoring: qualified call to process function
2019-06-30 10:38:06 +02:00
Jakob Schöttl
2b01312004
Fix and update documentation on date options
2019-06-30 10:38:06 +02:00
Jakob Schöttl
e483faf7f0
Bugfix for #1011 : begin/end date options
2019-06-30 10:38:06 +02:00
Simon Michael
27c01e82b5
add: doc: mention the windows trailing-dot file path issue
2019-06-26 18:47:11 +01:00
Simon Michael
014db152d9
add, web: disallow unsafe trailing dot paths on windows ( fix #1056 )
...
On Windows, ensureJournalFileExists now rejects file paths
containing any problematic trailing dots, to prevent data loss.
This affects the add command and hledger-web's add form.
2019-06-26 18:19:53 +01:00
Simon Michael
2e4f047fed
;doc: journal: clarify alias docs ( #1055 )
...
[ci skip]
2019-06-23 15:56:29 -07:00
Simon Michael
016808fd06
;journal: tests for recursive aliases, application order ( #1055 )
...
[ci skip]
2019-06-21 12:16:56 -07:00
Simon Michael
d15f775695
;doc:journal: document alias application order more clearly ( #1055 )
...
[ci skip]
2019-06-21 12:12:35 -07:00
Simon Michael
8c7b23e25f
;tests: aliases: convert to shelltest v3 format ( #1055 )
...
[ci skip]
2019-06-19 10:44:57 -07:00
Simon Michael
866b395e3f
;doc: contributing: link neil's PR-a-day post
...
[ci skip]
2019-06-18 19:14:34 -07:00
Simon Michael
33d03284c3
;valuation: more tests; document default amount style issue
...
[ci skip]
2019-06-17 08:19:23 -07:00
Simon Michael
2da50875ee
lib: setNaturalPrecisionUpTo
2019-06-14 19:04:09 -07:00
Simon Michael
5cb334514c
;lib: rename setMinimalPrecision -> setNaturalPrecision
2019-06-14 19:04:09 -07:00
Simon Michael
69defd497f
;lib: refactor: Data.Prices -> Data.Valuation
2019-06-14 19:04:09 -07:00
Simon Michael
83030a09de
;lib: Prices: refactor
2019-06-14 19:04:09 -07:00
Simon Michael
7dd0c5783a
;lib: multibalancereport: refactor
2019-06-14 19:04:09 -07:00
Simon Michael
91bccac64b
;make functest: show verbose progress again, in honour of stack 2
...
[ci skip]
2019-06-14 19:04:09 -07:00
Simon Michael
9bcb1c4145
travis: skip hledger-api at least for now to stay under time limit
2019-06-14 19:04:09 -07:00
Simon Michael
0a3af8d9ee
csv: strip outer whitespace when interpolating CSV values ( #1051 )
...
This removes a potential snag in amount field assignments, and
hopefully is harmless and acceptable otherwise.
2019-06-14 16:43:12 -07:00
Simon Michael
d2b3185062
csv: don't show invalid inter-field spaces in CSV error messages
...
Errors involving a record like:
2000-01-01,a,"1"
displayed the record with extra spaces:
the CSV record is: "2000-01-01", "a", "1"
which was not accurate or valid RFC-4180.
2019-06-14 16:17:40 -07:00
Simon Michael
baa15d9bea
;lib: rename MultiBalanceReports.hs -> MultiBalanceReport.hs
2019-06-14 11:45:25 -07:00