4220 Commits

Author SHA1 Message Date
Christopher Obbard
432622f494 Add CMake install rules for library and headers
Set project VERSION so that the shared library gets the
correct SOVERSION (2) and full version embedded in the filename.

Add GNUInstallDirs-based install() rules under PK_IS_MAIN so that
`cmake --install` places:
 - the shared/static library into ${CMAKE_INSTALL_LIBDIR}
 - include/pocketpy.h and include/pocketpy/ into ${CMAKE_INSTALL_INCLUDEDIR}

Without these rules the build tree produces no installed files.

Signed-off-by: Christopher Obbard <obbardc@debian.org>
2026-04-05 15:15:12 +01:00
blueloveTH
2600eb5352 Update lz4.c 2026-04-04 16:09:06 +08:00
blueloveTH
2a2e9ae1f2 Update lz4.c 2026-04-04 15:41:15 +08:00
blueloveTH
6e3ed84a9e fix stdc.memcpy 2026-04-04 13:24:25 +08:00
blueloveTH
9a57b281e8 add := fix #446 2026-03-28 17:53:39 +08:00
BLUELOVETH
7d9c3c3df0
feat: implement itemgetter and typing placeholders #486 (#487) 2026-03-26 11:29:35 +08:00
Steve
37780ed884 feat: implement itemgetter and typing placeholders #486 2026-03-25 23:17:43 -04:00
blueloveTH
005a2725a1 add PK_ENABLE_DLL 2026-03-24 11:02:34 +08:00
Daniel Calderón
d03b067666
adding missing header guard (#483) 2026-03-23 11:58:33 +08:00
Jason Matthew Suhari
0676b21da2
fix: save stack checkpoint before pushing args in operator() (#479)
* fix: capture stack checkpoint before pushing args in operator() (#469)

* test: add regression test for operator() python error propagation (#469)
2026-03-20 13:22:25 +08:00
blueloveTH
a2f16e5f1f pre-release v2.1.8 2026-03-18 15:10:24 +08:00
blueloveTH
a69cca59f4 post fix
Update dll.c

Update dll.c
2026-03-18 15:04:26 +08:00
kushagra-1809
7614bdcc4a
Wrong formulas (#470)
The correct formulas for complex trigonometry require
cos(z) = (exp(iz) + exp(-iz)) / 2
sin(z) = (exp(iz) - exp(-iz)) / (2i)
2026-03-18 14:58:23 +08:00
wdskuki
984c0eefcc
Fix C extension module import on Linux (#472)
* Fix C extension module import on Linux

* minor fix

---------

Co-authored-by: wdsmini <wdsmini@wdsmini.local>
Co-authored-by: blueloveTH <blueloveTH@foxmail.com>
2026-03-18 14:55:38 +08:00
blueloveTH
cf70668a2f improve py_inspect_currentfunction 2026-03-13 22:05:52 +08:00
blueloveTH
35917fc5f4 fix #468 2026-03-04 14:30:35 +08:00
Tanisha Vasudeva
1d33267092
feat: implement dict.popitem() method (#443) (#467)
* Added popitem()

* fix

---------

Co-authored-by: blueloveTH <blueloveTH@foxmail.com>
2026-03-03 14:55:56 +08:00
blueloveTH
5f9d44f451 Update pocketpy.h 2026-02-27 18:16:14 +08:00
blueloveTH
fe56ceb82e Update pocketpy.h 2026-02-27 18:11:38 +08:00
blueloveTH
6dd3a6dbb3 up 2026-02-24 15:23:56 +08:00
blueloveTH
440acd82f8 refactor chunked_array2d 2026-02-23 00:35:00 +08:00
blueloveTH
1d567445ed Update vmath.pyi 2026-02-22 21:52:56 +08:00
blueloveTH
427d2293e0 add vec4i 2026-02-22 21:47:34 +08:00
blueloveTH
05c0337ba0 Update _log_spline_tbl.h 2026-02-21 21:32:52 +08:00
blueloveTH
9f1ac4d6c3 fix dmath 2026-02-21 21:30:33 +08:00
blueloveTH
b07db073fd remove colorcvt 2026-02-21 21:12:52 +08:00
blueloveTH
aaf611eff3 up 2026-02-21 21:08:33 +08:00
blueloveTH
5845d0e938 up 2026-02-19 18:41:32 +08:00
blueloveTH
e650904788 fix a minor bug 2026-02-14 13:01:23 +08:00
blueloveTH
f6c6a48de4 fix #461 2026-02-10 11:23:13 +08:00
blueloveTH
52aed673dc Update array2d.pyi 2026-02-08 17:19:49 +08:00
blueloveTH
24428793fc fix #434 2026-02-05 11:33:22 +08:00
blueloveTH
d5b711f50c fix #447 2026-02-05 11:27:12 +08:00
blueloveTH
cbbe319520 fix #458 2026-02-05 11:20:11 +08:00
killcerr
82b4fff934
fix #440 (#457)
* fix #440

* fix #440

* fix #440

* fix #440

* fix #440

* fix #440

* fix #440

* add test

* add test
2026-02-02 21:45:11 +08:00
blueloveTH
2fa14c5884 fix #455 2026-01-30 14:42:45 +08:00
blueloveTH
cf965a1957 fix #456 2026-01-30 14:40:05 +08:00
blueloveTH
a59f916f5b Update ideas.md 2026-01-30 11:55:40 +08:00
blueloveTH
f9100dc504 Create ideas.md 2026-01-30 11:41:51 +08:00
blueloveTH
48b70c944e fix #426 2026-01-26 17:50:03 +08:00
blueloveTH
2281b9bb44 fix #424 2026-01-26 17:24:29 +08:00
blueloveTH
979addecf9 improve extend and choice 2026-01-14 16:49:02 +08:00
blueloveTH
9ef38d605b fix bool-int ops 2026-01-14 16:14:08 +08:00
BLUELOVETH
08cc247be9
Update differences.md 2026-01-10 23:57:49 +08:00
blueloveTH
98fabb45bf update init example 2026-01-08 15:32:08 +08:00
blueloveTH
3fe55bbe76 add raylib bindings to doc 2026-01-08 15:30:48 +08:00
blueloveTH
d9a7798891 Update library.py 2026-01-08 15:26:03 +08:00
blueloveTH
0c965d8c5b Update guide.md 2026-01-07 19:59:41 +08:00
blueloveTH
ef2481b8a5 add gsoc 2026 page
Update guide.md
2026-01-07 19:55:29 +08:00
blueloveTH
9e4636b619 improve math tests 2026-01-07 16:59:10 +08:00