Simon Michael
4a48e5f8aa
;doc: changelogs
...
(cherry picked from commit 3031c0e7b9bd9384ac390d3f3705455f057dd8c8)
2020-12-29 09:39:35 -08:00
Simon Michael
4ce681348d
;update changelogs
...
(cherry picked from commit 1b389961587720be10f7cced91d3b6cb9fc47415)
2020-12-29 09:38:58 -08:00
Simon Michael
f2d2272737
;update changelogs
...
(cherry picked from commit 15e290955f8ae2ed636b4e144e84fc4c73f4228b)
2020-12-29 09:37:54 -08:00
Simon Michael
06675bfec4
;cli, ui: fixes for yesterday's 4330427f
2020-12-27 12:20:50 -08:00
Simon Michael
b66d8f0f3c
;update manuals
2020-12-26 17:29:02 -08:00
Simon Michael
8d320bc1fe
;update manuals
2020-12-24 17:26:17 -08:00
Simon Michael
fbe30a73b9
;doc: mention version in all manual formats
2020-12-24 17:25:11 -08:00
Simon Michael
fbf9418756
;doc: update links to journal manual
2020-12-24 12:49:04 -08:00
Simon Michael
324dfaee49
;update manuals
2020-12-20 20:11:35 -08:00
Simon Michael
4639522d9c
ui: doc: fix decapitalisation in manual, present since 1.19
...
Added accidentally by 847fc23 on 2020-07-17.
2020-12-20 20:08:35 -08:00
Simon Michael
0ff65456fa
;doc: info: tweak first/top heading again to improve structure
2020-12-20 20:08:35 -08:00
Simon Michael
9daaabeda2
;doc: simplify manuals' title metadata to fit man/info better
2020-12-20 20:08:35 -08:00
Simon Michael
c92c27d565
doc: tweak manuals' top heading to improve info structure
2020-12-20 20:08:35 -08:00
Stephen Morgan
e406cebcce
lib: Remove unused AtDefault constructor for ValuationType.
2020-12-19 11:59:44 -08:00
Stephen Morgan
46093b8de7
lib,ui: For hledger-ui, do valuation for all valuation types, not just
...
AtCost and AtDefault.
Remove unused valuationTypeIs* functions.
2020-12-19 11:59:44 -08:00
Stephen Morgan
cdec0f9382
lib: Remove special handling of now-inaccessible AtDefault valuation constructor.
...
This simplifies all the *ApplyValuation functions, as they no longer
need mreportdate or multiperiod arguments.
2020-12-19 11:59:44 -08:00
Simon Michael
4d3a9b0a21
;changelogs: whitespace
...
(cherry picked from commit 679e90eb6028e8be35168057fe0040880aaab03a)
2020-12-15 20:57:18 -08:00
Simon Michael
47ab7a50a3
;update changelogs
...
(cherry picked from commit 452149dfc87f2044ba6d16c2e55cab5957289b65)
2020-12-15 20:57:09 -08:00
Simon Michael
8db8992cb5
;update changelogs
...
(cherry picked from commit 03f9b756b35661dc8dac6f10de04e9795d72c4d6)
2020-12-15 20:56:44 -08:00
Simon Michael
105f7d2944
;tools: split defs.m4 to minimise manual rebuilding
2020-12-15 09:39:29 -08:00
Simon Michael
e5a12683d7
;update manuals
2020-12-15 09:03:38 -08:00
Simon Michael
9afccde16f
;update cabal files
2020-12-14 12:31:01 -08:00
Simon Michael
9087532b62
;bump version to 1.20.99
2020-12-14 11:28:07 -08:00
Simon Michael
e5a236e9dc
;ui: fix test journal symlink
2020-12-13 19:56:28 -08:00
Simon Michael
8d1e3e638b
;ui: refactor, drop old option support
2020-12-12 12:13:52 -08:00
Simon Michael
349ffd7c0b
updateReportSpecFromOpts -> updateReportSpec[With]
2020-12-12 12:05:44 -08:00
Simon Michael
15dc638a07
ui: preserve forecast txns (& period) when reloading journal ( #1204 )
2020-12-12 11:53:24 -08:00
Simon Michael
6158d16443
;ui: refactor, simplify query
2020-12-12 11:52:15 -08:00
Simon Michael
481c40ca2f
;ui: refactor toggleForecast
2020-12-12 11:51:25 -08:00
Simon Michael
ae2d9373ee
;ui: test for #1204
2020-12-11 10:09:26 -08:00
Simon Michael
b6cb95b534
ui: make F key keep working, fixing breakage in 1.20 ( #1411 )
...
This seems to be fallout from #1340 's
2020-09-16 d0d39e615 lib,cli,ui,web: Introduce ReportSpec, which holds ReportOpts, the day of the report, and the parsed Query.
2020-12-11 09:38:15 -08:00
Simon Michael
b25b2ba33d
;ui: update test journals, add test for #1411
2020-12-11 09:33:42 -08:00
Simon Michael
6723025607
;update manuals
2020-12-08 20:11:32 -08:00
Simon Michael
f66a8281fe
;ui: tests cleanup
2020-12-08 12:59:25 -08:00
Simon Michael
116945e907
;shake: man page date is now updated by manuals, not setversion
2020-12-07 12:26:48 -08:00
Simon Michael
2f91b1de6e
;update manuals
2020-12-07 06:15:59 -08:00
Simon Michael
1856ca5312
web: bump to 1.20.1; update manuals' dates
2020-12-06 18:20:56 -08:00
Simon Michael
fa28b43aed
;update changelogs
2020-12-05 17:58:37 -08:00
Simon Michael
5c5256504e
;update manuals
2020-11-30 15:21:59 -08:00
Simon Michael
5507cb07ef
;update cabal files
2020-11-30 15:19:21 -08:00
Simon Michael
2501329f3c
;bump version to 1.20
2020-11-30 15:18:24 -08:00
Simon Michael
3aec8542db
;update changelogs
2020-11-30 12:11:30 -08:00
Simon Michael
d40d53ae02
;update manuals
2020-11-26 08:52:56 -08:00
Simon Michael
794c5f32a5
;update changelogs
2020-11-24 09:39:05 -08:00
Simon Michael
9730b69a05
;ui: register: fix one-line amount formatting ( #1358 )
2020-11-18 17:20:05 -08:00
Simon Michael
2f2cca9bc0
;ui: add a test for multicommodity register ( #1358 )
2020-11-17 12:43:18 -08:00
Simon Michael
3ea453658e
;ui: test tweaks
2020-11-17 11:09:35 -08:00
Simon Michael
5f9635c784
;update changelogs
2020-11-17 10:51:57 -08:00
Simon Michael
3662977c84
;update manuals
2020-11-17 07:29:57 -08:00
Simon Michael
267f23dabb
;ui: test tweaks
2020-11-16 14:41:18 -08:00
Simon Michael
01be455e82
;ui: rename to uitest.org
2020-11-16 09:00:55 -08:00
Simon Michael
56b61c71da
;ui: add manual tests for #1387
2020-11-16 08:59:35 -08:00
Simon Michael
ec2a774b18
cli, lib: move functional tests into hledger/test/
2020-11-16 08:47:41 -08:00
Simon Michael
1c9d704e2f
;ui: add symlink for manual tests ( #1387 )
2020-11-15 12:46:23 -08:00
Simon Michael
3930e06e72
ui: start gathering manual tests ( #1387 )
2020-11-15 12:43:29 -08:00
Simon Michael
34cae907e0
;ui: move WIP tests into hledger-ui package
2020-11-15 12:17:00 -08:00
Simon Michael
cc2654b17b
;ui: notes ( #1387 )
2020-11-15 11:32:43 -08:00
Simon Michael
4aecb9182e
;ui: notes ( #1387 )
2020-11-15 11:20:40 -08:00
Simon Michael
9337a66fb5
ui: quick fix for date: and --change breakage ( #1387 )
2020-11-15 10:30:58 -08:00
Simon Michael
a97daaf322
lib: replace pretty-show with pretty-simple
...
pretty-simple, already used in .ghci, will hopefully give nicer debug
output, including for values which don't have Read-able Show output.
This should mean that we can start removing custom string-like Show
instances that were a workaround for pretty-show.
We are using the latest version (4.0.0.0) to get compact output.
Here's some old pretty-show output:
CsvRules
{ rdirectives = [ ( "skip" , "1" ) ]
, rcsvfieldindexes = [ ( "date" , 1 ) , ( "amount" , 2 ) ]
, rassignments = [ ( "amount" , "%2" ) , ( "date" , "%1" ) ]
, rconditionalblocks = []
}
And the new pretty-simple output:
CsvRules
{ rdirectives=
[ ( "skip", "1" ) ]
, rcsvfieldindexes=
[ ( "date", 1 ), ( "amount", 2 ) ]
, rassignments=
[ ( "amount", "%2" ), ( "date", "%1" ) ]
, rconditionalblocks= []
}
Non-compact pretty-simple output would be:
CsvRules
{ rdirectives=
[
( "skip"
, "1B"
)
]
, rcsvfieldindexes=
[
( "date"
, 1
)
,
( "amount"
, 2
)
]
, rassignments=
[
( "amount"
, "%2"
)
,
( "date"
, "%1"
)
]
, rconditionalblocks=[]
}
Also:
- Account's Show instance no longer converts : to _ in account names
- drop unused pretty-show dependency from hledger, hledger-ui packages
- regenerate hledger-lib with the older hpack that's shipped in stack
2020-11-10 08:06:11 -08:00
Stephen Morgan
74ce7be556
lib,ui: Make sure ReportSpec is updated when updating ReportOpts.
2020-11-09 16:30:15 -08:00
Simon Michael
d1ded6fd84
;update changelogs
2020-11-04 06:52:15 -10:00
Stephen Morgan
83a518af99
lib,cli,ui: In ReportOpts, store query terms term-by-term in a list in
...
querystring_.
This helps deal with tricky quoting issues, as we no longer have to make
sure everything is quoted properly before merging it into a string.
2020-11-04 08:47:30 -08:00
Stephen Morgan
0bebda7313
lib,cli,ui: Elide amounts to a width of 32 characters, rather than 22 characters.
2020-11-04 14:25:20 +11:00
Stephen Morgan
9de238757b
lib,cli,ui: Introduce showMixed*Unnormalised, eliminate most direct calls of strWidth.
...
This introduces some new helper functions which are exactly the same
as what we had before, but do not call
normaliseMixedAmountSquashPricesForDisplay, so that we can use the new
functions for displaying Transaction and Posting. It also goes through
and gets rid of most uses of the old showMixed* functions which would
benefit from using the new interface.
2020-11-04 14:25:20 +11:00
Stephen Morgan
162a936360
lib: BudgetReport uses new renderTable inteface, now has more compact output.
...
This changes showMixedAmountElided so that the width to elide to is
given as an argument, rather than fixed at 22 characters. This
actually uses the new renderTable interface. Mostly this is just an
internal change, but since we have more information about the widths
of things, we can actually get rid of some superfluous spaces in the
budget report output, previously there to make sure it stayed aligned
with the largest reasonable contents.
2020-11-04 14:25:20 +11:00
Stephen Morgan
57d7b223a2
lib: Write new showMixedAmount* functions which keep track of length.
...
Previously showMixedAmountElided would show two amounts and then the
elision string if necessary. Now it will display as many Amounts as it
can subject to the condition that the amounts plus the elision string
fit within 22 characters.
2020-11-04 14:25:20 +11:00
Simon Michael
cca8802e2c
;update changelogs
2020-11-03 08:18:14 -10:00
Stephen Morgan
260283e2f1
lib,cli,ui,web: Introduce ReportSpec, which holds ReportOpts, the day of
...
the report, and the parsed Query.
2020-10-23 14:14:11 -07:00
Stephen Morgan
ff0c5bc743
lib,ui: Store the original query string in ReportOpts, provide a function for regenerating ReportOpts.
2020-10-23 14:14:11 -07:00
Stephen Morgan
1171c23eee
lib,cli,ui: Ensure ReportOpts always has today_ set.
2020-10-23 14:14:11 -07:00
Stephen Morgan
fcbe511d42
ui,web: Adopt new ReportOptions interface, store literal query string in UIOpts.
2020-10-23 14:14:11 -07:00
Simon Michael
f0db3fb157
;update manuals
2020-10-18 16:01:59 -07:00
Simon Michael
f2b9ac2af1
;ui: cleanup ( #1359 )
2020-09-29 17:02:09 -07:00
Simon Michael
9dad59b0cc
ui: E ignores file extension, should help positioning on windows
2020-09-29 16:57:14 -07:00
Simon Michael
1cd2995c77
ui: E supports positioning when EDITOR is code (VS Code) ( #1359 )
2020-09-29 16:54:28 -07:00
Simon Michael
66acb2c317
;ui: refactor editFileAtPositionCommand ( #1359 )
2020-09-29 16:53:28 -07:00
Simon Michael
73de12c264
;update changelogs
2020-09-07 16:17:58 -07:00
Simon Michael
2b715fbe0d
;update changelogs
2020-09-07 16:13:21 -07:00
Simon Michael
018bf8f474
;update manuals
2020-09-07 12:17:35 -07:00
Simon Michael
90adb95983
;update cabal files
2020-09-07 12:17:35 -07:00
Simon Michael
a151bcaec7
; bump hledger-lib, hledger, hledger-ui, hledger-web version to 1.19.99
2020-09-07 12:16:12 -07:00
Simon Michael
8599eda37c
allow megaparsec 9
2020-09-07 11:41:57 -07:00
Simon Michael
a5fcb19bb0
;doc: changelog updates
2020-09-07 09:23:42 -07:00
Simon Michael
e95a222ad2
;update some cabal files
2020-09-01 20:39:02 -07:00
Simon Michael
09ac90a70a
;doc: finalise changelogs
2020-09-01 20:28:04 -07:00
Simon Michael
3170cc7cbd
bump version to 1.19
2020-09-01 20:27:17 -07:00
Simon Michael
7aefa6f0ce
;doc: changelogs
2020-09-01 20:23:30 -07:00
Simon Michael
e44c1cfae8
;regen manuals
2020-09-01 16:31:18 -07:00
Stephen Morgan
07dd30c1e5
lib,cli,ui: Change to consistent naming scheme for Hledger.Utils.Regex.
2020-09-01 11:36:34 +10:00
Stephen Morgan
af31d6e140
lib,cli,ui: Remove redundant Typeable and Data instances.
...
Also add some explicit import lists.
2020-08-31 15:41:30 +10:00
Stephen Morgan
e5371d5a6a
lib,cli,ui,web: Make Regexp a wrapper for Regex.
2020-08-31 12:04:45 +10:00
Stephen Morgan
ba59fed6b2
lib: Replace more instances of fromIntegral with safer versions.
2020-08-30 22:20:58 +10:00
Stephen Morgan
f5a7c84065
ui: Bump version of vty, present in all supported stackage, to get rid of CPP.
2020-08-29 15:08:28 -07:00
Stephen Morgan
2fd678e415
lib,cli,ui: Remove old CPP directives made redundant by version bounds.
2020-08-29 15:08:28 -07:00
Simon Michael
3f55c23603
;review, tag all error calls with an easier to find PARTIAL: comment ( #1312 )
2020-08-05 16:08:33 -07:00
Simon Michael
5b5eab1afe
ui: update for new parseQuery ( #1312 )
2020-08-05 14:18:50 -07:00
Simon Michael
f62797bdb7
;ui: cabal: simplify dep list to help packdeps reverse deps
...
(cf snoyberg/packdeps#51 )
2020-08-01 12:43:40 -07:00
Simon Michael
5d40b54043
;doc: regen manuals
2020-08-01 12:41:54 -07:00
Simon Michael
53759dccc1
ui: help tweaks
2020-07-19 06:12:29 -07:00
Simon Michael
21b91f17cb
;regen manuals
2020-07-18 12:37:06 -07:00
Simon Michael
58695f9c29
ui: help tweaks
2020-07-18 12:30:37 -07:00
Simon Michael
7868da2a48
ui: ESC now restores exactly to initial app state ( #1286 )
...
Also resetFilter (DEL/BS key) no longer changes tree/list mode.
2020-07-18 12:24:37 -07:00
Simon Michael
bac3028704
ui: q exits help; improve help layout ( #1286 )
2020-07-18 08:59:21 -07:00
Simon Michael
ae830a1ace
ui: restore vi keys by popular demand; t toggles tree mode ( #1286 )
2020-07-18 08:39:23 -07:00
Simon Michael
ef8a5140b3
;ui: escape key, forgot this
2020-07-17 15:51:58 -07:00
Simon Michael
bc62fcada4
ui: escape key also clears report period limits
2020-07-17 15:48:15 -07:00
Simon Michael
847fc23236
ui: use t/l keys for tree/list, T for "today", drop vi keys?! retune help ( #1286 )
2020-07-17 15:42:05 -07:00
Simon Michael
a3ae4d88f8
ui: use -t/-l short flags for --tree/--flat, like cli ( #1286 )
2020-07-17 15:36:07 -07:00
Stephen Morgan
51ea6d9f25
lib: Make queryDepth return Maybe Int.
2020-07-16 10:05:53 -07:00
Simon Michael
73141aa645
;regen help/manuals
2020-07-14 12:22:27 -07:00
Simon Michael
403cb457b7
;cabal files
2020-07-14 12:09:45 -07:00
Simon Michael
3452270241
cli: --color/--colour option; smart emacs, windows autodetection ( #1296 )
2020-07-14 12:08:36 -07:00
Stephen Morgan
1425301a8c
lib, cli: Use --flat as the default mode for all reports.
2020-07-07 15:49:08 -07:00
Simon Michael
0bbd88fe7f
;doc: changelogs
2020-07-05 09:24:16 -07:00
Simon Michael
3b6a8b0956
ui: register: elide multicommodity amounts
2020-07-05 06:59:16 -07:00
Simon Michael
44c3eb1904
add a color argument to most amount show helpers, drop cshow variants
...
This is an API change, but it seems better than having additional
colour-supporting variants and trying to avoid duplicated code.
I stopped short of changing showAmount, so cshowAmount still exists.
2020-07-05 06:59:16 -07:00
Simon Michael
3d57d4793d
;doc: regen manuals
2020-07-04 16:17:13 -07:00
Stephen Morgan
c811ea4c7b
lib, cli, ui, web: intopt and friends now make sure their arguments fit
...
inside bounds.
2020-07-03 12:35:51 -07:00
Simon Michael
176011905e
;changelogs
2020-06-22 12:24:01 -07:00
Simon Michael
ce4de7aeb9
;doc: regen manuals
...
[ci skip]
2020-06-21 10:36:21 -07:00
Simon Michael
24996caaeb
bump to dev version
2020-06-21 10:35:52 -07:00
Simon Michael
6216258b41
;doc: finalise 1.18.1 changelogs
2020-06-21 10:22:53 -07:00
Simon Michael
128836f6f8
;changelogs
2020-06-20 18:24:15 -07:00
Simon Michael
3ade9750d3
;valuation: fix hledger-ui ( #1239 , #1253 )
2020-06-19 15:10:12 -07:00
Simon Michael
fae1cc262e
;regen manuals
2020-06-19 14:47:41 -07:00
Dmitry Astapov
460508807f
ui: fix regression in 'F' ( fixes #1255 )
2020-06-13 14:17:20 -07:00
Simon Michael
729e87066f
;cabal files
2020-06-07 13:00:40 -07:00
Simon Michael
aee6b49d36
;bump date in changelogs, installer
2020-06-07 12:45:55 -07:00
Simon Michael
b389ee98dd
;update tested-with
2020-06-07 11:59:36 -07:00
Simon Michael
e8e27821d9
;finalise changelogs
2020-06-07 11:51:40 -07:00
Simon Michael
09b6d44562
;manuals
2020-06-06 17:21:18 -07:00
Simon Michael
a54376e204
;regen cabal files
2020-06-06 17:20:13 -07:00
Simon Michael
19020939c9
;bump versions to 1.18
2020-06-06 17:18:15 -07:00
Simon Michael
fa077415d4
;edit changelogs
2020-06-06 16:53:41 -07:00
Simon Michael
5757c386d8
;draft changelogs
2020-06-05 15:18:23 -07:00
Simon Michael
e5a0bddbe6
;regen manuals
2020-06-05 14:44:37 -07:00
Dmitry Astapov
b7413edf22
lib: --forecast=PERIODICEXPR. Fixes #835 , #1236
2020-06-03 15:53:00 -07:00
Simon Michael
660ba7e1d9
lib: clarify zero-checking function names
...
isZeroAmount -> amountLooksZero
isReallyZeroAmount -> amountIsZero
isZeroMixedAmount -> mixedAmountLooksZero
isReallyZeroMixedAmount -> mixedAmountIsZero
isReallyZeroMixedAmountCost dropped
2020-05-29 18:57:22 -07:00
Simon Michael
9417ee625e
;regen manuals
2020-05-25 17:49:01 -07:00
Simon Michael
6935c46b2c
;regen cabal files with latest stack/hpack (2.3.1/0.33.0)
2020-05-02 17:31:35 -07:00
Simon Michael
df92c36679
;changelogs
2020-04-19 14:45:07 -07:00
Simon Michael
898cda4ee5
;changelogs
2020-04-06 18:38:38 -07:00
Simon Michael
293e2d81d1
;changelogs
2020-03-25 18:42:26 -07:00
Simon Michael
d868a7e170
;update cabal files
2020-03-22 10:49:49 -07:00
Simon Michael
c6951bf7c6
;doc: more tweaks to package readmes, hackage descriptions
2020-03-22 10:49:02 -07:00
Simon Michael
40d3a5c1f4
;update cabal files
2020-03-22 09:28:10 -07:00
Simon Michael
9ca8d7cea9
;update tested-with
2020-03-22 09:27:50 -07:00
Simon Michael
d59ccb260b
;doc: consistent markdown readmes for packages, part 2
2020-03-22 09:27:34 -07:00
Simon Michael
2b15418ddd
;update cabal files
2020-03-22 09:08:37 -07:00