70 Commits

Author SHA1 Message Date
blueloveTH
5725d66113 Update cJSONw.cpp 2024-05-05 11:38:11 +08:00
blueloveTH
e27f100b18 remove bind_notimplemented_constructor 2024-05-04 13:48:14 +08:00
blueloveTH
425fffec74 remove bind_constructor 2024-05-04 13:42:39 +08:00
blueloveTH
3c480cee11 remove old bind_func 2024-05-04 13:25:30 +08:00
blueloveTH
d06d50f181 remove bind_method 2024-05-04 13:16:39 +08:00
blueloveTH
3ae17e00f2 some fix 2024-05-03 15:23:16 +08:00
blueloveTH
f944113567 remove PY_CLASS macro 2024-05-02 15:55:22 +08:00
blueloveTH
43ec97a707 Update lua_bridge.cpp 2024-05-02 12:42:02 +08:00
blueloveTH
f53a46941a deprecate *non_tagged* 2024-04-11 11:50:15 +08:00
blueloveTH
a5cb806749 some fix 2024-04-03 15:40:23 +08:00
miyanyan
c891d3dbba [fix] don't export cjson when PK_USE_CJSON is ON 2024-02-18 16:05:56 +08:00
blueloveTH
5ffb446d4a fix https://github.com/pocketpy/pocketpy/issues/194 2024-01-26 12:07:33 +08:00
blueloveTH
068abe347f update Tuple's constructor 2024-01-20 23:21:42 +08:00
blueloveTH
067c333de9 some cleanup 2024-01-20 23:12:04 +08:00
blueloveTH
3c5c536a05 ... 2024-01-17 15:09:54 +08:00
blueloveTH
123c8a6a92 rename to _type_name 2024-01-17 15:01:00 +08:00
blueloveTH
2cd93de8be add __delattr__ 2024-01-16 16:38:01 +08:00
blueloveTH
0b98c7b0bf ... 2024-01-16 16:27:36 +08:00
blueloveTH
170744df82 ... 2024-01-16 13:33:44 +08:00
blueloveTH
f83dac9252 ... 2024-01-16 02:33:22 +08:00
blueloveTH
1c13b62e60 ... 2024-01-16 01:45:28 +08:00
blueloveTH
cd1280d350 ... 2024-01-16 01:42:03 +08:00
blueloveTH
56d66ad980 ... 2024-01-14 20:45:46 +08:00
blueloveTH
9cea32fe31 remove box2d module 2024-01-08 21:08:12 +08:00
blueloveTH
42a7d02286 ... 2024-01-05 22:49:42 +08:00
blueloveTH
866abe2c63 ... 2024-01-05 22:47:35 +08:00
blueloveTH
e150ffae5e rename UNREACHABLE() to PK_UNREACHABLE() 2024-01-04 13:01:26 +08:00
blueloveTH
c9ae759b24 ... 2023-11-22 06:36:28 +08:00
blueloveTH
acbfd11366 remove dylib support 2023-11-22 06:32:34 +08:00
blueloveTH
dfc656000b add point_cast for box2d 2023-11-11 03:18:15 +08:00
blueloveTH
c2f13e4f03 add a safety check for box2d 2023-11-11 02:51:10 +08:00
blueloveTH
12f6617bee update box2d 2023-11-10 14:47:12 +08:00
blueloveTH
a7448b7fa0 make json.loads accept bytes 2023-10-31 21:34:30 +08:00
blueloveTH
cdcdded9a3 some fix 2023-10-15 16:47:53 +08:00
blueloveTH
acdab59d94 Update cJSONw.cpp 2023-10-15 16:06:49 +08:00
blueloveTH
7922513255 Update cJSONw.cpp 2023-10-15 16:03:44 +08:00
blueloveTH
4c13c5480d ... 2023-10-15 15:30:53 +08:00
blueloveTH
ac5bc5ea0e Update cJSONw.cpp 2023-10-15 15:26:56 +08:00
blueloveTH
b3e77cdb51 ... 2023-10-15 15:20:22 +08:00
blueloveTH
3c6e4b4e76 ... 2023-10-15 15:15:44 +08:00
blueloveTH
227e76e3e4 cjson cleanup 2023-10-15 15:00:25 +08:00
Mahbub Alam
2950d88545
Add cjson module (#151)
* Add cjson module

* Create structure for cjson module

* Implemenet loads function

* Convert cJsonBool to python boolean

* Implement dumps function

* Convert json bool and null to python Bool and None

* necessary changes of project structure

* Update amalgamate.py

* Support non-dictionary json objects (list, tuple, string, number, bool, null)

* Fix tests

* fix CI

* fix CI

* Convert python to cJson and then to string

* Delete cJSON object after use

---------

Co-authored-by: Mahbub Alam <alam.mahbub214@gmail.com>
Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2023-10-15 13:32:20 +08:00
blueloveTH
cf7dc098a3 remove windows.h 2023-10-02 06:38:23 +08:00
blueloveTH
e6b89a1206 fix box2d 2023-10-01 22:54:08 +08:00
blueloveTH
c0ccebe5d0 ... 2023-09-27 20:34:28 +08:00
blueloveTH
2ccc1bd6f1 ... 2023-09-26 20:42:11 +08:00
blueloveTH
d4a90c9788 ... 2023-08-20 15:17:53 +08:00
blueloveTH
d36ad2081b ... 2023-08-20 15:15:48 +08:00
blueloveTH
ccb4d84d8b ... 2023-08-20 14:40:06 +08:00
blueloveTH
21c82b3575 ... 2023-08-13 00:01:02 +08:00