Commit Graph

101 Commits

Author SHA1 Message Date
guoling c3a7af9fee move log handler forward into initMMKV & deprecate registerHandler on iOS #949 2022-09-19 16:50:25 +08:00
guoling 42e97a0d9c turn off aes test on debug build 2022-09-19 16:50:25 +08:00
guoling e48256ad10 add shared-lock until getxxxForKey() is finished #916 2022-07-08 12:49:09 +08:00
Marc Rousavy 5ab8f23f0a feat: hasValue out parameter 2022-01-28 10:42:24 +01:00
guoling 7ddaac17f7 hide some OpenSSL symbol 2021-12-16 11:45:43 +08:00
guoling a3ffbf1598 don't clear metafile on clearMemoryCache() 2021-09-27 18:25:33 +08:00
guoling 3c73b8b2f8 backup & restore works on Win32 2021-09-24 21:50:20 +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 795e09d53d clear meta file on clearMemoryCache() 2021-09-16 20:37:15 +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 ec39f75fd6 fix compiler error & sem_open() error on FreeBSD 2021-09-15 16:41:19 +00:00
guoling 5c75525d8a restore works on iOS 2021-09-14 17:48:43 +08:00
guoling 87b1b0d018 backup works on iOS 2021-09-13 21:30:30 +08:00
guoling acf629de01 adjust log scope & log type 2021-09-13 11:42:12 +08:00
guoling d5160def4f add pseudo code for backup & restore on iOS, not tested yet 2021-09-10 22:06:13 +08:00
guoling 947f685fba print arch on init 2021-05-26 16:28:41 +08:00
guoling d88bcdeb6a Fix 'empty string = null' bug on flutter of Android 2021-05-07 16:54:40 +08:00
guoling 94c2ba8471 fix compile error for MMKVCoreFlutter.podspec 2020-10-30 17:15:57 +08:00
guoling 193d77e329 prepare for v1.2.4 2020-10-21 16:38:55 +08:00
guoling 74e025765e fix crash #539 2020-10-15 12:15:29 +08:00
guoling 580e815ce9 fix decode error of encrypted MMKV on some devices: issue #529 2020-09-23 12:29:25 +08:00
guoling d7d4236c00 Python bind on POSIX platform almost done 2020-08-31 19:03:52 +08:00
guoling 4de306aa26 tidy crc32 & aes support in Linux (Android) 2020-07-24 22:05:52 +08:00
Lingol 29fa562b28 try turn on armv8 aes on Linux 2020-07-24 21:15:33 +08:00
guoling 61ba357a8f auto clean up for iOS 2020-07-15 18:08:12 +08:00
guoling 00552f4ffa add multi-process mode check for Android 2020-07-10 18:12:36 +08:00
guoling 96a296d83f fix ItemSizeHolder override bug on crypted MMKV 2020-07-03 18:48:49 +08:00
guoling 8f20ae1846 rename relativePath to rootPath 2020-07-02 17:45:04 +08:00
guoling 74be762dc8 add MMKV_DISABLE_CRYPT preprocess directive 2020-07-01 18:12:00 +08:00
guoling 1d262bb195 hide KeyValueHolder from public header 2020-06-30 18:23:25 +08:00
guoling af1bca6e33 remove useless code 2020-06-29 12:46:15 +08:00
guoling 20d64a6f4a fix skipBytes() bug 2020-06-23 20:55:35 +08:00
guoling dacbd84693 split IO logic into seperate file 2020-06-22 23:02:24 +08:00
guoling 5b633a2833 fix skipBytes() bug 2020-06-22 20:11:48 +08:00
guoling 4aa605dec2 KeyValueHolderCrypt::isValueStoredAsOffset() 2020-06-19 21:12:32 +08:00
guoling 03dd58a3fd tidy iOS stuff 2020-06-19 21:01:18 +08:00
guoling 63cb806a03 tidy 2020-06-19 20:26:27 +08:00
guoling e1b7e95388 Win32 2020-06-19 15:09:56 +08:00
guoling 9ba472ca1f POSIX 2020-06-18 22:37:57 +08:00
guoling d734112f0e partialLoadFromFile 2020-06-18 21:39:08 +08:00
guoling 391d893455 tidy 2020-06-18 20:11:34 +08:00
guoling ffc70108ad fix some encrypt bug & drop iOS 8 2020-06-18 18:13:00 +08:00
guoling b715d7bcf8 reKey 2020-06-18 00:13:14 +08:00
guoling 0ad815fc5c encrypt & decrypt almost done 2020-06-17 20:44:56 +08:00
guoling 305bbca60d aes decrypt almost done 2020-06-16 21:48:18 +08:00
guoling cb097c3901 prepare for handling encrypted mmkv, decrypt rollback almost ready 2020-06-12 22:03:53 +08:00
guoling 5feb937d35 fix set empty string & buffer bug 2020-06-11 16:53:36 +08:00