4000 Commits

Author SHA1 Message Date
lightovernight
b6a6aa85a6
fix an fatal error (#392) v2.1.1 2025-08-27 17:17:34 +08:00
blueloveTH
b6c030ac15 fix OS macro for debugger 2025-08-26 23:44:47 +08:00
lightovernight
e40c4af55c
Gsoc 2025 debugger (#390)
* implement `evaluate` request

* Update main.c

* Update main.c

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* fix bp not hit because of path format

* implement output event

* add `ctype.h` to `core.c`

* implement exception breakpoint

* fix assert triggered when called isspace

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-26 23:25:34 +08:00
blueloveTH
054fcba7e4 fix gc bug 2025-08-26 00:51:55 +08:00
blueloveTH
0c897df2c6 backup 2025-08-26 00:48:58 +08:00
blueloveTH
9a23eb6c9e fix a bug 2025-08-26 00:32:22 +08:00
blueloveTH
0ce88fa70c backup 2025-08-25 20:16:11 +08:00
blueloveTH
a55f62c860 set def_line for function 2025-08-22 17:08:18 +08:00
blueloveTH
5dba2cd8e6 remove is_virtual 2025-08-22 16:51:05 +08:00
blueloveTH
8f7e9f5f6c Update random.c 2025-08-21 17:56:09 +08:00
lightovernight
b3bbe3be58
implement evaluate request (#389)
* implement `evaluate` request

* Update main.c

* Update main.c

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* fix bp not hit because of path format

* implement output event

* add `ctype.h` to `core.c`

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-19 20:59:39 +08:00
blueloveTH
352556cbea update flutter plugin 2025-08-18 16:08:12 +08:00
blueloveTH
24c6c01ac9 do not profile lambda func 2025-08-18 14:30:13 +08:00
blueloveTH
b786fda39d add exception breakpoint 2025-08-18 11:40:13 +08:00
lightovernight
d516b51063
Gsoc 2025 debugger (#387)
* add debugger module

* simplify the workdir process

* Update main.c

* Update main.c

* update debugger

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* Fix memory management in setBreakpoints

* replace free to PK_FREE

* Add custom command ready

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-16 20:04:59 +08:00
blueloveTH
839bf0ed1c Update 98_profiler.py 2025-08-15 17:22:03 +08:00
blueloveTH
d44a6b7a44 Update line_profiler.c 2025-08-15 16:49:33 +08:00
blueloveTH
926fb37f7a fix line_profiler 2025-08-15 16:34:16 +08:00
blueloveTH
166b437498 fix line_profiler 2025-08-15 16:02:27 +08:00
blueloveTH
1b623ce2f8 Update core.c 2025-08-09 15:42:04 +08:00
lightovernight
d5d4a5f738
Gsoc 2025 debugger (#386)
* add debugger module

* simplify the workdir process

* Update main.c

* Update main.c

* update debugger

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* Fix memory management in setBreakpoints

* replace free to PK_FREE

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-09 15:40:06 +08:00
lightovernight
d0980c6934
Gsoc 2025 debugger (#385)
* add debugger module

* simplify the workdir process

* Update main.c

* Update main.c

* update debugger

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* Fix memory management in setBreakpoints

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-09 14:43:16 +08:00
lightovernight
ec8f8f473e
Merge pull request #379 from lightovernight/gsoc-2025-debugger
Gsoc 2025 debugger
2025-08-09 13:04:04 +08:00
blueloveTH
8d5cd7c1b8 fix random.seed 2025-08-08 16:59:55 +08:00
blueloveTH
abf96a7128 Update line_profiler.c 2025-08-08 15:39:45 +08:00
blueloveTH
2b7772d371 Update line_profiler.c 2025-08-08 14:48:56 +08:00
blueloveTH
af47a118f7 Update line_profiler.c 2025-08-08 14:38:09 +08:00
blueloveTH
03ee6563c8 add profiler 2025-08-08 14:26:27 +08:00
blueloveTH
4633ca7242 some fix 2025-08-08 12:02:31 +08:00
blueloveTH
bc51c5e19d Update pkpy.c 2025-08-08 11:44:09 +08:00
blueloveTH
169e825197 add profiler 2025-08-08 11:28:50 +08:00
blueloveTH
3c36b30f04 Create cute_png.md 2025-08-06 14:48:50 +08:00
blueloveTH
adef3f523c Update CMakeLists.txt 2025-08-06 14:42:29 +08:00
blueloveTH
f7061ce6d3 Update CMakeLists.txt 2025-08-06 14:37:39 +08:00
blueloveTH
84d7292b5d add color32.__hash__ 2025-08-06 14:33:22 +08:00
blueloveTH
391e83d659 add cute_png module from cute_headers 2025-08-06 14:25:53 +08:00
blueloveTH
b7abcf19b1 remove trailing newline 2025-08-05 13:40:01 +08:00
blueloveTH
ad107860e3 fix https://github.com/pocketpy/pocketpy/issues/380 2025-08-01 17:21:48 +08:00
blueloveTH
ff3cbca554 add random methods 2025-07-29 19:39:02 +08:00
blueloveTH
ca086f9732 fix https://github.com/pocketpy/pocketpy/issues/363 2025-07-22 15:01:06 +08:00
blueloveTH
35b5cdc9da update docs 2025-07-19 15:06:55 +08:00
blueloveTH
7d85da5ad3 Update internal.c 2025-07-17 19:56:28 +08:00
blueloveTH
bc64efe57a ... 2025-07-17 19:23:31 +08:00
blueloveTH
f1d4ef5e1c Update pocketpy.h 2025-07-17 17:37:37 +08:00
blueloveTH
01f04b2e41 add py_tpsetfinal 2025-07-17 11:24:39 +08:00
blueloveTH
85885f414f Update typeinfo.c 2025-07-17 11:19:37 +08:00
blueloveTH
5799af3fd7 allow hook getunboundmethod 2025-07-17 11:17:24 +08:00
blueloveTH
7016a8780c use 24 bytes data
Update pocketpy.h

Update pocketpy.h
2025-07-13 23:55:45 +08:00
blueloveTH
9c2b96e572 add function wrapper for malloc/free 2025-07-12 21:42:18 +08:00
blueloveTH
39958a92d2 Update ceval.c 2025-07-12 21:21:29 +08:00