Commit Graph

10179 Commits

Author SHA1 Message Date
darkfi
a36dfb84e6 app: on linux allow specifying x11 or wayland backend explicitly using CLI args 2025-08-19 10:48:24 +02:00
darkfi
aea0908463 app: fix net module compile err 2025-08-18 11:43:33 +02:00
darkfi
6f233ee7b6 app: add debug str to gfx batches 2025-08-18 10:41:11 +02:00
darkfi
a9a68782f6 app: switch user APIs from foo(self: Arc<Self>, ...) to foo(self: &Arc<Self>, ...) due to new rust stable feature 2025-08-18 08:17:54 +02:00
darkfi
2e08439001 app: cleanup and make some further fixes 2025-08-17 12:21:03 +02:00
darkfi
85001243ff app: update Cargo.lock 2025-08-17 12:18:37 +02:00
darkfi
c4731e725d app: make UI jankless by making all updates truly atomic └(^o^ )X( ^o^)┘ 2025-08-17 12:04:30 +02:00
darkfi
06861f5655 app: only import native::egl when using android 2025-08-16 12:29:45 +02:00
darkfi
ffd44686b9 app: use a Mutex<Vec> + thread to merge render_api incoming requests queue with the main render loop update(). Once update() is called, we take the stack from the Vec and process it. 2025-08-16 12:06:38 +02:00
darkfi
ccb3e8e9bc app: outbound conns = 1, inbound = 0 2025-08-16 11:29:44 +02:00
darkfi
228362ba30 app: locale loading using the miniquad asset manager rather than filesystem (which works for accessing APK assets on android) 2025-08-16 11:28:48 +02:00
darkfi
06f6b56799 app: Cargo.lock 2025-08-16 11:23:41 +02:00
darkfi
3202d51b38 darkirc: fix Dockerfile for android builds 2025-08-15 20:04:12 +02:00
oars
01f2cd1173 bin/darkirc/irc/client: fix bug with split and join of raw IRC message in process_client resulting in replacement of multiple whitespace chars with one whitespace char in PRIVMSG message text part. this solution splits the messages into predefined parts thus keeping the message part of the PRIVMSG message as whole 2025-08-14 17:33:52 +03:00
darkfi
dbed68f981 app: load translations from disk 2025-08-13 10:59:45 +02:00
darkfi
b6c9e446d2 app: gfx RenderApi rename method_req/method_rep to method_send/method_recv since it no longer replies anything (just unidirectional pipe) 2025-08-12 12:27:28 +02:00
darkfi
99d9c3b9d7 app: Makefile optional ADB_DEVICE for when adb has multiple phones/conns attached 2025-08-12 12:16:35 +02:00
darkfi
3d54af17de Cargo.lock 2025-08-11 17:18:14 +02:00
darkfi
52398d9ac7 contrib/app_android-battery-sampler.sh: make it sample for 3 hrs then stop 2025-08-11 17:18:14 +02:00
dasman
b940d5b724 tau: fix removing tags starting with @ 2025-08-11 17:02:01 +03:00
epiphany
f511721a90 script/research: add equix 2025-08-11 15:53:08 +02:00
parazyd
45d63e8a69 chore: Force rust-toolchain to 1.88 2025-08-11 11:37:32 +02:00
darkfi
af12bf8341 app: locale realtime switching and reloading UI 2025-08-11 10:51:37 +02:00
darkfi
d535e58084 app: make it multilingual, add i18n support 2025-08-11 10:28:59 +02:00
darkfi
e6d15c1aea contrib/app_android-battery-sampler.sh: make it sample until battery is dead 2025-08-10 08:50:11 +02:00
darkfi
ac95e7a65d app: call draw() immediately after screen goes on instead of processing pending items, *then* do the pending queue. 2025-08-07 23:31:23 +02:00
darkfi
82d60a7e72 app: avoid forever accumulate gfx method queue while screen is off by pruning new/delete pairs and draw call duplicate updates, fixes out of memory crash while phone screen is off a long time 2025-08-07 13:14:13 +02:00
parazyd
ddbde8b9f8 app/gfx/trax: Add hack for non-android compile 2025-08-05 11:49:11 +02:00
parazyd
67f03c6713 app: Update Cargo.lock 2025-08-05 11:48:58 +02:00
darkfi
12d11b58ba app: remove custom cargo quad in makefile target 2025-08-05 09:52:04 +02:00
parazyd
fda2a84034 chore: Update dependencies 2025-08-05 09:41:05 +02:00
parazyd
14a433cbe3 serial: Bump bridgetree dependency and update crate version 2025-08-05 09:41:05 +02:00
parazyd
7a87a065b0 serial/derive: Bump to 0.5.1 2025-08-05 09:41:05 +02:00
parazyd
b1579d7025 serial/derive-internal: Bump to 0.5.1 2025-08-05 09:15:42 +02:00
oars
d2579f22a2 doc/dep/0007: propose network profiles for p2p net setting 2025-08-04 16:03:10 +02:00
oars
a13ac3eca0 doc/dep/0006: propose app identifier for version and verack messages 2025-08-04 16:03:08 +02:00
darkfi
02556716bb app: analysis script to check for predeleted buffers 2025-08-01 13:25:03 +02:00
epiphany
c8ca15fc54 fu: handle downloaded bytes, download speed, eta 2025-07-30 17:10:30 +02:00
epiphany
f2850953d9 fud/tasks: send event for any error that stopped the fetch task 2025-07-30 17:10:27 +02:00
epiphany
6e9e1f3084 fud, geode: track downloaded bytes and download speed, add eta, improve scraps 2025-07-30 17:10:23 +02:00
darkfi
54fbb1c016 app: add trax hooks for generating data dumps of gfx subsystem and pytools to analyze them 2025-07-29 12:48:59 +04:00
skoupidi
4fec1a0f43 net/hosts: gracefully handle channel registration error 2025-07-17 23:30:48 +03:00
oars
6348cc3f63 net/connector: fix socks5 transport mixing 2025-07-17 18:12:04 +03:00
epiphany
d0a6fdd4e0 fud: replace net.transport_mixing with net.mixed_transports in the default config 2025-07-17 10:06:01 +03:00
epiphany
c5c5a5400a fu: rename put argument from file to path 2025-07-17 10:06:01 +03:00
epiphany
9a148af7cb fud: better handle reply error in fetch_nodes() 2025-07-17 10:06:01 +03:00
epiphany
8660540b97 dht: fix get_channel() holding a write lock to the channel cache for too long 2025-07-17 10:06:01 +03:00
epiphany
ba84e53254 fud, fu, geode: allow downloading a subset of files from a directory
This also introduces "scraps" in the sled database, which are chunks that contains both data the user wants and data the user does not want. Those chunks happen because files (in fud directories) are not aligned with chunks, so they can contain the data of multiple files.

After you download a chunk, fud checks that all bytes of it was written to the filesystem, if not that chunk will be saved as a scrap in sled. It's useful for a few things:

1. You don't download that chunk again later
2. You can still verify integrity, even if you did not write the full chunk into your downloaded files
3. You can seed that chunk (once partial seeding is implemented, which is currently not the case)

They are automatically removed from sled once they are not needed anymore (the fud resource is removed, or the chunk was rewritten to the filesystem, and this time it was fully written).

Those scraps are a concept in fud, not in geode.
2025-07-17 10:06:01 +03:00
darkfi
4c8e5822cb contrib/dependency_setup.sh: if none of sudo or doas exist, enter error and exit. 2025-07-17 10:05:57 +03:00
darkfi
b1b442e3c3 contrib/dependency_setup.sh: added doas support for openbsd (or any other that use it) 2025-07-17 10:05:43 +03:00