Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cddac728b1 | ||
|
|
cc92f494e3 | ||
|
|
fd3d10521a | ||
|
|
351c1334c6 | ||
|
|
414a6ea198 | ||
|
|
aebb706eac | ||
|
|
3ff584355c | ||
|
|
4d7538f46e | ||
|
|
b5d1fa617a | ||
|
|
c700c5a616 | ||
|
|
285a93fa58 |
No files matched your search
@@ -3,9 +3,19 @@ ca-certificates
|
||||
curl
|
||||
libcurl4-openssl-dev
|
||||
libdrm-dev
|
||||
libdrm2
|
||||
libegl1-mesa-dev
|
||||
libegl1
|
||||
libgbm-dev
|
||||
libgbm1
|
||||
libgles2-mesa-dev
|
||||
libgl1
|
||||
libgl1-mesa-dri
|
||||
libglvnd0
|
||||
libx11-6
|
||||
libx11-dev
|
||||
libxext6
|
||||
libsdl2-2.0-0
|
||||
libsdl2-dev
|
||||
patchelf
|
||||
pkg-config
|
||||
|
||||
@@ -16,3 +16,6 @@
|
||||
[submodule "vendor/curl"]
|
||||
path = vendor/curl
|
||||
url = https://github.com/curl/curl.git
|
||||
[submodule "vendor/flint"]
|
||||
path = vendor/flint
|
||||
url = [email protected]:waozixyz/flint.git
|
||||
@@ -1,4 +1,16 @@
|
||||
# Changelog
|
||||
## [1.5.2] - 2026-06-23
|
||||
### Changed
|
||||
- let you disable screen transitions
|
||||
- added theme modal
|
||||
|
||||
## [1.5.1] - 2026-06-22
|
||||
### Fixed
|
||||
- icon scaling
|
||||
- fix inset bug
|
||||
### Added
|
||||
- toggle background music
|
||||
|
||||
## [1.5.0] - 2026-06-22
|
||||
### Changed
|
||||
- New logo
|
||||
|
||||
@@ -94,7 +94,7 @@ WEB_RAYLIB_BUILD_DIR := $(VENDOR_BUILD_DIR)/web/raylib
|
||||
WEB_RAYLIB_A := $(WEB_RAYLIB_BUILD_DIR)/libraylib.web.a
|
||||
RAYLIB_SOURCES := $(shell find $(RAYLIB_DIR) -type f \( -name '*.c' -o -name '*.h' \))
|
||||
|
||||
FLINT_DIR := flint
|
||||
FLINT_DIR := vendor/flint
|
||||
FLINT_ICON_FILES := $(wildcard $(FLINT_DIR)/icons/*.png)
|
||||
FLINT_ICON_ASSETS_C := $(FLINT_DIR)/src/flint_icon_assets.c
|
||||
FLINT_ICON_STAMP := $(BUILD_OBJ_DIR)/flint-icons.sha256
|
||||
@@ -322,20 +322,20 @@ $(LOCALE_KEYS_TEST): tests/locale_keys_test.c $(LOCALE_FILES) | $(TEST_BIN_DIR)
|
||||
|
||||
$(SYNC_URL_TEST): tests/sync_url_test.c src/storage/sync_client.c src/storage/sync_client.h $(CURL_PROTOCOL_CHECK) | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -Wno-unused-function -std=c99 -D_DEFAULT_SOURCE -DINBE_SYNC_CLIENT_TESTS -ffunction-sections -fdata-sections \
|
||||
-Isrc/storage -Isrc -Isrc/core -Ivendor/raylib/src $(FLINT_CURL_CFLAGS) -o $@ \
|
||||
-Isrc/storage -Isrc -Isrc/core -Ivendor/flint/include -Ivendor/raylib/src $(FLINT_CURL_CFLAGS) -o $@ \
|
||||
tests/sync_url_test.c src/storage/sync_client.c \
|
||||
-Wl,--gc-sections $(FLINT_CURL_LDLIBS)
|
||||
|
||||
$(SYNC_ACCOUNT_TEST): tests/sync_account_test.c src/storage/sync_account.c src/storage/sync_account.h src/storage/storage.c src/storage/db.c src/storage/import.c src/storage/storage.h src/storage/db.h src/storage/import.h src/third_party/miniz.c src/third_party/miniz.h $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -ffunction-sections -fdata-sections \
|
||||
-Isrc -Isrc/app -Isrc/core -Isrc/screens -Isrc/screens/settings -Isrc/practices -Isrc/practices/whm -Isrc/practices/meditation -Isrc/storage -Isrc/platform/android -Isrc/third_party -Ivendor/raylib/src $(SQLITE_INCLUDE) \
|
||||
-Isrc -Isrc/app -Isrc/core -Isrc/screens -Isrc/screens/settings -Isrc/practices -Isrc/practices/whm -Isrc/practices/meditation -Isrc/storage -Isrc/platform/android -Isrc/third_party -Ivendor/flint/include -Ivendor/raylib/src $(SQLITE_INCLUDE) \
|
||||
-o $@ \
|
||||
tests/sync_account_test.c src/storage/sync_account.c src/storage/storage.c src/storage/db.c src/storage/import.c src/third_party/miniz.c $(SQLITE_SRC) \
|
||||
-Wl,--gc-sections -lm -lpthread -ldl
|
||||
|
||||
$(GUIDE_OVERLAY_TEST): tests/guide_overlay_test.c flint/src/ui/guide.c flint/include/flint_ui.h | $(TEST_BIN_DIR)
|
||||
$(GUIDE_OVERLAY_TEST): tests/guide_overlay_test.c vendor/flint/src/ui/guide.c vendor/flint/include/flint_ui.h | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE \
|
||||
-Iflint/include -Ivendor/raylib/src \
|
||||
-Ivendor/flint/include -Ivendor/raylib/src \
|
||||
-o $@ \
|
||||
tests/guide_overlay_test.c
|
||||
|
||||
@@ -365,7 +365,7 @@ $(FLINT_ICON_STAMP): FORCE $(FLINT_ICON_FILES) | $(BUILD_OBJ_DIR)
|
||||
if ! cmp -s "$$tmp" "$@"; then mv "$$tmp" "$@"; else rm "$$tmp"; fi
|
||||
|
||||
$(FLINT_ICON_ASSETS_C): $(FLINT_ICON_STAMP) $(FLINT_DIR)/scripts/embed-icons.sh
|
||||
sh $(FLINT_DIR)/scripts/embed-icons.sh $(FLINT_DIR)/icons $@
|
||||
cd $(FLINT_DIR) && sh scripts/embed-icons.sh icons src/flint_icon_assets.c
|
||||
|
||||
$(RAYLIB_A): $(RAYLIB_SOURCES)
|
||||
rm -rf $(VENDOR_BUILD_DIR)/linux/$(ARCH)/raylib-src
|
||||
@@ -745,11 +745,29 @@ $(APPIMAGE_TARGET): $(TARGET) $(LINUX_APPIMAGE_APPRUN) $(LINUX_APPIMAGE_DESKTOP)
|
||||
cp $(LINUX_APPIMAGE_APPDATA) $(LINUX_APPDIR)/usr/share/metainfo/$(ANDROID_APP_ID).metainfo.xml
|
||||
cp $(LINUX_APPIMAGE_ICON) $(LINUX_APPDIR)/$(APP_NAME).png
|
||||
cp $(LINUX_APPIMAGE_ICON) $(LINUX_APPDIR)/usr/share/icons/hicolor/512x512/apps/$(APP_NAME).png
|
||||
@# Manually copy critical X11/OpenGL libraries that linuxdeploy might miss
|
||||
@for lib in libX11.so.6 libXext.so.6 libdrm.so.2 libgbm.so.1 libEGL.so.1 libGLESv2.so.2 libGLdispatch.so.0 libglapi.so.0; do \
|
||||
found=$$(find /usr/lib /lib -name "$$lib" 2>/dev/null | head -n 1); \
|
||||
if [ -n "$$found" ]; then \
|
||||
echo "Copying $$lib from $$found"; \
|
||||
cp "$$found" $(LINUX_APPDIR)/usr/lib/ 2>/dev/null || true; \
|
||||
fi; \
|
||||
done
|
||||
@# Detect if running on NixOS (by checking if loader is in /nix/store)
|
||||
@loader=$$(LC_ALL=C readelf -l $(TARGET) | sed -n 's#.*Requesting program interpreter: \(.*\)]#\1#p'); \
|
||||
if printf '%s\n' "$$loader" | grep -q '^/nix/store/.*glibc.*/'; then \
|
||||
LIBRARY_FLAGS=""; \
|
||||
echo "Building on NixOS - linuxdeploy will auto-detect libraries from /nix/store"; \
|
||||
else \
|
||||
LIBRARY_FLAGS=""; \
|
||||
echo "Building on FHS system - linuxdeploy will auto-detect libraries"; \
|
||||
fi; \
|
||||
cd $(LINUX_APPIMAGE_BUILD_DIR) && env -u SOURCE_DATE_EPOCH ARCH=$(ARCH) LDAI_OUTPUT=$(abspath $(APPIMAGE_TARGET)) $(LINUXDEPLOY) \
|
||||
--appdir $(APP_NAME).AppDir \
|
||||
--executable $(abspath $(LINUX_APPDIR)/usr/bin/$(APP_NAME)) \
|
||||
--desktop-file $(abspath $(LINUX_APPIMAGE_DESKTOP)) \
|
||||
--icon-file $(abspath $(LINUX_APPDIR)/usr/share/icons/hicolor/512x512/apps/$(APP_NAME).png) \
|
||||
$$LIBRARY_FLAGS \
|
||||
--output appimage
|
||||
test -f $@
|
||||
|
||||
|
||||
@@ -77,8 +77,8 @@ The AVD is configured with:
|
||||
## Project Structure
|
||||
|
||||
- `src/` - Inbe application code
|
||||
- `flint/` - first-party UI/runtime support code used directly by Inbe
|
||||
- `vendor/` - external third-party dependencies
|
||||
- `vendor/flint/` - first-party UI/runtime support code used directly by Inbe
|
||||
- `wasm4/` - Standalone WASM-4 version
|
||||
- `assets/` - Images and sounds
|
||||
- `droid/` - Android build configuration
|
||||
|
||||
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 131 KiB |
@@ -35,8 +35,8 @@ android {
|
||||
defaultConfig {
|
||||
minSdk 21
|
||||
targetSdk 35
|
||||
versionCode 46
|
||||
versionName "1.5.0"
|
||||
versionCode 48
|
||||
versionName "1.5.2"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ endif()
|
||||
set(REPO_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../../..")
|
||||
set(SRC_DIR "${REPO_ROOT}/src")
|
||||
set(RAYLIB_DIR "${REPO_ROOT}/vendor/raylib/src")
|
||||
set(FLINT_DIR "${REPO_ROOT}/flint")
|
||||
set(FLINT_DIR "${REPO_ROOT}/vendor/flint")
|
||||
set(SQLITE_DIR "${REPO_ROOT}/vendor/sqlite")
|
||||
set(SQLITE_BUILD_DIR "${CMAKE_BINARY_DIR}/sqlite")
|
||||
set(SQLITE_AMALGAMATION_C "${SQLITE_BUILD_DIR}/sqlite3.c")
|
||||
|
||||
@@ -859,6 +859,7 @@ public class MainActivity extends NativeActivity {
|
||||
super.onResume();
|
||||
activityPaused = false;
|
||||
nativeInvalidateGraphicsResources();
|
||||
requestInsetRefresh();
|
||||
syncLifecycleState("onResume");
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 515 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 515 B |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 383 B |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 383 B |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 577 B |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 577 B |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 652 B |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 652 B |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 720 B |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 720 B |
@@ -1,7 +0,0 @@
|
||||
Initial release
|
||||
|
||||
• Breathing exercise tutorial with 5 steps
|
||||
• Configurable settings: speed, rounds, breaths, pause duration
|
||||
• Session history tracking and statistics
|
||||
• Support for Linux, Windows, Android, and WebAssembly
|
||||
• Dark theme with customizable colors
|
||||
@@ -0,0 +1,3 @@
|
||||
Fixed
|
||||
---
|
||||
- icon scaling
|
||||
@@ -0,0 +1,4 @@
|
||||
Changed
|
||||
---
|
||||
- let you disable screen transitions
|
||||
- added theme modal
|
||||
|
Before Width: | Height: | Size: 249 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 Waozi
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -1,14 +0,0 @@
|
||||
# Inbe Flint UI
|
||||
|
||||
This directory is first-party Inbe UI/runtime support code. It was merged from
|
||||
the old Flint project so Inbe can extend the UI system directly without a
|
||||
vendored submodule, project manifest, CLI, or separate library target.
|
||||
|
||||
## Layout
|
||||
|
||||
- `include/` - public headers used by Inbe source files
|
||||
- `src/` - C implementation files compiled directly into Inbe
|
||||
- `icons/` - icon bitmaps embedded by the Flint icon asset source
|
||||
- `scripts/` - small build helpers, currently asset embedding
|
||||
|
||||
The root `Makefile` and Android CMake project compile these files directly.
|
||||
|
Before Width: | Height: | Size: 169 B |
|
Before Width: | Height: | Size: 155 B |
|
Before Width: | Height: | Size: 246 B |
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 180 B |
|
Before Width: | Height: | Size: 170 B |
|
Before Width: | Height: | Size: 236 B |
|
Before Width: | Height: | Size: 157 B |
|
Before Width: | Height: | Size: 268 B |
|
Before Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 208 B |
|
Before Width: | Height: | Size: 332 B |
|
Before Width: | Height: | Size: 192 B |
|
Before Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 995 B |
|
Before Width: | Height: | Size: 344 B |
|
Before Width: | Height: | Size: 151 B |
|
Before Width: | Height: | Size: 217 B |
|
Before Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 213 B |
|
Before Width: | Height: | Size: 325 B |
|
Before Width: | Height: | Size: 154 B |
|
Before Width: | Height: | Size: 159 B |
|
Before Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 268 B |
|
Before Width: | Height: | Size: 159 B |
|
Before Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 110 B |
|
Before Width: | Height: | Size: 151 B |
|
Before Width: | Height: | Size: 263 B |
|
Before Width: | Height: | Size: 136 B |
|
Before Width: | Height: | Size: 714 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 165 B |
|
Before Width: | Height: | Size: 335 B |
|
Before Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 154 B |
|
Before Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 224 B |
|
Before Width: | Height: | Size: 343 B |
|
Before Width: | Height: | Size: 245 B |
|
Before Width: | Height: | Size: 266 B |
|
Before Width: | Height: | Size: 278 B |
|
Before Width: | Height: | Size: 233 B |
|
Before Width: | Height: | Size: 112 B |
|
Before Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 180 B |
|
Before Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 325 B |
|
Before Width: | Height: | Size: 182 B |
|
Before Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 246 B |
|
Before Width: | Height: | Size: 206 B |
|
Before Width: | Height: | Size: 252 B |
|
Before Width: | Height: | Size: 205 B |
|
Before Width: | Height: | Size: 295 B |
|
Before Width: | Height: | Size: 177 B |
|
Before Width: | Height: | Size: 184 B |
|
Before Width: | Height: | Size: 357 B |
|
Before Width: | Height: | Size: 125 B |
|
Before Width: | Height: | Size: 149 B |
|
Before Width: | Height: | Size: 182 B |
|
Before Width: | Height: | Size: 164 B |
|
Before Width: | Height: | Size: 174 B |
|
Before Width: | Height: | Size: 159 B |
|
Before Width: | Height: | Size: 194 B |
|
Before Width: | Height: | Size: 157 B |
|
Before Width: | Height: | Size: 157 B |
@@ -1,20 +0,0 @@
|
||||
#ifndef FLINT_H
|
||||
#define FLINT_H
|
||||
|
||||
#include "flint_color.h"
|
||||
#include "flint_scaling.h"
|
||||
#include "flint_dpi.h"
|
||||
#include "flint_layout.h"
|
||||
#include "flint_clip.h"
|
||||
#include "flint_icons.h"
|
||||
#include "flint_text.h"
|
||||
#include "flint_ui.h"
|
||||
#include "flint_text_layout.h"
|
||||
#include "flint_transition.h"
|
||||
#include "flint_locale.h"
|
||||
#include "flint_theme.h"
|
||||
#include "flint_theme_meta.h"
|
||||
#include "flint_web.h"
|
||||
#include "flint_runtime_assets.h"
|
||||
|
||||
#endif // FLINT_H
|
||||