796 Commits

Author SHA1 Message Date
pikastech
ebe10bc5f4 insert freertos and lwip platform for network 2022-11-12 15:39:42 +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
0882bd0c6e add pthread lib to fix CI on github 2022-11-12 00:54:35 +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
b590df0979 rename platform_socket.h to pika_socket.h 2022-11-10 17:17:29 +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
lyon
db95b14950 support float('1.1') 2022-11-08 22:07:23 +08:00
lyon
8c17a7bd0d adding LEFT_RIGHT KEY support, not ok 2022-11-08 12:39:19 +08:00
lyon
85ece20f4c support cq for evnet, get res from event 2022-11-05 12:34:18 +08:00
lyon
4ed6061733 return None when return Null from cmodule
not raise when cjson parse faild
2022-11-04 14:23:54 +08:00
lyon
c5f2d55a1d fix arg_getBytesSize in FILEIO.write 2022-11-04 13:34:34 +08:00
pikastech
98863c79c3 fix core dump when print kw arg 2022-11-03 18:51:53 +08:00
lyon
feeca8f135 run event when vm is idle 2022-11-02 12:25:02 +08:00
pikastech
09203accd4 skip check align on win32 2022-10-28 16:56:39 +08:00
lyon
5180f2d807 fix cfg.getchar name conflict 2022-10-25 14:32:43 +08:00
lyon
581281ff8e add stdtask test on REPL 2022-10-25 13:54:21 +08:00
lyon
d0df040067 support unittest for REPL, check overflow for REPL 2022-10-25 11:52:42 +08:00
lyon
df65e2def9 support RES on pikaCompiler 2022-10-24 10:14:12 +08:00
lyon
38f9a1e03e rm cjson_test.py.o and generate by msc in init.sh 2022-10-24 00:17:27 +08:00
lyon
ed060f0c24 use u32 size value inner *.py.o 2022-10-23 18:57:00 +08:00
lyon
0705e4d9f6 add fatfs
add pika_posixfs
2022-10-22 20:03:25 +08:00
pikastech
5fa138c9c1 fix input 2022-10-21 17:14:06 +08:00
pikastech
e72d1efa36 ignore .pyi if .py.o exist
support load py.o

add cjon_test.pyi
2022-10-21 12:30:42 +08:00
pikastech
6bb5adde37 support run obj_runChar inner pikaScriptShell 2022-10-20 22:51:51 +08:00
pikastech
9865d65bbf support multi import ok, cmodule ok 2022-10-20 15:16:44 +08:00
pikastech
ffe0565638 multiy module import ok, cmodule not ok 2022-10-20 13:57:28 +08:00
pikastech
83afef1906 fix err when #define __platform_printf to printf 2022-10-19 13:16:50 +08:00
pikastech
713a755459 test ok, rm @p not ok 2022-10-15 19:02:36 +08:00
pikastech
018a3d579f optimize speed for range 2022-10-13 01:24:58 +08:00
pikastech
7582a37a73 support input() builtin 2022-10-09 19:46:05 +08:00
pikastech
45c3edcfa1 add test for UnitTest.py
add volatile for precompiler

update prec
2022-10-08 19:23:32 +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
603d09febd optimize speed for strEqu 2022-10-05 22:29:22 +08:00
pikastech
3ccba05acf fix valgrind 2022-10-02 19:38:20 +08:00
pikastech
6a9535470b support mod1 import mod2 import mod1 2022-10-02 16:29:48 +08:00
pikastech
9eb469e521 support eval() 2022-10-01 14:03:57 +08:00
pikastech
c5ccb1bf4f support multiline define for pre-compiler 2022-09-30 15:44:36 +08:00
pikastech
b21fd029ed optimize str slice, time speed recuse 95% 2022-09-29 20:41:57 +08:00
pikastech
71d7298057 support string.strip(ch) 2022-09-29 18:47:03 +08:00
pikastech
d63d50a322 use pika_float to support switch for float/double
update pre-comp

update pre-win
2022-09-28 11:54:10 +08:00
pikastech
fd4fb54dc7 fix ref err in function local context
update date
2022-09-28 10:57:19 +08:00
pikastech
083e6d1e53 fix pyi warnings 2022-09-27 22:47:32 +08:00
pikastech
efd9abbf17 add mem check
add big_dict_update test
2022-09-27 21:30:30 +08:00
pikastech
76d03f3581 fix @PIKA_C_MACRO_IF
support 'hasattr' 'getattr' for c module
2022-09-26 11:39:33 +08:00
pikastech
74a51cd053 support hasattr(), proxy test ok 2022-09-26 10:14:01 +08:00
pikastech
459da8ab5b support '__getattribute__()'
support `__getattr__()`

disable proxy for PIKA_NANO_ENABLE

fix typo

support `__setattr__()`

proxy for cmodule is ok
2022-09-23 16:34:14 +08:00
pikastech
52995e6ab2 support list.pop()
support list.remove()

support list.insert()
2022-09-23 12:38:04 +08:00