10710 Commits

Author SHA1 Message Date
jkds
9d15053bee app/chatview: migrate FileMessage to text2 API 2026-01-05 10:38:00 +01:00
x
1e185188e9 doc/nodes: Add default daemon ports 2026-01-05 09:21:00 +00:00
x
3ab39ece15 doc/tor-guide: Clean up and formatting 2026-01-05 09:21:00 +00:00
jkds
a9e1f04a9f app: do proper JVM thread mgmt. previously we call AttachThread() everywhere which is wrong, it should be called once per thread and then DetachThread() to cleanup. use thread local storage + Drop to make a thread guard for this. 2026-01-05 06:16:41 +01:00
jkds
6e23e98d26 app: replace androidx with just normal android classes so we dont need to bundle androidx jar 2026-01-05 06:15:13 +01:00
jkds
a46fc2963b app/chatview: migrate PrivMessage to text2 API 2026-01-04 19:42:27 +01:00
jkds
b7935765fb app: Cargo.lock update 2026-01-04 18:46:13 +01:00
jkds
3564bd1f84 app/chatview: migrate DateMessage to text2 API 2026-01-04 18:46:13 +01:00
oars
d43a456f7b script/research/tx-replayer: add wasm, zkp and sig command line flags inorder to verify either wasm runtime, zkp or signature part of the transaction inorder to see resources usage for each parts of a tx verification 2026-01-04 16:27:45 +03:00
oars
ff477eb2f0 script/research/tx-replayer: a tool to replay a transaction by resetting the blockchain database to a height before the transaction was added at 2026-01-04 16:27:45 +03:00
oars
12a18503a2 contract/test-harness: fix issue with benchmark_wasm_calls and let it silently fail when given an invalid tx 2026-01-04 16:27:45 +03:00
oars
f974da8409 script/research/zkvm-metering: add CircuitCost measurements 2026-01-04 15:34:29 +03:00
oars
7c42e3020d zk: add Debug trait to ZkCircuit and fill configure trait 2026-01-04 15:34:29 +03:00
oars
f7db85c0a9 script/research/zkvm-metering: generate and verify Native contracts' proofs 2026-01-04 15:34:29 +03:00
oars
8d7d33b812 script/research/zkvm-metering: organize 2026-01-04 15:34:29 +03:00
oars
574695f034 script/research/zkvm-metering: fix merkle_root opcode zk proof, k = 11 can be used and this changes the proof size and verifying key size 2026-01-04 15:34:29 +03:00
skoupidi
f644d8cae0 net/hosts: moved file doc comments before items 2026-01-04 14:31:01 +02:00
oars
e641ac09f4 chore: fix rustdoc broken doc links and warnings 2026-01-04 15:13:27 +03:00
jkds
6c0dafbceb app/text2: modify text rendering so we build a single atlas for an entire parley Layout. this is handy if a layout does not change (text/styles) just the wrapping. then we can reuse the atlas. 2026-01-04 12:53:53 +01:00
jkds
6b9ef3aff2 app: fix potential bug on exit due to already dropped anim when draw() is called after window quit request. see below for more detailed info.
= Crash =

1. User quits -> god.stop_app() -> runtime stops
2. Arc<ManagedSeqAnim> drops -> delete_unmanaged_anim() -> animation removed from self.anims
3. miniquad event loop calls draw() one more time
4. draw_call() hits GfxDrawInstruction::Animation(anim_id) -> self.anims.get_mut(&anim_id).unwrap()
   PANIC! Animation was already deleted in step 2

= Cause =

- DrawCall holds Animation(AnimId) - just an ID, not a reference
- self.anims: HashMap<AnimId, GfxSeqAnim> stores actual animation data
- ManagedSeqAnim::drop() removes animation from self.anims
- DrawCalls may still reference deleted animations
- Race during shutdown: animations deleted before final draw()

= Fix =

