Commit Graph

9483 Commits

Author SHA1 Message Date
dasman
d5df21cbbc event_graph: remove already fixed TODOs and debug log msgs 2024-12-25 03:20:28 +03:00
dasman
a500b3d9f1 event_graph: expanding the graph to have multiple DAGs
basically the one dag we had before is now at least one (arbitrarily 5 max) are addressed by their genesis event hash, managed in DAGStore and are sorted chronologically.
creating a new EventGraph instance means creating the configured number of dags deterministically
and open those trees in DB, created if not existing.
prune now drops the oldest tree and adds a new one to the considered trees.
each dag is paired with its unreferenced tips and are updated accordingly.
fetching an event searches through all dags and fetch the wanted one.
in protocol, requesting tips are done by sending the dag_name of which the unreferenced tips are requested (probably breaks comp, still WIP)
2024-12-24 03:32:48 +03:00
darkfi
0d2628a53d wallet/chatedit: create WrappedLines utility which manages wrapped lines and provides useful calcs. Use this to cleanup cursor positioning routine. 2024-12-23 13:58:17 +01:00
darkfi
da211d27ec doc: arch/dex design doc 2024-12-23 11:52:34 +01:00
darkfi
d22af6bc23 wallet/chatedit: cleanup cursor and text drawing code 2024-12-23 11:24:18 +01:00
darkfi
a41dfb9611 wallet/chatedit: resize with wrapped text 2024-12-22 15:07:30 +01:00
darkfi
f62f3179ad wallet: chatedit proper wrapping and adjustment by chatview. 2024-12-22 11:35:03 +01:00
darkfi
5a59617586 wallet: fork editbox into chatedit for multiline editing 2024-12-21 09:52:19 +01:00
darkfi
affb11184d wallet: chatview and editbox rect exprs reeval when changed. Use this to make chatview dynamically resize depending on editbox height. 2024-12-20 23:06:07 +01:00
darkfi
a63e709c5f wallet: remove defaults serialization from GetProperties net API 2024-12-20 23:06:07 +01:00
darkfi
497f46ca8d wallet: remove PropertyType::Buffer 2024-12-20 23:06:07 +01:00
foo
1813fe99f4 doc/src/philosophy/meetings reschedule 25th of December 2024 meeting 2024-12-20 10:39:30 -05:00
darkfi
98e8c9aec9 wallet: allow specifying dependencies for properties that causes them to be re-evaluated when the parent depends value changes. 2024-12-20 11:27:01 +01:00
darkfi
9130ceadf8 wallet: update Cargo.lock 2024-12-20 11:05:52 +01:00
darkfi
18b5ab6231 wallet/editbox: correctly apply scroll for selections 2024-12-20 09:37:05 +01:00
darkfi
7d2ad5c9c8 wallet/editbox: horizontal finger scrolling 2024-12-19 21:42:43 +01:00
skoupidi
47b5edc65e contract/dao: allow exec call only after voting period has passed 2024-12-19 22:32:58 +02:00
skoupidi
f67b17508c contract/dao/tests/integration: decoupled test cases 2024-12-19 22:32:58 +02:00
darkfi
e9754c3dab wallet/editbox: horizontal mouse wheel scrolling 2024-12-19 21:23:03 +01:00
darkfi
44e36068a3 wallet: editbox delete selection 2024-12-19 14:28:05 +01:00
darkfi
840cbb857c wallet: editbox use handles to change selected text 2024-12-19 10:37:21 +01:00
foo
1988cecb75 doc/src/misc/faq add FAQ page 2024-12-18 22:03:41 +02:00
darkfi
a35aa255b6 bots: add telegram mirror bot 2024-12-18 20:22:49 +01:00
skoupidi
9da05dd9b6 contract/dao/tests/integration: added a generic(without a xfer) proposal execution 2024-12-17 18:42:21 +02:00
skoupidi
5e79d8519b contract/dao: cleaned unused stuff 2024-12-17 16:23:56 +02:00
darkfi
9e690abb87 wallet/editbox: show selection handles on highlight text 2024-12-16 14:28:37 +01:00
darkfi
378328ca70 wallet/editbox: long hold finger select words in editbox 2024-12-16 12:16:33 +01:00
skoupidi
1a20f31d14 drk/dao.rs: fixed inverse queries 2024-12-14 17:49:46 +02:00
darkfi
a8f301108b wallet/editbox: click drag to make selections 2024-12-14 16:25:19 +01:00
skoupidi
0e600d3e93 drk/txs_history: better handling of records 2024-12-13 17:16:18 +02:00
skoupidi
341f38579f drk/money: fixed a bug where spent coins don't revert to unspent when reorging 2024-12-13 17:15:41 +02:00
darkfi
11e24ee7e6 wallet: editbox fix Home/End keys 2024-12-13 12:37:07 +01:00
darkfi
e123217f9b wallet: editbox simplified select code 2024-12-13 12:21:07 +01:00
darkfi
7d9020f2ea darkirc: add #media to default autojoin list of channels 2024-12-12 17:31:10 +01:00
darkfi
b2b313892a wallet: editbox simplify del and android handle_compose code using Editable 2024-12-12 16:41:21 +01:00
darkfi
470e496b6e wallet: begin rewrite of editbox by generalizing internal logic using a class called Editable. This will enable creating various types of editable text with different display properties. 2024-12-12 14:25:23 +01:00
skoupidi
6cbd478fcc drk/rpc: rescan genesis block if reorg height is 1 2024-12-10 19:32:42 +02:00
skoupidi
c6e622688b darkfid/task/unknown_proposal: fixed erroenous subscription notification 2024-12-10 19:31:45 +02:00
skoupidi
7d2811f136 drk: added sub command to list scanned blocks 2024-12-10 19:30:51 +02:00
darkfi
ed9979efc9 wallet: remove old mesh and texture caches from ChatView, EditBox and VectorArt. 2024-12-09 14:59:45 +01:00
darkfi
2d3a093711 wallet: Image and Text no longer need to keep old mesh and textures around 2024-12-09 14:51:27 +01:00
darkfi
5d07cc9585 wallet: make also index and vertex buffers be auto-managed 2024-12-09 14:38:52 +01:00
darkfi
b72b033a39 wallet: remove unused freed_textures field from DrawUpdate, and make RenderApi::*_unmanaged_texture() methods private. 2024-12-09 14:20:14 +01:00
darkfi
0bd20aefaf wallet: make textures managed and auto-delete when there's no longer any refs to them 2024-12-09 14:13:39 +01:00
darkfi
22f1a10d72 wallet: make TextShaper non-async which reduces overall need for AsyncMutex throughout code. 2024-12-09 12:38:13 +01:00
darkfi
51c204be84 wallet: App::setup() schema, then once miniquad starts, App::start() will first draw the scenegraph, then start the procs. This way drawing is done ASAP and fast on app startup. 2024-12-09 12:00:14 +01:00
darkfi
0f642dc1e3 wallet: delete RenderApiPtr, since mpsc::Sender is Cloneable, we can just use RenderApi directly 2024-12-08 10:52:19 +01:00
darkfi
20d94d4a55 wallet: cargo update 2024-12-08 10:52:07 +01:00
darkfi
0ccf1989b0 wallet: java android, bugfix broken cancelComposition() by accessing InputMethodManager from the MainActivity class. 2024-12-07 21:19:32 +01:00
darkfi
3d74fee0f6 wallet: CustomInputConnection.java introduce an fstr log() function 2024-12-07 21:16:52 +01:00