3578 Commits

Author SHA1 Message Date
jkds
5bc736b243 app: echo.py show usage of link-local ipv6 2026-01-08 11:34:27 +01:00
jkds
037172617d app: windows automated build script 2026-01-08 11:33:51 +01:00
jkds
54974eeada app/vid: take in account the stride when decoding. 2026-01-08 11:27:35 +01:00
jkds
6b0ddc2e24 app: fix window sizing and re-enable android per device density scaling 2026-01-08 10:16:20 +01:00
jkds
4f4daa0d2b app/ui: remove uneeded async from a few fns, add some warnings, do some cleanup 2026-01-07 11:13:48 +01:00
jkds
7fad8bcaf0 app: do not force window redraw when insets change. this should happen automatic 2026-01-07 10:52:01 +01:00
jkds
d7d37eed31 app: bugfix emoji_picker stop() missing clearing old textures when app closed on android. 2026-01-07 10:52:01 +01:00
x
3aa0e3b722 zkas: Implement debug symbols in the compiled binary 2026-01-07 09:22:55 +00:00
jkds
90fadca718 app: cargo update Cargo.lock 2026-01-07 10:12:24 +01:00
jkds
a62a809265 app: fix warnings 2026-01-07 08:43:26 +01:00
jkds
27b842fa97 app: fix android build errors due to recent changes 2026-01-07 07:31:47 +01:00
jkds
04e0a80222 app: s/node.setup(|me| Button::new(me))/node.setup(Button::new)/ 2026-01-07 05:46:53 +01:00
jkds
9f716a283c app: make connect status indicator clickable- doing so will force a reconnect 2026-01-07 04:57:48 +01:00
epiphany
1f8445bbf4 fud: update default ports, move management rpc methods to another rpc server 2026-01-06 20:04:21 +00:00
darkfi
823038c327 app/expr: add native fn as an opcode 2026-01-06 17:02:38 +01:00
darkfi
e30bd5d36e app: remove some uneeded async from fns 2026-01-06 16:32:49 +01:00
darkfi
0e20811752 app/edit: remove uneeded async qualifiers from fns now that TXT_CTX and self.editor is no longer behind AsyncMutexes 2026-01-06 16:20:43 +01:00
darkfi
38e5829196 app: various cleanups to Editor used by BaseEdit with main one being moving from async to purely sync. other changes:
* Removed `Option` wrapper from editor
* Removed `EditorHandle` wrapper
* Changed all editor locks to synchronous
* Made all Editor methods synchronous
* Created `ParleyDriverWrapper`. This makes using the driver much easier.
2026-01-06 15:31:55 +01:00
darkfi
68e73036af app/editor: add ParleyDriverWrapper which hugely simplifies driver access pattern 2026-01-06 15:31:55 +01:00
jkds
5c2bd621df app: remove old TEXT_CTX and replace with parley new pattern 2026-01-06 15:31:55 +01:00
jkds
9af3c403a7 app/chatview: fix multiline msgs 2026-01-06 07:43:05 +01:00
jkds
74b18df957 app: fix emoji picker due to recent changes 2026-01-06 05:56:33 +01:00
jkds
22f9597908 app: rename text2 => text 2026-01-05 18:20:29 +01:00
jkds
94a0db125e app: delete freetype 🎉🎉🎉 2026-01-05 18:14:43 +01:00
jkds
cc53053ef2 app: migrate emoji_picker to the new text API 2026-01-05 17:38:47 +01:00
jkds
0a8be750d3 app: remove text1 refs from ChatView 2026-01-05 12:34:47 +01:00
jkds
2caeba1c5f app/chatview: cleanup unused fn params and remove unused stuff 2026-01-05 12:16:35 +01:00
jkds
9d15053bee app/chatview: migrate FileMessage to text2 API 2026-01-05 10:38:00 +01: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
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
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
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
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
jkds
02530cc0f4 app: make editor support multiline 2026-01-02 12:33:24 +01: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