Commit Graph

7531 Commits

Author SHA1 Message Date
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
Simon Michael
52bab5c41a ;stack: try dropping haskell-src-exts workaround
(commercialhaskell/stack#3922)
2019-06-13 16:26:09 -07:00
Simon Michael
755932bbc5 ;deps: use unix-time release instead of github rev 2019-06-13 16:26:09 -07:00
Simon Michael
e5ba87b83e ;stack: update to latest LTS snapshot/GHC 8.6.5 2019-06-13 16:26:06 -07:00
Simon Michael
e664fab956 lib: try to simplify, use just one price graph (#131) 2019-06-13 15:50:01 -07:00
Simon Michael
dd5afbb6fe ;doc, debug output tweaks (#131) 2019-06-13 15:50:01 -07:00
Simon Michael
6a62bd6437 web, api: update for MarketPrice/PriceDirective change 2019-06-13 15:50:01 -07:00
Simon Michael
ce0354ddbe lib: -X/--exchange now supports indirect price chains (#131)
Adds fgl as a dependency.
2019-06-13 15:50:01 -07:00
Simon Michael
692620180e ;lib: refactor: change AmountPrice to a Maybe
I've wanted to do this for a long time; now that prices are in flux,
seems a good time.
2019-06-13 15:50:01 -07:00
Simon Michael
adb6ee40eb lib: clarify price types (#131)
dropped journalPrices

renamed Price to AmountPrice,  AKA "transaction price"

renamed MarketPrice to PriceDirective.

added new MarketPrice (more pure form of PriceDirective without the amount style information)

Prices is now a more efficient data structure, but not used yet.
2019-06-13 15:50:01 -07:00
Simon Michael
e24c6292d0 lib: support -X/--exchange (direct/reverse prices only) (#131) 2019-06-13 15:50:01 -07:00
Simon Michael
50a52dd467 lib: --value can select commodity (via direct/reverse prices) (#131) 2019-06-13 15:50:01 -07:00
Simon Michael
6b6c3385c9 lib: parse optional ,COMM suffix in --value (#131) 2019-06-13 15:50:01 -07:00
Caleb Maclennan
18e19b9ad2 ;tests: normalize tests, examples, and docs using 2spcs before comments 2019-06-13 12:12:21 -07:00
Caleb Maclennan
8f3e5f9d3b ;print: differentiate posting indent (4spc) and pre-comment space (2spc)
Co-authored-by: Simon Michael <simon@joyful.com>
2019-06-13 12:12:21 -07:00
Henning Thielemann
1fa4419cd1 web: register page: clip linked accounts to 40 characters
This was the behaviour before adding the links.
2019-06-13 10:12:44 -07:00
Henning Thielemann
adbdbf002c web: avoid spaces before commas in register account links 2019-06-13 10:12:44 -07:00
Henning Thielemann
ac96bcfdf0 web: add links to accounts in register transactions 2019-06-13 10:12:44 -07:00
Simon Michael
26ab750620 ;tools: make functest-PAT
[ci skip]
2019-06-13 10:12:03 -07:00
Simon Michael
233f72b7bf ; ui, web: mention out-of-step server clock issue for file reloading
[ci skip]
2019-06-11 10:20:57 -07:00
Henning Thielemann
4962b2696a lib: accountTransactionsReportItems: rewrite using catMaybes and mapAccumL
I find the report function less convolved without the integrated recursion.
2019-06-09 18:45:58 -07:00
Simon Michael
88f3f6fc41 print: also canonicalise balance assertions' amount style (fix #1042) 2019-06-09 17:39:46 -07:00
Simon Michael
41793d867c ;site: download: add warning icon
[ci skip]
2019-06-09 16:05:48 -07:00
Simon Michael
a157eefc67 ;site: download: link windows nightly build, mention #1039
Also update known platform issues list.

[ci skip]
2019-06-09 16:03:46 -07:00
Simon Michael
9b3fc067ea web: try requiring unreleased unix-time for windows 7 (#1039) 2019-06-09 15:43:16 -07:00
Simon Michael
5163a1e5e3 ;github: issue templates: tweak support wording
[ci skip]
2019-06-07 08:14:07 -07:00
Simon Michael
4df3eef87a ;github: issue templates: content is plain text
[ci skip]
2019-06-07 08:08:56 -07:00
Simon Michael
1017aafaed ;github: issue templates: tweaks
[ci skip]
2019-06-07 08:03:06 -07:00
Simon Michael
d700670729 ;github: issue templates: fix description
[ci skip]
2019-06-07 07:54:45 -07:00
Simon Michael
46ab00e2cd ;github: issue templates: try quoting # to fix description
[ci skip]
2019-06-07 07:53:37 -07:00
Simon Michael
094b05898f ;github: separate bug/wish issue templates
That went pretty well. More tweaks, add a third for redirecting
support requests.

[ci skip]
2019-06-07 07:49:28 -07:00
Simon Michael
9878e30d3e ;github: separate bug/wish issue templates
First attempt.

[ci skip]
2019-06-07 07:23:05 -07:00
Simon Michael
7ac1bdf8c1 ;csv: document spaces outside quotes issue (#1037)
[ci skip]
2019-06-07 06:34:52 -07:00
Simon Michael
90af360792 csv: fix parse error printing, broken since 1.11 (#1038) 2019-06-06 23:10:31 -07:00
Simon Michael
9760126cb2 ;make tag: make SOURCEFILES include hledger-lib/Text etc.
And add "make sourcefiles", "make sourcedirs" rules for troubleshooting.
2019-06-06 15:17:01 -07:00