22 Commits

Author SHA1 Message Date
guoling 7224f0aa8f Fix -Wmissing-braces 2026-03-27 16:23:03 +08:00
guoling b56ce1004f merge ashmem size with expectedCapacity on Android & OHOS 2026-02-11 12:39:08 +08:00
guoling 4ad7236e0c dont depend on OS close() to unlock file locks, for Linux/Android flock() is buggy with mmap() 2025-05-07 14:23:41 +08:00
guoling 2fe9a47cac add mayfly fd for Android/OHOS 2025-04-18 17:54:54 +08:00
guoling 147f89dba7 migrate legacy mmap ID to normal ID 2025-01-06 15:58:01 +08:00
guoling 47d3c0893a add readonly support 2024-09-06 19:44:11 +08:00
guoling 50d576694a call ashmem_create_region() if possible (API level 23~26), now that we bump minSdkVersion to 23, this won't be a problem 2024-04-30 11:09:19 +08:00
guoling b81f033558 add ashmem mmkv 2024-04-11 16:35:50 +08:00
guoling eac5dc1b44 encodeBool() & decodeBool() works 2024-04-02 19:10:23 +08:00
Lishaokai 73f01e5d50 set expected capacity for file length when init #1114 2023-08-11 21:23:12 +08:00
guoling b21faa9ad5 add backup & restore to flutter 2021-10-25 22:03:56 +08:00
guoling a813ae8fd9 backup & restore with customize rootPath works on Android 2021-09-18 15:22:11 +08:00
guoling 8e979910d0 backup & restore works on Android 2021-09-17 17:47:57 +08:00
guoling 9c0de2dcc9 backup & restore works on POSIX 2021-09-16 20:19:24 +08:00
guoling 89cd549a88 add copyFile() & copyFileContent() for POSIX env 2021-09-15 20:45:29 +08:00
guoling 5282c480b1 cleanup ASHMEM_NAME_DEF 2020-01-14 14:40:49 +08:00
guoling 455b9d840c remove ThreadLock & InterProcessLock from MMKV public header 2020-01-03 18:52:00 +08:00
guoling 9364d0ccfd add relativePath support for iOS 2019-12-24 22:13:42 +08:00
guoling d383aa71ec tidy Win32 stuff 2019-12-18 15:51:02 +08:00
guoling dabb3f6ba5 most things for Win32 actually work 2019-12-17 21:47:33 +08:00
guoling f907f10c94 tidy std usage 2019-12-13 17:38:49 +08:00
guoling b13d9d8639 split Android stuff in seperate file 2019-12-13 16:51:37 +08:00