embedding: fizzy's editor on a host's dvui backend (Blender, Unreal)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reading src/fizzy.zig and the existing test-integration build, then trace Entry and the global fizzy.entry() and fizzy.editor() assumptions described in the issue. The requested work needs a plan for separating process setup from the editor and defining the embedded API, host services, and window chrome options. Done means a host can build and run the editor on its dvui window with host-provided config, dialogs, and quit behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Feature request from Graphl, which runs inside Blender and Unreal through blender-dvui and unreal-dvui. Each host owns the process and drives a *dvui.Window through dvui's init/frame/deinit. Graphl keeps a second shell of about 1200 lines for those hosts, and would like to run fizzy's editor there instead.
What's in the way:
- The build. Native backends are a closed set, and there's no way to get fizzy's editor as a module on a host's dvui and backend.
test-integrationalready buildssrc/fizzy.zigon dvui's testing backend, so most of the code is ready. Entryassumes it is the process. It does:- crash handlers and root
panic/segfault decls - Velopack hooks
- the single-instance lock
- a
chdirto the exe's folder - OS window state and chrome
- crash handlers and root
- One editor per process.
fizzy.entry()andfizzy.editor()are globals. - Window chrome. The editor draws a title-bar strip, caption buttons and drag areas.
- Services the host should provide: file dialogs, config storage, what Quit does.
Shape suggested: split Entry into a process part (fizzy's executables only) and an editor part. Expose fizzy.Embedded.init(gpa, win, .{ .chrome = .none, .config, .dialogs, .on_quit }) with frame/deinit, built by fizzy.addEmbedded(dep, .{ .dvui, .backend, .plugins, ... }).
This is a large feature and needs a plan.
- Lingua principale
- Zig
- Stelle
- 1.5k
- Fork
- 40
- Merge medio
- 4h 56m
- PR unite (30g)
- 346
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fizzyedit/fizzy
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fizzyedit/fizzy#306 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 1-2 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
sdk
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
fizzyedit/fizzy#528 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
fizzyedit/fizzy#527 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fizzyedit/fizzy
Issue simili
-
3.7.6-dev commit 80481ea - files not centered when resolution differs and zoom = "pixel-to-pixel"Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
grizzlypeak3d/DJV#931 ·
-
area:desktop priority:p2 type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Add Glim as an external editor on macOSForse già presa @NeoPanic l’ha presa oggi. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
desktop/desktop#23042 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
macOS: clicking a menu item that has a submenu closes the menu instead of opening the submenuAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
blackboardsh/electrobun#581 ·