Commit Graph

4076 Commits

Author SHA1 Message Date
Simon Michael
29bca306ee ;doc: print: simplify [#2368] 2025-04-18 18:50:41 -10:00
samahri
6bf9369cda imp: add --location tag to print command [#2368]
;fix: delete hledger-print-location, move doc to Print.hs>"print,other features"
2025-04-18 18:49:34 -10:00
samahri
588cab14f3 imp: add --location tag to print command [#2368] 2025-04-18 18:49:34 -10:00
Simon Michael
f54677f5c0 ;doc: boolean queries: edits 2025-04-18 15:27:00 -10:00
Simon Michael
9dd9a696d4 ;doc: boolean queries: edits 2025-04-18 15:24:47 -10:00
Simon Michael
81238e5f27 feat: any:, all: queries allow more powerful transaction matching 2025-04-18 14:06:45 -10:00
Simon Michael
d13b334fb2 ;doc:csv: How CSV rules are evaluated: clarify 2025-04-16 16:43:57 -10:00
Simon Michael
b54766c77a ;doc:csv: How CSV rules are evaluated: clarify 2025-04-16 16:41:07 -10:00
Simon Michael
5c3197dd42 ;doc:csv: How CSV rules are evaluated: clarify 2025-04-16 16:29:53 -10:00
Simon Michael
15218a3d56 ;doc:csv: How CSV rules are evaluated: clarify 2025-04-16 16:25:26 -10:00
Simon Michael
404edc3afd ;doc:csv: How CSV rules are evaluated: clarify 2025-04-16 16:05:51 -10:00
Simon Michael
ee3bd28711 ;doc:csv: How CSV rules are evaluated: clarify 2025-04-16 10:32:50 -10:00
Simon Michael
bcc8471966 ;doc:csv: How CSV rules are evaluated: clarify 2025-04-16 10:29:28 -10:00
Simon Michael
6aa072e1a4 ;doc:csv: How CSV rules are evaluated: clarify 2025-04-16 10:16:28 -10:00
Simon Michael
df5d14628a ;doc:cli: adjust source to avoid disrupting markdown-mode outline 2025-04-16 08:40:58 -10:00
Simon Michael
57b13dab73 ;doc:cli: fix hledger-iadd link 2025-04-12 14:33:15 -10:00
Simon Michael
9340b73aae imp: improve/format errors for various failures [#2367]
These now call error' and show errors in the standard style:

- reading a nonexistent data file
- reading an unsafe dotted file name on windows
- web: using --socket on windows
- demo: demo not found
- demo: error while running asciinema
- diff: bad arguments
- print --match: no match found
- register --match: no match found
- roi: no investment transactions found
2025-04-11 08:06:47 -10:00
Simon Michael
454c669fe4 fix:cli,ui,web: consistent console error output independent of GHC version [#2367]
Hledger.Utils.IO helpers have been updated and new ones have been
added (exitOnExceptions, exitWithError) to allow consistent display of
program errors whether compiled with GHC <9.10, GHC 9.10, or GHC >9.10.
The trailing newlines added by GHC 9.10 are gone,
and so is the "uncaught exception" output added by GHC 9.12.
2025-04-11 08:06:47 -10:00
Simon Michael
9b6d3da677 ;cabal: update cabal files 2025-04-09 10:58:54 -10:00
Simon Michael
ee3b6c29ce ;pkg: allow ghc 9.12 2025-04-09 10:58:52 -10:00
Simon Michael
bc16552e5d ;doc:csv:encoding: add hledger version info 2025-04-08 19:30:59 -10:00
Simon Michael
e57764f676 ;doc: beancount output: edits 2025-04-05 03:43:29 -10:00
Michael Rees
62071bc4c2 feat: timeclock: Add support for multiple clocked in sessions (#2141)
We now support having multiple sessions clocked in. These are paired by
account name if given on the out entry, and otherwise an out closes the
most recent in entry.

Note that this breaks some backwards compatibility, in that we
previously ignored the description on the clock out entry. To mitigate
this, a new hidden flag --timeclock-old has been added, which reverts to
the old behavior.
2025-04-03 11:19:18 -10:00
Simon Michael
2ff2fd1594 ;pkg: simplify LICENSE (try to fix github license detection) 2025-03-31 19:12:38 -10:00
Simon Michael
fb584e7e8b ;pkg: simplify LICENSE, add AUTHORS.md (try to fix github license detection) 2025-03-31 19:05:19 -10:00
Simon Michael
20226283b8 ;pkg: tweak LICENSE files, try to get github to recognise 2025-03-31 18:18:10 -10:00
Simon Michael
47bb40f838 ;pkg: clean up LICENSE files, main module licensing headers 2025-03-31 18:10:19 -10:00
Simon Michael
8d1a8d3799 ;cabal: update cabal files 2025-03-31 17:40:30 -10:00
Simon Michael
ed6cef5c00 ;pkg: clean up package.yaml files
Consistent layout.
Group metadata at the top in similar order to `cabal format`.
2025-03-31 17:25:41 -10:00
Simon Michael
775507c2d4 ;pkg:cabal: specify GPLv3+ exactly; require cabal 2.2+ [#2359]
Previously our cabal files used cabal-version 1.12, and were in theory
buildable with any ancient version of cabal.  Now at least cabal 2.2
(or a version of stack built with with similar Cabal version) is
required to build hledger.
2025-03-31 16:55:36 -10:00
Simon Michael
b6ec245647 ;cabal: update cabal files 2025-03-31 16:33:50 -10:00
Simon Michael
cb6a9b2f97 ;pkg:cabal: update tested-with in all package.yamls 2025-03-31 16:27:40 -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
fa4dbf45af ;doc:csv:encoding: edits [#2354] 2025-03-30 10:09:45 -10:00
Simon Michael
b75f0ebd00 ;fix:doc:csv:encoding: list accurate canonical encoding names [#2354]
see also https://github.com/dmwit/encoding/issues/28
2025-03-30 10:02:59 -10:00
Simon Michael
6122366af1 ;doc:Commands: fix commands link in TOC 2025-03-13 11:52:32 -10:00
Simon Michael
9521fead17 ;doc:Commands: add run, repl, commands to TOC 2025-03-13 11:47:26 -10:00
Simon Michael
2a45cfa27b ;doc: fix update csv tutorial link 2025-03-13 11:16:39 -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
Stephen Morgan
8474c811c5 imp run: More successful cache hits with forecast
If forecast start and end dates are explicitly requested with
--forecast=, those parts of the reportspan_ can be replaced with the
forecast dates, meaning more successful cache hits.
2025-03-12 20:47:17 -10:00
Simon Michael
133560aa93 ;dev: csv: no need to test for unsupported feature [#2352] 2025-03-12 20:40:36 -10:00
Thomas Miedema
a8a0d3ee30 fix: csv: fix regression in parsing rules containing & (#2352) 2025-03-12 20:35:59 -10:00
Simon Michael
6f17d133dd ;imp:cli: improve help for --pretty 2025-03-09 08:16:38 -10:00
Simon Michael
6d47530ebc ;imp:cli: improve help for mutually exclusive valuation flags 2025-03-09 08:16:38 -10:00
Simon Michael
dbb85e3a9f ;doc:balance: "types" -> "modes" 2025-03-08 13:09:02 -10:00
Simon Michael
dcd5221489 ;doc: update embedded manuals 2025-03-08 12:46:13 -10:00
Simon Michael
b31091195b ;doc: update command docs 2025-03-08 12:44:57 -10:00
Simon Michael
02ef6e45e7 imp:cli: make mutually exclusive flags clearer in --help 2025-03-08 12:42:16 -10:00
Simon Michael
a0afda4a2b ;doc:options: mention mutually exclusive flags 2025-03-08 11:20:21 -10:00