Commit Graph

2348 Commits

Author SHA1 Message Date
darkfi
77417cc9b8 wallet: editbox click to focus/unfocus editing 2024-07-07 15:03:05 +02:00
darkfi
86deef0b5b wallet: editbox replace highlighted text when typing 2024-07-07 10:13:50 +02:00
draoi
df8c1a8e86 lilith: fix logic error that was causing responsive nodes to be sent to greylist 2024-07-06 20:41:29 +02:00
draoi
3acf49e6a0 net: use standardized methods for net and lilith refinery's 2024-07-06 20:41:29 +02:00
darkfi
1b8e7b3d06 wallet: editbox copy/pasta from clipboard 2024-07-06 12:52:57 +02:00
darkfi
e0336f4a03 wallet: editbox delete/backspace of text (both selected and normal) 2024-07-06 12:40:06 +02:00
darkfi
52e01b443e wallet: editbox selecting text 2024-07-06 12:24:53 +02:00
darkfi
6442d4f30a wallet: woo editbox cursor scrolling bitches 2024-07-06 12:07:52 +02:00
darkfi
76d48a1bd1 wallet: replace ((a, b), c) in foo1.iter().zip(foo2.iter()).zip(foo3.iter()) with custom zip3(...) util 2024-07-06 11:27:11 +02:00
darkfi
04ede06c9c wallet: editbox clip the rendered text properly 2024-07-06 10:45:13 +02:00
darkfi
750935e156 wallet: editbox clipping rect when regenerating mesh 2024-07-06 08:49:15 +02:00
darkfi
e540f799d3 wallet: text shaping algo, use labels for ambiguous break/continue inside if let block 2024-07-05 14:34:06 +02:00
parazyd
c6227e38e4 net: Create datastore in P2p::new() 2024-07-05 11:17:58 +02:00
parazyd
ee147076b3 lilith: Fix typos in config file 2024-07-05 10:55:38 +02:00
darkfi
69ced21cad wallet: editbox correctly handle both char events and keycodes 2024-07-05 09:16:21 +02:00
darkfi
c9b699a638 wallet: editbox full unicode input 2024-07-04 17:15:28 +02:00
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