Commit Graph

11100 Commits

Author SHA1 Message Date
Simon Michael
c03bb48972 ;dev: make site-watch: convert to watchexec 2022-11-08 11:48:27 -10:00
Simon Michael
3724e77dad ;doc: ui: updates 2022-11-08 11:48:12 -10:00
Simon Michael
4a1d900c51 ;doc: update manuals 2022-11-07 17:04:05 -10:00
Simon Michael
1f385ae774 ;doc: ui: update navigation, clarify balances/changes 2022-11-07 17:03:48 -10:00
Simon Michael
a485a5ebe7 imp: ui: ENTER key is equivalent to RIGHT for navigation 2022-11-07 17:03:06 -10:00
Simon Michael
892eb06396 ;dev: ui: replace "curses interface" with TUI 2022-11-07 16:48:54 -10:00
Simon Michael
b36c35d477 ;dev: makefile comment 2022-11-07 16:37:00 -10:00
Simon Michael
479ef69d3f dev: ui: convert tests to markdown, update 2022-11-07 16:36:26 -10:00
Simon Michael
6e5c30ea1a ;doc: update manuals 2022-11-07 16:18:28 -10:00
Simon Michael
82aa8f1975 imp: ui: bs/is screens: clarify balance/changes in header/footer 2022-11-07 16:10:56 -10:00
Simon Michael
a726be0e28 imp: ui: add flags to select starting screen 2022-11-07 16:04:39 -10:00
Simon Michael
1a526b82c9 imp: ui: debug log startup args, debug level, initial screen stack 2022-11-07 14:52:42 -10:00
Simon Michael
da569e51e1 imp: ui: improve debug logging helpers, log screen stack on each event 2022-11-07 14:51:45 -10:00
Simon Michael
6d2687e67d fix: debug logging: fix non-logging ptrace*IO, dbg*IO 2022-11-07 14:50:13 -10:00
Simon Michael
05aeedf6c9 imp: ui: start on all accts scrn if no bs accts detected, or with an acct query 2022-11-07 09:42:21 -10:00
Simon Michael
1de60dd0c2 ;doc: update manuals 2022-11-06 09:39:22 -10:00
Simon Michael
b0966adc93 dev: debug logging: ".log" suffix instead of ",logging"; improve docs 2022-11-06 09:01:12 -10:00
Simon Michael
78771e900b dev: lib: support debug logging to file in a few more places for hledger-ui 2022-11-06 09:01:12 -10:00
Simon Michael
9a8a8a75a2 imp: ui: start on balance sheet screen: better initial screen stack 2022-11-06 07:59:45 -10:00
Simon Michael
06bc09a36f dev: comments 2022-11-06 07:59:45 -10:00
Simon Michael
4a35945a8f imp: ui: start on balance sheet accounts screen 2022-11-04 23:16:40 -10:00
Simon Michael
b079bbdb4e dev: lib: Hledger.Utils cleanup 2022-11-04 22:19:24 -10:00
Simon Michael
79047ccc43 dev: lib: consolidate some utils in Hledger.Utils.IO 2022-11-04 19:14:36 -10:00
Simon Michael
fc8aa5253a dev: lib: Hledger.Utils.Print -> Hledger.Utils.IO 2022-11-04 18:39:31 -10:00
Simon Michael
6fcd85aac3 dev: lib: Hledger.Utils cleanup, explicit exports 2022-11-04 12:59:10 -10:00
Simon Michael
7c8e241383 dev: make hoogle-setup, hoogle-serve: run a local hoogle 2022-11-04 10:45:57 -10:00
Simon Michael
80249c3e8a dev: lib: Utils cleanups 2022-11-04 09:51:25 -10:00
Simon Michael
5bc977442a dev: lib: remove NOINLINE pragmas HLS doesn't complain about 2022-11-03 17:58:32 -10:00
Simon Michael
0608a76243 dev: lib: extract progArgs, minimise unsafe IO
It is exported from the increasingly-inaccurately-named
Hledger.Utils.Print for now.
2022-11-03 17:58:13 -10:00
Simon Michael
32d7cb5287 doc: ui, web: mention debug output 2022-11-03 17:16:55 -10:00
Simon Michael
cc1ea894aa doc: ui: watch mode cleanup 2022-11-03 17:11:55 -10:00
Simon Michael
80eb461063 ;doc: update manuals 2022-11-03 16:07:55 -10:00
Simon Michael
14c31cc23d ;cabal: update cabal files 2022-11-03 16:07:55 -10:00
Simon Michael
988c164ec8 imp: debug logging improvements; hledger-ui logs to hledger-ui.log only
Hledger.Utils.Debug's "trace or log" functions are now controlled as
follows: to enable logging, append ",logging" to the program name at
startup (using withProgName). This also works when running in GHCI.
And they log to PROGNAME.log, not debug.log.

All (hopefully) debug logging in the hledger packages is now "trace or
log" capable.

This means that hledger-ui should now log all debug output to
./hledger-ui.log, with none of it appearing on the console.
2022-11-03 16:07:54 -10:00
Simon Michael
c25c5cef44 fix: make no-argument --debug flag work with ui & web also 2022-11-03 08:13:58 -10:00
Simon Michael
0bb83b5620 doc: cli: new "Debug output" section 2022-11-03 08:13:13 -10:00
Simon Michael
55dadce479 doc: cli: rename DATA FILES to INPUT, move OUTPUT below it 2022-11-03 08:13:13 -10:00
Simon Michael
a996078253 doc: cli: expand --debug help 2022-11-03 08:13:13 -10:00
Simon Michael
d95786d2f2 doc: web: clarify the run modes 2022-11-03 08:10:45 -10:00
Simon Michael
90a1b7ad20 dev: make man-watch-PROG 2022-11-03 08:10:45 -10:00
Simon Michael
25003d36e1 dev: bump minimum githash version to 0.1.6.2 2022-11-03 08:10:45 -10:00
Simon Michael
6504748b4f ;doc: ui: changelog 2022-10-31 13:36:34 -10:00
Simon Michael
3d26fc30eb ;doc: update changelogs 2022-10-31 13:18:36 -10:00
Simon Michael
9a9ebfc0e3 dev: ui: rename hledger-ui debug helpers 2022-10-31 12:42:09 -10:00
Simon Michael
603fae70c0 dev: lib: clean up/simplify debug helpers 2022-10-31 11:26:11 -10:00
Simon Michael
fbd2ed5a44 ;cabal: update cabal files 2022-10-29 13:04:58 -10:00
Simon Michael
ddb3ea777e imp: lib: move hledger-specific things out of Hledger.Utils.Debug
Moved from Hledger.Utils.Debug to Hledger.Utils.Parse:
traceParse
traceParseAt
dbgparse
2022-10-29 13:04:47 -10:00
Simon Michael
fd82fa48c9 imp: lib: separate Hledger.Utils.Print
Moved from Hledger.Utils.Debug to Hledger.Utils.Print:
pshow
pshow'
pprint
pprint'
colorOption
useColorOnStdout
useColorOnStderr
outputFileOption
hasOutputFile
2022-10-29 12:39:46 -10:00
Simon Michael
3a0473b5b4 fix: ui: fix regenerateScreens, it was not updating the journal
And add to test suite. Fixes unreleased code.
2022-10-28 23:03:12 -10:00
Simon Michael
778b660919 dev: ui: debug logging improvements, export screenRegisterDescriptions 2022-10-28 22:44:47 -10:00