392 Commits

Author SHA1 Message Date
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
lyon
8c96721a55 compile mqtt module passed on linux
mqttclient compile pass, log and ssl config off
2022-11-12 00:36:28 +08:00
lyon
bf651c260b test websocket on linux test ok 2022-11-10 18:07:09 +08:00
lyon
66da5271ec more __platform_api in requests module 2022-11-10 17:06:54 +08:00
lyon
39c44e20a8 add requests module, add rtt adapter 2022-11-10 16:55:14 +08:00
pikastech
a97212a5b3 support bytes add bytes 2022-11-09 16:42:09 +08:00
lyon
46b8644aeb fix core dump when line overflow 2022-11-09 01:34:49 +08:00
lyon
d52265afef optimize speed for hint strip 2022-11-07 11:54:19 +08:00
pikastech
98863c79c3 fix core dump when print kw arg 2022-11-03 18:51:53 +08:00
lyon
df65e2def9 support RES on pikaCompiler 2022-10-24 10:14:12 +08:00
lyon
0705e4d9f6 add fatfs
add pika_posixfs
2022-10-22 20:03:25 +08:00
lyon
a344117bc3 fix __cleanbuff err in _do_obj_runChar 2022-10-22 11:25:13 +08:00
pikastech
8436c6623b fix '\r\n' for obj_runchar 2022-10-22 10:13:13 +08:00
pikastech
6bb5adde37 support run obj_runChar inner pikaScriptShell 2022-10-20 22:51:51 +08:00
pikastech
ffe0565638 multiy module import ok, cmodule not ok 2022-10-20 13:57:28 +08:00
pikastech
7c6267bfd9 support multi module import parse 2022-10-20 12:55:07 +08:00
pikastech
86686a99b9 binary serch when size > 16 2022-10-15 23:32:34 +08:00
pikastech
713a755459 test ok, rm @p not ok 2022-10-15 19:02:36 +08:00
lyon
c0f1482007 optimizing methodArg
use const decleartion

use method arg as default arg_cache_size

not open arc_cache on pool_config
2022-10-14 00:59:39 +08:00
pikastech
018a3d579f optimize speed for range 2022-10-13 01:24:58 +08:00
pikastech
126a817d49 add cache for arg_alloc/free, cache for 6.56% 2022-10-08 18:06:43 +08:00
pikastech
5523710682 optimize speed 2022-10-06 14:40:09 +08:00
pikastech
ddcc2f7242 opt for args_isArgExist 2022-10-06 13:35:52 +08:00
pikastech
f5efb11a75 optimize speed for string funs
optimize str sppeed

add prof.sh

not -pg in default
2022-10-06 12:44:40 +08:00
pikastech
1748e306d6 optimize speed for OPT 2022-10-05 21:09:13 +08:00
pikastech
e0aae36a1a reduce malloc 2022-10-05 20:36:00 +08:00