- oaknode Rust crate: full implementation (core engine, sequence/ track/block/footage, traverser, serializer, 43 node behaviors; 493 tests green) - oakrender Rust crate: full implementation incl. wgpu backend skeleton, ticket arena, worker pool (136 tests green; fixed lost-wakeup and ticket ordering races) - src/facade/rust (oakfacade): 222 oakengine_* exports over the module C ABIs (61 tests green); worker_main + real POSIX shm frame-slot transport (SpscRingBuffer/FrameSlotPool, wire-compatible with engine/render/ipc) - cli/rust + worker/rust binaries (29 + 29 tests green) - oakotio: FCPXML import/export (49 tests green) - oaktask: OTIO/FCPXML format dispatch (90 tests green) - app/rust: gpui app skeleton — dock panels (viewers/timeline/ explorer/inspector/node editor), transport, olive themes, i18n (en/zh), 37 tests green - gpui submodule: menu checkmarks, dock ratios, vertical meter, CPU-frame viewer surface, drop-frame timecode
49 lines
1.7 KiB
Rust
49 lines
1.7 KiB
Rust
// Oak Video Editor - Non-Linear Video Editor
|
|
// Copyright (C) 2026 Oak Team
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
//! `oakapp` — the Rust application layer of Oak, built on the `gpui` UI
|
|
//! framework (the oak-gpui fork at `gpui/`).
|
|
//!
|
|
//! This is the start of the Rust rewrite of `app/` (Qt): a gpui window with
|
|
//! the main layout from the design (`design/`), dockable panels built from
|
|
//! the `gpui_widgets` library, and an engine seam (`oakui`) that currently
|
|
//! feeds demo data through [`MockEngine`](oakui::MockEngine).
|
|
//!
|
|
//! # Layout
|
|
//!
|
|
//! * [`app`] — the window shell: menu bar, dock layout, status bar, tick
|
|
//! loop.
|
|
//! * [`panels`] — the dockable panels (viewers, timeline, inspector, ...).
|
|
//! * [`oakui`] — the engine gateway trait, the mock implementation, and the
|
|
//! pure view-state logic (timecode, transport).
|
|
//!
|
|
//! # Running
|
|
//!
|
|
//! ```text
|
|
//! cargo run --bin oakapp # the demo window
|
|
//! cargo test # unit tests (timecode, transport)
|
|
//! ```
|
|
|
|
pub mod app;
|
|
pub mod i18n;
|
|
pub mod oakui;
|
|
pub mod panels;
|
|
|
|
/// The application entry point (called from `main.rs`).
|
|
pub fn run() {
|
|
app::run();
|
|
}
|