367 Commits

Author SHA1 Message Date
lyon
15c1c01942 fix CI 2023-02-02 12:12:09 +08:00
lyon
73e056141b fix mem leak when exit thread
support tuple args for _thread.start_new_thread()

update _thread
2023-02-01 21:35:49 +08:00
lyon
0752afac79 add _thread module 2023-02-01 13:15:15 +08:00
lyon
73b9effffd fix suger_multiassin inner def or class 2023-01-30 01:47:18 +08:00
lyon
9b82685e4d check faild on network
fix pos to kw when no enough pos

ifconfig test ok
2023-01-25 14:13:09 +08:00
lyon
ecd12f75a1 network from hal OK 2023-01-24 23:40:41 +08:00
lyon
012022dea4 add network module, add WIFI hal 2023-01-24 21:00:02 +08:00
lyon
e50d75addb use arg_toString to get arg<str> 2023-01-23 23:53:40 +08:00
lyon
68fac66530 fix fn and arg scope, support type() for basic arg 2023-01-23 23:53:40 +08:00
lyon
e2a9489a87 fix tim no found 2023-01-22 23:25:20 +08:00
lyon
d77e7f3f2d add filter for dir() 2023-01-22 23:16:38 +08:00
lyon
6fe30eca60 format parser 2023-01-22 00:37:44 +08:00
lyon
1816e322ce fix l[x()] = b parse err 2023-01-21 23:19:36 +08:00
lyon
1610574158 error when import pyi from pyi, and imported def fn 2023-01-09 21:56:45 +08:00
lyon
f92331022c use pika_platform new api and add old api adapter 2022-12-29 18:06:22 +08:00
lyon
71310ac4a9 move platform_thread to kernal 2022-12-29 17:40:19 +08:00
lyon
cf7fc9cf14 update 2022-12-29 17:21:20 +08:00
lyon
e62072fe0b add close() for std 2022-12-28 06:41:36 +08:00
lyon
3afb460bf4 fix mem leak when mqtt subscribe, use fake data 2022-12-27 23:24:15 +08:00
lyon
ed04dc2657 support send any Arg to event 2022-12-27 22:45:34 +08:00
lyon
83680dce51 Merge branch 'master' into mqttdev 2022-12-27 16:04:29 +08:00
lyon
256319e035 update port linux std
fix baseDev.addEventCallBack

use setCallBack in std

update std

support flow control for uart

add flowcontrol API for std.uart
2022-12-23 18:43:08 +08:00
lyon
55508d7e84 support del(x) 2022-12-23 18:11:49 +08:00
lyon
e524c2b6ad fix fn_pos_kw_issus2 2022-12-21 13:08:42 +08:00
lyon
1ceb015391 fix load err when fn(pos, kw=xxx) 2022-12-21 00:26:01 +08:00
lyon
3afd92608a fix typo of getArgByIndex 2022-12-21 00:13:19 +08:00
FlintJ
47f502928b Optimize the callback function of subscribe function 2022-12-18 21:47:23 +08:00
lyon
251c450248 support x not in y syntax 2022-12-15 01:07:27 +08:00
lyon
853d5be3b5 fix leak when load kw dict to default 2022-12-10 16:30:43 +08:00
onceday
0aaf68a189 finish post test 2022-12-10 22:57:07 +08:00
onceday
9695bb1bd2 delete some test code 2022-12-03 23:42:19 +08:00
onceday
5b0d7ae950 basic functions 2022-11-24 23:28:37 +08:00
lyon
bf76bf859b use obj_setNone to init none val 2022-11-24 01:21:42 +08:00
onceday
3d773b5709 cycle never stop 2022-11-23 23:58:14 +08:00
lyon
5bb24375ae add python layer for requests to connnect url 2022-11-22 13:44:00 +08:00
lyon
2ad9caacc9 add test for hal, use table_map for hal 2022-11-20 23:55:03 +08:00
pikastech
fa374c72da adding pika_hal 2022-11-20 22:16:41 +08:00
FlintJ
f74e2bad48 add mqtt connect/disconnect 2022-11-19 23:41:00 +08:00
lyon
db381cb9f5 fix mqtt_init.py for test, fix _del_ mem lack. 2022-11-18 23:38:49 +08:00
lyon
363238987e support fn and class def on bytecode
update version, fix warning
2022-11-15 14:57:51 +08:00
lyon
307477f033 fix get arg_num_pos
check is_keys is_vars is_default

support load default from pos arg
2022-11-15 12:22:34 +08:00
pikastech
6d61bc07cc support print None
optimizing runbytecode

use _cache_bcf

arrange the run_bytecode and cache

more args for _do_pikaVM_runBytecode

support print(None)
2022-11-14 16:11:21 +08:00
lyon
3837c3aafd use requests.pyi
requests.get() method ok

test requests.get passed
2022-11-13 19:15:14 +08:00
lyon
1ab4088ed7 add test for mqtt_init.py 2022-11-13 15:16:08 +08:00
lyon
5adc75c088 test mqtt-lease-free 2022-11-13 14:52:39 +08:00
lyon
7d90370d4c fix parse err for kw def
fix VM typelist overflow
2022-11-12 23:18:11 +08:00
pikastech
04a174a7d3 fix <errno.h> for requests 2022-11-12 15:49:50 +08:00
pikastech
a67a71f944 support linux/freertos/weak for mqtt platform 2022-11-12 15:20:51 +08:00
pikastech
6844b686b3 arrange thread and time delay 2022-11-12 14:02:43 +08:00
pikastech
a762713359 use PikaPlatform_socket.c to hold socket depend 2022-11-12 13:55:15 +08:00