153 Commits

Author SHA1 Message Date
guoling 9cee61ee48 add harness for ohos ArrayBuffer 2026-10-16 15:43:58 +08:00
guoling 2d654ef733 Fix expired-key enumeration 2026-10-15 10:42:33 +08:00
guoling a6423526a5 Xcode 27 auto change 2026-10-15 10:12:34 +08:00
guoling 4e3535f2c8 Harden MMKV close lifecycle handling #1669 2026-07-29 14:57:14 +08:00
guoling f3b27766a2 fix MMKV instance lifecycle handling #1669 2026-07-28 19:35:21 +08:00
guoling 5892e0ff3b fix expireDuration overflow bug #1665 2026-06-02 19:06:09 +08:00
guoling 1915d892f1 add MMKVConfig 2026-02-05 17:21:53 +08:00
guoling 06c6cf4536 update watch demo assets 2026-01-28 17:02:12 +08:00
guoling 8cb70d1123 add aes256 option on mmkv creation 2025-11-27 16:02:49 +08:00
guoling 2ba8ff9bc0 support AES 256 2025-09-24 11:55:35 +08:00
guoling 4ebab398d2 fix name conflict in Swift #1556 2025-07-04 19:13:39 +08:00
guoling 9ac9c642ac add importFrom() for iOS 2025-04-25 11:48:31 +08:00
guoling c2dbd276c2 add checkExist() #1346 2025-04-22 15:15:23 +08:00
guoling b1bc572955 robuse sleep() on Apple Silicon 2025-04-17 15:39:46 +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 dc6ea7d145 NameSpace for iOS/macOS complete 2025-01-06 15:58:03 +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
guoling 47d3c0893a add readonly support 2024-09-06 19:44:11 +08:00
guoling 912f8a4ccf fix override bug on encrypted mmkv #1351 2024-07-16 18:38:38 +08:00
guoling 32ed8ce544 add Mac Catalyst support #1345 2024-07-09 21:02:22 +08:00
guoling e6056f9d4c fix iOS compile error 2024-05-07 12:01:23 +08:00
guoling 94ec7061d9 bump iOS Deployment Target to iOS 12 2024-03-28 10:26:20 +08:00
guoling 06797a7450 also drop use of NSUserDefaults API #1220 2024-03-25 15:16:42 +08:00
Cyril Bonaccini bc7d69acbe test: add test in vision app 2024-02-16 09:22:37 +01:00
Cyril Bonaccini d63393b36c chore: add VisionDemo target 2024-02-16 09:22:11 +01:00
guoling 2a5b576aa8 test removeStorage() on iOS 2023-12-06 12:25:43 +08:00
lishaokai eb9d8c1497 add clearAll with keeping file disk space 2023-10-08 14:07:13 +08:00
guoling 2be6c1f800 Xcode 14 and below not reconize this flag:
Revert "add -Wl,-ld_classic linker flags to MMKV.framework"

This reverts commit a9134a32a6.
2023-09-18 12:26:42 +08:00
guoling a9134a32a6 add -Wl,-ld_classic linker flags to MMKV.framework 2023-09-18 12:07:02 +08:00
lishaokai 72b59356a9 compare value before set/encode for the same key 2023-09-12 20:36:10 +08:00
lishaokai e0f5321a9a override from beginning of file when dict is empty 2023-08-28 17:42:12 +08:00
guoling 041548ad99 add onlyOneKeyTest for iOS 2023-08-24 11:01:19 +08:00
Lishaokai c962b68934 Do not append to file when dic.size()==1 && new key in dict 2023-08-23 11:23:58 +08:00
Lishaokai 73f01e5d50 set expected capacity for file length when init #1114 2023-08-11 21:23:12 +08:00
guoling bcfa406d77 fix NSKeyedArchive error on enable auto key expire #1132 2023-08-10 11:20:20 +08:00
guoling 980c4137c7 add cross process demo for iOS 2023-06-28 21:44:24 +08:00
guoling 852ea1e6c8 add Expire constant 2023-05-26 17:25:20 +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 c14ff4ef11 prepare for v1.2.15 2023-01-12 14:22:46 +08:00
guoling c3a7af9fee move log handler forward into initMMKV & deprecate registerHandler on iOS #949 2022-09-19 16:50:25 +08:00
guoling 1d1c6553d2 fix macOS build error & warning 2022-08-10 15:01:17 +08:00
guoling ddc27d0153 fix nullable error 2022-03-30 10:22:06 +08:00
guoling 873a09854e protect from possibly misuse Key-value-coding interfaces 2022-03-09 17:02:13 +08:00
guoling b6784a85ee xcscheme 2022-02-08 12:00:49 +08:00
guoling 9b3ef6c7d2 Xcode project update 2021-10-22 21:05:26 +08:00
guoling 5c75525d8a restore works on iOS 2021-09-14 17:48:43 +08:00
guoling e7e711eede enhance log 2021-09-13 21:37:38 +08:00
guoling 87b1b0d018 backup works on iOS 2021-09-13 21:30:30 +08:00