292 Commits

Author SHA1 Message Date
guoling 2fcabdea16 prepare for v1.3.2 2023-11-20 16:50:30 +08:00
guoling c1d5874f57 add CompareBeforeSet for golang 2023-11-16 15:48:26 +08:00
guoling 6fc386521d change DoCleanUpDuration to 2s 2023-10-10 16:25:32 +08:00
Guo Ling 38259ee936 Merge pull request #1183 from kaitian521/fix_crash
add clearAll with keeping file disk space
2023-10-09 11:04:54 +08:00
lishaokai eb9d8c1497 add clearAll with keeping file disk space 2023-10-08 14:07:13 +08:00
guoling 95c09496dd opt iOS auto clean 2023-09-19 18:11:25 +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
kaitian521 5c88ea604b Merge branch 'dev' into dev 2023-08-11 21:32:26 +08:00
Lishaokai 73f01e5d50 set expected capacity for file length when init #1114 2023-08-11 21:23:12 +08:00
guoling e48210047f prepare for v1.3.1 2023-08-11 14:54:41 +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 6fee34fae7 add filterExpire param for count() & allKeys() #1096 2023-06-20 14:29:34 +08:00
guoling 3af81b2bd6 prepare for v1.3.0 2023-06-14 16:36:29 +08:00
guoling 852ea1e6c8 add Expire constant 2023-05-26 17:25:20 +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 3d0cb69aa4 prepare for v1.2.16 2023-04-20 16:20:11 +08:00
guoling c14ff4ef11 prepare for v1.2.15 2023-01-12 14:22:46 +08:00
guoling ba1d2a61b7 assert about nil base path #959 2022-09-29 17:51:14 +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 acdfbf68fb prepare for v1.2.14 2022-08-10 12:09:13 +08:00
guoling ec26215875 Replace the deprecated device_info package with device_info_plus #852 2022-03-30 11:30:16 +08:00
guoling bc0f4eb550 tidy 2022-03-30 10:36:36 +08:00
guoling ddc27d0153 fix nullable error 2022-03-30 10:22:06 +08:00
Guo Ling d3a92d22a0 Merge pull request #849 from mrousavy/feat/hasValue-platforms
feat: Implement `hasValue` OUT parameter for iOS
2022-03-14 19:26:25 +08:00
Marc Rousavy a3ebaff181 fix: Use longest version for getXXXX 2022-03-14 12:23:30 +01:00
Marc Rousavy 62e27cd5cf feat: Implement OUT hasValue parameter for iOS 2022-03-14 12:13:35 +01: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 3316aa790c prepare for v1.2.12 2022-01-06 19:50:11 +08:00
guoling 9b3ef6c7d2 Xcode project update 2021-10-22 21:05:26 +08:00
Douglas Lowder b6562e6888 Support tvOS 2021-09-21 00:42:02 -07:00
guoling aa36ac44c9 add multiprocess support of backup & restore on iOS 2021-09-15 11:10:06 +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
guoling d5160def4f add pseudo code for backup & restore on iOS, not tested yet 2021-09-10 22:06:13 +08:00
guoling 03b5e2de77 set project level indentWidth=4 2021-09-09 17:47:06 +08:00
guoling d0eb9d1fbc embed MMKVAppExtension inside main app instead of today extension 2021-09-08 23:14:48 +08:00
guoling d9adb88da2 prepare for v1.2.11 2021-07-09 11:01:06 +08:00
guoling 8e81f3d8e1 prepare for v1.2.10 2021-06-25 17:59:38 +08:00
guoling f662fb3bf0 prepare for v1.2.9 2021-05-26 17:04:40 +08:00