Commit Graph

11091 Commits

Author SHA1 Message Date
Simon Michael
8f8fc7bf75 dev: ui: re-export new/update functions from screen modules 2022-09-07 14:17:49 -10:00
Simon Michael
a5f4d2fd6e dev: ui: refactor: simpler, more debuggable Screen type
Follow-on from the brick 1.0 migration work (#1889, #1919).

These new types aim to be more restrictive, allowing fewer invalid
states, and easier to inspect and debug. The screen types store only
state, not behaviour (functions), and there is no longer a circular
dependency between UIState and Screen.
2022-09-07 11:56:13 -10:00
Simon Michael
bc810063a5 dev: lib: improve ReportSpec doc 2022-09-07 09:53:11 -10:00
Simon Michael
3e4f5f0417 doc: RELEASING: updates 2022-09-02 11:54:51 -07:00
Simon Michael
38cb53d4f8 doc: RELEASING: updates 2022-09-01 18:51:23 -07:00
Simon Michael
2ef6055516 doc: cli: changelog: fixes 2022-09-01 18:50:04 -07:00
Simon Michael
427005037e cabal: update cabal files 2022-09-01 18:37:57 -07:00
Simon Michael
e5bb4f0b66 ;pkg: bump version to 1.27.99 2022-09-01 18:37:40 -07:00
Simon Michael
8172851572 doc: update github release links 2022-09-01 18:36:51 -07:00
Simon Michael
98abf3cd92 install: 1.27 2022-09-01 18:36:46 -07:00
Simon Michael
6a0235c708 ;doc: announce 2022-09-01 18:36:43 -07:00
Simon Michael
38ce19847b doc: update changelogs 2022-09-01 18:36:39 -07:00
Simon Michael
7631d0efa0 ;doc: update manuals 2022-09-01 18:36:34 -07:00
Simon Michael
651d584bb0 ;doc: update changelogs 2022-09-01 15:48:46 -07:00
Simon Michael
7b383237d5 imp: doc: cli: rewrite/consolidate cost and conversion docs 2022-09-01 15:30:36 -07:00
Simon Michael
5deda67658 imp: add: update/improve invalid date message 2022-09-01 15:30:36 -07:00
Simon Michael
3cda526c5a stack: bump to 2022-09-01 resolver 2022-09-01 15:30:33 -07:00
Simon Michael
3557238b78 ci: binaries-linux-x64-static: fix gather binaries step 2022-08-29 13:35:46 +01:00
Simon Michael
28dd669058 ci: binaries-linux-x64-static: cache ghcup/cabal/ghc; use cabal 3.8 2022-08-29 13:03:04 +01:00
Simon Michael
5c9564acb9 ci: binaries-linux-x64-static: avoid ghcup warning 2022-08-29 12:19:44 +01:00
Simon Michael
6d45630014 dev: lib: fix recently broken doctest 2022-08-29 11:15:35 +01:00
Simon Michael
6fb3797e4c ci: test-linux-x64: build packages separately to fail faster 2022-08-29 11:15:35 +01:00
Simon Michael
79792b3368 cabal: update cabal files 2022-08-29 11:15:35 +01:00
Simon Michael
ab01c7c2a2 lib: re-enable doctests with ghc 8.10, to improve CI test 2022-08-29 11:09:16 +01:00
Simon Michael
c97e05e0dd imp: web: add form: layout improvements, use available space 2022-08-27 12:12:57 +01:00
Simon Michael
473082f782 imp: web: add form: highlight today in date picker 2022-08-27 12:12:14 +01:00
Simon Michael
3b2999ee29 fix: web: add form: allow empty description 2022-08-26 12:00:23 +01:00
Simon Michael
316fbaa755 fix: web: add form: improve layout 2022-08-26 11:58:25 +01:00
Simon Michael
2f00211554 fix: web: add form: pre-fill date again; focus description 2022-08-26 11:58:16 +01:00
Simon Michael
d718f2c50c fix: web: add form: re-enable the file field (#1229)
It was ignored since cc1241fa2 in 2018. Also simplify some types.
2022-08-26 11:29:22 +01:00
Simon Michael
51098d9150 dev: make ghci*: allow use of Debug.Breakpoint 2022-08-26 11:29:16 +01:00
Simon Michael
6503bfec6a dev: web: clarify AddForm a bit (#1229) 2022-08-25 08:18:24 +01:00
Simon Michael
581831b16d dev: web: simplify types a little (#1229) 2022-08-25 08:13:02 +01:00
Simon Michael
bc4c0b4de4 ;doc: contributing: add haskell-hledger popcon chart 2022-08-25 05:13:14 +01:00
Simon Michael
b46cb8a7f7 cabal: update cabal files 2022-08-23 12:16:25 +01:00
Simon Michael
bfb632dd8e dev: lib: Hledger.Data.Amount: drop amount, use nullamt always 2022-08-23 12:16:15 +01:00
Simon Michael
c80c72d7cd dev: lib, cli, bin: enable/fix name shadowing warnings
And a few other cleanups.
2022-08-23 12:16:15 +01:00
Simon Michael
96db4fe9cc dev: ui: enable/fix name shadowing warnings 2022-08-23 02:57:59 +01:00
Simon Michael
a0e31091fc doc: update manuals 2022-08-23 02:02:47 +01:00
Simon Michael
8f65f8a096 ;doc: update CLI usage texts 2022-08-23 02:02:19 +01:00
Simon Michael
cbedfa86c7 doc: cli: account types: clarify 2022-08-23 02:02:19 +01:00
Simon Michael
e5578e5c4e ;cabal: update cabal files 2022-08-23 02:02:19 +01:00
Simon Michael
0c8582dbc7 pkg: web: start a common deps list, add breakpoint to other components 2022-08-23 02:02:19 +01:00
Simon Michael
9584ebb439 imp: lib: Hledger.Utils.Debug: re-export Debug.Breakpoint
And add breakpoint as a dependency and enable its GHC plugin in all
the hledger packages, so that breakpoint's helpers can be used easily.
2022-08-23 02:02:19 +01:00
Simon Michael
6a4680d561 imp: pkg: drop support for GHC 8.6 and 8.8
Slightly motivated by a desire to depend on the new breakpoint
library, which requires GHC 8.10+. With GHC 9.0 in Debian,
it seems time to drop these.
2022-08-23 02:02:19 +01:00
Simon Michael
6b4f145c46 dev: ui: test suite fixes 2022-08-23 02:02:19 +01:00
Simon Michael
f5efb2e08e fix: ui: cleanups, fix more state & logging bugs (#1889) 2022-08-23 01:55:25 +01:00
Simon Michael
b6353804b8 fix: ui: fix state bugs from brick 1 migration (#1889) 2022-08-23 00:50:51 +01:00
Simon Michael
67cd6be424 imp: ui: at --debug=2, do lots of logging to debug.log 2022-08-23 00:50:51 +01:00
Simon Michael
b7b09f991a imp: lib: Hledger.Utils.Debug: fix debug logging to file
dlog has been replaced by more reliable functions for debug-logging
to a file, useful for debugging TUI apps like hledger-ui:
dlogTrace
dlogTraceAt
dlogAt
dlog0
dlog1
dlog2
dlog3
dlog4
dlog5
dlog6
dlog7
dlog8
dlog9

Monochrome pprint' and pshow' have been added.

New dependency: deepseq
2022-08-23 00:50:51 +01:00