Commit Graph

  • 557aaf6821 add clearAll(keepSpace:) & CompareBeforeSet for python guoling 2023-11-16 16:19:33 +08:00
  • 697128fc86 add ClearAllKeepSpace() for golang guoling 2023-11-16 15:58:24 +08:00
  • c1d5874f57 add CompareBeforeSet for golang guoling 2023-11-16 15:48:26 +08:00
  • da4ca04aac update change log guoling 2023-11-16 12:45:15 +08:00
  • d6fb4a971e Fix several potential crash due to the MMKV file not being valid guoling 2023-11-16 12:44:55 +08:00
  • 6fc386521d change DoCleanUpDuration to 2s guoling 2023-10-10 16:25:32 +08:00
  • 63bfbe9329 msync() on metafile is needed even when keepSpace #1183 guoling 2023-10-10 16:20:34 +08:00
  • 38259ee936 Merge pull request #1183 from kaitian521/fix_crash Guo Ling 2023-10-09 11:04:54 +08:00
  • eb9d8c1497 add clearAll with keeping file disk space lishaokai 2023-10-08 14:00:03 +08:00
  • 2147652ca2 Merge pull request #1181 from kaitian521/fix_crash Guo Ling 2023-10-07 09:28:54 +08:00
  • 347b25feaa redo ftruncate file to its previous size when zeroFillFile fails(disk full) #1180 lishaokai 2023-09-26 14:31:34 +08:00
  • a49ca62e60 add comment about mlock() guoling 2023-09-19 18:42:00 +08:00
  • 1107f99170 turn-off mlock() protection in background on iOS 13+ guoling 2023-09-19 18:34:08 +08:00
  • 95c09496dd opt iOS auto clean guoling 2023-09-19 18:11:25 +08:00
  • 34411268da add catch(...) for each try-catch guoling 2023-09-19 15:04:23 +08:00
  • 2be6c1f800 Xcode 14 and below not reconize this flag: Revert "add -Wl,-ld_classic linker flags to MMKV.framework" guoling 2023-09-18 12:26:42 +08:00
  • 4eeae50a4a Merge pull request #1176 from kaitian521/dev Guo Ling 2023-09-18 12:07:34 +08:00
  • a9134a32a6 add -Wl,-ld_classic linker flags to MMKV.framework guoling 2023-09-18 12:07:02 +08:00
  • 3244fb5970 Android: use @FastNative annotation for enableCompareBeforeCompare to speed up JNI call lishaokai 2023-09-18 10:00:49 +08:00
  • e2efc0d503 tidy guoling 2023-09-15 14:53:38 +08:00
  • 8f312220d0 remove unnecessary std::move guoling 2023-09-15 14:48:20 +08:00
  • 5aa5b34a2d Merge pull request #1171 from kaitian521/dev Guo Ling 2023-09-15 14:40:58 +08:00
  • 72b59356a9 compare value before set/encode for the same key lishaokai 2023-09-06 17:54:47 +08:00
  • b726545a83 Merge pull request #1168 from kaitian521/dev2 Guo Ling 2023-09-06 16:21:16 +08:00
  • 7649e45d70 in place modification for getString to speed up Lishaokai 2023-09-05 23:20:46 +08:00
  • 7b7d3fc054 Merge pull request #1167 from mrousavy/avoid-move Guo Ling 2023-09-04 19:53:33 +08:00
  • 5691842d42 Merge branch 'dev' into avoid-move Guo Ling 2023-09-04 19:53:26 +08:00
  • 3ebb422dde fix: Prevent moving a temporary object (input.readData()) Marc Rousavy 2023-09-04 13:49:44 +02:00
  • bf1c2a0126 Merge pull request #1162 from xiezheng-XD/master Guo Ling 2023-08-31 09:05:25 +08:00
  • 1717fda355 Update formatCode.py xiezheng-XD 2023-08-31 01:07:28 +08:00
  • b374dcbe99 Merge pull request #1160 from kaitian521/dev Guo Ling 2023-08-30 11:29:02 +08:00
  • e0f5321a9a override from beginning of file when dict is empty lishaokai 2023-08-28 17:42:12 +08:00
  • 3f0c7fe220 Merge pull request #1158 from wxxion/dev Guo Ling 2023-08-25 22:09:33 +08:00
  • 19f66b8c03 Fix lint error related to usage of getColumnIndex Wayne Xiong 2023-08-22 16:12:16 +08:00
  • 041548ad99 add onlyOneKeyTest for iOS guoling 2023-08-24 11:01:19 +08:00
  • bdf434db96 Merge pull request #1151 from kaitian521/dev Guo Ling 2023-08-24 10:39:39 +08:00
  • c962b68934 Do not append to file when dic.size()==1 && new key in dict Lishaokai 2023-08-17 08:02:50 +08:00
  • 62a3f6af41 tidy once_control guoling 2023-08-23 11:05:48 +08:00
  • b71885713a add back GetAppleMachineInfo() guoling 2023-08-23 11:03:14 +08:00
  • 67bcb5fa23 TMP: add -O2 flag for release build #1145 guoling 2023-08-15 17:41:04 +08:00
  • 86e364ee45 turnoff aes & flutter for debug purpose dev_with_no_aes_no_flutter guoling 2023-08-14 11:39:40 +08:00
  • 00b8b84ec9 Merge pull request #1138 from kaitian521/dev Guo Ling 2023-08-11 23:20:51 +08:00
  • 5c88ea604b Merge branch 'dev' into dev kaitian521 2023-08-11 21:32:26 +08:00
  • 73f01e5d50 set expected capacity for file length when init #1114 Lishaokai 2023-08-10 23:12:49 +08:00
  • 09c165e93f Merge pull request #1141 from Tencent/dev v1.3.1 Guo Ling 2023-08-11 16:08:42 +08:00
  • d513cc51c7 update flutter sdk constraint guoling 2023-08-11 16:07:47 +08:00
  • 7deea61da3 Merge pull request #1140 from Tencent/dev Guo Ling 2023-08-11 16:03:33 +08:00
  • 46caaa7504 for flutter v1.3.1 guoling 2023-08-11 16:02:59 +08:00
  • 86a785f336 Merge pull request #1139 from Tencent/dev Guo Ling 2023-08-11 15:02:50 +08:00
  • 9b80016295 update change log guoling 2023-08-11 15:02:33 +08:00
  • aca5c6c430 ignore .cmake dir guoling 2023-08-11 14:55:20 +08:00
  • e48210047f prepare for v1.3.1 guoling 2023-08-11 14:54:41 +08:00
  • 6734567f8a never close MetaFile on clearMemoryCache() #1117 #1061 guoling 2023-08-11 12:49:42 +08:00
  • 7eb562495b bugfix: some Android devices might not have access permission on parent dir #1119 guoling 2023-08-10 18:09:11 +08:00
  • 0acb64ccfe add testcase on count() & allKeys() for Win32 guoling 2023-08-10 17:43:38 +08:00
  • b08b9b17fd add filterExpire param for count() & keys() for Python guoling 2023-08-10 17:30:58 +08:00
  • 60cd3ab5d7 tidy guoling 2023-08-10 17:18:04 +08:00
  • d8574567c0 add testcase on count() & allKeys() for POSIX guoling 2023-08-10 17:17:48 +08:00
  • 7b02656c64 add CountNonExpiredKeys() & AllNonExpireKeys() for golang guoling 2023-08-10 16:59:51 +08:00
  • c4b9ccca43 add filterExpire param for count() & allKeys() for flutter iOS guoling 2023-08-10 16:24:07 +08:00
  • cffee7369c add filterExpire param for count() & allKeys() for flutter guoling 2023-08-10 15:42:44 +08:00
  • bcfa406d77 fix NSKeyedArchive error on enable auto key expire #1132 guoling 2023-08-10 11:20:20 +08:00
  • c6d9c6c788 Merge pull request #1121 from kaitian521/dev3 Guo Ling 2023-08-10 10:45:28 +08:00
  • 6a0d0721e0 accurate avgItemSize & avoid of file expand when inserting k-v for the first time #1120 Lishaokai 2023-07-29 14:01:13 +08:00
  • e827209b10 Merge pull request #1110 from kaitian521/dev Guo Ling 2023-07-12 18:00:42 +08:00
  • 0617e46f7b Avoid of unnecessary msync when inserting key-value for the first time #1109 lishaokai 2023-07-12 17:57:01 +08:00
  • 980c4137c7 add cross process demo for iOS guoling 2023-06-28 21:44:24 +08:00
  • 2dd2d19a3d add allNonExpireKeys() & countcountNonExpiredKeys() guoling 2023-06-20 16:24:15 +08:00
  • 6fee34fae7 add filterExpire param for count() & allKeys() #1096 guoling 2023-06-20 14:29:34 +08:00
  • 3fef9314ee grade androidx to fix some issue #1086 guoling 2023-06-15 16:30:52 +08:00
  • 272e5aa1fb Merge pull request #1094 from Tencent/dev Guo Ling 2023-06-15 10:12:53 +08:00
  • 422ab7414c fix -DMMKV_DISABLE_CRYPT compile error #1093 guoling 2023-06-15 10:12:25 +08:00
  • ebc5f3f0ac Merge pull request #1092 from Tencent/dev v1.3.0 Guo Ling 2023-06-14 20:00:23 +08:00
  • 1a120dc7ae for flutter v1.3.0 guoling 2023-06-14 19:58:44 +08:00
  • 6ea09f5b8d Merge pull request #1091 from Tencent/dev Guo Ling 2023-06-14 17:05:31 +08:00
  • 3af81b2bd6 prepare for v1.3.0 guoling 2023-06-14 16:36:29 +08:00
  • f037020b25 fix armv7 compile warning #1088 guoling 2023-06-13 20:06:43 +08:00
  • 3a171604fa fix ftruncate() bug on Win32 #1068 guoling 2023-05-30 16:38:40 +08:00
  • 2f0b36efb2 add auto-key-expiration for Python guoling 2023-05-26 20:06:34 +08:00
  • 5a60f03196 add auto-key-expiration for golang guoling 2023-05-26 19:32:40 +08:00
  • acff50113a add auto-key-expiration for Win32 guoling 2023-05-26 18:00:40 +08:00
  • 852ea1e6c8 add Expire constant guoling 2023-05-26 17:25:20 +08:00
  • 16b666fe2c add MMKV::NeverExpire for C++ interface guoling 2023-05-26 15:47:41 +08:00
  • a2757975b0 rollback lazy load as many reported ANR guoling 2023-05-26 15:32:41 +08:00
  • 40dd727f95 add auto-key-expire on flutter (only tested on Android though) guoling 2023-05-26 15:19:43 +08:00
  • 2e04488ae5 add auto-key-expiration for Android guoling 2023-05-25 17:13:03 +08:00
  • 18598823d6 fix compile error on Xcode guoling 2023-05-24 20:10:51 +08:00
  • 3bf119f579 fix compile error on Linux guoling 2023-05-24 19:58:32 +08:00
  • 927d95fd68 add auto-expiration testcase for POSIX guoling 2023-05-24 19:50:57 +08:00
  • 10b98c06cd fix POSIX compile error guoling 2023-05-24 19:24:18 +08:00
  • 983d1d0a33 upgrade to iOS 11 / macOS 10.13 / tvOS 13 / watchOS 4 guoling 2023-05-24 18:12:58 +08:00
  • c9f1d7aa92 support auto key expiration: works on iOS guoling 2023-05-24 17:45:15 +08:00
  • 105a86d889 upgrade to iOS 11 / macOS 10.13 / tvOS 12 / watchOS 4 guoling 2023-05-24 17:40:05 +08:00
  • 3e3bb8f6bb fix warning on some compiler #1077 guoling 2023-05-16 10:52:11 +08:00
  • dfb44dbcd0 Merge pull request #1066 from Tencent/dev v1.2.16 Guo Ling 2023-04-20 16:24:28 +08:00
  • 557250713f prepare for v1.2.16 guoling 2023-04-20 16:23:54 +08:00
  • 3d0cb69aa4 prepare for v1.2.16 guoling 2023-04-20 16:20:11 +08:00
  • 209ad09cff fix MinGW64 printf bug #1062 guoling 2023-04-20 14:42:09 +08:00
  • e3a2fa7c4d Merge pull request #1065 from rookiegan/rookiegan/remove_device_info_plus Guo Ling 2023-04-19 15:44:01 +08:00
  • f5eeba75fc Fix flutter example Could not start Dart VM service HTTP server rookiegan 2023-04-19 15:09:46 +08:00