Commit Graph

9186 Commits

Author SHA1 Message Date
darkfi
b340ebf197 wallet: chatview upscale text depending on window_scale 2024-09-19 12:16:04 +02:00
darkfi
9b6e2c0739 wallet: re-enable net backend with new scenegraph 2024-09-18 20:44:17 +02:00
darkfi
ee7f415231 wallet: updated chatview to new backends 2024-09-18 20:17:25 +02:00
darkfi
d688226a56 wallet: update editbox 2024-09-18 19:54:52 +02:00
darkfi
02f87b8cd5 wallet: update Button UI object to new backends 2024-09-18 19:22:46 +02:00
skoupidi
25dffaeba2 darkfid: refactored p2p stack to use generic protos 2024-09-18 19:40:59 +03:00
skoupidi
c73ee72a41 src/net/session/seedsync_session.rs: mask unused functions 2024-09-18 16:55:08 +03:00
skoupidi
cf8d758bb8 src/net/p2p: added fn to grab a channel pointer by its id 2024-09-18 16:52:05 +03:00
darkfi
d2b1a25f12 wallet: implement fractional scaling \o/ 2024-09-18 14:35:49 +02:00
darkfi
b6f1e571ea wallet: migrate to new scene graph and render API backend 2024-09-18 14:13:18 +02:00
draoi
fb7b7d50c4 doc: improve net peer discovery info messages
Also rely on the seedsync to report failed seeding attempts.
2024-09-18 10:39:34 +02:00
draoi
e55ae297f7 chore: make clippy 2024-09-17 16:33:36 +02:00
draoi
5d302f3435 inbound_session: remove redudant subscribe_stop() call
Channel cleanup happens in the register_channel call, therefore calling
it here is unnecessary and confusing.
2024-09-17 16:14:56 +02:00
draoi
1121b0bede session: bugfix- don't ignore subscribe_stop() error case
subscribe_stop() returns Error::ChannelStopped if the channel is already
stopped when subscribe_stop() is called.

Ignoring this could result in zombie channels.

Now the handshake will simply fail if subscribe_stop() returns
Error::ChannelStopped.
2024-09-17 16:14:56 +02:00
skoupidi
82520041eb chore: clippy elided lifetimes 2024-09-17 16:56:38 +03:00
skoupidi
19eb32f29b src/net/protorocl/protocol_generic: added response action 2024-09-17 16:41:46 +03:00
darkfi
c699f9da44 wallet: editbox only emits true for input handlers when it captures input 2024-09-17 13:11:01 +02:00
darkfi
d295fcddac doc: update summary to reflect new location of network-troubleshooting and added Tor onion connections section to net-troubleshooting 2024-09-17 00:53:26 -04:00
darkfi
9e8da9b3a6 wallet: input events are now relative to the layer which emits them 2024-09-16 15:46:26 +02:00
darkfi
752a085513 wallet: make Point copy and allow Point arithmetic. 2024-09-16 15:40:23 +02:00
darkfi
c76d792208 wallet: remove ability to lock input streams since new input handlers allow you to do this more effectively 2024-09-16 15:03:28 +02:00
darkfi
735c7709dd wallet: replace eval_rect()/read_rect() with PropertyRect wrapper 2024-09-16 14:59:57 +02:00
darkfi
408208d9f3 wallet: rename RenderLayer to Layer 2024-09-16 13:44:53 +02:00
darkfi
00f936b316 wallet: move draw() methods into UIObject trait 2024-09-16 13:41:16 +02:00
darkfi
f6ba337563 wallet: migrate internal APIs to use Point struct everywhere 2024-09-16 13:09:25 +02:00
darkfi
4a0d6ce8f4 wallet: finish migration for handle_(mouse_btn_down|mouse_btn_up|mouse_move|mouse_wheel|touch) 2024-09-16 12:14:49 +02:00
darkfi
fac6250fb7 wallet: migrate to handle_key_up/down() 2024-09-16 11:21:46 +02:00
darkfi
c9a9726c93 wallet: migrate to using handle_char() through the tree 2024-09-16 11:10:27 +02:00
darkfi
eb6fb5ddc1 doc: add reference to network troubleshooting on tor-darkirc page 2024-09-15 23:18:25 -04:00
darkfi
a2a88d0a74 wallet/expr: allow adding consts to the compiler so we can avoid using format!() macros for consts 2024-09-15 15:41:22 +02:00
darkfi
345f623ed7 wallet: replace all ASTs with compiled exprs 2024-09-15 15:07:25 +02:00
dasman
c218d41ce4 deg: update requirements.txt 2024-09-15 15:47:38 +03:00
dasman
456046f9ce deg: account for millis timestamp when building event's datetime 2024-09-15 15:41:35 +03:00
darkfi
3850b2ebf6 wallet: add compiler for exprs 2024-09-15 14:39:39 +02:00
dasman
75b18d684e event_graph: use millis for events timestamp, bump the versions of darkirc and taud and are changed slightly to accordigly interact with both old and new versions 2024-09-15 15:27:31 +03:00
darkfi
0ada742edb wallet: fix 2 small chatview bugs, first is a typo from last commit, second is actually check is_select_mode when its modified after long hold 2024-09-14 13:21:52 +02:00
darkfi
6d576e4c03 wallet/schema: add toolbar showing channel name 2024-09-14 12:57:12 +02:00
darkfi
e8f9333580 wallet: upgrade ui::Mesh to ui::VectorArt which provides scalable vector shapes 2024-09-14 11:20:51 +02:00
darkfi
288d7ecdea wallet: rename ui::Mesh to VectorArt 2024-09-13 14:31:29 +02:00
darkfi
3dbde3dd9a wallet: chatview select lines using touch (long hold) or mouse 2024-09-13 13:16:57 +02:00
darkfi
cfb95a0f1a wallet: editbox apply EOL nudge to selected text 2024-09-13 13:16:57 +02:00
dasman
dc406924e1 event_graph: disallow returning duplicate events when getting the successors 2024-09-13 01:34:31 +03:00
darkfi
3551ab0143 doc: update network-troubleshooting to include error reporting and dnet troubleshooting 2024-09-11 23:53:57 -04:00
darkfi
46e8d83d85 doc: update using dnet page 2024-09-11 19:27:44 -04:00
darkfi
f0f3a9907e wallet: chatview ignore touch events scrolling when outside 2024-09-11 19:02:47 +02:00
darkfi
453cf3f11c wallet: small aesthetic improvements to editbox 2024-09-11 16:51:38 +02:00
darkfi
9d4bd99e55 wallet: chatview fix occassional random scroll stops. it would happen when the previous sample was too close to the last sample due to using a ringbuffer with a fixed number of samples. Now we instead use VecDeque and drop old samples based off time instead of buffer size. 2024-09-11 14:06:20 +02:00
darkfi
8c7bbd2513 wallet: rename chatview::mouse_* props to chatview::* and remove mouse_scroll_decel since it isn't used anymore. 2024-09-11 12:50:03 +02:00
darkfi
ab8bd469cc wallet: add DEBUG_GFXAPI bool toggle 2024-09-11 12:41:21 +02:00
darkfi
9fb2f3c541 wallet: make core update() fn absolutely non-blocking so there's 0 delay for input events. 2024-09-11 12:05:58 +02:00