Commit Graph

432 Commits

Author SHA1 Message Date
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
guoling dcdd4e6d1e use random size holder to make encryption resilient from brute force cracking 2024-07-17 11:28:17 +08:00
guoling 912f8a4ccf fix override bug on encrypted mmkv #1351 2024-07-16 18:38:38 +08:00
guoling bd29ac9393 unlock pthread_mutex before destroy it 2024-07-12 20:03:51 +08:00
guoling 32ed8ce544 add Mac Catalyst support #1345 2024-07-09 21:02:22 +08:00
guoling 530e9d0738 drop 32bit arch & bump Android API level to 23 starting from v2.0.0 2024-07-08 19:21:31 +08:00
guoling 00a5dbd22f prepare for v1.3.7 2024-07-08 15:33:43 +08:00
guoling c44ce1fb2e prepare for v1.3.6 2024-07-05 18:32:25 +08:00
guoling 2eb44af303 fix z_size_t not defined in CentOS #1337 2024-07-05 12:09:26 +08:00
guoling f43e1e5ea0 ohos 1.3.6-beta3 2024-06-28 17:57:24 +08:00
guoling 2183260881 fix set empty string/bytes value not working on auto key expire 2024-06-28 15:35:12 +08:00