Commit Graph
298 Commits
Author SHA1 Message Date
guoling 86e364ee45 turnoff aes & flutter for debug purpose 2023-08-14 11:39:40 +08:00
guoling 6734567f8a never close MetaFile on clearMemoryCache() #1117 #1061 2023-08-11 12:49:42 +08:00
guoling 7eb562495b bugfix: some Android devices might not have access permission on parent dir #1119 2023-08-10 18:09:11 +08:00
guoling cffee7369c add filterExpire param for count() & allKeys() for flutter 2023-08-10 15:42:44 +08:00
guoling bcfa406d77 fix NSKeyedArchive error on enable auto key expire #1132 2023-08-10 11:20:20 +08:00
Lishaokai 6a0d0721e0 accurate avgItemSize & avoid of file expand when inserting k-v for the first time #1120 2023-07-29 14:01:13 +08:00
lishaokai 0617e46f7b Avoid of unnecessary msync when inserting key-value for the first time #1109 2023-07-12 17:57:01 +08:00
guoling 980c4137c7 add cross process demo for iOS 2023-06-28 21:44:24 +08:00
guoling 6fee34fae7 add filterExpire param for count() & allKeys() #1096 2023-06-20 14:29:34 +08:00
guoling 422ab7414c fix -DMMKV_DISABLE_CRYPT compile error #1093 2023-06-15 10:12:25 +08:00
guoling f037020b25 fix armv7 compile warning #1088 2023-06-13 20:06:43 +08:00
guoling 3a171604fa fix ftruncate() bug on Win32 #1068 2023-05-30 16:38:40 +08:00
guoling acff50113a add auto-key-expiration for Win32 2023-05-26 18:00:40 +08:00
guoling 852ea1e6c8 add Expire constant 2023-05-26 17:25:20 +08:00
guoling 16b666fe2c add MMKV::NeverExpire for C++ interface 2023-05-26 15:47:41 +08:00
guoling a2757975b0 rollback lazy load as many reported ANR 2023-05-26 15:32:41 +08:00
guoling 40dd727f95 add auto-key-expire on flutter (only tested on Android though) 2023-05-26 15:19:43 +08:00
guoling 18598823d6 fix compile error on Xcode 2023-05-24 20:10:51 +08:00
guoling 3bf119f579 fix compile error on Linux 2023-05-24 19:58:32 +08:00
guoling 927d95fd68 add auto-expiration testcase for POSIX 2023-05-24 19:50:57 +08:00
guoling 10b98c06cd fix POSIX compile error 2023-05-24 19:24:18 +08:00
guoling 983d1d0a33 upgrade to iOS 11 / macOS 10.13 / tvOS 13 / watchOS 4 2023-05-24 18:12:58 +08:00
guoling c9f1d7aa92 support auto key expiration: works on iOS 2023-05-24 17:46:46 +08:00
guoling 105a86d889 upgrade to iOS 11 / macOS 10.13 / tvOS 12 / watchOS 4 2023-05-24 17:40:05 +08:00
guoling 3e3bb8f6bb fix warning on some compiler #1077 2023-05-16 10:52:11 +08:00
guoling 3d0cb69aa4 prepare for v1.2.16 2023-04-20 16:20:11 +08:00
guoling 209ad09cff fix MinGW64 printf bug #1062 2023-04-20 14:42:17 +08:00
guoling 7211057b80 fix backup bug #1061 2023-04-11 20:42:41 +08:00
chenqizheng 95a72c616c lazy load file.
lazy load file. MMKV_Android
2023-04-04 15:36:12 +08:00
chenqizheng e23f424551 删除自动加载文件逻辑
删除自动加载文件逻辑,防止锁竞争
2023-04-04 14:35:36 +08:00
guoling c14ff4ef11 prepare for v1.2.15 2023-01-12 14:22:46 +08:00
Guo Ling 21a2f77de1 Merge pull request #991 from chenqizheng/master
fix MMKV:lock 线程安全问题
2022-12-27 12:51:17 +08:00
chenqizheng ca0e29cab0 fix m_exclusiveProcessLock 2022-12-27 12:14:06 +08:00
Guo Ling 298fad27f7 Merge pull request #968 from wakakajp/master
Merge pull request #931 from Tencent/dev
2022-10-24 23:18:37 +08:00
wakakajp acac8931c4 OPTIMIZE:code style optimize 2022-10-24 20:00:45 +08:00
wakakajp ab6969caf5 FIX: replace try catch with @try @catch, so NSException can be caught correctly 2022-10-24 17:56:11 +08:00
ArcticLampyrid e8ecaf6c46 fix(cmake): allow to use cmake on Windows & MSVC
Re-implement it conservatively.

Refs: #944 #945 #952
2022-09-22 23:23:39 +08:00
Guo Ling 8535c5f0b0 Revert "fix(cmake): allow to use cmake project on Windows (for dev)" 2022-09-19 17:10:41 +08:00
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
ArcticLampyrid 8cde3ebe1d chore: remove CAN_USE_ASM-ATT to simplify code 2022-09-02 19:14:21 +08:00
ArcticLampyrid 90426ba0c3 fix(cmake): allow to use cmake project on Windows 2022-09-02 19:07:44 +08:00
guoling 1d1c6553d2 fix macOS build error & warning 2022-08-10 15:01:17 +08:00
guoling acdfbf68fb prepare for v1.2.14 2022-08-10 12:09:13 +08:00
Guo Ling 456b218855 Merge pull request #928 from wakakajp/master
FIX: fix MMKV::getObject crash on iOS
2022-08-09 18:18:44 +08:00
wakakajp 2f59a5c7c6 FIX: fix MMKV::getObject crash on iOS
[NSKeyedUnarchiver unarchiveObjectWithData:] This method raises an NSInvalidArgumentException if data is not a valid archive.
2022-08-09 18:02:16 +08:00
guoling e48256ad10 add shared-lock until getxxxForKey() is finished #916 2022-07-08 12:49:09 +08:00
guoling 61fd5c8818 log increase sequence 2022-07-08 12:03:45 +08:00
guoling ec26215875 Replace the deprecated device_info package with device_info_plus #852 2022-03-30 11:30:16 +08:00
guoling ddc27d0153 fix nullable error 2022-03-30 10:22:06 +08:00