pikastech
ee9d1e696a
auto release packages form linux port
2023-03-15 16:20:59 +08:00
pikastech
7f5edaf090
add objCnt
...
ready to check where enable the mark_sweep
auto gc with threshold failed, add some assert
more assert about obj alive, dict mark not correct
add pikaGC_try, but cannot run at any time
markSweep crashed on keyword
save gcRoot for obj to debug
add debug point
add kernal_debug config to keep more debug info
use @res_<opt> to mark operation
found self reference on __iter__()
can not fix gc err around iter
remove lock, only keep the self lock
more obj info for debug
only pikaui not pass
only pikaui not pass
2023-03-08 09:35:27 +08:00
lyon
9d4aa3c38c
try to fix gc about __pikaMain
...
fix format
can not markSweep after deinit root
support markRoot if not root
add clang-format
fix path
enable compile-commonds on to support clangd
set markSweep not default
use no_gc object for function frame
only gc for tinyobj, not pikaobj
restore add gc chain when init pikaObj
add clang-format in docker
set for default formatter to clang-format
all Object is GC_ROOT on create
only enable mark sweep to collect after OUT
markSweep after deinit __pikaMain
more mark sweep collect
2023-03-06 10:57:08 +08:00
lyon
38388625ca
support mark-sweep gc
...
change project name and url on kernal sources
rename global Value
format name
use g_PikaObjState
add gc chain
add gc_mark()
add printCanFree
add sub locals init
try use mark-sweep to solve circle-ref
use mark sweep to collect circle ref succeed
import mark-sweep GC
config_default
update
2023-03-05 12:57:27 +08:00
lyon
cc6fd6605b
ready to intruce mark-sweep GC
2023-03-01 21:23:33 +08:00
lyon
0752afac79
add _thread module
2023-02-01 13:15:15 +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
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
e62072fe0b
add close() for std
2022-12-28 06:41:36 +08:00
lyon
ed04dc2657
support send any Arg to event
2022-12-27 22:45:34 +08:00
FlintJ
47f502928b
Optimize the callback function of subscribe function
2022-12-18 21:47:23 +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
lyon
363238987e
support fn and class def on bytecode
...
update version, fix warning
2022-11-15 14:57:51 +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
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
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
0705e4d9f6
add fatfs
...
add pika_posixfs
2022-10-22 20:03:25 +08:00
pikastech
c5ccb1bf4f
support multiline define for pre-compiler
2022-09-30 15:44:36 +08:00
pikastech
04ae205e74
uptimize for big arg, not ok
2022-09-29 14:50:43 +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
f2e184aa81
support list(str)
2022-09-19 09:53:27 +08:00
pikastech
fc9562ccd6
add modbus module
...
add aglie_mmodbus
add agile_modbus and LICENSE
fix warning
add serialize deserialize API
2022-09-18 23:42:10 +08:00
pikastech
b4321d3a5c
fix err when arg.type or arg.flag both u8
2022-09-16 14:27:10 +08:00
pikastech
25bd3a9294
support def test(a:int64)-> int64:
2022-09-14 12:30:23 +08:00
pikastech
7f193cec04
support dict.items()
2022-09-11 00:51:17 +08:00
pikastech
c70947aa6e
cut VM for nano mode
2022-09-10 23:16:59 +08:00
pikastech
e85639a1e9
fix valgrind in check CLS
...
add pikann
2022-09-08 22:33:23 +08:00
pikastech
27ebfb049f
support input None to object
2022-09-07 14:25:25 +08:00
pikastech
af26aace9d
use method from str
and bytes
directly
2022-09-05 20:40:19 +08:00
pikastech
a563f7947c
add arg_newObj api
2022-09-05 17:43:17 +08:00
pikastech
45c70ffe79
support __contains__ for dict
2022-09-05 15:39:15 +08:00
pikastech
cfbc2d98f9
fix cre.c:310:3: error: a label can only be part of a statement and a declaration is not a statement
2022-08-29 16:58:01 +08:00
pikastech
f76e456ea0
add test, examples for re, fix some mem leak
2022-08-29 16:29:03 +08:00
pikastech
3d97469e25
add platform_h for socket.c
2022-08-26 17:55:17 +08:00
pikastech
7244267b68
test socket ok
2022-08-26 17:25:45 +08:00
pikastech
ecaf7ed0e9
add __platform for socket, add override
2022-08-26 16:40:12 +08:00
pikastech
2a4115722e
create socket.py
...
support socket on linux
2022-08-25 00:54:27 +08:00
pikastech
5354708450
use hash instead of itoa in list and queue
2022-08-17 10:29:54 +08:00
pikastech
d01ca77a51
support *var in py function
2022-08-16 12:21:11 +08:00