alex
ae7c3b2db8
tools: be silent when checking c code formatting
...
no news is good news. and either way, clang-format verbose mode is
inconsistent with zig fmt. the latter outputs only malformatted files.
2023-02-08 16:17:19 +01:00
alex
3f6c0aef44
git: add 2ecd44a7
to blame-ignore list
2023-02-08 16:16:34 +01:00
alex
2ecd44a7db
ui/c: workaround clang-format's pointer alignment in a define
...
it is actually multiplication, not a pointer. reads nicer this way.
2023-02-08 16:13:44 +01:00
alex
6a93ba9a30
zig: switch from stage1 to the new stage2 compiler
...
stage2 has been merged and set as default around end of aug 2022 in
https://github.com/ziglang/zig/pull/12368 . since then the main focus has
been on this new stage2 compiler.
with the release of 0.10.1 the stage2 is fairly useable now and it is
the way forward, towards zig 0.11 or 1.0. read more about difference in
https://github.com/ziglang/zig/wiki/Self-Hosted-Compiler-Upgrade-Guide
another good read on the relevant topic is
https://ziglang.org/news/goodbye-cpp/
2023-02-08 15:57:57 +01:00
alex
c08ded524e
docs: a quick local dev setup and contributing sections
...
while there, made test filter actually work with
zig build test -Dtest-filter=xxx
a previous invocation with `--test-filter` never worked.
2023-02-05 16:13:52 +01:00
alex
698e5b6f76
src,lib: zig fmt and clang-format all code
...
C style is now fixed by .clang-format.
a handy script to check all source code formatting is in
tools/fmt-check.sh.
2023-02-05 16:07:21 +01:00
alex
161a2b965b
license: add qeles AG to copyright holders
...
qeles AG is now a significant contributor, too.
https://qeles.ch
2023-01-31 15:15:12 +01:00
alex
5332d00290
ngui: make it work with zig release v0.10.0
...
only one tiny change: @maximum -> @max.
nothing to do for nd.
2023-01-30 12:41:24 +01:00
alex
7226c31dfb
nd: increase services stop timeout to 10min but in parallel
...
10min looks quite excessive but based on conversations in
https://github.com/bitcoin/bitcoin/commit/7fb7acfc , better safe than
sorry. same for lnd. in any case, 30sec was indeed far too short to
begin with, especially for bitcoind.
services are now stopped in parallel, though. so, the poweroff sequence
goes faster.
2022-10-01 01:40:46 +02:00
alex
0266125c65
ui: increase default font from 14px to 16px for readability
...
16px looks easier to read but IPv6 addresses don't fit in the wifi
settings panel anymore. need to find a better way how to display them or
change font.
2022-10-01 00:33:02 +02:00
alex
bfc71fec92
start: initial minimal implementation
...
3 tabs: bitcoin, lightning and settings.
only settings is populated, with wifi info and shutdown.
see build.zig for how everything ties up together.
2022-09-30 15:01:08 +02:00
alex
68dd23525e
lib: add lv_drivers v8.3.0 as a subtree module
...
git subtree add --prefix=lib/lv_drivers --squash \
https://github.com/lvgl/lv_drivers v8.3.0
2022-09-16 11:38:18 +02:00
alex
8e64914235
Squashed 'lib/lv_drivers/' content from commit 71830257
...
git-subtree-dir: lib/lv_drivers
git-subtree-split: 71830257710f430b6d8d1c324f89f2eab52488f1
2022-09-16 11:38:02 +02:00
alex
072a4a96a7
lib: add lvgl v8.3.1 as a subtree module
...
git subtree add --prefix=lib/lvgl --squash \
https://github.com/lvgl/lvgl v8.3.1
2022-09-16 11:37:38 +02:00
alex
38088b9d3b
Squashed 'lib/lvgl/' content from commit 9024b72b
...
git-subtree-dir: lib/lvgl
git-subtree-split: 9024b72b4853e1e7ac29a42e54b7a10d3c4f3b20
2022-09-12 13:47:15 +02:00
alex
6d4c4fa4b2
repo: initial blank import of zig init-exe
...
this is to make a valid HEAD for upcoming "git subtree add ..."
2022-09-12 13:42:44 +02:00