guoling
|
03ce05705c
|
tidy include
|
2024-04-10 21:38:51 +08:00 |
|
guoling
|
0187c37e48
|
tested ohos backup & restore
|
2024-04-10 21:21:11 +08:00 |
|
guoling
|
48d45c5bc4
|
stash for ohos backup & restore, almost done
|
2024-04-10 21:06:57 +08:00 |
|
guoling
|
cd3db0cfc5
|
assume all ohos armv8 devices have aes+crc32 instr
|
2024-04-03 10:46:05 +08:00 |
|
guoling
|
92d0a17d82
|
add back lazy-load on mmkv init
|
2023-12-25 16:46:58 +08:00 |
|
guoling
|
33b4f108c6
|
make override much more robust & efficient #1151, #1160
|
2023-12-01 17:09:05 +08:00 |
|
guoling
|
02e07a7c2b
|
make expectCapacity more consistent
|
2023-11-21 19:43: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
|
a49ca62e60
|
add comment about mlock()
|
2023-09-19 18:42:00 +08:00 |
|
guoling
|
1107f99170
|
turn-off mlock() protection in background on iOS 13+
|
2023-09-19 18:34:08 +08:00 |
|
guoling
|
95c09496dd
|
opt iOS auto clean
|
2023-09-19 18:11:25 +08:00 |
|
guoling
|
34411268da
|
add catch(...) for each try-catch
|
2023-09-19 15:04:23 +08:00 |
|
Guo Ling
|
b726545a83
|
Merge pull request #1168 from kaitian521/dev2
in place modification for getString to speed up
|
2023-09-06 16:21:16 +08:00 |
|
Lishaokai
|
7649e45d70
|
in place modification for getString to speed up
|
2023-09-06 15:59:37 +08:00 |
|
Guo Ling
|
5691842d42
|
Merge branch 'dev' into avoid-move
|
2023-09-04 19:53:26 +08:00 |
|
Marc Rousavy
|
3ebb422dde
|
fix: Prevent moving a temporary object (input.readData())
|
2023-09-04 13:49:44 +02:00 |
|
Guo Ling
|
bdf434db96
|
Merge pull request #1151 from kaitian521/dev
Do not append to file when dic.size()==1 && new key in dict #1150
|
2023-08-24 10:39:39 +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 |
|
guoling
|
62a3f6af41
|
tidy once_control
|
2023-08-23 11:05:48 +08:00 |
|
guoling
|
b71885713a
|
add back GetAppleMachineInfo()
|
2023-08-23 11:03:14 +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
|
6734567f8a
|
never close MetaFile on clearMemoryCache() #1117 #1061
|
2023-08-11 12:49:42 +08:00 |
|
guoling
|
6fee34fae7
|
add filterExpire param for count() & allKeys() #1096
|
2023-06-20 14:29:34 +08:00 |
|
guoling
|
852ea1e6c8
|
add Expire constant
|
2023-05-26 17:25:20 +08:00 |
|
guoling
|
a2757975b0
|
rollback lazy load as many reported ANR
|
2023-05-26 15:32:41 +08:00 |
|
guoling
|
3bf119f579
|
fix compile error on Linux
|
2023-05-24 19:58:32 +08:00 |
|
guoling
|
10b98c06cd
|
fix POSIX compile error
|
2023-05-24 19:24:18 +08:00 |
|
guoling
|
c9f1d7aa92
|
support auto key expiration: works on iOS
|
2023-05-24 17:46:46 +08:00 |
|
guoling
|
3e3bb8f6bb
|
fix warning on some compiler #1077
|
2023-05-16 10:52: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
|
e23f424551
|
删除自动加载文件逻辑
删除自动加载文件逻辑,防止锁竞争
|
2023-04-04 14:35:36 +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 |
|
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 |
|