Commit Graph

30 Commits

Author SHA1 Message Date
guoling 01bff5b3bc fall back on syscall() on Android, regardless of api level 2021-09-18 20:46:04 +08:00
guoling 722da75803 fix compile error on POSIX 2021-09-18 18:41:30 +08:00
guoling d0493ec2e3 fix compile error on Linux 2021-09-18 18:32:59 +08:00
guoling 612368d1fa use sendfile() & renameat2() to opt performance on Linux & Android 2021-09-18 17:53:52 +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 d0a714eb69 lock g_instanceLock while backup special MMKV 2021-09-15 22:03:04 +08:00
guoling 89cd549a88 add copyFile() & copyFileContent() for POSIX env 2021-09-15 20:45:29 +08:00
guoling d5160def4f add pseudo code for backup & restore on iOS, not tested yet 2021-09-10 22:06:13 +08:00
guoling a6c336d707 fix MM_SYNC typo #597 2020-12-17 18:13:02 +08:00
guoling 177a2a3c68 tidy 2020-01-21 22:04:42 +08:00
guoling ffe9c90e24 add MMKV_ASSERT() 2020-01-21 15:45:01 +08:00
guoling 455b9d840c remove ThreadLock & InterProcessLock from MMKV public header 2020-01-03 18:52:00 +08:00
guoling dd24e5a5e6 type safety 2020-01-03 12:14:35 +08:00
guoling ebdac3eee9 tidy typename 2020-01-02 16:53:55 +08:00
guoling 953b720e37 split Apple stuff in seperate file 2019-12-27 17:08:00 +08:00
guoling 5325333585 cleanup 2019-12-26 17:15:19 +08:00
guoling 603c0b117d add multi-process demo app extension for iOS 2019-12-26 12:52:36 +08:00
guoling 9364d0ccfd add relativePath support for iOS 2019-12-24 22:13:42 +08:00
guoling 36df7b56c8 remove hardcode MMKV_WIN32 2019-12-18 11:33:16 +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
guoling 698a15f21b fix Linux compile error 2019-12-13 12:23:38 +08:00
guoling f0052cc834 most things for Android actually work 2019-12-13 12:08:22 +08:00
guoling 4fea0e8788 merging Core lib to Android almost done 2019-12-12 20:31:16 +08:00
guoling c389549990 move every OS dependent stuff out of MMKV.cpp 2019-12-09 18:06:48 +08:00
guoling 0d90cb5166 replace hand-make-mmap with class MemoryFile 2019-12-05 22:10:11 +08:00
guoling f2d1230e37 prepare to replace hand-make-mmap with class MemoryFile 2019-12-05 18:18:09 +08:00