Commit Graph

12351 Commits

Author SHA1 Message Date
Simon Michael
03f6864e60 ;doc:examples: markdown readme 2024-01-05 07:39:35 -10:00
Simon Michael
529d930b5a fix:add: rethink adding default commodity symbol; fix doc instead (part 2) [#815] 2024-01-04 21:13:40 -10:00
Simon Michael
62e3ec9b34 ;doc:journal:balance assignments: price -> cost 2024-01-04 20:51:48 -10:00
Simon Michael
9ccc1d3fa5 fix:add,import,web: really avoid filenames ending with . on Windows [#1056]
On MS Windows, trying to add or import or web add to a file whose name
ends with a dot could cause data loss, so in 2019 I made this raise an
error instead (in Hledger.Read.ensureJournalFileExists).

But, the logic was backward, so it did not do the check on Windows.
Now it does.

Also I have removed mention of this from add's doc; currently it's
not documented anywhere. It's obscure, but maybe this is not ideal.
2024-01-04 17:35:22 -10:00
Simon Michael
d462611d6a fix:add: rethink adding default commodity symbol; fix doc instead [#815] 2024-01-04 17:33:05 -10:00
Simon Michael
034d37c3be fix👿stack: build with ghc 9.8, latest stackage nightly (part 2)
Fix the build with GHC < 9.8.

This reapplies commit 87600e5dd, this time with the correct description.
2024-01-04 17:33:02 -10:00
Simon Michael
d4a5361081 dev: Revert "fix:add: apply the D default commodity to bare numbers, per docs, 2 [#815]"
This reverts commit 87600e5dd, which had a wrong description.
2024-01-04 16:57:38 -10:00
Simon Michael
87600e5dd3 fix:add: apply the D default commodity to bare numbers, per docs, 2 [#815]
Avoid breaking GHC < 9.8.
2024-01-04 13:50:37 -10:00
Simon Michael
202aff6549 dev:add.test: convert to modern shelltest format 2024-01-04 13:37:13 -10:00
Simon Michael
1fcc8f1c89 fix:add: apply the D default commodity to bare numbers, per docs [#815] 2024-01-04 13:24:57 -10:00
Simon Michael
9f5f235198 ;doc:journal:auto postings: edit 2024-01-04 13:05:56 -10:00
Simon Michael
1f1cc58efc ;doc:journal:auto postings: clarify 2024-01-04 12:54:39 -10:00
Simon Michael
0c2bc9c217 ;install: bump stackage resolver and belatedly hledger-install version 2024-01-04 08:42:36 -10:00
Simon Michael
19461010f8 ;pkg:stack: use lts 22.4 2024-01-04 08:39:29 -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
1648d2bcb7 fix:check:tags: also ignore builtin modified, _modified tags [#2148]
These tags are generated by --auto.
2024-01-04 05:55:24 -10:00
Simon Michael
c0b6a1e153 ;just:bloglog 2024-01-03 21:30:49 -10:00
Simon Michael
56aa988205 ;doc:RELEASING: updates 2024-01-03 21:03:45 -10:00
Simon Michael
6d455e765c ;doc:changelogs: cleanup 2024-01-03 20:43:39 -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
65ccdb4696 install: 1.32.2 2024-01-03 20:40:35 -10:00
Simon Michael
680205b72d ;doc:RELEASING: cleanup, summarise 2023-12-31 14:35:45 -10:00
Simon Michael
1128927632 ;doc:changelogs: whitespace 2023-12-30 20:29:49 -10:00
Simon Michael
04449ea12c ;just: log: more 2023-12-30 16:43:39 -10:00
Simon Michael
c825605721 ;doc:cli: html version: drop quick reference links 2023-12-29 19:52:12 -10:00
Simon Michael
137d825f7f ;just: format 2023-12-29 13:03:50 -10:00
Simon Michael
173e65fcc1 ;just: format: better commit message 2023-12-29 13:03:35 -10:00
Simon Michael
0be21fde65 ;just: log, summarise activity 2023-12-29 13:00:38 -10:00
Simon Michael
3b3adc83c2 ;just: cleanup 2023-12-29 05:06:13 -10:00
Simon Michael
e2525e05f8 just: fmt 2023-12-29 04:54:16 -10:00
Simon Michael
d6bc5e3875 ;just: watch args, cleanup 2023-12-29 04:54:16 -10:00
Simon Michael
a7b2c74d3b ;doc:journal:queries: edits 2023-12-27 14:39:17 -10:00
Simon Michael
bcf7ad9bf2 ;doc:journal: periodic txns, auto postings: edits 2023-12-27 08:41:55 -10:00
Simon Michael
1ac5237d54 ;doc:queries: edits 2023-12-24 10:56:20 -10:00
Simon Michael
d11158f53b ;doc:queries: edits 2023-12-24 10:03:43 -10:00
Simon Michael
0d7daffad8 ;doc:queries: edits 2023-12-24 10:00:42 -10:00
Simon Michael
2f479fc931 ;just: etags fixes 2023-12-24 09:44:06 -10:00
Simon Michael
bf54f84b2c ;just: cleanups 2023-12-24 09:43:54 -10:00
Simon Michael
8b45d4ba8c fix:csv: fix %FIELD interpolation in assignments using \n [#2134]
In field assignment values we now parse %FIELD references, \MATCHGROUP references
and "\n" newline markers more carefully, so all can coexist.
Parsing these values might be slower than before, but hopefully not noticeably so.
2023-12-23 19:25:34 -10:00
Simon Michael
20c299684b dev:csv: clarify renderTemplate [#2134] 2023-12-23 19:25:22 -10:00
Simon Michael
8f6b7b202e fix: traceOrLog and a rare warning from valuation code
Hledger.Utils.Debug.traceOrLog was logging when it should trace and vice versa.

This affected a warning which Hledger.Data.Valuation.pricesShortestPath
should display if encountering a pathologically long (>1000) price chain.
Also note some oddities about that warning.
2023-12-23 19:22:33 -10:00
Simon Michael
42c7383f57 ;dev:Hledger.Utils.Parse: cleanup 2023-12-23 19:22:33 -10:00
Simon Michael
4b7e7f77bd ;dev:Hledger.Utils.Debug: haddockify some comments so they show in hover 2023-12-23 19:22:33 -10:00
Simon Michael
4651f2e0bb ;doc: rename DEVWORKFLOWS.md to avoid a clash 2023-12-23 14:53:23 -10:00
Simon Michael
e45f09f99c ;just: updates, cleanups 2023-12-22 17:16:07 -10:00
Simon Michael
6a2e30897f ;doc: clarify how auto postings work 2023-12-21 15:19:36 -10:00
Vekhir
095f65d9b4 ;imp: hledger-ui: add brick 2.2 support to package.yaml 2023-12-19 10:08:53 -10:00