Commit Graph

442 Commits

Author SHA1 Message Date
guoling f0e80ad484 add mayfly fd for Win32/POSIX 2025-04-18 21:52:05 +08:00
guoling 608d775bf6 make data file mayfly fd except ashmem on Android/OHOS 2025-04-18 18:11:42 +08:00
guoling 2fe9a47cac add mayfly fd for Android/OHOS 2025-04-18 17:54:54 +08:00
guoling 561d56ca75 adding mayfly fd on iOS 2025-04-18 17:16:26 +08:00
guoling 939eec0d90 upgrade to macOS 10.15 2025-02-18 17:08:26 +08:00
guoling f23e95c652 support using MMKVCore at Apple platform in pure C++ code 2025-02-14 19:43:48 +08:00
guoling 0f532f7d7c fix POSIX isDiskOfMMAPFileCorrupted() linker error 2025-02-14 17:31:21 +08:00
guoling 2109f6fc2c 1. support Android Native usage by prefab
2. upgrade gradle & AGP to 8.0+
2025-02-08 16:43:43 +08:00
Guo Ling 60dc35e8c8 Merge pull request #1482 from Tencent/dev_namespace
namespace
2025-02-05 14:54:27 +08:00
ArcticLampyrid dda39e6767 fix: missing uint32_t type 2025-01-18 19:53:54 +08:00
guoling ead3e4668f add experimental disk corrupt detech on Android/Linux 2025-01-15 11:55:21 +08:00
guoling aad8e484c0 add iOS/macOS/Win32 disk failure protection 2025-01-13 18:11:22 +08:00
guoling f2fa428bf6 NameSpace works on Win32 2025-01-13 12:14:59 +08:00
guoling 6a8338b634 add demo of using native C++ ABI in OHOS 2025-01-10 20:27:52 +08:00
guoling 66b090e237 add public headers to ohpm 2025-01-10 11:50:23 +08:00
guoling a7d70e187a NameSpace works on POSIX 2025-01-07 20:32:36 +08:00
guoling 49d536b0af NameSpace works on flutter & ArkTS 2025-01-07 16:14:08 +08:00
guoling d26fa06b2e remove guardForBackgroundWriting() for we are iOS 13+ 2025-01-06 15:58:04 +08:00
guoling fbde94c843 export mmkv symbols & headers for Native usage in NDK #1449 #1450 2025-01-06 15:58:03 +08:00
guoling 95809ebf72 export whole symbol of MMKV class for Android/OHOS for C++ usage 2025-01-06 15:58:03 +08:00
guoling d069d7c56a NameSpace for Android complete 2025-01-06 15:58:03 +08:00
guoling 147f89dba7 migrate legacy mmap ID to normal ID 2025-01-06 15:58:01 +08:00
guoling 6f12ab05f0 1. fix FileLock not being unlock on destruct bug
2. use F_OFD_SETLK instead of F_SETLK on Android/Linux/OHOS
3. support pos and len on fctnl file locking
2025-01-06 15:55:52 +08:00
guoling fca2582343 fix tryAtomicRename() with src == dst bug 2025-01-06 15:55:51 +08:00
guoling 89b56922e8 1. NameSpace almost work on iOS
2. Upgrade to iOS 13, watchOS 6
3. Dont mkPath() on ReadOnly mode
2025-01-06 15:54:38 +08:00
tulip 068ca225ef feat: fix the link error on armv8.
fix "unknown reference crc32" link error on armv8.
2025-01-04 11:53:06 +08:00
guoling 2323ee49be prepare for v2.0.2 2024-12-27 17:07:59 +08:00
guoling 0bd466efe3 support correct filename on custom root path 2024-12-24 19:29:07 +08:00
guoling 3b8c11d944 fix merge error 2024-12-17 17:45:27 +08:00
guoling b097a0d013 add renameat2() with RENAME_EXCHANGE for OHOS 2024-12-17 17:29:10 +08:00
guoling 20b68dbc71 fix tryAtomicRename() with src == dst bug 2024-12-17 17:28:43 +08:00
guoling ba4f343de5 protect from invalid value size of auto-key-expire mmkv #1440 2024-11-28 22:31:05 +08:00
guoling dd8847ce37 Win32: only mmap() on ftruncate()/zeroFillFile() failture iff we have a valid file mapping before #1068 2024-11-19 11:20:52 +08:00
guoling b3e4995ccd make copyFile() robust with rename() failture #1432 2024-11-15 16:06:31 +08:00
guoling 90516e3022 prepare for v2.0.1 2024-11-12 18:03:43 +08:00
guoling e5ca354c26 fix typo in shared_unlock() #1428 2024-11-12 16:20:59 +08:00
guoling def8e8ab55 fix Android/OHOS init log not printing rootPath bug 2024-11-04 17:52:14 +08:00
guoling b8b7ea45f3 fix MMKVCore debug build error 2024-10-21 20:56:33 +08:00
guoling 83e2fa50e6 prepare for v2.0.0 2024-10-21 19:23:40 +08:00
guoling dba878e6d9 opt getdir 2024-10-21 15:24:38 +08:00
guoling 6d1952791c try to fix ohos obsfucation bug 2024-09-25 14:50:51 +08:00
guoling 52973bea9b fix compile error on MMKV_DISABLE_CRYPT on ohos 2024-09-23 14:56:27 +08:00
guoling da1ef97173 v2.0.0-SNAPSHOT 2024-09-23 14:47:01 +08:00
guoling 8b8188d536 add log & error & content change callback for flutter & ArtTS 2024-09-12 18:50:33 +08:00
guoling 6688793f59 check getMMKVWithID result and throw exception #1399 2024-09-09 20:43:06 +08:00
guoling 47d3c0893a add readonly support 2024-09-06 19:44:11 +08:00
Nikita Sigal 270c8a3938 Fixed Checksum.h header path 2024-09-02 16:46:49 +03:00
guoling 0142f0bef6 fix compile error on debug build #1392 2024-08-29 10:21:26 +08:00
guoling 05afbde701 fix compile error on MMKV_DISABLE_CRYPT #1368 2024-07-26 20:55:52 +08:00
guoling 391d403bef use rand() instead of random() #1367 2024-07-26 20:34:11 +08:00