Simon Michael
5bab9600e4
imp: simplify pager setup: just customise LESS, not MORE
...
[#2272 ]-related
2024-11-01 08:01:44 -10:00
Simon Michael
1011029356
imp: pager set extra LESS options for a nice experience when using less
...
Currently this sets a rather ambitious set of options,
and overrides the existing LESS:
--chop-long-lines
--hilite-unread
--ignore-case
--mouse
--no-init
--QUIT-AT-EOF
--quit-if-one-screen
--RAW-CONTROL-CHARS
--squeeze-blank-lines
--use-backslash
--use-color
2024-10-31 19:13:39 -10:00
Simon Michael
30086ae249
imp: run pager more robustly; drop pager lib [ #2272 ]
...
This fixes the error displayed when quitting the pager with long output.
It also replaces the pager lib with more robust homegrown pager utilities,
which should prevent a number of failure modes.
2024-10-31 18:55:09 -10:00
Simon Michael
659e493b30
;doc: update changelogs
2024-10-30 19:01:49 -10:00
Simon Michael
a9a4fd2906
;tools: push: github remote was renamed to origin (for jj)
2024-10-24 11:10:25 -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
7c31ddfba2
;tools: note gtree issue
2024-10-24 10:44:28 -10:00
Simon Michael
f96df24a00
;doc: regular expressions: note possible RTL/bidi limitation
2024-10-24 10:44:28 -10:00
Simon Michael
717e86ff28
;examples:csv: a YNAB 4 example, with workaround for RTL currency symbol
2024-10-24 10:44:28 -10:00
Simon Michael
de9095792e
;stack: 9.0-9.8: add base-compat-0.14, needed since 1c45496
2024-09-30
...
I think base-compat-batteries is unnecessary.
I have not tested all these build plans.
2024-10-24 10:44:28 -10:00
Simon Michael
31469ba6cc
;stack: base-compat-batteries seems not needed
2024-10-24 10:44:28 -10:00
Simon Michael
835b8fd0e8
;ci: ci, oldest: cache ids aren't correctly including ghc version
2024-10-24 10:44:28 -10:00
Henning Thielemann
e43168533f
cli: Commands.Aregister: replace option --no-header by --header=YN
2024-10-23 21:55:24 -10:00
Henning Thielemann
1a9bfcf5be
cli: Commands.Aregister: implement --invert option
2024-10-23 21:55:24 -10:00
Henning Thielemann
fa3676df7d
doc: Commands.Aregister: motivate --no-header option
2024-10-22 12:05:42 -10:00
Henning Thielemann
93d32a934b
doc: Commands.Aregister: mention --cumulative option
2024-10-22 12:05:42 -10:00
Henning Thielemann
8a56c4944c
cli: Commands.Aregister: new option --no-header
2024-10-22 12:05:42 -10:00
Henning Thielemann
3714ac0593
lib: Write.Ods.printFods: change type of number of fixed rows/columns from (Maybe Int) to Int
...
0 is a perfect value for no fixed row or column.
2024-10-22 12:05:42 -10:00
Henning Thielemann
b2aad52168
cli: Commands.Aregister: support option --cumulative
2024-10-22 12:05:42 -10:00
Simon Michael
95ef5fad9a
;doc: update manuals
2024-10-20 09:26:32 -10:00
Simon Michael
0f7242182e
;doc: update help
2024-10-20 09:26:08 -10:00
Simon Michael
fc9b6dffbd
;doc: add latest color/pager flags to general options m4 macro
2024-10-20 09:25:02 -10:00
Simon Michael
d985e89bad
imp: default V accounts become just E when a new V account is declared
...
The equity:conversion account, and its variations equity:trade(s) and equity:trading,
normally detected as V/Conversion type, now become ordinary E/Equity accounts
if some other account is declared as V/Conversion type.
This is motivated by the next commit, in which `check accounts` will
stop warning about conversion accounts and their subaccounts,
which means all of the above names and their subaccounts would remain
always exempt from strict account checking.
Now, if the user declares their own conversion account, those default
accounts will become controllable by account checking again.
Which at least reduces the allowlist a bit.
Hopefully this won't cause hassles.
2024-10-20 09:13:58 -10:00
Simon Michael
da11d74ae6
dev: refactor: clarify journalAccountTypes
2024-10-20 09:13:58 -10:00
Simon Michael
e44cbbf1a4
dev: refactor, clarify detection of cost/conversion postings
2024-10-20 09:13:58 -10:00
Simon Michael
2d90550e25
dev: cleanups
2024-10-20 09:13:58 -10:00
Henning Thielemann
f1ded22c97
cli: Commands.Register: rename parameter base -> baseUrl
2024-10-20 08:49:36 -10:00
Henning Thielemann
84a6e167fb
doc: hledger.m4: add FODS to aregister
in output format matrix
2024-10-20 08:49:36 -10:00
Henning Thielemann
067c5e4db6
cli: Commands.Aregister.htmlRow: replace by call to generic accountTransactionsReportItemAsRecord
2024-10-20 08:49:36 -10:00
Henning Thielemann
4c189dde32
lib: Write.Spreadsheet.integerCell: for transaction indices
2024-10-20 08:49:36 -10:00
Henning Thielemann
7dc3715865
cli: Commands.Aregister: add export to FODS
...
use common Spreadsheet framework for CSV export, too
2024-10-20 08:49:36 -10:00
Simon Michael
7ad71ba2d5
;doc: paging, box-drawing characters: updates
2024-10-20 08:46:11 -10:00
Simon Michael
f348bb642c
;cli:help: make --pager's help more accurate
...
--pager's "yes" doesn't unconditionally force it on; it behaves more
like --color's "auto". But yes/no is easier to read and understand,
so keep that and just tweak the wording.
2024-10-20 08:18:41 -10:00
Simon Michael
f8cc9cdb4d
;dev: document runPager's behaviour precisely
2024-10-20 08:10:07 -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
b6a5687a38
imp: cli, web: disable ghc 9.10+'s stack traces here too
...
Starting to see them also from hledger now.
2024-10-19 18:33:58 -10:00
Simon Michael
62e1c020cf
;examples: hledger.conf.sample: updates
2024-10-19 18:00:51 -10:00
Simon Michael
fd4fa512e6
;doc: update manuals
2024-10-19 17:06:10 -10:00
Simon Michael
d2344c119d
;doc: update help
2024-10-19 17:06:06 -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
a925e73b53
imp:cli: handle -NUM in config file properly
2024-10-19 16:56:14 -10:00
Simon Michael
576417655c
dev: fix stray empty strings in builtinCommandNames
2024-10-19 16:56:14 -10:00
Simon Michael
f5b10b2d40
dev: cleanups
2024-10-19 16:56:14 -10:00
Henning Thielemann
3306abfd43
doc: hledger.m4: add HTML+FODS to print
in output format matrix
2024-10-19 16:52:54 -10:00
Henning Thielemann
cc58ac7bf5
cli: Commands.Print.transactionToSpreadsheet: vertically merge common index, date, description and other cells
2024-10-19 16:52:54 -10:00
Henning Thielemann
8b391e2a07
cli: Commands.Print: add export to FODS and HTML
...
use common Spreadsheet framework for CSV export, too
2024-10-19 16:52:54 -10:00
Henning Thielemann
6773bf0974
cli: Commands.Register: add HTML and FODS to outputFormatFlag
2024-10-19 16:49:24 -10:00
Henning Thielemann
e144ad4ccd
cli: Cli.Commands.Balance: give table names according to report type
2024-10-19 16:49:24 -10:00