Commit Graph

2332 Commits

Author SHA1 Message Date
darkfi
3ce7d4cdcb wallet: bugfix editbox chars randomly repeating. sometimes miniquad doesn't send the key_up event. 2024-07-04 16:58:37 +02:00
darkfi
2a08980807 wallet: add EditBox 2024-07-04 14:29:03 +02:00
skoupidi
97820d7301 darkfid: fixed some sync issues 2024-07-02 22:41:51 +03:00
skoupidi
4582e23745 darkfid: minor cleanup 2024-07-02 17:52:20 +03:00
skoupidi
89424e1126 minerd/rpc: more logs added 2024-07-02 17:18:14 +03:00
parazyd
c6aa5c1544 net: Define a datastore path 2024-07-02 11:51:42 +02:00
parazyd
ba62cdf6e5 net/settings: Convert hostlist into an Option<String> 2024-07-02 11:45:06 +02:00
darkfi
c9e13255cf wallet: editbox stub 2024-07-02 11:09:41 +02:00
dasman
1280470758 tau: gitignore python stuff 2024-07-02 01:24:47 +03:00
skoupidi
97f7a91879 drk: rpc cleanup and minor fix
- All rpc use same fn to perform requests towards darkfid\n- Moved all rpc related Drk fns to rpc.rs\n- Fixed subscribe where if darkfid went off, drk subscription errored and drk hanged
2024-07-01 16:36:29 +03:00
darkfi
b1cfd8e7c6 wallet: fix race condition: delete old buffers should happen after creating new ones. 2024-07-01 10:59:58 +02:00
darkfi
1ff57a6ecf wallet: UI Text properties can be edited realtime 2024-07-01 09:43:21 +02:00
skoupidi
a4fdc3cec1 tau/taud/mont_tasks: clippy chore 2024-06-29 16:51:03 +03:00
skoupidi
46f8c30a20 darkfid: minor cleanup 2024-06-29 16:49:46 +03:00
draoi
8113b42fc0 darkfid: enable dnet
Add dnet_subscribe_events and p2p.get_info RPC calls. Fix a typo in
dnet.switch RPC call. Activate the dnet subscription in main.rs.
2024-06-29 15:24:25 +02:00
draoi
2cd8b4dff7 net: use sync Mutex for HostContainer
Rationale: using a sync Mutex wherever possible is the recommended
method.

Additionally, using a sync Mutex here fixes some really weird fairness
behaviors we observed in the smol::lock::RwLock where writers in the
priority queue were occassionally ignored.
2024-06-27 15:03:22 +02:00
dasman
ad627b7f26 darkirc: revert last changes regarding queuing user msgs if dag not synced 2024-06-27 04:39:49 +03:00
dasman
89afa62a4f darkirc: add a debug msg when if dag not synced and skipping 2024-06-26 14:50:55 +03:00
dasman
653670fc3f darkirc: revert start IRC after DAG sync and queue user messages until synced successfully 2024-06-26 14:41:16 +03:00
draoi
958361c953 net: simplfy fetch_last() method and fix lilith's usage 2024-06-26 10:24:06 +02:00
draoi
6a0d4cfe7d net: simplify update_last_seen() method
Also fix its usage by Lilith
2024-06-26 10:01:42 +02:00
draoi
dbf5c6bc8f hosts: use sync Mutex for HostRegistry
We don't need to use an AsyncMutex here since we're not holding across .await points or for long periods of time.

Using a sync Mutex here also fixes some really weird fairness behaviors we observed in the smol::lock::Mutex where writers in the priority queue were occasionally getting ignored. This was apparently not a deadlock since subsequent and prior readers and writers were able to access the data with no problems.
2024-06-26 08:52:46 +02:00
skoupidi
235ba3f644 darkfid: purge current forks on network dc 2024-06-25 16:00:38 +03:00
skoupidi
df95f854a7 darkfid/task: use network disconnect subscription 2024-06-25 14:27:02 +03:00
dasman
01d57d5877 darkirc: start IRC server task after the DAG has been synced 2024-06-25 03:20:38 +03:00
skoupidi
c43c293a09 darkfid/task/consensus.rs: properly handle the proposals subscription 2024-06-24 20:59:05 +03:00
skoupidi
dfc3918ec7 darkfid/task/consensus.rs: gracefully handle network disconnects for replicator 2024-06-24 20:47:57 +03:00
darkfi
6ac471f999 wallet: switch from harfbuzz_rs to harfbuzz_sys 2024-06-24 17:11:06 +02:00
darkfi
8937d3fa15 wallet: add commented harfbuzz-sys code that doesn't work on android due to needing a recent version of cargo, while APK tools use an older one 2024-06-24 14:40:32 +02:00
darkfi
5b8b609797 wallet: cleanup FFI mess for font stuff 2024-06-24 10:28:19 +02:00
darkfi
85db1d7382 wallet: correctly handle alpha transparency in ansi_texture() on android 2024-06-23 14:58:10 +02:00
darkfi
1c54568fd1 wallet: fix text anti-aliasing calc, conversion from PixelMode::Gray was wrong 2024-06-23 14:18:55 +02:00
darkfi
cbff8febe1 wallet: for labels, create a texture atlas so quads can be batched as a single draw call 2024-06-23 13:41:22 +02:00
darkfi
061f50c2a0 wallet: add android terminal texture display 2024-06-22 19:23:18 +02:00
darkfi
eb2241ed13 wallet: add text rendering and a label widget 2024-06-22 18:51:26 +02:00
dasman
2d68d9d054 tau: ignore any colon that isn't part of known attributes 2024-06-21 05:21:36 +03:00
dasman
273a046b8a tau: print and error and exxit if attributes are invalid, instead of assert 2024-06-20 17:34:09 +03:00
darkfi
2e66e9d6c6 wallet: working z_index in renderer 2024-06-20 15:44:44 +02:00
skoupidi
0c5bf14eee darkfid/drk: fmt 2024-06-20 16:03:32 +03:00
skoupidi
3cb2054928 drk: use per network configuration 2024-06-20 16:03:03 +03:00
skoupidi
01caf27291 darkfid: fixed txs_batch_size arg parsing 2024-06-20 16:03:03 +03:00
skoupidi
186e3302d3 darkfid: moved all relative args under blockchain config args 2024-06-20 16:03:03 +03:00
darkfi
563f04f963 wallet: +bugfix on_modify tasks were being dropped 2024-06-20 15:00:06 +02:00
darkfi
794a32f8b6 wallet: enable zmq backend network access 2024-06-20 13:48:39 +02:00
skoupidi
109b902b01 darkfid: optional mining reward spend hook and user data added 2024-06-20 14:18:27 +03:00
skoupidi
3f31e393e1 contract/money/client/pow_reward: minor cleanup 2024-06-20 14:18:27 +03:00
darkfi
33a67b239b wallet: Mesh::on_modify rect property calls redraw 2024-06-20 12:27:36 +02:00
darkfi
7bc9e3c10c wallet: janny clean up warnings and comment unused mods 2024-06-20 11:52:39 +02:00
darkfi
751037d44f wallet: migrate widgets to src/ui/ 2024-06-20 11:27:45 +02:00
darkfi
9565b6a390 wallet: split event streams into separate publishers to avoid waking sleeping tasks uncessarily 2024-06-20 11:10:53 +02:00