Commit Graph
45 Commits
Author SHA1 Message Date
guoling e7322d8cee test removeStorage() on POSIX 2023-12-06 13:29:41 +08:00
lishaokai eb9d8c1497 add clearAll with keeping file disk space 2023-10-08 14:07:13 +08:00
lishaokai 347b25feaa redo ftruncate file to its previous size when zeroFillFile fails(disk full) #1180 2023-09-26 17:53:29 +08:00
lishaokai 72b59356a9 compare value before set/encode for the same key 2023-09-12 20:36:10 +08:00
Lishaokai 7649e45d70 in place modification for getString to speed up 2023-09-06 15:59:37 +08:00
lishaokai e0f5321a9a override from beginning of file when dict is empty 2023-08-28 17:42:12 +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 60cd3ab5d7 tidy 2023-08-10 17:18:04 +08:00
guoling d8574567c0 add testcase on count() & allKeys() for POSIX 2023-08-10 17:17:48 +08:00
guoling 5a60f03196 add auto-key-expiration for golang 2023-05-26 19:32: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 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 cc233a6fe3 update POSIX test code about initialize() with logHandler 2022-09-20 11:17:09 +08:00
guoling 9b3af490e2 upgrade CMake requirement to 3.10 2021-10-22 22:27:00 +08:00
guoling d0493ec2e3 fix compile error on Linux 2021-09-18 18:32:59 +08:00
guoling 9c0de2dcc9 backup & restore works on POSIX 2021-09-16 20:19:24 +08:00
guoling ec39f75fd6 fix compiler error & sem_open() error on FreeBSD 2021-09-15 16:41:19 +00:00
guoling ca602a7342 fix POSIX compile error 2020-11-13 21:50:57 +08:00
guoling acdeb9a11c fix POSIX compile error 2020-10-16 21:40:43 +08:00
guoling 0a580aa15e add unit test for Python 2020-09-01 12:16:55 +08:00
guoling ef09c3787e return 0 for main 2020-06-30 20:02:02 +08:00
guoling 93b0b28fd4 opt clearAll() 2020-04-14 16:20:27 +08:00
guoling db64061642 fix gcc 4.8.5 compile error 2020-04-13 17:02:29 +08:00
guoling 425f43f2a6 rename demo.cpp 2020-03-24 14:50:55 +08:00
guoling e12f0b599d add unit test for POSIX platform 2020-03-23 20:01:33 +08:00
guoling 7729f69a1e cleanup test code 2020-03-20 17:56:07 +08:00
guoling e91a8e120b robust InterProcessLock 2020-03-20 17:54:01 +08:00
guoling 1858864fd4 add inter-process lock test 2020-03-20 13:53:38 +08:00
lingol e6767bcf2d readme 2020-02-11 11:43:09 +08:00
guoling 455b9d840c remove ThreadLock & InterProcessLock from MMKV public header 2020-01-03 18:52:00 +08:00
guoling 7239667dfd tidy headers 2020-01-03 17:34:37 +08:00
lingol 6098f0be0f auto detecting zlib 2020-01-03 17:21:02 +08:00
guoling 2ce5600773 more robust codedinputdata 2020-01-03 12:49:42 +08:00
guoling 9364d0ccfd add relativePath support for iOS 2019-12-24 22:13:42 +08:00
guoling 728ee4c9c2 prepare Core lib for iOS/macOS 2019-12-20 16:58:10 +08:00
guoling 968d2bdd7c prepare to merge iOS to Core lib 2019-12-19 15:18:39 +08:00
guoling 698a15f21b fix Linux compile error 2019-12-13 12:23:38 +08:00
guoling c389549990 move every OS dependent stuff out of MMKV.cpp 2019-12-09 18:06:48 +08:00
guoling 0d90cb5166 replace hand-make-mmap with class MemoryFile 2019-12-05 22:10:11 +08:00
guoling 4477316290 fix warning 2019-12-02 14:19:32 +08:00
guoling ea5d7454e5 rename Linux to POSIX, think bigger 2019-12-02 12:57:38 +08:00