51 Commits

Author SHA1 Message Date
云风
406f3a7437 Lua 5.5.0 Release (#2119)
* Lua 5.5 beta

* lua 5.5.0 release
2025-12-23 10:19:09 +08:00
Cloud Wu
e21604783a Fix #2060 2025-06-15 10:49:56 +08:00
Cloud Wu
41928512f0 Use getshrstr() 2024-06-26 13:05:27 +08:00
Cloud Wu
afb50a0587 update lua 5.4.7 2024-06-26 08:41:59 +08:00
Cloud Wu
dfc706615e update lua 2022-08-25 11:51:58 +08:00
Cloud Wu
811ef52b3d fix build 2021-03-30 14:55:02 +08:00
Cloud Wu
e0d4fda24e Update lua 5.4.3 2021-03-30 10:09:43 +08:00
风---自由
bf5eacfe80 fix: macosx build error (#1360)
Co-authored-by: xiaojin <xiaojin@onemt.com.cn>
2021-03-10 17:35:17 +08:00
Cloud Wu
213c9966e4 fix build 2021-03-10 12:01:15 +08:00
Cloud Wu
072d782651 Update lua 5.4.3 rc1 2021-03-10 11:53:37 +08:00
云风
b164e3a8a9 use stdatomic (#1317) 2021-01-11 10:54:34 +08:00
Cloud Wu
4d88f96ed6 bugfix: make proto shared 2020-12-18 19:20:15 +08:00
Cloud Wu
8a7c2b41a1 luaS_hash changed 2020-10-16 12:04:40 +08:00
Cloud Wu
8ea74c2b93 update to lua 5.4.2 2020-10-16 11:09:39 +08:00
云风
eaa60ca8dd Update to lua 5.4 (#1174)
* update to lua 5.4.0-rc1

* remove LUA_ERRGCMM

* use age bits for shared

* remove unused lbitlib.c

* use luaV_fastget

* fix #1174

* suspend函数tailcall优化

* 防止没有session导致未调用suspend

* luaH_setint check shared (#1184)

* set LUA_GCGEN by default

* fix #1174 (#1186)

checkshared in sweeplist

* update to lua 5.4 rc2

* update to lua 5.4 rc4

* move skynet.profile into snlua

* Use lua_sethook to interrupt tight loops

* remove lua_checksig

* critical condition for signals

* update to lua 5.4 released

* lua 5.4 bugfix

* update lua bugfix

* fix lua_sharestring (#1224)

* update lua

* update lua 5.4

* update README

* add skynet.select

* add test

* test error & discard

* yield session

* request error has no error message

* add timeout to skynet.select

* bugfix

* for lua 5.4

* new version

* bugfix

* bugfix

* use if instead of while

* make local

* yield in select for

* update lua 5.4.1

* change lua version (#1245)

Co-authored-by: xiaojin <xiaojin@onemt.com.cn>

* update lua version number

Co-authored-by: hong <hongling0@gmail.com>
Co-authored-by: hong <hongling-0@qq.com>
Co-authored-by: 风---自由 <996442717qqcom@gmail.com>
Co-authored-by: xiaojin <xiaojin@onemt.com.cn>
2020-10-10 13:36:59 +08:00
Cloud Wu
e4224137f1 fix #1078 2019-08-28 20:19:15 +08:00
Cloud Wu
10fd5791f7 dec id would be better 2019-06-25 10:01:19 +08:00
Cloud Wu
5d26fb3f18 remove ssm and add string id 2019-06-25 10:01:19 +08:00
Cloud Wu
6f0e88dc59 bugfix, See issue #1027 2019-06-15 00:37:42 +08:00
Cloud Wu
5a0f68999e fix #1032 2019-06-14 11:04:20 +08:00
Cloud Wu
b45384cc9f short string in matrix should be in fixed set 2019-06-13 17:55:45 +08:00
Cloud Wu
7fed938593 mark all short string shared, see #1027 2019-06-13 16:58:57 +08:00
hong
82f3e80e06 collectref的时候减少nuse 2019-06-10 15:11:51 +08:00
hong
9ffa0c6e30 markref冲突时候刷新 cache 2019-06-10 15:11:51 +08:00
hong
64d99c1bd5 nuse计数错误 2019-06-10 15:11:51 +08:00
hong
da87df6b86 有概率出现total为0的时候garbage不为0的情况 2019-06-10 15:11:51 +08:00
hong
fafc4cad34 do not makeshared to LUA_TSHRSTR 2019-06-10 15:11:51 +08:00
hong
1b60c522b0 字符串引用计数BUG 2019-06-10 15:11:51 +08:00
Cloud Wu
3a0981661c don't use SSM.garbage 2019-06-10 15:11:51 +08:00
Cloud Wu
47d1047004 sweep garbage strings 2019-06-10 15:11:51 +08:00
Cloud Wu
76b166f04a Add new sharetable 2019-06-10 15:11:51 +08:00
Cloud Wu
2ceb642b5d rewrite SSM and clonefunction 2019-06-10 15:11:51 +08:00
hong
4c17005c03 优化SSM查询 2019-04-17 17:46:05 +08:00
Cloud Wu
fbd932e846 OOM check 2019-04-03 11:29:37 +08:00
Cloud Wu
8e8a92ca2d overflow check 2019-04-03 11:15:33 +08:00
Cloud Wu
6f40120ad8 expand SSM during loadfile 2019-04-02 20:47:27 +08:00
Cloud Wu
f8d55affba use sign n for SSM 2019-04-02 19:32:44 +08:00
Cloud Wu
56d24f46d6 overflow check 2019-04-02 19:15:35 +08:00
Cloud Wu
64e0c4daff calc variance 2019-04-02 19:15:35 +08:00
Cloud Wu
5bf635c75c SSM expanding 2019-04-02 19:15:35 +08:00
zixun
3c6c0f7aa4 bugfix #976 long string instead of global seed 2019-03-28 21:21:44 +08:00
Cloud Wu
3f38a711ad Shared K 2019-03-14 09:54:40 +08:00
Cloud Wu
ea7c6402dd update lua to 5.3.5 2018-07-10 22:11:56 +08:00
snail
532f47444b reduce needless 'add_string' call
Short strings in lua proto are reused most of the time. The string in SSM may be added by one service and used by other service,  there is no need to call `add_string`,which will call 'new_string' first.
2016-01-11 15:06:51 +08:00
Cloud Wu
3a527f0a66 update lua to 5.3.2 2015-11-30 20:31:56 +08:00
Cloud Wu
633e5fbe32 fix issue #331 2015-08-29 15:24:24 +08:00
Cloud Wu
bb6d5d826e add TString struct size 2015-08-21 15:59:51 +08:00
Cloud Wu
c0862d8445 add global share string table 2015-08-21 13:52:04 +08:00
Cloud Wu
f36b173155 update to lua 5.3.1 2015-06-17 22:06:11 +08:00
Cloud Wu
c7b5015e10 update to lua 5.3, remove lua unsigned api 2015-01-05 16:25:42 +08:00