36 Commits

Author SHA1 Message Date
najoast
5248d443dc Fix typo: Causes an error when resp is false (#1260)
Co-authored-by: zhouyan <zhouyan@onemt.com.cn>
2020-11-24 18:32:28 +08:00
Cloud Wu
55f207c1d2 fix debug console command : kill 2020-10-14 16:24:04 +08:00
Cloud Wu
623d8182eb fix #1246 2020-10-10 18:04:20 +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
wudeng
95cb848772 collectgarbage count change to lua 5.3 2019-04-19 19:09:05 +08:00
Cloud Wu
89e7a06deb add more info when service init blocked 2018-09-13 18:27:05 +08:00
Cloud Wu
4ada09b93c add pcall in launcher 2016-05-06 14:06:38 +08:00
Cloud Wu
3baeb62b0b move some api from skynet.lua to skynet/manager.lua 2015-05-13 11:04:25 +08:00
Cloud Wu
62e70ef755 fix for lua 5.3 (PR #232) 2015-02-06 16:09:26 +08:00
Cloud Wu
72c2fad82a skynet.kill would raise error 2015-02-05 18:25:06 +08:00
Cloud Wu
7c7d63ea70 return nil to caller of newservice, while calling skynet.exit in start function 2015-02-05 18:16:26 +08:00
Cloud Wu
16f63df0c3 add message log 2014-08-22 15:30:35 +08:00
Cloud Wu
6bf8dd9a31 add debug command inject 2014-08-13 21:02:56 +08:00
Cloud Wu
809e6c3a89 add debug command: exit 2014-08-13 19:37:26 +08:00
Cloud Wu
ce5adba5b2 add skynet.response for delay response 2014-07-30 12:10:30 +08:00
Cloud Wu
ece89a1b49 add new api skynet.task() 2014-07-07 18:29:27 +08:00
zhoukk
19729576f6 lua service launch错误时,移除services中记录
lua service launch错误后,没有移除 launcher.lua里services中的服务记录,导致debug_console中的list mem等命令返回数据不正确
2014-05-18 12:36:38 +08:00
Cloud Wu
a4a21bd793 move lualib/snax_* to lualib/snax/ 2014-04-29 17:05:27 +08:00
Cloud Wu
4f10610e26 debug command reload and timing removed 2014-04-28 15:32:46 +08:00
云风
0505b88f5e add debug_console service 2014-02-25 20:04:50 +08:00
云风
e077bd3231 format timing result 2014-02-24 10:36:52 +08:00
云风
c1e6737711 timing remote call 2014-02-23 17:13:58 +08:00
云风
300300853b 1. none blocking connect ; 2. socket.readall ; 3.socket.readline will return last line ; 4. lua service report launcher error 2013-07-22 21:09:38 +08:00
云风
fce4b6fee8 dispatch must before skynet.start 2013-07-02 20:59:17 +08:00
云风
52a4ef8d13 register launcher name at skynet_start 2013-07-02 10:48:22 +08:00
云风
40d2f89443 reload snlua service 2012-10-27 22:48:38 +08:00
云风
d4b92a92a8 use new way for stat 2012-09-15 17:39:38 +08:00
云风
1363ee4406 format dbg output 2012-09-15 17:03:54 +08:00
云风
7e5ab8c48c debug info 2012-09-15 16:38:28 +08:00
云风
564efd1b8b snlua stat 2012-09-14 15:20:18 +08:00
云风
872ad763a9 bugfix: newservice 2012-09-14 13:41:44 +08:00
云风
32dee2bbaa dbg for debug 2012-09-14 12:04:14 +08:00
云风
0a886cd57c support multi protocol 2012-08-31 21:18:19 +08:00
云风
4610781498 remove broker and add group command 2012-08-30 17:26:48 +08:00
云风
51ef283887 bugfix : connection 2012-08-30 16:30:52 +08:00
云风
eed9c42fd4 change source dir 2012-08-09 15:36:56 +08:00