Compare commits

...
11 Commits
Author SHA1 Message Date
waoziandClaude Opus 5.5 7d65025806 Record the 2.1.31 phone check: 57.7 fps on the Moto
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 20:12:08 -03:00
waoziandClaude Opus 5.5 1eb5fd3de2 Release Inner Breeze 2.1.31
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 20:09:13 -03:00
waoziandClaude Opus 5.5 ccbad38a60 Fail the phone check when the app comes back shifted
The check measured the layout shift after leaving and resuming a practice
but only warned, so 2.1.28 to 2.1.30 passed with the app shifted after the
floating window. A shift above 2 now fails the check and the release gate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 20:04:47 -03:00
waoziandClaude Opus 5.5 4097ce5d79 Keep the app inside the screen after the floating window
Android's floating window gives Inbe's window a shadow that makes its
drawing surface 18 pixels larger on every side, and keeps it after the
window opens back to full screen. The app then sat under the camera and
status bar, ran into the navigation and lost its sides. The activity now
reports its window size and Kryon draws and takes touches inside the
window's part of the surface; the floating window itself still fills its
whole surface, without a border.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 20:04:47 -03:00
waoziandClaude Opus 5.5 4b77d513a1 Test the web orientation preference without a canvas resize
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 16:57:44 -03:00
waoziandClaude Opus 5.5 a733f87cba Record the 2.1.30 phone check: 57.7 fps on the Moto
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 16:19:30 -03:00
waoziandClaude Opus 5.5 d0993d71ad Release Inner Breeze 2.1.30
Long menus scroll by touch, open at the current choice, stay above the
navigation and close when the navigation is tapped, switching screens in
one tap. The web app draws at the screen's pixel density with sharp
icons. The app packages are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 16:15:29 -03:00
waoziandClaude Opus 5.5 b5f4ebfa16 Keep open dropdowns inside the page above the navigation
Kryon sizes a dropdown's menu to the page that shows it, so a long menu
ends above the navigation and scrolls to its last row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 16:01:17 -03:00
waoziandClaude Opus 5.5 f1dc2a1dff Let an open dropdown close when the sidebar is tapped
Kryon's dropdown menu is now a popup over the page: a tap on the
sidebar or anywhere outside closes it and still switches the screen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 15:51:40 -03:00
waoziandClaude Opus 5.5 7d18f5089d Scroll dropdown menus by touch and sharpen vector icons
Kryon's dropdown menu now scrolls like any list, by finger, wheel and
fling, and opens at the chosen row; it keeps its own highlight and
scroll, so the language dropdown stops passing them. Vector icons
rasterize at the screen's real pixels, without seams.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 15:25:50 -03:00
waoziandClaude Opus 5.5 900850f1a9 Draw the web app at the screen's pixel density
Applying the orientation preference resized the canvas to its CSS size,
over Kryon's canvas host, which keeps it at CSS size times
devicePixelRatio and resizes it when its box changes. On a 2x screen the
app then drew its 2x frame into a 1x canvas: magnified, cropped and soft.
The web build also tells the icon painter its render scale, as the
native builds do, so icons rasterize on whole screen pixels.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 15:25:50 -03:00
29 changed files with 195 additions and 87 deletions

No files matched your search

