Commit Graph

9021 Commits

Author SHA1 Message Date
darkfi
830ec00e0d wallet: ignore touch events outside widget rects 2024-08-08 15:17:29 +02:00
darkfi
133292ad49 wallet: add darkirc backend 2024-08-08 15:17:08 +02:00
darkfi
117898f79e wallet: bugfix chatview missing current_height = descent in calc 2024-08-08 12:53:45 +02:00
darkfi
0ea731fd7f wallet: chatview add_line_to_db() called by handle_insert_line() 2024-08-08 12:52:51 +02:00
draoi
497fe1d06f channel: remove redundant calls to self.stop()
self.stop() stops the main_receive_loop(), so we can just exit function with Error::ChannelStopped.
2024-08-08 11:33:26 +02:00
darkfi
6c7e190a0e wallet: chatview correct scroll clamping calcs 2024-08-08 09:05:23 +02:00
draoi
42e8bc84ca settings: fix bug that was making nodes run a Relaxed ban policy 2024-08-08 08:32:59 +02:00
draoi
a5eb9cc5bf seedsync_session: fix deceptive logic on failed()
We should return an error when ALL seed slots have failed, not ANY.

Otherwise this would print a deceptive error message ("Network reseed failed") if
we have e.g. 2 seed slots and one seeds successfully and the other fails.
2024-08-07 10:45:20 +02:00
darkfi
03025aad13 Cargo.toml: temp remove p2p-tor from net defaults due to android build errors, and add it back in on darkirc Cargo.toml
see main project Cargo.toml for more info.
2024-08-07 10:06:13 +02:00
darkfi
e7eb633916 wallet: UI working with darkirc 🔥🔥🔥 2024-08-06 11:55:03 +02:00
darkfi
8db50e65e3 wallet: bugfix editbox, since property mod streams can now distinguish the source, we dont need special logic 2024-08-06 09:26:17 +02:00
darkfi
7bd760bea9 wallet: connect button signal with slot that clears editbox 2024-08-06 09:00:37 +02:00
darkfi
62b2cd6276 wallet: chatview switch timestamp from millis to secs 2024-08-05 15:36:21 +02:00
dasman
3aeec3d861 specify timestamp unit in Event::timestamp 2024-08-05 16:32:41 +03:00
darkfi
749546a834 wallet: chatview add debug render property 2024-08-05 13:01:28 +02:00
darkfi
5e52bd6ff6 wallet: chatview dont split pages when size is under PAGE_SIZE 2024-08-05 10:42:43 +02:00
darkfi
dce21a3735 wallet: chatview split pages when they get too big 2024-08-05 10:23:35 +02:00
darkfi
6e128ec095 wallet: chatview upgrade timestamps to u64 and add a 32 byte message_id to keys 2024-08-05 09:45:37 +02:00
darkfi
8dd09484c5 wallet: add event_graph and get darkirc messages 2024-08-05 08:22:03 +02:00
draoi
9cc8fa56b5 hosts: fix overflow bug on refresh() 2024-08-04 13:45:36 +02:00
darkfi
90f2958cd2 wallet: get p2p + zk darkfi compiling in the app 2024-08-04 04:58:22 +02:00
dasman
3bbadabaee event_graph: complete docstring of EventGraph::new() 2024-08-03 18:05:12 +03:00
dasman
953049a36c event_graph: complete doc of EventGraph fields 2024-08-03 17:33:43 +03:00
darkfi
cfb1fe27dc wallet: ExecutorPtr = Arc<smol::Executor<'static>> 2024-08-03 14:02:47 +02:00
darkfi
8c8e198da7 wallet: chatview bugfix insert_line() method 2024-08-03 13:12:59 +02:00
darkfi
cb0ce5a7e7 wallet: chatview touch finger scroll accel/decel 2024-08-03 12:28:06 +02:00
darkfi
759af23a91 wallet: chatview - add smooth mouse scrolling accel/decel type movement in the buffer 2024-08-03 12:19:05 +02:00
rsx
f3df028b03 wallet: reload view when scroll changes 2024-08-03 10:56:11 +02:00
rsx
f0e071bee9 wallet: OnModify skips internal changes 2024-08-03 10:50:54 +02:00
rsx
cf2fe7d59e wallet: add Roles to the property system. Useful for distinguishing between who modifies a property and later applying permissions too. 2024-08-03 10:37:15 +02:00
darkie
2dad1f5e83 wallet: chatview pageup/down scrolling 2024-08-03 09:39:04 +02:00
darkfi
6b8eb69cf4 wallet: chatview append message to the end correctly 2024-08-02 17:48:01 +02:00
darkfi
64ce789bf2 wallet: inserting messages directly in the buffer and refreshing the view 2024-08-02 17:42:41 +02:00
darkfi
1796ba2f2c wallet: call method insert_line through scene graph 2024-08-02 16:25:25 +02:00
darkfi
9ffe5ffa36 wallet: button::click() signal 2024-08-02 10:54:15 +02:00
darkfi
8f3b239bb7 wallet: add button 2024-08-02 10:40:47 +02:00
darkfi
2f86574d32 wallet: bugfix faulty scrolling behaviour 2024-08-02 09:56:49 +02:00
darkfi
2400fc8ef7 wallet: chatview improve scroll calcs:
- correct baseline value
- bugfix wrong line counter in Page::regen_mesh()
- put scroll limit logic in draw_cached() so it's shared between all input methods for scrolling
- correct calc for when there's not enough lines in the buffer for scrolling.
2024-08-02 08:46:02 +02:00
darkfi
03ed184991 wallet: chatview correct loading of pages on demand 2024-08-01 15:30:44 +02:00
darkfi
38ea8bbca9 wallet: sample chat.txt remove duplicate timestamps 2024-08-01 15:09:10 +02:00
darkfi
6659eb0f7e wallet: load pages on demand when scrolling up and limit scroll when you reach the end of the current buffer 2024-07-31 10:10:17 +02:00
dasman
19f70bd58f event_graph: gracefully stop pruning task 2024-07-30 19:00:26 +03:00
darkfi
e701c72888 wallet: correct page loading logic 2024-07-30 12:45:53 +02:00
darkfi
df406f0787 wallet: use pages abstraction to cache drawcalls in a smarter way 2024-07-30 12:35:18 +02:00
draoi
687a1a54ad acceptor: don't shutdown the accept process on broken pipe (EPIPE) 2024-07-30 11:18:54 +02:00
rsx
b76088fb79 wallet: chatview avoid scrolling past the bottom lol 2024-07-30 09:14:48 +02:00
darkie
37647a65c9 wallet: prioritize processing gfx events before drawing. Which makes sense if you think about it... 2024-07-29 22:04:34 +02:00
darkie
72fc690b47 doc: update darkirc path for autobuf script 2024-07-29 21:47:50 +02:00
darkfi
34e6bb80b3 wallet: more accurate finger scroll 2024-07-29 11:19:49 +02:00
darkfi
956c769155 wallet: improve LIGHTMODE coloring 2024-07-28 11:55:26 +02:00