This website requires JavaScript.
Explore
Help
Sign In
shinyobjectz
/
raea
Watch
1
Star
0
Fork
0
mirror of
https://github.com/shinyobjectz/raea.git
synced
2026-12-01 21:03:47 -10:00
Code
Issues
Packages
Projects
Releases
1
Wiki
Activity
Files
4c392f60d696e27ca383656bbc5685b10ee4be21
raea
/
runtime
/
js
/
src
T
History
shinyobjectz
f9b6f22ecf
media: a quarter second of frames waits ahead; a video drawn small sends only the halving it is drawn from
2026-11-13 11:43:31 -08:00
..
calls.rs
raea 9565b5f97
2026-11-06 16:27:57 -08:00
html_page.rs
An HTML page's files load on Windows (
fixes
#40
,
fixes
#41
,
fixes
#42
). The HTML runtime was handed the page's folder as Windows wrote it: canonicalized to a verbatim \\?\D:\ path (
#40
), or as D:/..., which a URL reads as scheme d (
#41
). The cached Google Fonts face came back from html.read as C:\... (
#42
). Its backslashes became CSS escapes in url(), and the drive a URL scheme in src. Now the folder is canonicalized without the verbatim prefix (raea_io_home::plain), and the runtime gets every path in URL form: raea_io_home::url_path, /D:/work/page on Windows, which the page's file:/// base joins into file:///D:/work/page. That covers the page folder, the font folder and html.read's answers. What the runtime names back (html.read's urls, a video's file, a sound's src) is read through from_url_path. Nothing changes on Unix, where both are the path itself. io/home's test checks the forms on any system, and joins them to file:/// as Blitz does: the result is a file URL, not scheme d
2026-11-08 01:40:12 -08:00
js.rs
raea dc579e418
2026-10-31 13:15:29 -07:00
lib.rs
Page media plays: video and audio elements' play(), pause() and load() drive the host's player, on the sound's clock
2026-11-09 12:31:56 -08:00
media_html.rs
media: a quarter second of frames waits ahead; a video drawn small sends only the halving it is drawn from
2026-11-13 11:43:31 -08:00
media_play.rs
media: a quarter second of frames waits ahead; a video drawn small sends only the halving it is drawn from
2026-11-13 11:43:31 -08:00
media_sound.rs
A page's <video> and <audio> play at their element's volume in raea's window (Shane 11-10: 'a loudness lever not just on and off'). sdk/ui's element takes volume as a browser's does (0..1, RangeError outside it, volumechange) and tells the host __volume, again with each play; runtime/dom/media asks the decoder Cmd::Volume when it changes; raea-runtime-js keeps it per player and plays the sound at that gain while it isn't muted (an AtomicU32 beside muted, read in the audio callback), set again when a sound opens. Before this the window had only muted, so the app's volume slider changed nothing. sdk/ui test: the element's volume reaches the host as __volume, fires volumechange once and is told again with a play. The live composition stage has no volume call yet
2026-11-10 16:16:08 -08:00
net.rs
The desktop app keeps its localStorage across launches, and a page reads it before its code runs (Shane, 11-09: the open workspace and Getting started's Hide were lost on every quit).
2026-11-09 12:42:59 -08:00
os.rs
raea 9565b5f97
2026-11-06 16:27:57 -08:00
webaudio.rs
raea dc579e418
2026-10-31 13:15:29 -07:00
world.rs
raea dc579e418
2026-10-31 13:15:29 -07:00