Change Animation(AnimId) to Animation(ManagedSeqAnimPtr):
- Arc keeps ManagedSeqAnim alive as long as DrawCall exists
- Drop only fires when all DrawCalls are dropped
- Animation stays in self.anims until safe to delete
- Uses Rust ownership to prevent bug at compile time
2026-01-04 07:14:18 +01:00
jkds
8028ea9b10 app: use cargo features to enable switching between schema layouts 2026-01-04 05:35:54 +01:00
jkds
4378ea4845 update copyright dates on new files from 2025 to 2026 2026-01-04 05:25:56 +01:00
jkds
1a4247ea7a Merge codeberg-tor:darkrenaissance/darkfi 2026-01-04 05:19:15 +01:00
jkds
633d7f21ce Merge branch 'gameinput' 2026-01-04 05:13:35 +01:00
jkds
af086abc61 app/edit: fix bug where android sends us spurious compose changes. Just drop them. 2026-01-04 05:11:38 +01:00
skoupidi
0692bf9ce7 Cargo.toml: reverted zk feature back to asyn-sdk 2026-01-03 17:40:03 +02:00
jkds
d131828285 app: reduce JNI overhead when adjusting a selection by creating a special setSelection() fn so we dont have to pass the entire state over the bridge. 2026-01-03 11:22:03 +01:00
jkds
7d589fd2ac app/edit: improve perf of editing selection. only recalc rect when editing text itself (not select changes) 2026-01-03 06:36:44 +01:00
jkds
737ba095f9 app: android event handler improve editor logic 2026-01-03 02:40:47 +01:00
jkds
b182fa7fa9 app: improve android editor perf and eliminate a deadlock in android text input 2026-01-03 02:04:52 +01:00
skoupidi
dfe15b173f contrib/localnet/darkfid*: added missing management rpc in all scripts 2026-01-02 20:01:07 +02:00
skoupidi
fcf4aded0e darkfid: split managemtn rpc methods into its own rpc server and standarized all ports 2026-01-02 19:41:34 +02:00
x
4f30aae91d doc: Update book links 2026-01-02 17:28:09 +00:00
x
514c494582 doc: DEP0007 accepted 2026-01-02 17:20:31 +00:00
x
29501efe04 doc/testnet/contract: py rpc example 2026-01-02 16:54:06 +00:00
skoupidi
e579f5a6ab example/wasm-hello-world: rmrfed 2026-01-02 18:17:31 +02:00
skoupidi
28659e261f doc/testnet/contract: use the smart contract template repository for examples 2026-01-02 18:17:31 +02:00
skoupidi
375da0047b doc/README: added mdbook mermaid plugin name in its install command 2026-01-02 18:17:31 +02:00
epiphany
82139d9c0c net/direct_session: remove ChannelBuilder reference and fix typo in comment 2026-01-02 16:16:15 +00:00
x
1bae1ae30b doc: Temporarily remove custom theme 2026-01-02 15:34:06 +00:00
x
e9280a2e42 doc: Add mdbook-tabs 2026-01-02 14:02:11 +00:00
x
09bf42ef01 sdk/python: Add pasta curve serialization 2026-01-02 13:45:15 +00:00
jkds
02530cc0f4 app: make editor support multiline 2026-01-02 12:33:24 +01:00
dekizk
ad677b0fd9 zkas: Add TryFrom trait for VarType in parser
Closes #257
2026-01-02 10:54:57 +00:00
glaucomazoning
501a2d5b82 doc/start-here: minor grammatical edits
Closes #266
2026-01-02 10:42:09 +00:00
jkds
bcb10050df app: fix race condition in handling android IME events in BaseEdit 2026-01-02 10:38:29 +01:00
jkds
6835e16ff2 app: do a big cleanup of java GameTextInput code and make everything have a sane API. 2026-01-02 10:00:55 +01:00
jkds
64e38580b2 app: copy GameTextInput java code into app 2026-01-02 05:15:49 +01:00
epiphany
c00a551db4 fud: clippy 2026-01-01 21:49:37 +00:00
epiphany
fdbc1fb19c fud: fix Fud::get() comment 2026-01-01 20:20:26 +00:00