+13
View File
@@ -1,4 +1,17 @@
# Changelog
## [2.1.31] - 2026-10-11
### Fixed
- Android: after the floating practice window, the app fits the screen again instead of running under the status bar and navigation and losing its sides.
## [2.1.30] - 2026-10-11
### Fixed
- Long menus, such as the colour theme, scroll by touch and open at your choice.
- With a menu open, tapping the navigation closes it and switches screens in one tap.
- Menus stay above the navigation instead of hiding their last options behind it.
- Web: the app is sharp on high-density screens instead of magnified and blurry.
### Changed
- Icons are sharper on the web.
## [2.1.29] - 2026-10-11
### Fixed
- Scrolling Lumi's commands keeps the keyboard open.
+2 -2
View File
@@ -56,8 +56,8 @@ android {
minSdk 21
targetSdk 36
testInstrumentationRunner "android.test.InstrumentationTestRunner"
versionCode 166
versionName "2.1.29"
versionCode 168
versionName "2.1.31"
manifestPlaceholders = [
inbeAppLabel: "Inner Breeze",
inbeUsesCleartextTraffic: "false"
@@ -159,10 +159,26 @@ public class MainActivity extends NativeActivity {
pictureWindowReturns++;
}
refreshPictureWindowState();
reportWindowSize();
requestInsetRefresh();
syncLifecycleState("onPictureInPictureModeChanged");
}
// The floating window's shadow makes the drawing surface larger than the
// window frame on every side, and Android keeps that margin after the
// window opens back into the app. In full screen the margin lies past the
// screen edges, so native draws the app in the frame's part of the
// surface. The floating window shows the whole surface, so there the app
// fills it (size 0) rather than leaving a border.
private void reportWindowSize() {
View decor = getWindow().getDecorView();
if (Build.VERSION.SDK_INT >= 26 && isInPictureInPictureMode()) {
nativeSetWindowSize(0, 0);
} else {
nativeSetWindowSize(decor.getWidth(), decor.getHeight());
}
}
private void showStartup() {
startupView = new FrameLayout(this);
startupView.setBackgroundColor(getResources().getColor(R.color.startup_background));
@@ -271,6 +287,7 @@ public class MainActivity extends NativeActivity {
private native void nativeSetInsets(int left, int top, int right, int bottom, int imeBottom,
int cutoutLeft, int cutoutTop, int cutoutRight, int cutoutBottom);
private native void nativeSetWindowSize(int width, int height);
private native void nativeSetDeviceDensity(float density);
private native void nativeSetSystemDark(int dark);
private native void nativeSetOrientation(int orientation);
@@ -1141,6 +1158,9 @@ public class MainActivity extends NativeActivity {
}
});
decorView.addOnLayoutChangeListener((view, left, top, right, bottom,
oldLeft, oldTop, oldRight, oldBottom) -> reportWindowSize());
// 2. Startup safety net: Catches frame sizing on the initial layout pass
decorView.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
@Override
@@ -0,0 +1,9 @@
Fixed
---
- Long menus, such as the colour theme, scroll by touch and open at your choice.
- With a menu open, tapping the navigation closes it and switches screens in one tap.
- Menus stay above the navigation instead of hiding their last options behind it.
- Web: the app is sharp on high-density screens instead of magnified and blurry.
Changed
---
- Icons are sharper on the web.
@@ -0,0 +1,3 @@
Fixed
---
- Android: after the floating practice window, the app fits the screen again instead of running under the status bar and navigation and losing its sides.
+1 -1
View File
@@ -1,5 +1,5 @@
Package: inbe.waozi
Version: 2.1.29
Version: 2.1.31
Architecture: arm64
Maintainer: Waozi <[email protected]>
Click-Version: 0.4
+1 -1
View File
@@ -28,7 +28,7 @@
<binary>inbe</binary>
</provides>
<releases>
<release version="2.1.29" date="2026-10-11"/>
<release version="2.1.31" date="2026-10-11"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "inbe",
"title": "Inner Breeze",
"version": "2.1.29",
"version": "2.1.31",
"architecture": "arm64",
"framework": "ubuntu-sdk-20.04",
"description": "Syncable breathing, meditation, and habit practice app.",
+1 -1
View File
@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Inner Breeze",
"short_name": "Inbe",
"version": "2.1.29",
"version": "2.1.31",
"description": "Breathing, meditation, habit tracking, and encrypted sync.",
"permissions": [
"contextMenus"
+1 -1
View File
@@ -22,7 +22,7 @@
<binary>inbe</binary>
</provides>
<releases>
<release version="2.1.29" date="2026-10-11"/>
<release version="2.1.31" date="2026-10-11"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -22,7 +22,7 @@
<binary>inbe</binary>
</provides>
<releases>
<release version="2.1.29" date="2026-10-11"/>
<release version="2.1.31" date="2026-10-11"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -6,7 +6,7 @@ description: |
meditation, and habit tracking with visual and audio cues, meditation
timers, habit counters, session history, and optional sync.
version: '2.1.29'
version: '2.1.31'
license: BSD-3-Clause
base: core22
confinement: strict
+39
View File
@@ -0,0 +1,39 @@
{
"schema": 1,
"version": "2.1.30",
"source_commit": "d0993d71ad22f3de8ed440b2d4aaf39167763ce0",
"apk": {
"sha256": "42c55b0ae80abe1969486af4203a44d0aea76e0607de7691bc2107cc3e82391e",
"package": "xyz.waozi.inbe.debug",
"version_code": 167,
"version_name": "2.1.30"
},
"device": {
"model": "moto e6 play",
"android": "9"
},
"practice": {
"name": "Wim Hof",
"seconds": 59.4,
"frames": 3431,
"refresh_hz": 58.2,
"fps": 57.7,
"late_percent": 0.0,
"p95_frame_ms": 17.4,
"worst_frame_ms": 17.6,
"resume_layout_shift": 11.4
},
"limits": {
"minimum_refresh_share": 0.94,
"maximum_late_percent": 3.0,
"maximum_frame_ms": 250.0
},
"checks": [
"installed over the existing app",
"launch",
"Wim Hof frame timing",
"background and resume"
],
"passed": true,
"checked_at": "2026-10-11T19:19:25+00:00"
}
+40
View File
@@ -0,0 +1,40 @@
{
"schema": 1,
"version": "2.1.31",
"source_commit": "1eb5fd3de2436f0d2de38fd6efc84d9a0c42529a",
"apk": {
"sha256": "1616377bd74fae075e2c68b4b12d5caefdee106872e648a33d7db37f0dc79518",
"package": "xyz.waozi.inbe.debug",
"version_code": 168,
"version_name": "2.1.31"
},
"device": {
"model": "moto e6 play",
"android": "9"
},
"practice": {
"name": "Wim Hof",
"seconds": 59.68,
"frames": 3447,
"refresh_hz": 58.2,
"fps": 57.7,
"late_percent": 0.0,
"p95_frame_ms": 17.4,
"worst_frame_ms": 17.6,
"resume_layout_shift": 1.2
},
"limits": {
"minimum_refresh_share": 0.94,
"maximum_late_percent": 3.0,
"maximum_frame_ms": 250.0,
"maximum_resume_layout_shift": 2.0
},
"checks": [
"installed over the existing app",
"launch",
"Wim Hof frame timing",
"background and resume"
],
"passed": true,
"checked_at": "2026-10-11T23:12:02+00:00"
}
+3
View File
@@ -44,6 +44,9 @@ def validate(root, version):
timing = receipt.get("practice", {})
if receipt.get("passed") is not True or not phone_check.smooth(timing) or timing.get("seconds", 0) < 55:
raise ValueError(f"the phone check did not pass: {timing}")
if not phone_check.resumed_in_place(timing):
raise ValueError("the app came back from the background with a shifted layout: "
f"{timing.get('resume_layout_shift')}")
if subprocess.run(["git", "-C", str(root), "merge-base", "--is-ancestor", commit, "HEAD"],
capture_output=True).returncode != 0:
raise ValueError(f"the checked commit {commit} is not part of this release")
+13 -7
View File
@@ -34,6 +34,9 @@ SOURCE_PATHS = ("src", "droid", "apps", "assets", "locales", "themes", "fonts",
MINIMUM_REFRESH_SHARE = 0.94
MAXIMUM_LATE_PERCENT = 3.0
MAXIMUM_FRAME_MS = 250.0
# Leaving during a practice may pass through the floating window; the
# practice must come back with the layout it had, not shifted or cropped.
MAXIMUM_RESUME_LAYOUT_SHIFT = 2.0
PENDING = 9223372036854775807
@@ -169,6 +172,10 @@ def smooth(timing):
timing["worst_frame_ms"] <= MAXIMUM_FRAME_MS)
def resumed_in_place(timing):
return timing.get("resume_layout_shift", 255.0) <= MAXIMUM_RESUME_LAYOUT_SHIFT
def check(phone, apk, seconds, evidence):
identity = apk_identity(apk)
package = identity["package"]
@@ -213,8 +220,6 @@ def check(phone, apk, seconds, evidence):
if phone.pid(package) != pid:
raise ValueError("Inner Breeze restarted when it returned from the background")
phone.screenshot(package, evidence / "resume.png")
# Leaving during a practice may pass through the floating window; the
# practice must come back with the layout it had.
timing["resume_layout_shift"] = layout_shift(evidence / "practice-end.png", evidence / "resume.png")
model = phone.shell("getprop", "ro.product.model").strip()
android = phone.shell("getprop", "ro.build.version.release").strip()
@@ -247,12 +252,13 @@ def main():
identity, timing, device = check(Phone(host, args.serial), apk, args.seconds, evidence)
if identity["version_name"] != version:
raise SystemExit(f"the APK is {identity['version_name']}, but the source is {version}")
passed = smooth(timing)
passed = smooth(timing) and resumed_in_place(timing)
receipt = dict(schema=1, version=version, source_commit=commit,
apk=dict(sha256=hashlib.sha256(apk.read_bytes()).hexdigest(), **identity),
device=device, practice=dict(name="Wim Hof", **timing),
limits=dict(minimum_refresh_share=MINIMUM_REFRESH_SHARE, maximum_late_percent=MAXIMUM_LATE_PERCENT,
maximum_frame_ms=MAXIMUM_FRAME_MS),
maximum_frame_ms=MAXIMUM_FRAME_MS,
maximum_resume_layout_shift=MAXIMUM_RESUME_LAYOUT_SHIFT),
checks=["installed over the existing app", "launch", "Wim Hof frame timing",
"background and resume"],
passed=passed, checked_at=datetime.now(timezone.utc).isoformat(timespec="seconds"))
@@ -262,12 +268,12 @@ def main():
target.parent.mkdir(parents=True, exist_ok=True)
target.write_text(json.dumps(receipt, indent=2) + "\n")
print(f"Recorded {target.relative_to(ROOT)}; commit it with the release.")
if timing["resume_layout_shift"] > 2:
print(f"WARNING: the practice layout changed after resuming (difference {timing['resume_layout_shift']}); "
if not resumed_in_place(timing):
print(f"FAILED: the practice layout changed after resuming (difference {timing['resume_layout_shift']}); "
f"compare practice-end.png and resume.png in {evidence.relative_to(ROOT)}")
print(f"{device['model']} (Android {device['android']}): {timing['fps']} fps over {timing['seconds']} s, "
f"{timing['late_percent']}% late frames, worst {timing['worst_frame_ms']} ms -> "
f"{'smooth' if passed else 'NOT smooth'}; evidence in {evidence.relative_to(ROOT)}")
f"{'smooth' if smooth(timing) else 'NOT smooth'}; evidence in {evidence.relative_to(ROOT)}")
return 0 if passed else 1
-1
View File
@@ -57,7 +57,6 @@ app_apply_orientation_preference :: (app: *InnerBreeze) {
}
if WebPlatform() != 0 {
DeviceWebOrientation(app.orientation_mode)
DeviceWebResize()
return
}
+6 -1
View File
@@ -1,4 +1,5 @@
#import "dpi"
#import "drawing_props"
#import "geometry"
#import, file "../platform/environment.zi";
#import, file "../platform/raylib_host.zi";
@@ -66,7 +67,11 @@ UpdateDPI :: (view_width: s32, view_height: s32) {
// The user's zoom scales everything drawn and narrows or widens the
// layout; the text is baked at the size it ends up on screen.
dpi_state = ZoomDPI(dpi_state, dpi_user_zoom)
#if #defined(PLATFORM_WEB) == false {
// The camera draws at render_scale, so vector icons rasterize at it too
// (the web canvas adds its devicePixelRatio itself).
#if #defined(PLATFORM_WEB) {
SetPaintPixelScale(dpi_state.render_scale)
} else {
RaylibSetZoom(dpi_state.render_scale)
}
}
-6
View File
@@ -31,11 +31,5 @@ LocaleDropdown :: (session: Session, props: DropdownProps) -> DropdownResult {
if resolved.selected_index < 0 || resolved.selected_index >= count {
resolved.selected_index = 0
}
if resolved.highlight_index < 0 || resolved.highlight_index >= count {
resolved.highlight_index = resolved.selected_index
}
if resolved.scroll_offset < 0 {
resolved.scroll_offset = 0
}
return Dropdown(session, resolved, options[0:count])
}
+2 -2
View File
@@ -3,7 +3,7 @@
#define APP_VERSION_MAJOR 2
#define APP_VERSION_MINOR 1
#define APP_VERSION_PATCH 29
#define APP_VERSION_STRING "2.1.29"
#define APP_VERSION_PATCH 31
#define APP_VERSION_STRING "2.1.31"
#endif
+2 -2
View File
@@ -1,5 +1,5 @@
// Generated by update_version.sh from CHANGELOG.md. Do not edit by hand.
VersionMajor :: 2
VersionMinor :: 1
VersionPatch :: 29
VersionString :: "2.1.29"
VersionPatch :: 31
VersionString :: "2.1.31"
+11 -4
View File
@@ -21,6 +21,7 @@
NativeIntegerFn :: #type (*JniEnv, *void, s32) -> void #c_call;
NativeInsetsFn :: #type (*JniEnv, *void, s32, s32, s32, s32,
s32, s32, s32, s32, s32) -> void #c_call;
NativeSizeFn :: #type (*JniEnv, *void, s32, s32) -> void #c_call;
NativeDensityFn :: #type (*JniEnv, *void, float32) -> void #c_call;
NativeLifecycleFn :: #type (*JniEnv, *void, u8, u8) -> s32 #c_call;
NativeSelectedFn :: #type (*JniEnv, *void, s32, *void) -> void #c_call;
@@ -35,6 +36,7 @@
nothing: NativeVoidFn
integer: NativeIntegerFn
insets: NativeInsetsFn
size: NativeSizeFn
density: NativeDensityFn
lifecycle: NativeLifecycleFn
selected: NativeSelectedFn
@@ -142,9 +144,9 @@
if klass == null {
return -1
}
methods: [20]NativeMethod
names: [20][64]u8
signatures: [20][128]u8
methods: [21]NativeMethod
names: [21][64]u8
signatures: [21][128]u8
CopyCString("nativeSetInsets", names[0][:])
CopyCString("(IIIIIIIII)V", signatures[0][:])
methods[0].name = *names[0][0]
@@ -245,8 +247,13 @@
methods[19].name = *names[19][0]
methods[19].signature = *signatures[19][0]
methods[19].procedure.text_state = AndroidNativeTextInputState
CopyCString("nativeSetWindowSize", names[20][:])
CopyCString("(II)V", signatures[20][:])
methods[20].name = *names[20][0]
methods[20].signature = *signatures[20][0]
methods[20].procedure.size = AndroidNativeSetWindowSize
result = env.functions.RegisterNatives(env, klass,
cast(*void)*methods[0], 20)
cast(*void)*methods[0], 21)
env.functions.DeleteLocalRef(env, klass)
if result != 0 {
return result
-25
View File
@@ -31,10 +31,6 @@ DEVICE_DESKTOP_SDL :: #defined(NATIVE_WINDOW_HAVE_SDL) && !#defined(ANDROID_BUIL
c :: #system_library "c";
BrowserScriptInt :: (script: *u8) -> s32 #foreign c "emscripten_run_script_int";
BrowserScript :: (script: *u8) #foreign c "emscripten_run_script";
BrowserCanvasSize :: (selector: *u8, width: *float64,
height: *float64) -> s32 #foreign c "emscripten_get_element_css_size";
BrowserSetCanvasSize :: (selector: *u8, width: s32,
height: s32) -> s32 #foreign c "emscripten_set_canvas_element_size";
DeviceRunScript :: (script: string) {
bytes: [768]u8
@@ -161,23 +157,6 @@ app_device_web_orientation :: (mode: s32) {
unused mode
}
#program_export
app_device_web_resize :: () {
#if #defined(PLATFORM_WEB) {
selector: [16]u8
if !CopyCString("#canvas", selector[:]) {
return
}
width: float64 = 0.0
height: float64 = 0.0
if BrowserCanvasSize(*selector[0], *width, *height) == 0 &&
width > 0.0 && height > 0.0 {
BrowserSetCanvasSize(*selector[0], cast(s32)width,
cast(s32)height)
}
}
}
#program_export
DeviceSystemDark :: () -> s32 {
return app_device_system_dark()
@@ -218,7 +197,3 @@ DeviceWebOrientation :: (mode: s32) {
app_device_web_orientation(mode)
}
#program_export
DeviceWebResize :: () {
app_device_web_resize()
}
+4 -2
View File
@@ -336,8 +336,10 @@ FakeRegister :: (env: *JniEnv, klass: *void,
unused klass
registered_methods = count
methods := cast(*NativeMethod)raw_methods
Require(count == 20, 22)
Require(count == 21, 22)
Require(CStringEquals(methods[4].name, "nativeSetSystemDark"), 23)
Require(CStringEquals(methods[20].name, "nativeSetWindowSize") &&
CStringEquals(methods[20].signature, "(II)V"), 110)
native_dark = methods[4].procedure.integer
native_practice = methods[15].procedure.practice
native_donation = methods[18].procedure.boolean
@@ -526,7 +528,7 @@ main :: () -> s32 {
api.GetArrayLength = FakeArrayLength
api.RegisterNatives = FakeRegister
Require(JNI_OnLoad(*vm, null) == JniVersion && registered_methods == 20, 30)
Require(JNI_OnLoad(*vm, null) == JniVersion && registered_methods == 21, 30)
native_dark(*environment, cast(*void)*activity, 1)
Require(AndroidSystemDark() == 1, 31)
native_dark(*environment, cast(*void)*activity, 0)
+2 -4
View File
@@ -11,7 +11,6 @@ fixture_size :: (width: s32, height: s32) #foreign c "fixture_size";
fixture_last_width :: () -> s32 #foreign c "fixture_last_width";
fixture_last_height :: () -> s32 #foreign c "fixture_last_height";
fixture_last_orientation :: () -> s32 #foreign c "fixture_last_orientation";
fixture_web_resizes :: () -> s32 #foreign c "fixture_web_resizes";
#program_export
Answer :: () -> s32 {
@@ -50,12 +49,11 @@ Answer :: () -> s32 {
fixture_platform(1)
app.orientation_mode = cast(s32)APP_ORIENTATION_LANDSCAPE
app_apply_orientation_preference(*app)
// The web only locks the orientation; Kryon's canvas host follows the
// canvas size and its devicePixelRatio by itself.
if fixture_last_orientation() != app.orientation_mode {
return 5
}
if fixture_web_resizes() != 1 {
return 6
}
fixture_platform(2)
app.orientation_mode = cast(s32)APP_ORIENTATION_SENSOR
-8
View File
@@ -9,7 +9,6 @@ static int height;
static int last_width;
static int last_height;
static int last_orientation;
static int web_resizes;
void fixture_platform(int value) { platform = value; }
void fixture_dark(int value) { system_dark = value; }
@@ -17,7 +16,6 @@ void fixture_size(int w, int h) { width = w; height = h; }
int fixture_last_width(void) { return last_width; }
int fixture_last_height(void) { return last_height; }
int fixture_last_orientation(void) { return last_orientation; }
int fixture_web_resizes(void) { return web_resizes; }
int app_desktop_platform(void) { return platform == 0; }
int app_web_platform(void) { return platform == 1; }
@@ -34,7 +32,6 @@ int app_device_height(void) { return height; }
void app_device_resize(int w, int h) { last_width = w; last_height = h; }
void app_device_fullscreen(int enabled) { (void)enabled; }
void app_device_web_orientation(int mode) { last_orientation = mode; }
void app_device_web_resize(void) { web_resizes++; }
int DeviceSystemDark(void)
{
@@ -76,11 +73,6 @@ void DeviceWebOrientation(int mode)
app_device_web_orientation(mode);
}
void DeviceWebResize(void)
{
app_device_web_resize();
}
int main(void)
{
assert(Answer() == 42);
+4 -1
View File
@@ -17,7 +17,8 @@ RECEIPT = {
"apk": {"sha256": "0" * 64, "package": "xyz.waozi.inbe.debug", "version_code": 300, "version_name": "3.0.0"},
"device": {"model": "moto e6 play", "android": "9"},
"practice": {"name": "Wim Hof", "seconds": 60.0, "frames": 3580, "refresh_hz": 60.0, "fps": 59.6,
"late_percent": 0.4, "p95_frame_ms": 16.9, "worst_frame_ms": 41.2},
"late_percent": 0.4, "p95_frame_ms": 16.9, "worst_frame_ms": 41.2,
"resume_layout_shift": 0.4},
"passed": True,
}
@@ -75,6 +76,8 @@ class PhoneCheckGateTest(unittest.TestCase):
"late frames": lambda value: value["practice"].update(late_percent=9.0),
"long stall": lambda value: value["practice"].update(worst_frame_ms=600.0),
"short run": lambda value: value["practice"].update(seconds=20.0),
"shifted after resume": lambda value: value["practice"].update(resume_layout_shift=11.4),
"resume not checked": lambda value: value["practice"].pop("resume_layout_shift"),
"marked failed": lambda value: value.update(passed=False),
"other version": lambda value: value.update(version="2.9.9"),
"other APK": lambda value: value["apk"].update(version_name="2.9.9"),
+4 -4
View File
@@ -6,8 +6,8 @@ IDI_APP_ICON ICON "inbe.ico"
IDI_NOTIFICATION_ICON ICON "inbe.ico"
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,1,29,0
PRODUCTVERSION 2,1,29,0
FILEVERSION 2,1,31,0
PRODUCTVERSION 2,1,31,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -24,11 +24,11 @@ BEGIN
BEGIN
VALUE "CompanyName", "waozi"
VALUE "FileDescription", "Inner Breeze"
VALUE "FileVersion", "2.1.29"
VALUE "FileVersion", "2.1.31"
VALUE "InternalName", "inbe"
VALUE "OriginalFilename", "inbe-windows-x86_64.exe"
VALUE "ProductName", "Inner Breeze"
VALUE "ProductVersion", "2.1.29"
VALUE "ProductVersion", "2.1.31"
END
END
BLOCK "VarFileInfo"
+11 -11
View File
@@ -3,7 +3,7 @@
"packages": [
{
"commit": "f01be2f1d5acf2a570e351013221238b7c543760",
"dependencies": {"kryon": "p0aaabdef00f3578b"},
"dependencies": {"kryon": "p99860810ab60f11a"},
"id": "p03de317562242e4f",
"name": "Kss",
"ref": "master",
@@ -18,14 +18,6 @@
"source": true,
"url": "https://github.com/raysan5/rini.git"
},
{
"commit": "83f1dde05b349f33c30e0ff79357f28f91bd3e68",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p0aaabdef00f3578b",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "d8f6cc7ea400c3b71cc1d72c1b900206cc009329",
"dependencies": {},
@@ -69,9 +61,17 @@
"ref": "master",
"url": "https://github.com/ziranlang/daochi-client.git"
},
{
"commit": "468d6326d9f2275b418cb07e4d5daeac6ecd5d74",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p99860810ab60f11a",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "7aa01465ac3f988e0404f3c6dc244bf4b009f253",
"dependencies": {"kryon": "p0aaabdef00f3578b"},
"dependencies": {"kryon": "p99860810ab60f11a"},
"id": "paa08e1730a25bda0",
"name": "Game2D",
"ref": "master",
@@ -105,7 +105,7 @@
}
],
"root": {
"dependencies": {"curl": "pc4b263336680098b", "daochi_client": "p96e1f539ccb91af5", "game2d": "paa08e1730a25bda0", "kryon": "p0aaabdef00f3578b", "kss": "p03de317562242e4f", "liboqs": "pfb3df7cb222b1bdc", "monocypher": "p2ff634c7b007140d", "oqs": "p55635fc8976895a9", "qrcode": "pf0ce9cea355c9228", "rini": "p09fa77e94b0dfc6c", "sqlite": "p151b83a361c86f2d"},
"dependencies": {"curl": "pc4b263336680098b", "daochi_client": "p96e1f539ccb91af5", "game2d": "paa08e1730a25bda0", "kryon": "p99860810ab60f11a", "kss": "p03de317562242e4f", "liboqs": "pfb3df7cb222b1bdc", "monocypher": "p2ff634c7b007140d", "oqs": "p55635fc8976895a9", "qrcode": "pf0ce9cea355c9228", "rini": "p09fa77e94b0dfc6c", "sqlite": "p151b83a361c86f2d"},
"name": "Inbe"
},
"toolchain": {