Thomas Miedema
c41588c5cd
;dev: fixup hledger-ui.cabal
2025-03-31 16:18:09 -10:00
Thomas Miedema
bf3d1b6b49
;dev: extra >= 1.7.11 is required
...
Commit ff28aa32 introduced usage of Data.List.Extra.groupOnKey, which
first came with extra-1.7.11.
Fixes stack8.10.yaml build hopefully.
2025-03-31 16:18:09 -10:00
Simon Michael
177c26cdc6
;doc:ui: drop obsolete Windows non-support info
2025-03-13 10:47:33 -10:00
Simon Michael
efff1cfdb5
;doc: finalise changelogs for 1.42.1 on 2025-03-12
2025-03-12 21:35:24 -10:00
Simon Michael
be1e921dca
;doc: update changelogs
2025-03-12 21:35:24 -10:00
Simon Michael
9c880a5d73
;pkg:ui: allow vty 6.4
2025-03-09 08:17:02 -10:00
Simon Michael
02ef6e45e7
imp:cli: make mutually exclusive flags clearer in --help
2025-03-08 12:42:16 -10:00
Simon Michael
f7aec96db1
;doc:changelogs: cleanups
2025-03-07 21:22:19 -10:00
Simon Michael
b9cd9981f7
;doc: update embedded manuals
2025-03-07 18:49:13 -10:00
Simon Michael
4e5506da1e
;cabal: update cabal files
2025-03-07 18:49:08 -10:00
Simon Michael
10c523c057
;pkg: set version to 1.42.99
2025-03-07 18:49:07 -10:00
Simon Michael
41e5a538b1
;pkg: clean up other cabal files, separating unrelated ghc options
2025-03-07 07:54:57 -10:00
Simon Michael
fd0bcdfede
;doc: finalise changelogs for 1.42 on 2025-03-06
2025-03-07 06:36:53 -10:00
Simon Michael
8184d20b9f
;doc: update changelogs
2025-03-07 06:36:15 -10:00
Simon Michael
e25cd526b7
;doc: update embedded manuals
2025-03-06 16:05:55 -10:00
Simon Michael
25edf03495
;cabal: update cabal files
2025-03-04 17:06:53 -10:00
Simon Michael
11ff329a8e
;pkg:ui: allow vty 6.3
2025-03-01 14:40:30 -10:00
Simon Michael
b629c31f9a
;doc: manuals: remove obsolete mentions of COLUMNS [ #2340 ]
2025-02-27 15:26:17 -10:00
Simon Michael
cf198652f9
pkg:ui: allow brick 2.8
2025-02-15 15:22:33 -10:00
Simon Michael
5f3c3f3854
fix:ui:a key: don't pass cli query args to add [ #2313 ]
2025-01-21 22:02:34 -10:00
Simon Michael
58431b0cec
;imp:ui: allow brick 2.7
2025-01-21 21:36:25 -10:00
Simon Michael
ffc3440313
;doc: update embedded manuals
2024-12-09 17:58:30 -10:00
Simon Michael
f2cb3cd023
;cabal: update cabal files
2024-12-09 17:58:25 -10:00
Simon Michael
20f1f51a9d
;pkg: set version to 1.41.99
2024-12-09 17:58:24 -10:00
Simon Michael
58d461d5ee
;doc: changelogs: fix heading
2024-12-09 16:03:40 -10:00
Simon Michael
77a25b6423
;doc: merge 1.41 changelogs
2024-12-09 15:46:35 -10:00
Simon Michael
917f03b828
;doc: changelogs
2024-12-06 18:05:28 -10:00
Simon Michael
786f5dd72a
;pkg:ui: allow brick 2.5, 2.6
2024-12-03 09:29:15 -10:00
Simon Michael
fd9c64a4ad
pkg: allow megaparsec 9.7 [stackage#7585]
2024-12-03 08:46:29 -10:00
Stephen Morgan
7168f7efc4
imp: ui: Use new DepthSpec in hledger-ui.
...
The regular expression depths are ignored, and only the flat depths are
used.
2024-12-03 08:33:21 -10:00
Simon Michael
909a903137
;doc:ui: mention that period navigation uses standard periods [ #2293 ]
2024-12-01 15:08:45 -10:00
Gal Lakovnik Gorenec
255dc015eb
fix:ui: Fixed #2284 -- valuation and cost flags now reset each other on toggle.
2024-11-18 09:30:07 -10:00
Simon Michael
659e493b30
;doc: update changelogs
2024-10-30 19:01:49 -10:00
Simon Michael
50bf401ea6
dev: split debug/ghcdebug flags, comment out the latter for now
...
Compilation with ghc-debug is failing, and it has not yet been used
for anything. Separate the flag and leave it in place but commented for now.
2024-10-24 10:44:28 -10:00
Simon Michael
4b4cc54a6a
dev:ui: cleanup
2024-10-24 10:44:28 -10:00
Simon Michael
95ef5fad9a
;doc: update manuals
2024-10-20 09:26:32 -10:00
Simon Michael
5bf48d721a
cabal: update cabal files
2024-10-19 18:50:40 -10:00
Simon Michael
7325b75d5b
imp: rename ghcdebug build flag to debug, and enable stack traces with it
...
Builds made with ghc 9.10+ and the 'debug' build flag, will show
(some kind of, partial) stack traces when the program ends with an
error. (And also will have ghc-debug support enabled.)
The stack traces will probably improve in due course.
2024-10-19 18:47:03 -10:00
Simon Michael
6893f342af
imp: cli,ui,web: begin controlling GHC 9.10+'s stack traces
2024-10-19 16:56:14 -10:00
Simon Michael
f5b10b2d40
dev: cleanups
2024-10-19 16:56:14 -10:00
Simon Michael
b940254025
imp:cli: detect --color more safely in most cases
...
--color now also works in a config file, like --pager, except for two
cases: it does not affect colouring of debug output, or the colouring
helpers used in the check recentassertions error message.
2024-10-19 16:28:36 -10:00
Simon Michael
711d921774
imp:cli: --no-pager -> --pager, make this and --color safe options
2024-10-19 16:28:36 -10:00
Simon Michael
1fa8b79640
;doc: update manuals
2024-10-15 16:36:54 -10:00
Simon Michael
6bd5012b9b
;doc: changelogs
2024-10-15 16:36:54 -10:00
amano.kenji
f6c98ec1d6
feat(hledger-ui): add helix as a supported editor
2024-10-15 08:03:12 -10:00
Simon Michael
f54805a034
;doc: update changelogs
2024-10-03 04:47:50 -10:00
Simon Michael
bb551bf0dc
;doc: update changelogs
2024-09-30 17:20:13 -10:00
Simon Michael
1b60ebb61f
;cabal: update cabal files
2024-09-30 17:20:13 -10:00
Simon Michael
6225ac8a22
imp!: support ghc 9.10 / base 4.20
...
When built with ghc 9.10.1, hledger error messages are displayed
with an extra newline following them.
https://gitlab.haskell.org/ghc/ghc/-/issues/25116
2024-09-30 17:15:59 -10:00
Simon Michael
a494e15d55
;doc: update manuals
2024-09-29 12:13:50 -10:00
Simon Michael
9589941bb4
;doc: update changelogs
2024-09-17 07:20:27 -07:00
Simon Michael
ff0fe62fac
;doc: cli, ui, web: mention/link to shell completions
2024-09-17 06:39:23 -07:00
Simon Michael
30aeb662f2
doc: update manuals
2024-09-09 14:09:28 -07:00
Simon Michael
27e6eb0024
;cabal: update cabal files
2024-09-09 14:06:06 -07:00
Simon Michael
c079725836
;pkg: bump version to 1.40.99
2024-09-09 14:06:06 -07:00
Simon Michael
3b73360584
;doc: update changelogs
2024-09-09 14:04:43 -07:00
Simon Michael
dda3855ba2
;cabal: update cabal files
2024-09-09 14:04:43 -07:00
Simon Michael
eaa494a4cb
;pkg: allow doclayout 0.5
2024-09-09 14:04:43 -07:00
Simon Michael
979c387663
;doc: changelogs: 1.40
2024-09-09 14:04:08 -07:00
Simon Michael
55d47ceacd
fix:pkg:ui: avoid brick 2.3.2 which doesn't build on windows
...
That version depends on unix as well as unix-compat.
2024-09-09 14:03:41 -07:00
Simon Michael
d76dff310a
imp: ui: menu screen: show narrowed period in header; cleanup
2024-07-12 13:49:33 +01:00
Simon Michael
a059c9e8cc
;cabal: update cabal files
2024-07-12 12:55:29 +01:00
Simon Michael
5b00566a70
;pkg: ui: allow brick 2.4
2024-07-12 12:47:02 +01:00
Simon Michael
6d8ce1dc16
;doc: ui: fix the description of the Shift-T key
2024-07-07 23:57:01 +01:00
Simon Michael
a8f1968d4b
imp: ui: menu screen: support the shift arrow and shift T keys, for consistency
2024-07-07 23:36:33 +01:00
Simon Michael
cc88617c70
;doc: ui: CHANGES: 1.23: mention the #822 fix
2024-07-07 23:30:55 +01:00
Simon Michael
2f7eae0e35
;doc: ui: keys: updates, clarify period narrowing & shift arrow keys
2024-07-07 23:18:28 +01:00
Simon Michael
65c30bceb6
;doc: update manuals
2024-06-27 00:24:23 +01:00
Simon Michael
5f285a56ab
doc: update manuals
2024-06-25 18:37:55 +01:00
Simon Michael
40620666f8
imp: cli: rename --rules-file to --rules; tweak options help
...
For brevity, and consistency with --conf.
--rules-file remains supported, as a hidden option.
hledger's main mode now supports the hidden legacy flags,
as the command modes do.
2024-06-25 18:37:55 +01:00
Simon Michael
6c294e91d6
fix: ui, web: accept valueless --debug flag again
2024-06-25 18:37:55 +01:00
Simon Michael
46cda5e7de
imp: cli: allow command options to be written before the command also
...
It's clearer to write command-specific flags after the command name
argument, but that's no longer required.
(Writing non-builtin, addon-specific flags after -- is still required).
Also, give up on "obey help/doc/version flags even if there's a bad
command/flag", it's too hard to do well.
2024-06-25 18:37:54 +01:00
Simon Michael
4f0e07d024
;doc: changelogs: bump to latest commit
2024-06-01 14:14:24 -10:00
Simon Michael
8f24fad909
;doc: merge 1.34 release docs
2024-06-01 14:13:57 -10:00
Simon Michael
3f3672e999
;doc: update manuals
2024-06-01 13:30:47 -10:00
Simon Michael
d18c00e1ec
;cabal: update cabal files
2024-06-01 13:30:21 -10:00
Simon Michael
aec28842c7
;pkg: bump version to 1.34.99
2024-06-01 13:30:20 -10:00
Simon Michael
311be367b0
;doc: cli: simplify, use generic help flags again
2024-05-31 19:54:18 -10:00
Simon Michael
88f70eba6b
;doc: cli, ui, web: synopsis, options cleanup/consistency
2024-05-31 19:41:01 -10:00
Simon Michael
12eaee8dcb
;doc: update manuals
2024-05-29 17:02:13 -10:00
Simon Michael
d47513c669
;doc: sync command summaries between manuals and tldr, updating both
2024-05-29 17:00:11 -10:00
Simon Michael
85cf808183
;doc: update manuals
2024-05-29 16:12:48 -10:00
Simon Michael
152b20413c
doc: update manuals
2024-05-29 15:32:19 -10:00
Simon Michael
c5f8444627
feat: hledger's tldr pages are now built in, accessible via --tldr
...
And a few cleanups/fixes related to flag processing.
The help flags are now listed in order of precedence.
2024-05-29 15:32:19 -10:00
Simon Michael
82230e5a1f
imp: cli: end help output with a blank line
2024-05-29 14:45:04 -10:00
Simon Michael
5f255e28ee
;doc: update/simplify general options list in the manuals
2024-05-29 10:00:34 -10:00
Simon Michael
f88aa8f871
imp: cli: --info before --man
2024-05-29 09:37:20 -10:00
Simon Michael
a366f3aeaa
imp: ui, web, cli, all cli commands now show the general flags grouped
...
And cli/ui/web each have their own more specific help flags.
2024-05-29 09:37:19 -10:00
Simon Michael
46b79079bf
;doc: The flattening: adapt to the site's depth-1 page TOCs
...
and tweak command/screen headings.
This goes further in the direction of showing simple lists of topics
instead of outlines. mdbook-toc doesn't support configuring the TOC
depth this per page, so it has to be site wide.
Overall I feel this is better, see eg the hledger manual. It hides a
lot of interesting topic names but a shorter, linear list is less
scary and clearer than a huge scrolling outline. Once you click in to
a section and find a subsection of interest, it's still easy to
bookmark/share those by clicking their heading.
2024-05-22 13:06:08 -10:00
Simon Michael
d817254290
;doc: update changelogs
2024-05-07 16:45:21 -10:00
Simon Michael
2a659e18db
;doc: changelogs: 1.33.1
2024-05-02 00:46:15 -10:00
Simon Michael
02e242c9b1
;doc: update changelogs
2024-05-01 23:23:37 -10:00
Simon Michael
7525014c7d
;cabal: update cabal files
2024-05-01 23:04:18 -10:00
Simon Michael
8d62af8ae0
imp: Revert problematic process-1.6.19.0 bound, it seems not strictly needed [ #2149 ]
2024-05-01 23:04:08 -10:00
Simon Michael
4c53ab419b
cabal: update cabal files
2024-05-01 13:44:14 -10:00
Simon Michael
d17b32c7eb
imp: cli,ui,web: support ghc-debug for analysing memory/profile info
...
When built with the ghcdebug flag and started with --debug=-1 (or -2
to pause at startup, or -3 to pause before exit), hledger can be
controlled by ghc-debug clients like ghc-debug-brick or a custom
ghc-debug query script.
Also, refactor version string code.
2024-05-01 13:43:04 -10:00
Simon Michael
afe9e2c6f4
dev: move journalCheckBalanceAssertions to JournalChecks
2024-04-26 18:59:45 -10:00
Simon Michael
1c5fd0c6a3
;doc: update changelogs
2024-04-26 17:09:17 -10:00
Simon Michael
4ae62a1833
;doc: update manuals
2024-04-18 13:35:28 -10:00
Simon Michael
f59cb5ff3c
;cabal: update cabal files
2024-04-18 13:33:43 -10:00
Simon Michael
f5c4d99291
;pkg: bump version to 1.33.99
2024-04-18 13:33:42 -10:00
Simon Michael
9651082fde
;doc: bump release date to 4/18
2024-04-18 13:20:12 -10:00
Simon Michael
997653e3b9
;doc: changelogs: 1.33
2024-04-18 13:19:34 -10:00
Simon Michael
7231683613
cabal: update cabal files
2024-04-10 08:07:17 -10:00
Simon Michael
69e4a88ccf
pkg: require process 1.6.19.0+ for HSEC-2024-0003
...
This is to avoid potential vulnerabilities on Windows due to the process issue disclosed today:
https://haskell.github.io/security-advisories/advisory/HSEC-2024-0003.html
2024-04-10 08:07:08 -10:00
Simon Michael
76f98f28fd
;doc: update manuals
2024-03-24 14:22:54 -10:00
Simon Michael
b605b5bfd5
;doc:manuals: fix some code block language types
2024-03-02 11:50:10 -10:00
Simon Michael
ce0990d1e2
;cabal: update cabal files
2024-02-29 01:08:37 -10:00
Simon Michael
d755699c9b
imp:stats: also show RTS memory usage stats
2024-02-29 01:07:04 -10:00
Simon Michael
8f1ae401f4
dev: fix some partial head/tails, silence ghc 9.8's new warnings
...
Note the headErr/tailErr calls will print stack traces if they fail
(small ones: five lines, one of which is the useful location info),
which may or may not be best UX.
2024-02-28 15:58:21 -10:00
Simon Michael
697e5a5671
;cabal: update cabal files
2024-02-28 15:34:11 -10:00
Simon Michael
3798a3baef
pkg: require safe >=0.3.20, for ghc 9.8 head/tail helpers
2024-02-28 14:39:53 -10:00
Simon Michael
85836eaa21
;doc: update manuals
2024-02-18 14:59:10 -10:00
Vekhir
de3209a2fb
fix: Hide ambiguous instance for (!?)
...
base 4.19.0.0 introduces Data.List.!? which clashes with Data.Vector.!?, the latter of which is needed for vector operations.
2024-02-18 14:55:31 -10:00
Jonathan Dowland
32328e33de
feat: ui: Add a dark theme
...
I wanted a theme with roughly the same degree of colour as the
default but which was easier on my eyes late at night.
Signed-off-by: Jonathan Dowland <jon@dow.land>
2024-02-18 14:54:31 -10:00
Simon Michael
aa69eb188a
;doc: update changelogs
2024-01-28 02:34:54 -10:00
Simon Michael
a68fe69491
;cabal: update cabal files
2024-01-26 22:49:45 -10:00
Simon Michael
32ef1e3dd9
;doc: update manuals
2024-01-26 22:49:07 -10:00
Simon Michael
f7c18bc6e7
;pkg:ui: allow vty 6.2
2024-01-26 22:47:40 -10:00
Simon Michael
df79aa5e35
dev: distinguish oneLineFmt and oneLineNoCostFmt; add fullZeroFmt
2024-01-23 21:35:06 -10:00
Simon Michael
0cb382cf0e
dev: rename AmountDisplayOpts -> AmountFormat, and related constants
...
noColour -> defaultFmt
noCost -> noCostFmt
oneLine -> oneLineFmt
csvDisplay -> machineFmt
2024-01-23 21:35:06 -10:00
Simon Michael
352b0bc1b5
;doc: update manuals
2024-01-12 13:52:11 -10:00
Simon Michael
a0922a3866
;cabal: update cabal files
2024-01-04 08:25:13 -10:00
Simon Michael
2a99b3d456
imp: stack: build with ghc 9.8, latest stackage nightly
2024-01-04 08:24:50 -10:00
Simon Michael
5b1281fc69
;doc: update changelogs
2024-01-03 20:42:28 -10:00
Simon Michael
ea34562b4b
;doc: changelogs
2024-01-03 20:42:04 -10:00
Simon Michael
0a838bdd6c
;doc:changelogs: cleanup for easier merge
2024-01-03 20:41:36 -10:00
Simon Michael
1128927632
;doc:changelogs: whitespace
2023-12-30 20:29:49 -10:00
Vekhir
095f65d9b4
;imp: hledger-ui: add brick 2.2 support to package.yaml
2023-12-19 10:08:53 -10:00
Vekhir
30ceeadcf7
imp: Support brick 2.2
2023-12-19 10:08:53 -10:00
ShrykeWindgrace
ce02f20d29
feat: support hledger-ui on windows
...
Introduced or bumped dependencies:
- brick-2.1.1
- vty-6.1
- vty-crossplatform-0.4.0.0
- vty-windows-0.2.0.1 conditionally on windows (current version of
vty-crossplatform has 0.2.0.0 as a lower bound, need to put a newer version explcitly;
once we get a newer vty-crossplatform, we will be able to drop this conditional)
- vty-unix (indirectly via vty-crossplatform)
2023-12-19 08:20:16 -10:00
ShrykeWindgrace
03808552ff
feat: add notepad as default editor for windows
2023-12-19 08:20:16 -10:00
Simon Michael
fbd2fdef40
;cabal: update cabal files
2023-12-14 08:58:02 -10:00
Simon Michael
a3290bfaeb
pkg: allow megaparsec 9.6*
2023-12-14 08:57:42 -10:00
Simon Michael
9bad34c341
;doc: changelogs
2023-12-07 11:36:39 -10:00
Simon Michael
7ace5ee560
;doc: changelogs for 1.32.1
2023-12-07 11:32:20 -10:00
Simon Michael
d831f48cb0
;doc: update manuals
2023-12-02 09:09:53 -10:00
Simon Michael
ab313c49c7
;cabal: update cabal files
2023-12-02 09:09:07 -10:00
Simon Michael
80d1da2db9
;pkg: bump version to 1.32.99
2023-12-02 09:09:07 -10:00
Simon Michael
26f56e0a13
;doc: changelogs: merge edits from release branch
2023-12-02 09:06:53 -10:00
Simon Michael
4e65d91bc9
pkg: ui: upper bounds for vty & brick
2023-12-02 09:03:20 -10:00
Simon Michael
e90483a75a
;doc: update manuals
2023-12-01 17:25:00 -10:00
Simon Michael
71222d75e5
;doc: changelogs: edit
2023-12-01 17:23:31 -10:00
Simon Michael
0b4b4ed70c
;doc: draft changelogs from commit messages (Shake changelogs)
2023-12-01 17:23:31 -10:00
Simon Michael
0c85b48d2c
;doc: use ``cli not ``shell for command-line examples
2023-11-26 08:30:04 -10:00
Simon Michael
0bf0c30b8d
doc: update manuals
2023-11-22 22:57:55 -10:00
Simon Michael
a8062381dd
;cabal: update cabal files
2023-11-22 22:57:36 -10:00
Simon Michael
e2cc2d7e24
feat:print: add a basic beancount output format
...
This prints journal output more likely (but not guaranteed) to
be readable by Beancount.
All packages now require text 1.2.4.1 or greater.
2023-11-22 22:57:36 -10:00
Simon Michael
6bd862efbf
imp: ui: round amounts to display precision as before (precisiongeddon)
2023-11-14 13:23:40 -08:00
Simon Michael
250d98df29
cabal: update cabal files
2023-11-07 09:25:29 -08:00